ClipClips input signal so that it remains within a given interval |
![]() |
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
).
The component internally uses the →Limiter and the →VariableLimiter from the Modelica Standard Library.
Functions.clip, Vector.Clip, ClipProcessTime, ZeroIfNegative
maxValue |
Value: inf Type: Real Description: Maximum value (default = infinity) |
---|---|
minValue |
Value: -maxValue Type: Real Description: Minimum value (default = - infinity) |
hasConstantLimits |
Value: true Type: Boolean Description: = true, if the limits are constant |
strict |
Value: true Type: Boolean Description: = true, if strict limits with noEvent(..) (constantLimiter.strict) |
homotopyType |
Value: LimiterHomotopy.Linear Type: LimiterHomotopy Description: Simplified model for homotopy-based initialization (constantLimiter.homotopyType) |
variableHomotopyType |
Value: VariableLimiterHomotopy.Linear Type: VariableLimiterHomotopy Description: Simplified model for homotopy-based initialization (variableLimiter.homotopyType) |
![]() |
y |
Type: RealOutput Description: Output signal |
---|---|---|
![]() |
u |
Type: RealInput Description: Input |
![]() |
u_max |
Type: RealInput Description: Upper limit input |
![]() |
u_min |
Type: RealInput Description: Lower limit input |
![]() |
variableLimiter |
Type: VariableLimiter Description: Clip input to variable limits |
---|---|---|
![]() |
constantLimiter |
Type: Limiter Description: Clip input to constant limits |
![]() |
BusinessSimulation.Converters.DiscreteDelay Pipeline information delay with awareness |
![]() |
BusinessSimulation.Stocks Conveyor delay (aka pipeline ~) with variable delay time |
![]() |
BusinessSimulation.Stocks Delay the flow of material for a fixed (but variable) delay time |
![]() |
BusinessSimulation.Converters.DiscreteDelay Pipeline information delay without awareness |
![]() |
BusinessSimulation.MoleculesOfStructure.Policy Determine the rate of flow (action) to close a gap between a quantity and its desired value |
![]() |
BusinessSimulation.MoleculesOfStructure.Policy Maintain a stock at a desired level |
![]() |
BusinessSimulation.MoleculesOfStructure.Blocks Modeling the influence of excessive workloads on productivity or quality |
![]() |
BusinessSimulation.MoleculesOfStructure.Blocks Unit cost degression due to gaining experience |