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
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | nu (from PartialIntegerMISO) | 0 | Number of input connections |
| Integer[nu] | k | fill(1, nu) | Input gains |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica_StateGraph2.Blocks.Interfaces.IntegerVectorInput[nu] | u (from PartialIntegerMISO) | ||
| Modelica.Blocks.Interfaces.IntegerOutput | y (from PartialIntegerMISO) |