Oslandia / qgis-swmm

Project migrated to : https://gitlab.com/Oslandia/qgis/qgis-swmm
https://gitlab.com/Oslandia/qgis/qgis-swmm
GNU General Public License v2.0
34 stars 19 forks source link

Control Rules using TIMEOPEN and TIMECLOSED #11

Open BethBolt opened 7 years ago

BethBolt commented 7 years ago

I have a tide gate that opens when the tide reaches a certain elevation and closes after two hours. I can open it based on the node depth, but there is no response when I try and close it using TIMEOPEN < 2.0.

What is the proper syntax to use to relate the conduit status (open or closed) to TIMEOPEN if the original control was based on node depth?

RULE GATELOGIC IF NODE O2 DEPTH > 15 AND CONDUIT 015 TIMEOPEN < 2.0 THEN CONDUIT 015 STATUS = OPEN ELSE CONDUIT 015 STATUS = CLOSED