blockLookup
Partial lookup for causal loop diagramming
Extends from Interfaces.Basics.OutputTypeChoice (Partial model to set output type).
Information
This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.
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 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
![]() |
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| String | pol | "±" | Polarity |
| ReferenceType | referenceValue | 1 | Constant reference value to normalize input |
| Structural Parameters | |||
| Boolean | hasConstantReference | true | = true, if the reference value is given by a constant parameter |
| Boolean | hasStockInfoInput | true | = true, if the input is given by the input connector u instead of stockInfoInput |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Connectors.StockInfoInput | stockInfoInput | ||
| Connectors.RealInput | u_ref | Reference value for stock | |
| Connectors.RealInput | u | Input for lookup (optional) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| RealOutput | y | Output of output type |
Contents
| Name | Description |
|---|---|
| ReferenceType |
Revisions
- Introduced in v2.0.0.
