WOLFRAM SYSTEMMODELER

Add

Output the sum of the two inputs

Wolfram Language

In[1]:=
Click for copyable input
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

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

Parameters (2)

k1

Value: +1

Type: Real

Description: Gain of upper input

k2

Value: +1

Type: Real

Description: Gain of lower input

Used in Examples (1)

Densities

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

Used in Components (7)

MotorWithCurrentControl

Synchronous induction machine with current controller and measurement noise

LimPID

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

RotorDisplacementAngle

Rotor lagging angle

VoltageController

Voltage controller

VoltageToDutyCycle

Linearly transforms voltage to duty cycle

CurrentController

Current controller

DoubleRamp

Ramp going up and down