Engee documentation

Rate Limiter Dynamic

Dynamic limitation of the rate of change of the signal.

blockType: Rate Limiter Dynamic

Path in the library:

/Basic/Discontinuities/Rate Limiter Dynamic

Description

The Rate Limiter Dynamic block limits the rate of rise and fall of the signal.

  • The external up signal sets the upper limit of the signal rise rate.

  • The external signal lo sets the lower limit of the signal decay rate.

When using the Rate Limiter Dynamic unit, it is recommended:

  • Use the same type of signals for the up and lo inputs as the u input signal.

  • Use a constant step solver to simulate models that contain this block, since the Rate Limiter Dynamic block only supports discrete step calculations.

Ports

Input

u - input signal
scalar

An input signal whose rate of change must be limited.

Data types: Float64.

lo - derivative limit for input signal decay
scalar

A dynamic value that provides a limit to the rate of decay of the input signal.

Data types: Float64.

up - derivative limit for increasing input signal
scalar

A dynamic value that provides a limit to the slew rate of the input signal.

Data types: Float64.

Output

Y - output signal
scalar

Output signal limited by the rate of change.

Data types: Float64.

Additional options

C code generation: Yes