blockSum
Sum of Reals: y = k[1]*u[1] + k[2]*u[2] + ... + k[n]*u[n]
Extends from Modelica_StateGraph2.Blocks.Interfaces.PartialRealMISO (Partial block with a RealVectorInput and a RealOutput signal).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | nu (from PartialRealMISO) | 0 | Number of input connections |
| Real[nu] | k | fill(1, nu) | Input gains |
| Advanced | |||
| Integer | precision (from PartialRealMISO) | 3 | Number of significant digits to be shown in dynamic diagram layer for y |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica_StateGraph2.Blocks.Interfaces.RealVectorInput[nu] | u (from PartialRealMISO) | ||
| Modelica.Blocks.Interfaces.RealOutput | y (from PartialRealMISO) |