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

Sum

Output the sum of the elements of the input vector

Information
CONNECTORS
CLOSE ALL
NameTypeDescription
uRealInput[nin]Connector of Real input signals
yRealOutputConnector of Real output signal
PARAMETERS
NameTypeDefault ValueDescription
ninInteger1Number of inputs
kReal[nin]ones(nin)Optional: sum coefficients
USED IN COMPONENTS
Modelica.Electrical.MultiPhase.Sensors.PowerSensor
Multiphase instantaneous power sensor