SWMM file formats: Difference between revisions

From BlueM
Jump to navigation Jump to search
(moved relevant content from TXT-Format and DAT-Format)
(added SWMM5 LID report file (since Wave v1.11.0))
Line 4: Line 4:
* SWMM5 binary output format
* SWMM5 binary output format
* SWMM5 routing interface file
* SWMM5 routing interface file
* SWMM5 LID report file
* SWMM5 DAT interface file (export only)
* SWMM5 DAT interface file (export only)


Line 66: Line 67:
S201          2008 4  1  12  2  0        15.625    50.0000
S201          2008 4  1  12  2  0        15.625    50.0000
S101          2008 4  1  12  2  0        15.625  100.0000
S101          2008 4  1  12  2  0        15.625  100.0000
</pre>
==SWMM5 LID report file==
SWMM5 LID report files use the file extension <code>*.TXT</code>. They are recognized by BlueM.Wave by the text <code>SWMM5 LID Report File</code> in the first line.
Example:
<pre>
SWMM5 LID Report File
Project: 
LID Unit: BC1 in Subcatchment S_BC
                      Elapsed     Total     Total   Surface Pavement     Soil   Storage   Surface     Drain   Surface Pavement     Soil   Storage
                        Time   Inflow     Evap     Infil     Perc     Perc     Exfil   Runoff   OutFlow     Level     Level Moisture     Level
Date        Time        Hours     mm/hr     mm/hr     mm/hr     mm/hr     mm/hr     mm/hr     mm/hr     mm/hr       mm       mm   Content       mm
----------- -------- --------- --------- --------- --------- --------- --------- --------- --------- --------- --------- --------- --------- ---------
03/01/2018 00:00:00 1344.000     0.000   0.0225     0.000     0.000     0.000     0.000   0.000     0.000     0.000     0.000     0.192   511.344
03/01/2018 00:05:00 1344.083     0.000   0.0404     0.000     0.000     0.000     0.000   0.000     0.000     0.000     0.000     0.192   511.344
03/01/2018 00:10:00 1344.167     0.000   0.0404     0.000     0.000     0.000     0.000   0.000     0.000     0.000     0.000     0.192   511.344
03/01/2018 00:15:00 1344.250     0.000   0.0404     0.000     0.000     0.000     0.000   0.000     0.000     0.000     0.000     0.192   511.344
03/01/2018 00:20:00 1344.333     0.000   0.0404     0.000     0.000     0.000     0.000   0.000     0.000     0.000     0.000     0.192   511.344
03/01/2018 00:25:00 1344.417     0.000   0.0404     0.000     0.000     0.000     0.000   0.000     0.000     0.000     0.000     0.192   511.344
03/01/2018 00:30:00 1344.500     0.000   0.0404     0.000     0.000     0.000     0.000   0.000     0.000     0.000     0.000     0.192   511.344
03/01/2018 00:35:00 1344.583     0.000   0.0404     0.000     0.000     0.000     0.000   0.000     0.000     0.000     0.000     0.192   511.344
</pre>
</pre>



Revision as of 03:25, 21 December 2021

Wave.png Wave | Download | Development

The following SWMM file formats are supported by BlueM.Wave:

  • SWMM5 binary output format
  • SWMM5 routing interface file
  • SWMM5 LID report file
  • SWMM5 DAT interface file (export only)


SWMM5 binary output format

File import dialog for a SWMM5 binary output file

SWMM 5 binary output files have the file extension *.OUT. The file format is binary and described in the "SWMM Interface Guide" available here (archive link).

When a SWMM5 binary output file is opened with Wave, an import dialog is displayed, allowing the user to select the desired series for importing (see screenshot).

SWMM5 routing interface file

SWMM5 routing interface files have the file extension *.TXT.

BlueM.Wave detects a SWMM5 routing interface file by checking for the string SWMM5 at the beginning of the file.

The format is described in the SWMM format description information.png.

Example (flow only):

SWMM5 Interface File
RTC-Demonstrator , Regenbelastung Wupperverband , 
 60 - reporting time step in sec
 1    - number of constituents as listed below:
FLOW LPS
 5    - number of nodes as listed below:
S101
S201
S401
S203
S602
Node          Year Mon Day Hr  Min Sec         FLOW
S101          2001 6   10  0   0   0          0.000
S201          2001 6   10  0   0   0          0.000
S401          2001 6   10  0   0   0          0.000
S203          2001 6   10  0   0   0          0.000
S602          2001 6   10  0   0   0          0.000
S101          2001 6   10  0   1   0          1.960
S201          2001 6   10  0   1   0          0.420
S401          2001 6   10  0   1   0          1.400
S203          2001 6   10  0   1   0          0.560
S602          2001 6   10  0   1   0          4.900

Example (flow and concentrations):

SWMM5 Interface File
RTC-Demo 
 60 - reporting time step in sec
 2    - number of constituents as listed below:
FLOW LPS
CSB MG/L
 2    - number of nodes as listed below:
S201
S101
Node          Year Mon Day Hr  Min Sec         FLOW  CSB      
S201          2008 4   1   12  0   0          0.000    50.0000
S101          2008 4   1   12  0   0          0.000   100.0000
S201          2008 4   1   12  1   0         15.625    50.0000
S101          2008 4   1   12  1   0         15.625   100.0000
S201          2008 4   1   12  2   0         15.625    50.0000
S101          2008 4   1   12  2   0         15.625   100.0000

SWMM5 LID report file

SWMM5 LID report files use the file extension *.TXT. They are recognized by BlueM.Wave by the text SWMM5 LID Report File in the first line.

Example:

SWMM5 LID Report File

Project:  
LID Unit: BC1 in Subcatchment S_BC

                    	  Elapsed	    Total	    Total	  Surface	 Pavement	     Soil	  Storage	  Surface	    Drain	  Surface	 Pavement	     Soil	  Storage
                    	     Time	   Inflow	     Evap	    Infil	     Perc	     Perc	    Exfil	   Runoff	  OutFlow	    Level	    Level	 Moisture	    Level
Date        Time    	    Hours	    mm/hr	    mm/hr	    mm/hr	    mm/hr	    mm/hr	    mm/hr	    mm/hr	    mm/hr	       mm	       mm	  Content	       mm
----------- --------	 ---------	 ---------	 ---------	 ---------	 ---------	 ---------	 ---------	 ---------	 ---------	 ---------	 ---------	 ---------	 ---------
 03/01/2018 00:00:00	 1344.000	    0.000	   0.0225	    0.000	    0.000	    0.000	    0.000	   0.000	    0.000	    0.000	    0.000	    0.192	  511.344
 03/01/2018 00:05:00	 1344.083	    0.000	   0.0404	    0.000	    0.000	    0.000	    0.000	   0.000	    0.000	    0.000	    0.000	    0.192	  511.344
 03/01/2018 00:10:00	 1344.167	    0.000	   0.0404	    0.000	    0.000	    0.000	    0.000	   0.000	    0.000	    0.000	    0.000	    0.192	  511.344
 03/01/2018 00:15:00	 1344.250	    0.000	   0.0404	    0.000	    0.000	    0.000	    0.000	   0.000	    0.000	    0.000	    0.000	    0.192	  511.344
 03/01/2018 00:20:00	 1344.333	    0.000	   0.0404	    0.000	    0.000	    0.000	    0.000	   0.000	    0.000	    0.000	    0.000	    0.192	  511.344
 03/01/2018 00:25:00	 1344.417	    0.000	   0.0404	    0.000	    0.000	    0.000	    0.000	   0.000	    0.000	    0.000	    0.000	    0.192	  511.344
 03/01/2018 00:30:00	 1344.500	    0.000	   0.0404	    0.000	    0.000	    0.000	    0.000	   0.000	    0.000	    0.000	    0.000	    0.192	  511.344
 03/01/2018 00:35:00	 1344.583	    0.000	   0.0404	    0.000	    0.000	    0.000	    0.000	   0.000	    0.000	    0.000	    0.000	    0.192	  511.344

SWMM5 DAT interface format

This file format has the file extension *.DAT. BlueM.Wave can currently only export this format.