WOLFRAM SYSTEM MODELER

Sum

Output the sum of the elements of the input vector

Wolfram Language

In[1]:=
SystemModel["Modelica.Blocks.Math.Sum"]
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 elements of the input signal vector u:

y = u[1] + u[2] + ...;

Example:

   parameter:   nin = 3;

results in the following equations:

   y = u[1] + u[2] + u[3];

Parameters (2)

nin

Value: 1

Type: Integer

Description: Number of inputs

k

Value: ones(nin)

Type: Real[nin]

Description: Optional: sum coefficients

Connectors (2)

u

Type: RealInput[nin]

Description: Connector of Real input signals

y

Type: RealOutput

Description: Connector of Real output signal

Used in Components (1)

PowerSensor

Modelica.Electrical.Polyphase.Sensors

Polyphase instantaneous power sensor