blockClip

Clips input signal so that it remains within a given interval

Extends from Interfaces.PartialConverters.SISO (Converter with single input and single output).

Information

This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.

The input u will be clipped to make sure that it is within the interval [minValue, maxValue] before it is given as output y. Alternatively, variable inputs can be used to set the limits (hasConstantLimits = false).

Implementation

The component internally uses the →Limiter and the →VariableLimiter from the Modelica Standard Library.

See also

Functions.clip, Vector.ClipClipProcessTimeZeroIfNegative 

Parameters

TypeNameDefaultDescription
RealmaxValueinfMaximum value (default = infinity)
RealminValue-maxValueMinimum value (default = - infinity)
Structural Parameters
BooleanhasConstantLimitstrue= true, if the limits are constant
Advanced
Booleanstricttrue= true, if strict limits with noEvent(..) (constantLimiter.strict)
LimiterHomotopyhomotopyTypeLimiterHomotopy.LinearSimplified model for homotopy-based initialization (constantLimiter.homotopyType)
VariableLimiterHomotopyvariableHomotopyTypeVariableLimiterHomotopy.LinearSimplified model for homotopy-based initialization (variableLimiter.homotopyType)

Connectors

TypeNameDefaultDescription
Connectors.RealInputu (from SISO)Input
Interfaces.Connectors.RealInputu_maxUpper limit input
Interfaces.Connectors.RealInputu_minLower limit input

Components

TypeNameDefaultDescription
RealOutputy (from SO)