RDII/Routing File Format
RDII interface files and routing interface files have the same text format:
1. The first line contains the keyword "SWMM5" (without the quotes)
2. A line of text that describes the file (can be blank)
3. The time step used for all inflow records (integer seconds)
4. The number of variables stored in the file, where the first variable must always be flow rate
5. The name and units of each variable (one per line), where flow rate is the first variable listed and is always named FLOW
6. The number of nodes with recorded inflow data
7. The name of each node (one per line)
8. A line of text that provides column headings for the data to follow (can be blank)
9. For each node at each time step, a line with:
o The name of the node
o The date (year, month, and day separated by spaces)
o The time of day (hours, minutes, and seconds separated by spaces)
o The flow rate followed by the concentration of each quality constituent
Time periods with no values at any node can be skipped. An excerpt from an RDII / routing interface file is shown below.
SWMM5
Example File
200
1
FLOW CFS
2
N1
N2
Node Year Mon Day Hr Min Sec Flow
N1 2007 08 01 00 10 00 0.000100
N2 2007 08 01 00 10 00 0.002109
N1 2007 08 01 00 15 00 0.000004
N2 2007 08 01 00 15 00 0.001549
RDII interface files and routing interface files have the same text format:
-
The first line contains the keyword "SWMM5" (without the quotes)
-
A line of text that describes the file (can be blank)
-
The time step used for all inflow records (integer seconds)
-
The number of variables stored in the file, where the first variable must always be flow rate
-
The name and units of each variable (one per line), where flow rate is the first variable listed and is always named FLOW
-
The number of nodes with recorded inflow data
-
The name of each node (one per line)
-
A line of text that provides column headings for the data to follow (can be blank)
-
For each node at each time step, a line with:
-
- The name of the node
-
The date (year, month, and day separated by spaces)
-
The time of day (hours, minutes, and seconds separated by spaces)
-
The flow rate followed by the concentration of each quality constituent
Time periods with no values at any node can be skipped. An excerpt from an RDII / routing interface file is shown below.
SWMM5 | |||||||
Example File | |||||||
200 | |||||||
1 | |||||||
FLOW CFS | |||||||
2 | |||||||
N1 | |||||||
N2 | |||||||
Node | Year | Mon | Day | Hr | Min | Sec | Flow |
N1 | 2007 | 08 | 01 | 00 | 10 | 00 | 0.000100 |
N2 | 2007 | 08 | 01 | 00 | 10 | 00 | 0.002109 |
N1 | 2007 | 08 | 01 | 00 | 15 | 00 | 0.000004 |
N2 | 2007 | 08 | 01 | 00 | 15 | 00 | 0.001549 |