Variable Limiter
Limit the range of a signal with variable limits
Description
Equations
Connections
Parameters
Modelica Standard Library
The Variable Limiter block passes each input signal as output so long as the input is within the upper and lower limits specified by the two additional inputs limit1 and limit2. If this is not the case, the corresponding limit is passed as output.
The Signal Size parameter assigns the dimension of the input and output connectors.
uMax={noEvent⁡max⁡limit1,limit2strictmax⁡limit1,limit2otherwise
uMin={noEvent⁡min⁡limit1,limit2strictmin⁡limit1,limit2otherwise
yi={uMaxuMax<uiuMinui<uMinuiotherwise
Name
Modelica ID
u
Real input vector
y
Real output vector
limit1
Real input signal used as maximum for each input
limit2
Real input signal used as minimum for each input
Default
Units
Signal Size
1
Dimension of input and output vectors
signalSize
strict
false
True (checked) means use noEvent; otherwise events are generated at limits
ysimplified
0
Fixed value of output in simplified model (when homotopy type is Simplified model y=ySimplified)
ySimplified
homotopy type
Simplified model: y=u
Simplified model for homotopy-based initialization
homotopyType
The component described in this topic is from the Modelica Standard Library. To view the original documentation, which includes author and copyright information, click here.
See Also
Discontinuous Signal Blocks
Signal Blocks
Download Help Document