blockConvexLookupPositive
Convex Lookup with positive slope; usually with fixpoint (0,y0) and fixpoint (1,1)
Extends from Interfaces.PartialConverters.SISO_Conversion (Partial SISO converter class with input and output conversions for lookup functions).
Information
This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.
The output y is derived using the formula:
The function will go through the point (1,1) and the output will be y0 for u ≤ 0.
Notes
y0(intercept) should be within the interval [0,1).s(slope) should be greater than 1.
See also
ConvexLookupNegative, ConcaveLookupPositive, ConcaveLookupNegative
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | s | 1 | Slope parameter (s>1) |
| Real | y0 | 0 | Value of y when input is zero or less |
| Time Conversion | |||
| Boolean | convertInput (from SISO_Conversion) | false | = true, if the input value is a rate or time variable that needs to be converted |
| Boolean | inputIsRate (from SISO_Conversion) | false | = true, if the input is given in units of time, otherwise it is assumed to be a rate |
| Boolean | convertOutput (from SISO_Conversion) | false | = true, if the output value is a rate or time variable that needs to be converted |
| Boolean | outputIsRate (from SISO_Conversion) | false | = true, if the output is given in units of time, otherwise it is assumed to be a rate |
| TimeBases | timeBaseInput (from SISO_Conversion) | TimeBases.seconds | TimeBase to convert from (default = seconds) |
| TimeBases | timeBaseTableIn (from SISO_Conversion) | modelSettings.modelDisplayTimeBase | TimeBase used for the lookup function input (default = modelDisplayTimeBase) |
| TimeBases | timeBaseTableOut (from SISO_Conversion) | modelSettings.modelDisplayTimeBase | TimeBase assumed for the lookup function output (default = modelSettings.modelDisplayTimeBase) |
| TimeBases | timeBaseOutput (from SISO_Conversion) | TimeBases.seconds | TimeBase used for the output (default = seconds) |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Connectors.RealInput | u (from SISO) | Input |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| RealOutput | y (from SO) | ||
| ModelSettings | modelSettings (from SISO_Conversion) |
Revisions
- Modified in v2.0.0.