A continuación figuran algunos ejemplos de normas de control:
;Control simple de la bomba en función del tiempo
RULE R1
IF SIMULATION TIME > 8
THEN PUMP 12 STATUS = ON
ELSE PUMP 12 STATUS = OFF
;control de compuerta de orificio multi-condición
RULE R2A
IF NODE 23 DEPTH > 12
AND LINK 165 FLOW > 100
THEN ORIFICE R55 SETTING = 0.5
RULE R2B
IF NODE 23 DEPTH > 12
AND LINK 165 FLOW > 200
THEN ORIFICE R55 SETTING = 1.0
RULE R2C
IF NODE 23 DEPTH < 12
OR LINK 165 FLOW < 100
THEN ORIFICE R55 SETTING = 0
; Funcionamiento de la estación de bombeo
RULE R3A
IF NODE N1 DEPTH > 5
THEN PUMP N1A STATUS = ON
RULE R3B
IF NODE N1 DEPTH > 7
THEN PUMP N1B STATUS = ON
RULE R3C
IF NODE N1 DEPTH < 3
THEN PUMP N1A STATUS = OFF
AND PUMP N1B STATUS = OFF
; Control de altura de vertedero modulado
RULE R4
IF NODE N2 DEPTH >= 0
THEN WEIR W25 SETTING = CURVE C25
Tenga en cuenta que estos ejemplos son los que aparecen en la ayuda de SWMM. Para crear las mismas reglas, utilice la función
SWMMCONTROLS
Véase también: Normas de control SWMM