AbsoluteSensor

Reports basic stock–related information

Information

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

The AbsoluteSensor connects to the StockInfoOutput connectors (y_stockInfo), which can be turned on and off). It reports the following information via its output connectors:

  • current rate of inflow to the stock (≥ 0)

  • current rate of outflow from the stock (≥ 0)

  • current rate of net flow

  • mean residence time (amount in stock/net outflow)

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.

  • The mean residence time will either be a specific value reported for a dynamic stock (e.g., the time of delay) or it will be determined by dividing the current amount in stock by the rate of outflow from the stock (see above note though). In case of no outflow a value of -1 will be reported.

See also

StockInfoDynamicStockInfo

Connectors (6)

inFlow

Type: RealOutput

Description: Current rate of inflow

outFlow

Type: RealOutput

Description: Current rate of outflow

stock

Type: RealOutput

Description: Current level of stock

netFlow

Type: RealOutput

Description: Current netflow

meanResidenceTime

Type: RealOutput

Description: Mean Residence Time

u_stockInfo

Type: StockInfoInput

Description: Input of record with stock-related information

Used in Components (9)

ElasticityDelayed

BusinessSimulation.CausalLoop

Process driven by elasticity and additional exponential delay

ProportionalityDelayed

BusinessSimulation.CausalLoop

Process driven by proportionality with additional exponential delay

ForceToStockValue

BusinessSimulation.CausalLoop

Flow is obtained as closing the gap to input stock value

Aggregation

BusinessSimulation.CausalLoop

Generalized mean function for multiple stock information inputs

StockInformation

BusinessSimulation.CausalLoop

Provide amount in stock information

RateInformation

BusinessSimulation.CausalLoop

Provide rate of net flow information

HinesCoflow

BusinessSimulation.Stocks

Accounting for changes in average quality of a stock as new entries with different characteristic flow in

CoupledSourceOrSink

BusinessSimulation.Interfaces.PartialCLD

Source or sink process driven by stock info output

Lookup

BusinessSimulation.Interfaces.PartialCLD

Partial lookup for causal loop diagramming