.BusinessSimulation.CausalLoop.ExponentialDelay

Information

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

The →DelayN is used to model an exponential delay of order ORD. The aggregate nature of causal loop modeling requires to make a clear distinction between delaying an inflow to as opposed to an outflow from the stock connected to the flowPort: A delayed inflow will reach the stock with a delay, while a delayed outflow will leave the stock with a delay.

While modeling a delayed inflow is uncontroversial, modeling a delayed outflow imposes choices: Setting subtractDelayedOutflow = true will report the current amount in the stock less the amount that is in the process of being delayed at the stockPort. Accordingly, a process of exponential decay will not drain the stock below zero.

If this is not wanted, setting subtractDelayedOutflow = false will report the actual stock level, i.e., any material that has not yet left the stock will be considered a still active member of the stock in the process . Accordingly, a delayed process of exponential decay could drain the stock below zero.

Implementation

DiagramView
ModelDiagram.png

Notes

See also

PipelineDelay

Revisions


Generated at 2024-12-21T19:25:56Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos