TXT-Format: Difference between revisions

From BlueM
Jump to navigation Jump to search
mNo edit summary
(update and translate)
Line 1: Line 1:
Format für Zuflussdaten in [[SWMM]].
{{Wave_nav}}


Eine Beschreibung des Formats findet sich in der {{file|pdf|SWMM_txtFormat.pdf|SWMM-Formatbeschreibung}}. Die erste Zeile der Datei muss mit dem Schlüsselwort "SWMM5" beginnen.
Files with the file extension <code>TXT</code> can be SWMM routing interface files, or generic text files.  


Beispiel (nur Abfluss):
If Wave determines that the file is ''not'' a SWMM routing interface file, it attempts treating it as a CSV file.
 
==Generic text file==
Generic text files are treated as [[CSV-Format | CSV]] files.
 
==SWMM routing interface file==
Wave detects a [[SWMM]] routing interface file by checking for the string <code>SWMM5</code> at the beginning of the file.
 
The format is described in the {{file|pdf|SWMM_txtFormat.pdf|SWMM format description}}.
 
Example (flow only):
<pre>
<pre>
SWMM5 Interface File
SWMM5 Interface File
Line 29: Line 39:
</pre>
</pre>


Beispiel (Abfluss und Konzentrationsdaten):
Example (flow and concentrations):


<pre>
<pre>
Line 49: Line 59:
S101          2008 4  1  12  2  0        15.625  100.0000
S101          2008 4  1  12  2  0        15.625  100.0000
</pre>
</pre>
[[Category:Zeitreihenformate]]
 
[[Category:Timeseries formats]]

Revision as of 07:49, 18 November 2017

Wave.png Wave | Development

Files with the file extension TXT can be SWMM routing interface files, or generic text files.

If Wave determines that the file is not a SWMM routing interface file, it attempts treating it as a CSV file.

Generic text file

Generic text files are treated as CSV files.

SWMM routing interface file

Wave detects a SWMM 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