ZeroIfNegativeThe input will be set to zero, if it is negative |
This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.
The output y will be identical with the input u whenever u is greater than or equal to zero. It will be zero in all other cases.
In the default setting (strict = false
) in the Advanced tab, nonnegativity will be strictly ovserved:
if strict then y = noEvent(if u < 0 then 0 else u); else y = smooth(0, if u < 0 then 0 else u); end if;
strict |
Value: true Type: Boolean Description: = true, if strict limits with noEvent(..) |
---|
y |
Type: RealOutput Description: Output signal |
|
---|---|---|
u |
Type: RealInput Description: Input |
BusinessSimulation.Stocks Batch processing of inflow (aka batch delay) |
|
BusinessSimulation.Converters Gradual approach of a ceiling that cannot be exceeded |
|
BusinessSimulation.MoleculesOfStructure.InformationProcessing Calculate average time of residence or time needed for completion |
|
BusinessSimulation.MoleculesOfStructure.Incubators Basic model of an account with optional interest |