INP-File

From BlueM
Jump to navigation Jump to search

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.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
[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
   .
   .
   .