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 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

TypeNameDefaultDescription
Stringpol"±"Polarity
ReferenceTypereferenceValue1Constant reference value to normalize input
Structural Parameters
BooleanhasConstantReferencetrue= true, if the reference value is given by a constant parameter
BooleanhasStockInfoInputtrue= true, if the input is given by the input connector u instead of stockInfoInput

Connectors

TypeNameDefaultDescription
Connectors.StockInfoInputstockInfoInput
Connectors.RealInputu_refReference value for stock
Connectors.RealInputuInput for lookup (optional)

Components

TypeNameDefaultDescription
RealOutputyOutput of output type

Contents

NameDescription
ReferenceType

Revisions

  • Introduced in v2.0.0.