IF SIMULATION TIME >= 0
THEN ORIFICE UnderdrainPipe SETTING = 0
IF NODE GravelSU DEPTH > 0.6
THEN ORIFICE Backtosoil SETTING = 1
ELSE ORIFICE Backtosoil SETTING = 0
My intentions are: Rule 1, The orifice "UnderdrainPipe" starts as closed and is always closed for the entire simulation, and Rule 2 If the depth in GravelSU storage unit node rises to 0.6ft or greater, another Orifice Backtosoil is supposed to open and convey water.
SWMM is not responding to my intentions. What is wrong with my code?