TUFLOW SWMM Tutorial M02: Difference between revisions
Content deleted Content added
Line 95:
</ol>
When you progress from this tutorial to project modelling, you will need to create an Inlet Usage Layer yourself. The template file for this is available from '''model\gis\empty\swmm_iu_empty.gpkg'''. The file is created during the initial 'Write Empty' step of the model build process (refer to <u>[[Tutorial_M01#Project_Initialisation | TUFLOW Tutorial Model 1]]</u>).
The "Inlet" Attribute within the Inlet Usage Layer is an ID reference to inlet geometry and associated information listed within '''sw02_001.gpkg''' >> '''Inlets--Inlet'''. A single inlet type, 'Combo1', was referenced in '''swmm_iu_TS02_001''' (the provided Inlet Usage Layer
<ol>
<li>In the QGIS Layers Panel, select (left click) '''Inlets--Inlet''' and toggle on editing.
<li>Right click '''Inlets--Inlet''' and select 'Open Attribute Table'.
<li>Click
:*Name: Combo1
:*Type: COMBINATION
:*Grate_Length: 1.5
:*Grate_Width: 0.5
:*Grate_Type: P_BAR-50
:*Curb_Length: 1.5
:*Curb_Height: 0.2
:*Curb_Throat: VERTICAL
<li>Turn off editing to save the edits.
<
{{Video|name=|width=1235}}
<br>
</ol>▼
===Update Streets Details===
Street cross-section information is needed for SWMM on-grade inlet flow calculations.
We will now define this street cross-section type and its attributes.
<ol>
<li>In the QGIS Layers Panel, select (left click) '''Links--Streets''' and toggle on editing.
<li>Right click '''Links--Streets''' and
<li>Click
:*
:*
:*Hcurb: 0.2
:*Sx: 4
:*nRoad: 0.014
:*a: 0
:*W: 0
:*Sides: 1
:*Tback: 5
:*Sback: 4
:*nBack: 0.016
<li>
<br><br>
{{Video|name=|width=1235}}
<br>
</ol>
===Update Conduit Details===
<ol>
<li>In the QGIS Layers Panel, select (left click) '''Links--Conduits''' and toggle on editing.
Line 147 ⟶ 153:
<li>Once the tool has finished, click 'Close'.
<li>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.<br>
<li>
▲</ol>
'''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=|width=1235}}
<br>
</ol>
===Update Losses===
<ol>
<li>In the QGIS Layers Panel, select (left click) '''Links--Conduits''' and toggle on editing.
<li>In the Processing Toolbox, select the 'Edit Features In-Place' tool [[File:edit_features_in_place_icon.png]]. This allows the editing of an existing layer, instead of the creation of a new layer.
<li>Go to TUFLOW > SWMM in the processing tool list and select 'Conduits - Assign losses'. This opens the dialog shown below.
:*
:*Entrance loss furthest upstream
:*Entrance loss for channels not furthest upstream
:*Exit loss furthest downstream
:*Exit loss for channels not furthest downstream
<li>Select 'Modify All Features'.
<li>After the tool processing has finished, click 'Close'.
<li>
<br><br>
{{Video|name=|width=1235}}
<br>
</ol>
Line 174 ⟶ 184:
<font color="red">'''<< Insert figure of Attribute table highlighting Conn_1D_2D attribute>>'''</font><br>
[[File:]]<br>
To compete the pipe network, 1D/2D linkage is needed at the outlet of the pipe network. The 'BC - Create channel endpoint 1D/2D connections' tool will be used to automate his process.▼
▲To compete the pipe network 1D/2D linkage is needed at the outlet of the pipe network.
<ol>
<li>In the QGIS Layers Panel, select (left click) '''Links--Conduits''' and toggle on editing.
<li>Use the 'Select Features' tool to select the most downstream object in '''Links--Conduits'''.
<li>In the Processing Toolbox, go to '''TUFLOW > SWMM''' and select
▲<li>In the Processing Toolbox, go to '''TUFLOW > SWMM''' and select '<nowiki/>'''BC - Create channel endpoint 1D/2D connections'''<nowiki/>'. This opens the dialog shown below.
:*Input Conduits Layer: '''Links--Conduits'''
:*Tick
:*Offset Distance: 2
:*Length of BC lines: 10
:*Tick
:*Output Layer:
<ol>
Line 194 ⟶ 203:
::<li>Click 'OK'.
</ol>
<li>Click 'Run'.
<li>Once the tool is finished, click 'Close'.
<li>The '''2d_bc_SWMM_Pipe_Network_Connections_001_L'''
<li>The BC - Create channel endpoint 1D/2D connections tool has created 1D connections at the upstream and downstream end of the selected pipe. We only require the downstream outlet objects. All pipe network inlets have already been defined in '''swmm_iu_TS02_001'''. Delete the two CN and single HX line from the upstream end of the pipe.▼
<br><br>
{{Video|name=|width=1235}}
▲<li>Toggle off editing and save the update.
<br>
<li>Select (left click) '''2d_bc_SWMM_Pipe_Network_Connections_001_L''' and toggle on editing.
▲<li>The 'BC - Create channel endpoint 1D/2D connections' tool has created 1D connections at the upstream and downstream end of the selected pipe. We only require the downstream outlet objects
<li>Delete the two CN and single HX lines from the upstream end of the pipe.
<br><br>
{{Video|name=|width=1235}}
<br>
</ol>
===Update SWMM Junction Details===
Line 221 ⟶ 224:
<li>In the QGIS Layers Panel, select (left click) '''Nodes--Junctions''' and toggle on editing.
<li>In the Processing Toolbox, select the 'Edit Features In-Place' tool. This allows the editing of an existing layer, instead of the creation of a new layer.
<li>Go to TUFLOW > SWMM in the processing tool list and select
:*Input Inlet Usage Layers: '''swmm_iu_TS02_001'''
:*Input BC Connection
:*Nodes connected to 2D with Inlets (Ysur): 0
:*Nodes connected to 2D with Inlets (Area of ponding): 5
Line 230 ⟶ 233:
:*Nodes without 2D Connection (Surcharge Depth): 50
:*Nodes without 2D Connection (Area of ponding): 0
<li>Select 'Modify All Features'.
<li>Once the tool has finished, click 'Close'.
<li>Turn off editing to save the edits.
<li>View the attributes associated within '''Nodes--Junctions''' to verify the data processing has been completed correctly.
<br><br>
▲<li>Toggle off editing and save the update.
{{Video|name=|width=1235}}
<br>
</ol>
| |||