Variable Limiter - MapleSim Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Variable Limiter

Limit the range of a signal with variable limits

 

Description

Equations

Connections

Parameters

Modelica Standard Library

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 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.

Equations

uMax={noEventmaxlimit1,limit2strictmaxlimit1,limit2otherwise

uMin={noEventminlimit1,limit2strictminlimit1,limit2otherwise

yi&equals;{uMaxuMax<uiuMinui<uMinuiotherwise

Connections

Name

Description

Modelica ID

u

Real input vector

u

y

Real output vector

y

limit1

Real input signal used as maximum for each input

limit1

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

strict

false

 

True (checked) means use noEvent; otherwise events are generated at limits

strict

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

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.

See Also

Discontinuous Signal Blocks

Signal Blocks