TUFLOW SWMM Tutorial M01: Difference between revisions

Content deleted Content added
Line 41:
 
<li>Open the new SWMM GeoPackage Spatial Database in QGIS by dragging and dropping '''TS01_001.gpkg''' from Windows Explorer into QGIS. When prompted by QGIS select "Add Layers" to open all vectors within the GeoPackage database. By default, all items in the available list should have been selected.<br>
</li></ol>
<br>
<font color="red">'''<< Add video >>'''</font>
{{Video|name=Animation_create_TS01_002.mp4|width=1235}}
 
<br>
<br>
== GIS Data Entry ==
Navigate to the '''''TUFLOW_SWMM_Module_01\Tutorial_Data''''' folder in Windows Explorer. Drag and drop '''SWMM_Culverts.gpkg''' into QGIS to open the file. SWMM_Culverts.gpkg includes three Layers, Links-Conduits, Nodes-Junctions and Nodes-Outfall. Links-Conduits defines the culvert location, type and geometry. Nodes-Junction define the upstream culverts inverts. Nodes-Outfall define the downstream culvert inverts.
 
Complete the following steps:
<ol>
# <li>Copy the objects from '''Links--Conduits SWMM_Culverts.gpkg''' into '''Links--Conduits TS01_001.gpkg'''. Steps to Copy/Paste are as follows:
#* Left click '''Links--Conduits SWMM_Culverts.gpkg''' in the QGIS Layers Panel. Right cick the Layer and select ''Zoom to Layer'' if the three objects within the layer are currently not displayed in the main Map Window.<br>
#* Use the select the Feature by Area tool to select all items included in '''Links--Conduits SWMM_Culverts.gpkg'''
#* Select Edit >> Copy Features
#* Left click '''Links--Conduits TS01_001.gpkg''' in the QGIS Layers Panel.
#* Select Toggle Editing to enable changes to be made to the Layer.
#* Select Edit >> Paste Features
<br>
{{Video|name=Animation_copy_conduit_001.mp4|width=1235}}
<br>
# <li>Copy the objects from '''Nodes--Junction SWMM_Culverts.gpkg''' into '''Nodes--Junction TS01_001.gpkg'''. Junctions are considered inlets, and should be defined at the upstream end of culverts.
# <li>Copy the objects from '''Nodes--Outfall SWMM_Culverts.gpkg''' into '''Nodes--Outfall TS01_001.gpkg'''. Outfalls are treated as outlets, and are required at the downstream end of culverts.
# <li>Close '''SWMM_Culverts.gpkg'''
<br><br>
{{Video|name=Animation_copy_junctions_outfalls_001.mp4|width=1235}}
<br>
# <li>Inspect the attribute information within the respective layers to familiarize yourself with the data.
<br><br>
{{Video|name=Animation_attribute_info_001.mp4|width=1235}}
</ol>
 
# Copy the objects from '''Links--Conduits SWMM_Culverts.gpkg''' into '''Links--Conduits TS01_001.gpkg'''. Steps to Copy/Paste are as follows:
#* Left click '''Links--Conduits SWMM_Culverts.gpkg''' in the QGIS Layers Panel. Right cick the Layer and select ''Zoom to Layer'' if the three objects within the layer are currently not displayed in the main Map Window.
#* Use the select the Feature by Area tool to select all items included in '''Links--Conduits SWMM_Culverts.gpkg'''
#* Select Edit >> Copy Features
#* Left click '''Links--Conduits TS01_001.gpkg''' in the QGIS Layers Panel.
#* Select Toggle Editing to enable changes to be made to the Layer.
#* Select Edit >> Paste Features
 
<font color="red">'''<< Add video >>'''</font>
 
# Copy the objects from '''Nodes--Junction SWMM_Culverts.gpkg''' into '''Nodes--Junction TS01_001.gpkg'''. Junctions are considered inlets, and should be defined at the upstream end of culverts.
# Copy the objects from '''Nodes--Outfall SWMM_Culverts.gpkg''' into '''Nodes--Outfall TS01_001.gpkg'''. Outfalls are treated as outlets, and are required at the downstream end of culverts.
# Close '''SWMM_Culverts.gpkg'''
# Inspect the attribute information within the respective layers to familiarize yourself with the data.
 
<font color="red">'''<< Add video >>'''</font>
 
== GIS Data Updates ==
Line 81 ⟶ 88:
# View the attributes associated within Links-Conduits to verify the data processing has been completed correctly. The ''From Node'' and ''To Node'' attribute information is now configured correctly.
Tip: If you wish to only update select objects during a future modelling project, instead of the entire Link--Conduits dataset, select the target objects first using the Feature by Area tool. The ''Conduits - Assign Node Fields'' tool will provide an option to ''Modify Selected Features'', instead of ''Modify All Features.''
<br><br>
 
{{Video|name=Animation_update_conduit_001.mp4|width=1235}}
<font color="red">'''<< Add video >>'''</font>
<br>
 
===Update Losses===
Line 96 ⟶ 104:
# Save '''Links--Conduits'''
 
<br>
<font color="red">'''<< Add video >>'''</font>
{{Video|name=Animation_update_losses_001.mp4|width=1235}}
<br>
 
An urban pipe network is added to the model in TUFLOW SWMM Module 2. In that situation, different loss attributes are required for the road culverts and underground stormwater pipe network links. To simplify the loss attibute update step in that situation, we will be introducing the '''Conduits - Assign Node Fields''' processing tool. It is however, not necessary for this Module 1 tutorial because all the 1D SWMM inputs are embankment culverts.
Line 115 ⟶ 125:
*'''Length of BC lines''' = 10
*'''Output Layer'''= Select: '''Save to GeoPackage'''. Choose '''TS01_001.gpkg''' in the '''model\swmm''' folder and click Save. A Layer Name Window will open. Provide the following name: '''2d_bc_SWMM_Connections_001_L'''.<br></ol>
<br>
<font color="red">'''<< Add video >>'''</font>
{{Video|name=Animation_1D2D_connections_001.mp4|width=1235}}
<br>
 
===Update Junction Details===
 
Line 128 ⟶ 141:
# View the attributes associated within '''Node--Junctions''' to verify the data processing has been completed correctly.
 
<br>
 
{{Video|name=Animation_update_junctions_001.mp4|width=1235}}
<font color="red">'''<< Add video >>'''</font>
<br><br>
 
==SWMM Options==
Line 142 ⟶ 156:
</ol>
 
{{Video|name=Animation_update_options_001.mp4|width=1235}}
 
<br><br>
<font color="red">'''<< Add video >>'''</font>
 
== Export SWMM INP File ==
Line 154 ⟶ 168:
<li>Select "Run", then "Close" after the processing is complete.
</ol>
<br>
<font color="red">'''<< Add video >>'''</font>
{{Video|name=Animation_create_inp_001.mp4|width=1235}}
 
= Simulation Control Files =