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 Weir Depth in SWMM 5 (Figure 1). The Weir flows normally every 0.25 feet but shuts down three times using these rules which set the Weir Setting to 0.0
RULE Weir100IF Node WeirNode Depth > 1.75AND Node WeirNode Depth < 2.0THEN WEIR WEIR Setting = 0.0Priority 2 RULE Weir101IF Node WeirNode Depth > 2.25AND Node WeirNode Depth < 2.5THEN WEIR WEIR Setting = 0.0Priority 2 RULE Weir102IF Node WeirNode Depth > 2.75AND Node WeirNode Depth < 3.0THEN WEIR WEIR Setting = 0.0Priority 2 RULE Weir103IF Node WeirNode Depth > 3.25AND Node WeirNode Depth < 3.5THEN WEIR WEIR Setting = 0.0Priority 2 RULE Weir104IF Node WeirNode Depth > 3.75AND Node WeirNode Depth < 4.0THEN WEIR WEIR Setting = 0.0Priority 2
Figure 1. Scatter Graph of Weir flow versus Weir Node Depth.
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 Weir Depth in SWMM 5 (Figure 1). The Weir flows normally every 0.25 feet but shuts down three times using these rules which set the Weir Setting to 0.0
RULE Weir100IF Node WeirNode Depth > 1.75AND Node WeirNode Depth < 2.0THEN WEIR WEIR Setting = 0.0Priority 2 RULE Weir101IF Node WeirNode Depth > 2.25AND Node WeirNode Depth < 2.5THEN WEIR WEIR Setting = 0.0Priority 2 RULE Weir102IF Node WeirNode Depth > 2.75AND Node WeirNode Depth < 3.0THEN WEIR WEIR Setting = 0.0Priority 2 RULE Weir103IF Node WeirNode Depth > 3.25AND Node WeirNode Depth < 3.5THEN WEIR WEIR Setting = 0.0Priority 2 RULE Weir104IF Node WeirNode Depth > 3.75AND Node WeirNode Depth < 4.0THEN WEIR WEIR Setting = 0.0Priority 2
Figure 1. Scatter Graph of Weir flow versus Weir Node Depth.
Replies