XPSWMM to TUFLOW-SWMM: Difference between revisions

Content deleted Content added
Line 474:
 
===Export INP Files===
SWMM iscannot not able todirectly read the GeoPackage databases. directly, thereforeTherefore, we need to convert all three GeoPackage files (HDR, RNF and inlet curves) into the SWMM INP file format. Both the HDR and RNF GeoPackages contain a '''Project--Options''' section, which are identical as they were extracted from the same XPSWMM model. These options are necessary for executing the SWMM simulation. Since '''Project--Options''' is already included in the HDR and RNF, it is not needed in the inlet curves INP file. <br>
'''Note:''' The inlet usage GeoPackage does not need to be converted to a SWMM inp file. Since it contains only one layer, it can be directly read into TUFLOW SWMM.
:* '''HDR''': Contains the hydraulic features of the model.
:* '''RNF''': Contains the
 
<ol>
 
<li> In QGIS, go to TUFLOW >> SWMM in the processing tool list and select '<u>[[QGIS_SWMM_GeoPackage_Write_to_SWMM_inp |GeoPackage - Write to SWMM inp]]</u>'.
The converted model uses two databases, HDR and RNF, which both contain a '''Project--Options'''.
<li> In the tool window, click the '...' and navigate to the '''TUFLOW\model\swmm''' folder. Select the HDR GeoPackage file.
 
<li> Click 'Run'.
 
<li> Once the tool has finished, click the 'Parameters' tab.
<font color="red"><tt>Emilie, I haven't worked on the text below. All the INP file need to be exported before they are useed- you're welcome to write something here if you feel confident doing it </tt></font>
<li> Repeat steps 2 and 3 for the RNF and inlet curves GeoPackages.
<li> Once the tool has finished, click 'Close'.
<li> The three SWMM INP files will be located in the '''TUFLOW\model\swmm''' folder, with each file sharing the same filename as their respective GeoPackages. For example, '''1D2D_Urban_HDR_001.gpkg''' > '''1D2D_Urban_HDR_001.inp'''.
<br><br>
'''<font color="red">Video - waiting on Subcatchments</font>'''
<br>
</ol>
 
= Link 1D SWMM and 2D TUFLOW Model =