Blocks.MultiSum ​
This component extends from PartialRealMISO
Usage ​
TranslatedComponents.Blocks.MultiSum(significantDigits=3, nu=0, k=fill(1, nu))
Parameters: ​
| Name | Description | Units | Default value |
|---|---|---|---|
significantDigits | – | 3 | |
nu | – | 0 | |
k | – | fill(1, nu) |
Connectors ​
u- (RealVectorInput)y- This connector represents a real signal as an output from a component (RealOutput)
Behavior ​
Source ​
dyad
component MultiSum
extends PartialRealMISO
parameter k::Real = fill(1, nu)
relations
if size(u, 1) > 0
y = k * u
else
y = 0
end
endFlattened Source
dyad
component MultiSum
u = RealVectorInput()
y = RealOutput()
parameter significantDigits::Integer(min = 1) = 3
parameter nu::Integer(min = 0) = 0
parameter k::Real = fill(1, nu)
relations
if size(u, 1) > 0
y = k * u
else
y = 0
end
metadata {}
endTest Cases ​
No test cases defined.
Related ​
Examples
Experiments
Analyses