blockLookup_JNegative

Negatively sloping s-shaped lookup

Extends from Interfaces.PartialCLD.Lookup (Partial lookup for causal loop diagramming).

Information

This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.

Using the lookup converter →JanoschekNegative the normalized current value of the stock, which is connected via the StockInfoInput connector, is used as input to the s-shaped Janoschek lookup function (negatively sloping) to obtain the output y.

The value used for the normalization is a constant by default (referenceValue = 1); if hasConstantReference = false the optional input u is used instead.

Notes

  • The reference value for normalization should be strictly positive; the divison for normalization is protected against divison by zero and will return zero in that case.

  • Instead of using the current value of a connected stock, the input connector u can be used as basis by setting hasStockInfoInput = false.

See also

Lookup_JPositive, Lookup_SPositive, Lookup_SNegative, Lookup_Table Lookup_TableOnFile

Parameters

TypeNameDefaultDescription
Stringpol (from Lookup)"±"Polarity
ReferenceTypereferenceValue (from Lookup)1Constant reference value to normalize input
ReallowerBound0Lower asymptote for u <= 0 (lowerBound < upperBound)
RealupperBound2Upper asymptote for u -> infinity
RealgrowthRate2Determines the gradient of the curve
Realx_ref1x-value for point of inflection(x_ref > 0)
Realy_ref1y-value for point of inflection(lowerBound < y_ref < upperBound)
Structural Parameters
BooleanhasConstantReference (from Lookup)true= true, if the reference value is given by a constant parameter
BooleanhasStockInfoInput (from Lookup)true= true, if the input is given by the input connector u instead of stockInfoInput

Connectors

TypeNameDefaultDescription
Connectors.StockInfoInputstockInfoInput (from Lookup)
Connectors.RealInputu_ref (from Lookup)Reference value for stock
Connectors.RealInputu (from Lookup)Input for lookup (optional)

Components

TypeNameDefaultDescription
RealOutputy (from Lookup)Output of output type

Revisions

  • Introduced in v2.0.0.