A condition clause of a control rule has the following formats:
object id attribute relation value
Or:
object id attribute relation object id attribute
Where:
Some examples of condition clauses are:
GAGE G1 6-HR_DEPTH > 0.5 NODE N23 DEPTH > 10 NODE N23 DEPTH > NODE 25 DEPTH PUMP P45 STATUS = OFF LINK P45 TIMEOPEN >= 6:30 SIMULATION CLOCKTIME = 22:45:00
The objects and attributes that can appear in a condition clause are the following:
| Object | Attributes | Value | Description |
|---|---|---|---|
| GAGE | INTENSITY | numerical value | rainfall intensity for a specific rain gauge in the current simulation period |
| n-HR_DEPTH | numeric value | is the total precipitation depth of a meter over the last n hours, where n is a number between 1 and 48 | |
| NODE | DEPTH | numeric value | |
| MAXDEPTH | numeric value | ||
| HEAD | numeric value | ||
| VOLUME | numeric value | ||
| INFLOW | numeric value | ||
| LINK or CONDUIT | FLOW | numeric value | |
| FULLFLOW | numeric value | ||
| DEPTH | numeric value | ||
| MAXDEPTH | numeric value | ||
| VELOCITY | numeric value | ||
| LENGTH | numeric value | ||
| SLOPE | fractional value | ||
| STATUS | OPEN or CLOSED | ||
| TIMEOPEN | decimal hours or hr:min | duration that a link was in the OPEN or ON state or had its SETTING greater than zero | |
| TIMECLOSED | decimal hours or hr:min | time that remained in the CLOSED or OFF state or had its SETTING equal to zero | |
| PUMP | STATUS | ON or OFF | |
| SETTING | pump curve multiplier | ||
| FLOW | numeric value | ||
| ORIFICE | SETTING | open fraction | |
| WEIR | SETTING | open fraction | |
| OUTLET | SETTING | discharge curve multiplier | |
| SIMULATION | TIME | elapsed time in decimal hours or hr:min:sec | < /tr> |
| DATE | month/day/year | ||
| MONTH | month of the year (1 - 12) | ||
| DAY | day of the week (Sunday = 1) | ||
| DAYOFYEAR | day of the year (month/day) | ||
| CLOCKTIME | time of day in hr:min:sec | "TIME", "DATE", "MONTH", "DAY", " DAYOFYEAR", "CLOCKTIME" |
On SOLIDOS (command
SWMMCONTROLS), you must choose the appropriate object type to be able to select the desired attribute:

See also: SWMM Rules Controls