.BusinessSimulation.Flows.Bidirectional.ProportionalSwitching

Information

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

ProportionalSwitching models the exchange of "mass" (conserved matter or information) between two stocks as a bi-directional flow. The rate of flow will be proportional to the amount in the connected levels times the fractional rate of flow given by the input u:

input u direction of flow (for positive levels)

rate of flow

u ≥ 0 flow from A to B

stockA.y ⋅ u

u <= 0 flow from B to A

stockB.y ⋅ |u|

Notes

See also

Switching


Generated at 2025-01-31T19:25:52Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos