.DESLib.ARENALib.BookExamples.P_11_2b

Carpet-cleaning-liquid model (threshold detection)

Information

This hybrid model represents the level of a tank that is filled at a constant rate of 10, and when the volume reaches 100, the tank is emptied also at constant rate.

In this case the level of the tank is check using a CrossUP and CrossDOWN models, that detect when the tank gets full or empty. Depending on the event detected, the flow rate is changed to -10 or 10, respectively.


Generated at 2025-04-02T18:24:35Z by OpenModelicaOpenModelica 1.24.5 using GenerateDoc.mos