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 |
---|---|
useConjugateInput |
Value: fill(false, nin) Type: Boolean[nin] Description: If true, inputs are processed conjugate complex |
k |
Value: fill(Complex(1, 0), nin) Type: Complex[nin] Description: Optional: sum coefficients |
u |
Type: ComplexInput[nin] Description: Connector of Complex input signals |
|
---|---|---|
y |
Type: ComplexOutput Description: Connector of Complex output signal |
uInternal |
Type: Complex[nin] Description: Equals either u or conjugate complex input u if useComplexInput = true |
|
---|---|---|
k |
Type: Complex[nin] Description: Optional: sum coefficients |
Modelica.Electrical.QuasiStatic.Polyphase.Sensors Power sensor |