blockConcaveLookupPositive

Concave Lookup with positive slope; fixpoints are (0,y0) and (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:

y = y0 + (1 - y0) * u^s

The function will go through the points (1,1) and (0,y0). The output will be y0 for u ≤ 0.

Graph of the Lookup-Function for Different Slopes (y0 = 0)
Graph.png

Notes

  • y0 (intercept) should be within the interval [0,1).

  • s (slope) should be within the interval (0,1].

  • By default (strict = true) the component will not generate events.

See also

ConcaveLookupNegative, ConvexLookupPositiveConvexLookupNegative

Parameters

TypeNameDefaultDescription
Reals0.5Slope parameter (0< slope <= 1)
Realy00Value of y when input is zero or less (intercept)
Time Conversion
BooleanconvertInput (from SISO_Conversion)false= true, if the input value is a rate or time variable that needs to be converted
BooleaninputIsRate (from SISO_Conversion)false= true, if the input is given in units of time, otherwise it is assumed to be a rate
BooleanconvertOutput (from SISO_Conversion)false= true, if the output value is a rate or time variable that needs to be converted
BooleanoutputIsRate (from SISO_Conversion)false= true, if the output is given in units of time, otherwise it is assumed to be a rate
TimeBasestimeBaseInput (from SISO_Conversion)TimeBases.secondsTimeBase to convert from (default = seconds)
TimeBasestimeBaseTableIn (from SISO_Conversion)modelSettings.modelDisplayTimeBaseTimeBase used for the lookup function input (default = modelDisplayTimeBase)
TimeBasestimeBaseTableOut (from SISO_Conversion)modelSettings.modelDisplayTimeBaseTimeBase assumed for the lookup function output (default = modelSettings.modelDisplayTimeBase)
TimeBasestimeBaseOutput (from SISO_Conversion)TimeBases.secondsTimeBase used for the output (default = seconds)
Advanced
Booleanstricttrue= true, if strict limits with noEvent(..)

Connectors

TypeNameDefaultDescription
Connectors.RealInputu (from SISO)Input

Components

TypeNameDefaultDescription
RealOutputy (from SO)
ModelSettingsmodelSettings (from SISO_Conversion)

Revisions

  • Modified in v2.0.0.