blockSum

Sum of Integers: y = k[1]*u[1] + k[2]*u[2] + ... + k[n]*u[n]

Extends from Modelica_StateGraph2.Blocks.Interfaces.PartialIntegerMISO (Partial block with an IntegerVectorInput and an IntegerOutput signal).

Parameters

TypeNameDefaultDescription
Integernu (from PartialIntegerMISO)0Number of input connections
Integer[nu]kfill(1, nu)Input gains

Connectors

TypeNameDefaultDescription
Modelica_StateGraph2.Blocks.Interfaces.IntegerVectorInput[nu]u (from PartialIntegerMISO)
Modelica.Blocks.Interfaces.IntegerOutputy (from PartialIntegerMISO)