### Control Rules

Rule 1
IF SIMULATION TIME >= 0
THEN ORIFICE UnderdrainPipe SETTING = 0
PRIORITY 1

Rule 2
IF NODE GravelSU DEPTH > 0.6
THEN ORIFICE Backtosoil SETTING = 1
ELSE ORIFICE Backtosoil SETTING = 0
PRIORITY 2

My intentions are: Rule 1, The orifice "UnderdrainPipe" st

7 Replies · Reply by Bernard Bahaya Dec 2, 2017

### Time adjusted rule for orifice setting

I want to control opening and closing of an orifice depending on the flow in a downstream link. I want to close the orifice for 15min if the flow in the d/s exceeds say 50 LPS, after 15 min I want to check again the flow in the link and adjust the op

3 Replies · Reply by MeHa Feb 26, 2015

### Piezometric Head of the Nodes in SWMM 5.

How do I get the piezometric head ( pressure + elevation head) of the nodes in the result of SWMM 5? Is there options for this or something has to be implemented in the source code of SWMM5 ?  Please throw some light in this regard.

### How to Use Two Control Curves in SWMM 5 to Simulate a Head Difference Rule

Subject:  How to Use Two Control Curves in SWMM 5 to Simulate a Head Difference Rule

The SWMM 5 control rules for Real Time Control (RTC) do not allow the rule to be governed by the head across the orifice but does allow rules based on the depth,

### SWMM 5 Weir RTC Rules

SWMM 5 Weir RTC Rules
Subject:   SWMM 5 Weir RTC Rules

This example SWMM 5 model closes a weir based on the depth at the upstream node of the Weir every 0.25 feet.  You can see the effect of the RTC rules using a Scatter plot of Weir Flow versus W

### How is the Orifice Setting Used in SWMM 5 RTC Rules?

Subject:  How is the Orifice Setting Used in SWMM 5 RTC Rules?

The Real Time Control Rule for Orifice Setting can be a function of a Setting constant, Setting from a Curve, Setting from a PID controller and a Setting from a Time Series (Figure 1).