TUFLOW SWMM Tutorial M01: Difference between revisions

Content deleted Content added
mNo edit summary
Line 167:
</ol>
<br>
An urban pipe network is added to the model in <u>[[TUFLOW_SWMM_Tutorial_M02 | TUFLOW SWMM Module 2]]</u>. In that situation, different loss attributes are required for the road culverts and underground stormwater pipe network links. To simplify the loss attribute update step in that situation, we will be using the 'Conduits - Assign node fields' processing tool. ItHowever, isit howeveris not necessary for this Module 1 tutorial, because all the 1D SWMM inputs are embankment culverts withall using the same loss parameters applied to all objects.
<br>
<br>
 
=== Create 1D/2D Connections===
The following instructions introduce a new tool that automates the creation of 1D/2D connections. ForDue 1Dto the limitations of SWMM boundary conditions, HX lines are required fromfor the upstream end of the culvert (rather than SX), and SX connections are used at the downstream end of the culvert.<br>
<ol>
<li>In the QGIS Layers panel, select (left click) '''Links--Conduits'''.
Line 184:
::<li>Click the ... and select 'Save to GeoPackage'.
::<li>Navigate to the '''TUFLOW\model\swmm''' folder and select '''sw01_001.gpkg'''. Click Save.
::<li>A dialog will open. In the Layer name boxfield, write '''2d_bc_SWMM_Culvert_Connections_001_L'''.
::<li>Click 'OK'.
</ol>
 
<li>Click 'Run'.
<li>Once the tool is finished, click 'Close'.
Line 231 ⟶ 232:
 
== Export SWMM INP File ==
SWMM doesis not able to read the '''sw01_001.gpkg''' database directly, as an input GIS file. Wetherefore, willwe need to convert the GeoPackage file to a SWMM INP file format.
 
<ol>
<li>In the Processing Toolbox, go to TUFLOW > SWMM and select 'GeoPackage - Write to SWMM inp'. This opens the dialog shown below.
:*GeoPackage Input File: Navigate to the '''TUFLOW\model\swmm''' folder and select '''sw01_001.gpkg'''.<br>
 
<li>By default, this tool will save the SWMM inp file in the same folder location and with the same name as the GeoPackage input file. In this case, it will save '''sw01_001.inp''' to the '''TUFLOW\model\swmm''' folder.
<li>Click 'Run'.