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.