blockVariableRangeAssert

Do assert() checks to monitor an admissable range of values

Extends from Icons.Converter (Icon for converter elements).

Information

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

The component will set up the following assert functions:

assert(u <= u_max, "Value out of range (too high)", level = AssertionLevel.error);
assert(u >= u_min, "Value out of range (too low)", level = AssertionLevel.error);

See also

RangeAssert

Parameters

TypeNameDefaultDescription
Structural Parameters
BooleancauseErrortrue= true, if level = AssertionLevel.error

Connectors

TypeNameDefaultDescription
Interfaces.Connectors.RealInputuReal input
Interfaces.Connectors.RealInputu_maxReal input of maximum value
Interfaces.Connectors.RealInputu_minReal input of minimum value