modelDynamicStockInfo

Collect basic stock-related information for stocks with implicit dynamics

Extends from Interfaces.Basics.GenericStockInfo_Special.

Information

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

The DynamicStockInfo is used inside stock components with inherent dynamic behavior (e.g., a →DelayN) and will be connected to the matching outside connectors of a component to collect basic →stock-related information which will be passed as a record to the StockInfoOutput connector.

Notes

  • The net flow will be positive for a net inflow and negative for a net outflow.

  • Since dynamic stocks set the rate of outflow, the residence time information will be directly provided by the residenceTimeInfo input connector. 

See also

AbsoluteSensor, StockInfo

Connectors

TypeNameDefaultDescription
Connectors.StockPortinPort (from GenericStockInfo_Special)Connect to inflow port of stock
Connectors.StockPort_SpecialoutPort (from GenericStockInfo_Special)Connect to special outflow port of stock
Connectors.StockInfoOutputy_stockInfo (from GenericStockInfo_Special)StockInformation output
Connectors.RealInputlevelInfo (from GenericStockInfo_Special)Connect to level output of stock
Interfaces.Connectors.RealInputresidenceTimeInfoProvide residence time input

Revisions

  • Simplified equations in v2.2 as dynamic stocks can only be filled via inflow and drained via outflow port.