blockConcaveLookupNegative

Concave Lookup with negative slope; fixpoints are (0,y0) and (1,0)

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 - u^s)

The function will go through the point (0,y0) and the output will be 0 for u ≥ 1 and y0 for u ≤ 0. The input u should thus be in the range [0,1]. The following graph shows plots for the function for different slopes:

Graph of the Lookup-Function for Different Slopes (y0 = 1)
Graph.svg

See also

ConcaveLookupPositive, ConvexLookupNegativeConvexLookupPositive

Parameters

TypeNameDefaultDescription
Reals1Slope parameter (1 <= slope <= 50)
Realy01Value 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.