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
residenceTimeInfoinput connector.
See also
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Connectors.StockPort | inPort (from GenericStockInfo_Special) | Connect to inflow port of stock | |
| Connectors.StockPort_Special | outPort (from GenericStockInfo_Special) | Connect to special outflow port of stock | |
| Connectors.StockInfoOutput | y_stockInfo (from GenericStockInfo_Special) | StockInformation output | |
| Connectors.RealInput | levelInfo (from GenericStockInfo_Special) | Connect to level output of stock | |
| Interfaces.Connectors.RealInput | residenceTimeInfo | Provide residence time input |
Revisions
- Simplified equations in v2.2 as dynamic stocks can only be filled via inflow and drained via outflow port.