Engee documentation

Saturation Dynamic

Dynamic limitation of the input signal from above and below (saturation).

blockType: Saturation Dynamic

Path in the library:

/Basic/Discontinuities/Saturation Dynamic

Description

Block Saturation Dynamic outputs an output signal, which is an input signal bounded from above and below. The upper and lower limits are set by the values of the input ports up and lo.

Input Exit

lo ≤ Input value ≤ up

Input value

Input value < lo

Lower limit

Input value > up

Upper limit

Ports

Input

# up — the signal that sets the upper saturation limit
scalar | vector

Details

A dynamic value that sets the upper saturation limit. When the Input is greater than up, the output value is up.

Data types

Float16, Float32, Float64, Int8, Int16, Int32, Int64, UInt8, UInt16, UInt32, UInt64, Bool

Complex numbers support

Yes

# u — Input signal
scalar | vector

Details

The input signal.

Data types

Float16, Float32, Float64, Int8, Int16, Int32, Int64, UInt8, UInt16, UInt32, UInt64, Bool

Complex numbers support

Yes

# lo — the signal that sets the lower saturation limit
scalar | vector

Details

A dynamic value that sets the lower saturation limit. When the Input is less than lo, the output value is lo.

Data types

Float16, Float32, Float64, Int8, Int16, Int32, Int64, UInt8, UInt16, UInt32, UInt64, Bool

Complex numbers support

Yes

Output

# y — Output signal
scalar | vector

Details

The output signal.

Data types

Float64

Complex numbers support

Yes

Additional options

C code generation: Yes