.BusinessSimulation.Flows.Unidirectional.OutflowDynamicStock

Information

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

OutflowDynamicStock can be used to model the outflow from a stock with inherent dynamic behavior (e.g., a conveyor or a higher-order delay). In these cases, the stock will set the flow and "signal" it via its →StockPort_Special.  

Implementation

Since neither negative outflows (after all, this is a unidirectional flow) nor preventing an outflow by "stock control" (e.g., the receiving stock at portB has stopInflow = true) are compatible with this flow element, the following assert conditions will have breaches of these conditions cause errors that will stop the simulation:

assert(portA.rate >= 0, "Rate of outflow must never be negative");
assert(not portB.stopInflow, "There must not be capacity restrictions (stopInflow) for the stock at portB");

Notes

See also

SplitOutflowDynamicStock


Generated at 2024-11-26T19:26:15Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos