RangeAssertDo assert() checks to monitor an admissable range of values |
|
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 <= maxValue, "Value out of range (too high)", level = AssertionLevel.error);
assert(u >= minValue, "Value out of range (too low)", level = AssertionLevel.error);
| maxValue |
Value: inf Type: Real Description: Upper value for admissable range |
|---|---|
| minValue |
Value: -inf Type: Real Description: Lower value for admissable range |
| causeError |
Value: true Type: Boolean Description: = true, if level = AssertionLevel.error |
| u |
Type: RealInput Description: Real input |
|---|
|
BusinessSimulation.Interfaces.PartialStocks Unrestricted reservoir to store information |