XPSWMM to TUFLOW-SWMM: Difference between revisions

Content deleted Content added
Line 409:
 
=== SWMM Hydrology ===
If yourthe XPSWMM model includes EPA SWMM hydrology, the hydrology components can be brought across into TUFLOW SWMM.
<ol>
<li> Open the XPSWMM model.
<li> Check whether the SWMM Hydrology runoff method has been used in your XPSWMM model by reviewing the selection from the following model settings: '''Configure > Mode Properties > Solver Mode > Methods'''<br>
[[File:XPSWMM_Hydrology_Methods.JPG |800px]]
<li> Select the Hydraulics mode: [[File: XPSWMM_Rnf_Icon_002.png | 30px]].
<li> Convert 1D XPSWMM hydraulics features into a EPA SWMM 5 INP file format for TUFLOW:
<li> From the XPSWMM top drop menu select '''File > Import/Export Data > Export to EPASWMM5'''
<li> When prompted if you wish to save changes, select '''Yes'''.
<li> The exported INP file will be saved to the same folder and .XP project file.
<li> In QGIS in the Processing Toolbox, go to TUFLOW >> SWMM and select <u>[[QGIS_SWMM_GeoPackage_Create_from_SWMM_inp |GeoPackage Create from SWMM inp]]</u>. Enter the field below into the dialog box:
:* SWMM Input File (inp): Select the recently exported INP file in the .XP project file.
:* CRS for GeoPackage: Select an appropriate Coordinate Reference System for your model.
:* GeoPackage output filename: Save the file to the '''TUFLOW\model\swmm''' folder, add "RNF" to the XP exported filename to distinguish this file from the HDR GeoPackage.
:* Select 'Run'.
<li>Before Opening the RNF GeoPackage file in QGIS we have to delete the Nodes--Junctions Layer within it. It is a duplicate of the Nodes--Junctions Layer contained in the HDR GeoPackage file.
<li> From the QGIS drop menus, Select '''View > Panels'''. Tick '''Browser Panel'''.
<li> In the Browser Panel view the Layer tree associated with RNF GeoPackage file. Right click '''Nodes--Junctions''' Select '''Manage > Remove Layer'''
<li> After making the above change, open the RNF GeoPackage file in QGIS and review the attribute data.
''Note: For hydrology, TUFLOW has more advanced, workflow efficient "Event Scenario Management" options than XPSMM. If your project requires the simulation of multiple hydrology events, please complete <u>[[TUFLOW_SWMM_Tutorial_M04 | TUFLOW SWMM Module 4 (1D SWMM Pipe Network / 1D SWMM Urban Hydrology: Executing multiple different event simulations from a single model control file)]]</u>. and use the model design concepts in it to upgrade the configuration of your TUFLOW model to accommodate for the simulation of multiple events from a single model. ''
 
<li>First, Checkto whetherconfirm the SWMM Hydrology runoff method has been used in yourthe XPSWMM model, by reviewingreview the selectionmodel settings. In XPSWMM, from the followingtop modeldropdown settings:menu '''Configureoptions, go to Configuration > Mode Properties. >Under Solver'Solve Mode', >select 'Methods' Confirm 'SWMM Methods (64 bit)' is selected. <br>
<br>
[[File:XPSWMM_to_TUFLOW_swmm_hydrology_runoff_method_01b.png]]
<br><br>
 
<li> Convert 1D XPSWMM hydraulics features into a EPA SWMM 5 INP file format for TUFLOW:
<ol>
<li> In XPSWMM, select 'Runoff Mode' from the toolbar.
<br><br>
[[File: XPSWMM_to_TUFLOW_toolbar_runoff_mode_01a.png|700px]]
<br>
<li> From the XPSWMM top dropdown menu options, select File > Import/Export Data > Export to EPASWMM 5. The exported INP file will be saved under the same name and in the same folder location as the .xp project file.
<li> When prompted if you wish to save changes, select '''Yes'''.
<br><br>
'''<font color="red">Video</font>'''<br>
<br>
<li> In QGIS in the Processing Toolbox, go to TUFLOW >> SWMM in the processing tool list and select '<u>[[QGIS_SWMM_GeoPackage_Create_from_SWMM_inp |GeoPackage - Create from SWMM inp ]]</u>'. EnterThis the field below intoopen the dialog box:shown below.
:* SWMM Input File (inp): SelectNavigate to the recentlyfolder exportedlocation INPof the .xp project file inand select the .XPrecently projectexported INP file.
:* CRS for GeoPackage: Select an appropriate Coordinate Reference System (CRS) for yourthe model.
:* GeoPackage output filename: Navigate to the '''TUFLOW\model\swmm''' folder. Save the file with the same name as the SWMM input file, but append 'RNF' to the filename. For example '''1D2D_Urban_001.inp''' > '''1D2D_Urban_RNF_001.gpkg'''.
<li> Click 'Run'. Once the tool is finished, click 'Close'.
<li> This tool has generated a '''Nodes--Junctions''' layer which is a duplicate of the '''Nodes--Junctions''' layer in the HDR GeoPackage. Thus, we will remove the RNF '''Nodes--Junctions''' layer.
<li> FromIn QGIS, from the QGIStop dropdropdown menusmenu options, Selectselect '''View > Panels'''. Tick ''on 'Browser Panel'''.
<li> In the QGIS Browser Panel, navigate to the '''TUFLOW\model\swmm''' folder and open the RNF GeoPackage layer tree.
:'''Note:''' Within the QGIS Browser Panel, there is a dropdown directory, 'Project Home'. This directory is a shortcut to the location where the QGIS workspace is saved.
<li> Right click '''Nodes--Junctions''' and select Manage > Delete Layer.
<li> AfterIn makingWindows File Explorer, navigate to the above'''TUFLOW\model\swmm''' change,folder. Drag and opendrop the RNF GeoPackage file ininto QGIS and review the attribute data.
</ol>
'''Note:''' For hydrology, TUFLOW has more advanced, workflow efficient "'Event Scenario Management"' options than XPSMM. If your project requires the simulation of multiple hydrology events, please complete <u>[[TUFLOW_SWMM_Tutorial_M04 | TUFLOW SWMM Module 4 (1D SWMM Pipe Network / 1D SWMM Urban Hydrology: Executing multiple different event simulations from a single model control file)]]</u>. and use the model design concepts in it to upgrade the configuration of your TUFLOW model to accommodate for the simulation of multiple events from a single model. ''
 
<br><br>
'''<font color="red">Video</font>'''
<br>