This model demonstrates the use of a Status element and water level target to control discharges from a reservoir. Discharge from this reservoir is controlled using a Status element that turns the discharge on or off depending on the water level in the reservoir. A True state in the Status element indicates the discharge request is ON while a False status indicates OFF. The discharge request turns on when the reservoir water level exceeds the target water level (Target_Elev) but does not turn off until the reservoir volume drops below the target water level less the dead band. The dead band is a distance below the target level that prevents rapid oscillation of the Discharge_ON state. Rather than switching states at the moment the reservoir level drops back below the target, the dead band will allow the level to drop below the target before switching to OFF state.
Below is a time history chart showing the water level compared to the target and the resulting inflow and reservoir discharges.
Download the Model File: