SWMM - Control Rules - Condition Clauses


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:

< /tr>
ObjectAttributesValueDescription
GAGEINTENSITYnumerical valuerainfall intensity for a specific rain gauge in the current simulation period
n-HR_DEPTHnumeric valueis the total precipitation depth of a meter over the last n hours, where n is a number between 1 and 48
NODEDEPTHnumeric value
MAXDEPTHnumeric value
HEADnumeric value
VOLUMEnumeric value
INFLOWnumeric value
LINK or CONDUITFLOWnumeric value
FULLFLOWnumeric value
DEPTHnumeric value
MAXDEPTHnumeric value
VELOCITYnumeric value
LENGTHnumeric value
SLOPEfractional value
STATUSOPEN or CLOSED
TIMEOPENdecimal hours or hr:minduration that a link was in the OPEN or ON state or had its SETTING greater than zero
TIMECLOSEDdecimal hours or hr:mintime that remained in the CLOSED or OFF state or had its SETTING equal to zero
PUMPSTATUSON or OFF
SETTINGpump curve multiplier
FLOWnumeric value
ORIFICESETTINGopen fraction
WEIRSETTINGopen fraction
OUTLETSETTINGdischarge curve multiplier
SIMULATIONTIMEelapsed time in decimal hours or hr:min:sec
DATEmonth/day/year
MONTHmonth of the year (1 - 12)
DAYday of the week (Sunday = 1)
DAYOFYEARday of the year (month/day)
CLOCKTIMEtime 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