XPSWMM to TUFLOW-SWMM: Difference between revisions

Content deleted Content added
Line 375:
 
===Create 1D/2D Culvert Connections===
In addition to the pipe network inlet usage 1D/2D connections, we also need to connect ourthe 1D culvert inlet/outlets to the 2D. Physically theseThese features are oftentypically associated with either culverts located under raised roadroads or rail embankmentembankments, outlets from pipe networks into creeks, streams, or riverrivers, or open pipe network inlets and outlets associatedlinked withto major stormwater drainage infrastructure, (modifyingwhich often involves the modification of historically above -ground streamflows to an underground stormwater network). An example is shown in the image below. <br>
<br>
[[File: XPSWMM_Culvert_Inlet.JPG | 350px500px]]<br>
To link a 1D SWMM culvert to the TUFLOW 2D, TUFLOW SWMM requires 1D/2D HX connection lines for the upstream (inlet) end of a culvert and 1D/2D SX connection lines at the downstream (outlet) end. This model schematization is different to TUFLOW ESTRY and also XPSWMM (which require 1D/2D SX connections upstream and downstream), though matches the traditional requirements of EPA SWMM. <br>
<br>
ToIn linkorder to connect a 1D SWMM culvert to the TUFLOW 2D, TUFLOW SWMM requiresnecessitates 1D/2D HX connection lines forat the upstream (inlet) end of athe culvert and 1D/2D SX connection lines at the downstream (outlet) end. This model schematization isdiffers differentfrom tothat of the TUFLOW ESTRY and also XPSWMM, (which require 1D/2D SX connections both upstream and downstream), thoughbut matchesaligns with the traditional requirements of EPA SWMM. <br>
 
<ol>
<li> In the QGIS Layers Panelpanel, select (left click) '''Links--Conduits'''.
<li> Use the 'Select Features' tool to select the culvert and pipe objects that will have a clear opening in '''Links--Conduits'''. layerTypically, thatthese willculvert haveand apipe clearobjects openingare (typicallylocated under an embankment or from a pipe networkconnect to/from a waterway, such as a creek). In XPSWMM, this type of feature is typically represented by '''Links''' snapped to '''Nodes''' with "'Link invert to 2D"' selected.
<li> In the Processing Toolbox, go to TUFLOW >> SWMM and select '<u>[[QGIS_SWMM_BC_Create_Channel_Endpoint_1D/2D_Connections |BC - Create channel endpoint 1D/2D connections]]</u>'. This opens the dialog shown below.
:* Input Conduits Layer: '''Links--Conduits'''
:* Create connections at: 'Both ends'.
:* Offset Distance: 2
:* Length of BC lines: 10
:* Tick on 'Set 2D cell elevation to 1D culvert invert at 1D/2D connection cells if needed'.
:* Output Layer:
<ol>
::<li> Click the ... and select 'Save to GeoPackage'.
::<li> Navigate to the '''TUFLOW\model\gis''' folder and select the HDR GPKG you exported from the XPSWMM model during the <u>[[#Convert_XPSWMM_Model_to_Recommended_TUFLOW_Structure | Convert XPSWMM Model to Recommended TUFLOW Structure]]</u> step. It should be saved to the TUFLOW/model/swmm folder. Click Save.
::<li> A dialog will open. In the Layer name field, write '''2d_bc_SWMM_Culvert_Connections_001_L'''.
::<li> Click 'OK'.
</ol>
 
<li>Click 'Run'. Once the tool is finished, click 'Close'.
<li>Once the tool is finished, click 'Close'.
<li>The '''2d_bc_SWMM_Culvert_Connections_001_L''' appears in the QGIS Layers Panel. Select 'Apply TUFLOW Styles to Current Layer'.
<li> Make the '''2d_bc_SWMM_Culvert_Connections_001_L''' layer editable by clicking the 'Toggle Editing' symbol [[File:toggle_editing_icon.png|27x27px]].