blockConvexLookupNegative

Convex Lookup with negative slope usually defined for the range [0,∞) passing through the 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:

y=y0^(1-u)

The function will go through the point (1,1) and (0,y0). The output will be y0 for u ≤ 0. The following graph shows plots for the function for different values of y0:

Graph of the Lookup-Function for Different Values of y0
Graph.svg

Notes

  • y0 (intercept) should be greater than 1.

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

See also

ConvexLookupPositive, ConcaveLookupNegativeConcaveLookupPositive

Parameters

TypeNameDefaultDescription
Realy02Value of y (intercept) when input is zero or less (y0>1)
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.