Lookup_JPositive

Positively sloping s-shaped lookup

Diagram

Information

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

Using the lookup converter →JanoschekPositive 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 (positively 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_JNegative, Lookup_SPositive, Lookup_SNegative, Lookup_Table Lookup_TableOnFile

Parameters (9)

pol

Value: "+"

Type: String

Description: Polarity

referenceValue

Value: 1

Type: ReferenceType

Description: Constant reference value to normalize input

hasStockInfoInput

Value: true

Type: Boolean

Description: = true, if the input is given by the input connector u instead of stockInfoInput

lowerBound

Value: 0

Type: Real

Description: Lower asymptote for u <= 0 (lowerBound < upperBound)

upperBound

Value: 2

Type: Real

Description: Upper asymptote for u -> infinity

growthRate

Value: 2

Type: Real

Description: Determines the gradient of the curve

x_ref

Value: 1

Type: Real

Description: x-value for point of inflection(x_ref > 0)

y_ref

Value: 1

Type: Real

Description: y-value for point of inflection(lowerBound < y_ref < upperBound)

hasConstantReference

Value: true

Type: Boolean

Description: = true, if the reference value for the stock is given by a constant parameter

Connectors (4)

stockInfoInput

Type: StockInfoInput

Description: Input of record with stock-related information

u_ref

Type: RealInput

Description: Reference value for stock

y

Type: RealOutput

Description: Output of output type

u

Type: RealInput

Description: Input for lookup (optional)

Components (3)

normalizedStock

Type: DmnlInput

Description: Input u will be stated as dimensionless fraction with regard to a reference value

absoluteSensor

Type: AbsoluteSensor

Description: Reports basic stock–related information

lookup

Type: JanoschekPositive

Description: Janoschek's (S-shaped) growth curve with positive slope

Revisions

  • Introduced in v2.0.0.