DynamicStockInfo

Collect basic stock-related information for stocks with implicit dynamics

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

AbsoluteSensorStockInfo

Connectors (5)

inPort

Type: StockPort

Description: Connect to inflow port of stock

outPort

Type: StockPort_Special

Description: Connect to special outflow port of stock

y_stockInfo

Type: StockInfoOutput

Description: StockInformation output

levelInfo

Type: RealInput

Description: Connect to level output of stock

residenceTimeInfo

Type: RealInput

Description: Provide residence time input

Used in Components (5)

DelayN

BusinessSimulation.Stocks

Material delay of n-th Order

SimpleConveyor

BusinessSimulation.Stocks

Conveyor (aka pipeline delay) with constant delay time and no leakage

Conveyor

BusinessSimulation.Stocks

Conveyor delay (aka pipeline ~) with variable delay time

PureDelay

BusinessSimulation.Stocks

Delay the flow of material for a fixed (but variable) delay time

Oven

BusinessSimulation.Stocks

Batch processing of inflow (aka batch delay)

Revisions

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