CBM_Sum Coselica block
Output the sum of the elements of the input vector
k [-] : Vector of sum coefficients (length nin)
Properties : Type 'vec' of size -1.
Default value : 1
nin [-] : Number of inputs
Properties : Type 'vec' of size 1.
Default value : int32(1)
Inputs :
Modelica variable name : 'u'
Implicit variable (Value type).
Outputs :
Modelica variable name : 'y'
Implicit variable (Value type).
Parameters :
Modelica parameter name : 'k'
Default value : 1
Modelica parameter name : 'nin'
Default value : int32(1)
CBM_Sum.sci
Coselica.Blocks.Math.Sum in COSELICA/macros/Coselica.mo file