Variable Limiter - MapleSim Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : MapleSim : MapleSim Component Library : Signal Blocks : Discontinuous : componentLibrary/signalBlocks/discontinuous/VariableLimiter

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

limits at initial

true

 

True (checked) means limits are checked during initialization

limitsAtInit

See Also

Discontinuous Signal Blocks, Signal Blocks


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam