SumOutput the sum of the elements of the input vector |
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];
nin |
Value: 1 Type: Integer Description: Number of inputs |
---|---|
k |
Value: ones(nin) Type: Real[nin] Description: Optional: sum coefficients |
u |
Type: RealInput[nin] Description: Connector of Real input signals |
|
---|---|---|
y |
Type: RealOutput Description: Connector of Real output signal |
Modelica.Electrical.Polyphase.Sensors Polyphase instantaneous power sensor |