 Variable Limiter - MapleSim Help

Variable Limiter

Limit the range of a signal with variable limits Description 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 $\mathrm{limit1}$ and $\mathrm{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.
 Equations $\mathrm{uMax}=\left\{\begin{array}{cc}\mathrm{noEvent}\left(\mathrm{max}\left(\mathrm{limit1},\mathrm{limit2}\right)\right)& \mathrm{strict}\\ \mathrm{max}\left(\mathrm{limit1},\mathrm{limit2}\right)& \mathrm{otherwise}\end{array}$ $\mathrm{uMin}=\left\{\begin{array}{cc}\mathrm{noEvent}\left(\mathrm{min}\left(\mathrm{limit1},\mathrm{limit2}\right)\right)& \mathrm{strict}\\ \mathrm{min}\left(\mathrm{limit1},\mathrm{limit2}\right)& \mathrm{otherwise}\end{array}$ ${y}_{i}=\left\{\begin{array}{cc}\mathrm{uMax}& \mathrm{uMax}<{u}_{i}\\ \mathrm{uMin}& {u}_{i}<\mathrm{uMin}\\ {u}_{i}& \mathrm{otherwise}\end{array}$

Connections

 Name Description Modelica ID $u$ Real input vector u $y$ Real output vector y $\mathrm{limit1}$ Real input signal used as maximum for each input limit1 $\mathrm{limit2}$ Real input signal used as minimum for each input limit2

Parameters

 Name Default Units Description Modelica ID Signal Size $1$ Dimension of input and output vectors signalSize $\mathrm{strict}$ $\mathrm{false}$ True (checked) means use noEvent; otherwise events are generated at limits strict ${y}_{\mathrm{simplified}}$ $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

 Modelica Standard Library 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.