Lookup

Partial lookup for causal loop diagramming

Diagram

Information

This information is part of the Business Simulation Library (BSL).

Partial class to be used for extensions within lookup classes.

The input can be given using a StockInfoInput connector (in which case the stock value will be used) or using the input u depending upon the structural parameter hasStockInfoInput.

The input will be normalized(→DmnlInput) using either the parameter referenceValue (default = 1) or the optional input u_ref.

Notes

The normalization will return zero if the reference value given (parameter or input connector) is zero.

Implementation

DiagramView
ModelDiagram.png

Parameters (4)

pol

Value: "±"

Type: String

Description: Polarity

referenceValue

Value: 1

Type: ReferenceType

Description: Constant reference value to normalize input

hasConstantReference

Value: true

Type: Boolean

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

hasStockInfoInput

Value: true

Type: Boolean

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

Connectors (4)

stockInfoInput

Type: StockInfoInput

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 (2)

normalizedStock

Type: DmnlInput

absoluteSensor

Type: AbsoluteSensor

Extended by (7)

Performance

BusinessSimulation.Interfaces.PartialCLD

Evaluating a stock

Lookup_TableOnFile

BusinessSimulation.CausalLoop

Table-based lookup given on file

Lookup_Table

BusinessSimulation.CausalLoop

Table-based lookup with manual input of the interpolation table

Lookup_SNegative

BusinessSimulation.CausalLoop

Negatively sloping s-shaped lookup (centered at origin)

Lookup_SPositive

BusinessSimulation.CausalLoop

Positively sloping s-shaped lookup (centered at origin)

Lookup_JNegative

BusinessSimulation.CausalLoop

Negatively sloping s-shaped lookup

Lookup_JPositive

BusinessSimulation.CausalLoop

Positively sloping s-shaped lookup

Revisions

  • Introduced in v2.0.0.