WOLFRAM SYSTEM MODELER

Add

Output the sum of the two inputs

Wolfram Language

In[1]:=
SystemModel["Modelica.Blocks.Math.Add"]
Out[1]:=

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

This blocks computes output y as sum of the two input signals u1 and u2:

y = k1*u1 + k2*u2;

Example:

   parameter:   k1= +2, k2= -3

results in the following equations:

   y = 2 * u1 - 3 * u2

Parameters (2)

k1

Value: +1

Type: Real

Description: Gain of input signal 1

k2

Value: +1

Type: Real

Description: Gain of input signal 2

Connectors (3)

u1

Type: RealInput

Description: Connector of Real input signal 1

u2

Type: RealInput

Description: Connector of Real input signal 2

y

Type: RealOutput

Description: Connector of Real output signal

Used in Examples (7)

Densities

Modelica.Blocks.Examples.Noise

Demonstrates how to compute distribution densities (= Probability Density Function)

ControlledMixingUnit

Modelica.Clocked.Examples.Systems

Simple example of a mixing unit where a (discretized) nonlinear inverse plant model is used as feedforward controller

EngineThrottleControl

Modelica.Clocked.Examples.Systems

Closed-loop throttle control synchronized to the crankshaft angle of an internal combustion engine

MixingUnitWithContinuousControl

Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit

Simple example of a mixing unit where a (continuous) nonlinear inverse plant model is used as feedforward controller

AssignClock

Modelica.Clocked.Examples.Elementary.RealSignals

Example of a AssignClock block for Real signals

AssignClockVectorized

Modelica.Clocked.Examples.Elementary.RealSignals

Example of a AssignClockVectorized block for Real signals

UpSample1

Modelica.Clocked.Examples.Elementary.RealSignals

Example of an UpSample block for Real signals

Used in Components (12)

MotorWithCurrentControl

Modelica.Blocks.Examples.Noise.Utilities.Parts

Synchronous machine with current controller and measurement noise

LimPID

Modelica.Blocks.Continuous

P, PI, PD, and PID controller with limited output, anti-windup compensation, setpoint weighting and optional feed-forward

CylinderAirCharge

Modelica.Clocked.Examples.Systems.Utilities.ComponentsThrottleControl

Integrates the air mass flow into a cylinder. After the charge for one cylinder is complete, resets the mass to 0.

RotationalClock

Modelica.Clocked.ClockSignals.Clocks.Rotational

Event clock generating a clock tick each time an observed input angle changed for a rotational-interval given as variable input

LimitedPI

Modelica.Electrical.Machines.Examples.ControlledDCDrives.Utilities

Limited PI-controller with anti-windup and feed-forward

RotorDisplacementAngle

Modelica.Electrical.Machines.Sensors

Rotor lagging angle

DQCurrentController

Modelica.Electrical.Machines.Utilities

Current controller in dq coordinate system

AronSensor

Modelica.Electrical.Polyphase.Sensors

Three-phase Aron sensor for active power

AronSensor

Modelica.Electrical.QuasiStatic.Polyphase.Sensors

Three-phase Aron sensor for active power

RotorDisplacementAngle

Modelica.Magnetic.QuasiStatic.FundamentalWave.Sensors

Rotor lagging angle

CurrentController

Modelica.Magnetic.QuasiStatic.FundamentalWave.Utilities

Current controller

DoubleRamp

Modelica.Thermal.FluidHeatFlow.Examples.Utilities

Ramp going up and down