DynamicStockInfo

Collect basic stock-related information for stocks with implicit dynamics

Information

This information is part of the Business Simulation Library (BSL).

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 rates of inflow and outflow are determined by looking at the net flows at each StockPort—for this to be meaningful known inflows and outflows should be connected to the designated inflow and outflow ports of a stock. If a bi-flow is connected to a stock's port, then no other flow component should be connected to that port.

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