Example RTC rule for the opening and closing of the orifice in SWMM5
Here is an example Real Time Control (RTC) rule for the opening and closing of an orifice in SWMM5.
IF SIMULATION CLOCKTIME >= 01:00:00
AND SIMULATION CLOCKTIME <= 2:00:00
THEN ORIFICE OR1@82309b-15009b SETTING = 1
ELSE ORIFICE OR1@82309b-15009b SETTING = 0
; Opens up the orifice at hour 1 of the simulation
via Blogger http://www.swmm5.net/2013/07/example-rtc-rule-for-opening-and.html