INP-File: Difference between revisions

From BlueM
Jump to navigation Jump to search
m (Created page with "Input file for SWMM5.")
 
No edit summary
Line 1: Line 1:
Input file for SWMM5.
For the description of the drainage system a regular SWMM5 input file is required. The current version implemented in BlueM.MPC is SWMM 5.0.018. The following standards have to be followed in order to use SWMM5 for BlueM.MPC simulations:
 
* The last line in the [OPTIONS] sections demands the length of the control step in minutes.
* Time dependent controls of the actuators are induced by control rules. The section [CONTROLS] is therefore compulsory. For every control step within the control horizon a control rule is required. Every rule must begin with the line '''IF SIMULATION TIME >''' as shown in the example below.
 
<bluem>
[TITLE]
SWMM 5.0.018b
TU Darmstadt
ihwb
Datum: 05.11.2010
 
[OPTIONS]
FLOW_UNITS          LPS
INFILTRATION        CURVE_NUMBER
FLOW_ROUTING        DYNWAVE
START_DATE          04/01/2008
START_TIME          12:00:00
REPORT_START_DATE    04/01/2008
REPORT_START_TIME    12:00:00
END_DATE            04/04/2008
END_TIME            12:00:00
SWEEP_START          01/01
SWEEP_END            12/31
DRY_DAYS            0
REPORT_STEP          00:01:00
WET_STEP            00:01:00
DRY_STEP            01:00:00
ROUTING_STEP        0:00:01
ALLOW_PONDING        YES
INERTIAL_DAMPING    NONE
VARIABLE_STEP        0.00
LENGTHENING_STEP    0
MIN_SURFAREA        0
NORMAL_FLOW_LIMITED  BOTH
SKIP_STEADY_STATE    NO
FORCE_MAIN_EQUATION  D-W
LINK_OFFSETS        DEPTH
MIN_SLOPE            0
;CONTROL_STEP        00:10:00
 
[FILES]
USE INFLOWS "D:\Data\Develop\DevTest\SWMM\M180_MPC\M180Inflow.txt"
USE HOTSTART "D:\Data\Develop\DevTest\SWMM\M180_MPC\M180.hsf"
;SAVE HOTSTART "D:\Data\Develop\DevTest\SWMM\M180_MPC\M180.hsf"
  .
  .
  .
[CONTROLS]
RULE T5
IF SIMULATION TIME > 1:00
THEN PUMP B100Pp SETTING = 0.50
 
RULE T4
IF SIMULATION TIME > 0:50
THEN PUMP B100Pp SETTING = 0.50
 
RULE T3
IF SIMULATION TIME > 0:40
THEN PUMP B100Pp SETTING = 0.50
 
RULE T2
IF SIMULATION TIME > 0:30
THEN PUMP B100Pp SETTING = 0.50
 
RULE T1
IF SIMULATION TIME > 0:20
THEN PUMP B100Pp SETTING = 0.50
 
RULE T0
IF SIMULATION TIME > 0:10
THEN PUMP B100Pp SETTING = 0.50
  .
  .
  .
<\bluem>

Revision as of 05:02, 15 December 2010

For the description of the drainage system a regular SWMM5 input file is required. The current version implemented in BlueM.MPC is SWMM 5.0.018. The following standards have to be followed in order to use SWMM5 for BlueM.MPC simulations:

  • The last line in the [OPTIONS] sections demands the length of the control step in minutes.
  • Time dependent controls of the actuators are induced by control rules. The section [CONTROLS] is therefore compulsory. For every control step within the control horizon a control rule is required. Every rule must begin with the line IF SIMULATION TIME > as shown in the example below.

<bluem> [TITLE]

SWMM 5.0.018b
TU Darmstadt
ihwb
Datum: 05.11.2010

[OPTIONS] FLOW_UNITS LPS INFILTRATION CURVE_NUMBER FLOW_ROUTING DYNWAVE START_DATE 04/01/2008 START_TIME 12:00:00 REPORT_START_DATE 04/01/2008 REPORT_START_TIME 12:00:00 END_DATE 04/04/2008 END_TIME 12:00:00 SWEEP_START 01/01 SWEEP_END 12/31 DRY_DAYS 0 REPORT_STEP 00:01:00 WET_STEP 00:01:00 DRY_STEP 01:00:00 ROUTING_STEP 0:00:01 ALLOW_PONDING YES INERTIAL_DAMPING NONE VARIABLE_STEP 0.00 LENGTHENING_STEP 0 MIN_SURFAREA 0 NORMAL_FLOW_LIMITED BOTH SKIP_STEADY_STATE NO FORCE_MAIN_EQUATION D-W LINK_OFFSETS DEPTH MIN_SLOPE 0

CONTROL_STEP 00
10:00

[FILES] USE INFLOWS "D:\Data\Develop\DevTest\SWMM\M180_MPC\M180Inflow.txt" USE HOTSTART "D:\Data\Develop\DevTest\SWMM\M180_MPC\M180.hsf"

SAVE HOTSTART "D
\Data\Develop\DevTest\SWMM\M180_MPC\M180.hsf"
 .
 .
 .

[CONTROLS] RULE T5 IF SIMULATION TIME > 1:00 THEN PUMP B100Pp SETTING = 0.50

RULE T4 IF SIMULATION TIME > 0:50 THEN PUMP B100Pp SETTING = 0.50

RULE T3 IF SIMULATION TIME > 0:40 THEN PUMP B100Pp SETTING = 0.50

RULE T2 IF SIMULATION TIME > 0:30 THEN PUMP B100Pp SETTING = 0.50

RULE T1 IF SIMULATION TIME > 0:20 THEN PUMP B100Pp SETTING = 0.50

RULE T0 IF SIMULATION TIME > 0:10 THEN PUMP B100Pp SETTING = 0.50

  .
  .
  .

<\bluem>