Difference between revisions of "QGIS SWMM Junctions Set Attributes"

From Tuflow
Jump to navigation Jump to search
(Created page with "== Introduction == This tool sets SWMM junction attributes Ysur (maximum surge depth), and Apond (area of ponding). The junction attributes are set based on generic rules and...")
 
 
(36 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
== Introduction ==
 
== Introduction ==
This tool sets SWMM junction attributes Ysur (maximum surge depth), and Apond (area of ponding). The junction attributes are set based on generic rules and individual nodes may need to be modified.<br>
+
This tool sets SWMM junction attributes 'Ymax' (maximum depth), 'Ysur' (maximum surcharge depth), and 'Apond' (area of ponding). The junction attributes are set based on generic rules, and individual nodes may need to be modified.<br>
 
This tool supports in-place editing if selected in the QGIS processing window.
 
This tool supports in-place editing if selected in the QGIS processing window.
<br><br>  
+
<br><br>
  
 
== Usage ==
 
== Usage ==
This tool can be found in the QGIS processing toolbox panel under 'TUFLOW > SWMM'. To open the Processing Toolbox Panel, navigate to 'Processing' in the menubar and select 'Toolbox'.<br>
+
This tool, '''Junctions - Set Attributes''', can be found in the QGIS processing toolbox panel under TUFLOW >> SWMM. To open the Processing Toolbox panel, navigate to 'Processing' in the menubar and select 'Toolbox'.<br>
 
<br>
 
<br>
 
[[File:open_processing_toolbox.png]]<br>
 
[[File:open_processing_toolbox.png]]<br>
Line 13: Line 13:
  
 
<ol>
 
<ol>
<li>'''Input junctions:''' Use the dropdown menu to select the existing junctions layer that will be updated.  
+
<li>'''Input layer:''' The existing junctions layer to be updated.  
<li>'''Input conduits:''' Select the ... button and tick on the conduits layer that the junctions are snapped to.  
+
<li>'''Selected features only:''' If node(s) in the junctions layer have been selected using the 'Select Features' tool, this option will become available. If checked on, the tool will only update the selected node(s).
<li>'''New outfalls layer:''' Determines the output file. Details on the options are below.  
+
<li>'''Input Subcatchments [optional]:''' The subcatchments layer(s) that the node(s) receive flow from.
 +
<li>'''Input Inlet Usage Layers [optional]:''' The input inlet usage layer(s) that the node(s) are connected to.
 +
<li>'''Input BC Connection Layers [optional]:''' The BC connection layer(s) that connect the node(s) to the 2D domain.
 +
<li>For information on the other input parameters, refer to the <u>[[QGIS SWMM Junctions Set Attributes#Recommended Settings|Recommended Settings]]</u> section.
 +
<li>'''JunctionAtts:''' Determines the location and filename of the output junctions layer.
 
</ol>
 
</ol>
<br>
+
'''Note:''' If 'Edit Feature In-Place' is selected, the tool does not require the 'Input layer' or the 'JunctionAtts' parameters as the tool will override the existing junctions file with the updated attributes.
[[File:downstream_junctions_to_outfalls_dialog.png]]
 
 
<br><br>
 
<br><br>
 
+
[[File:Junctions_Set_Attributes_Dialog_d.png]]
'''Output Options:'''<br>
 
For each of the following options, the tool will create a new outfalls layer and won't overwrite the existing one.
 
:'''Create Temporary Layer:'''
 
::*Creates a temporary scratch layer. This layer will open into the QGIS workspace but it will '''not''' be saved anywhere.
 
:'''Save to File...:'''
 
::*The user can navigate to a folder and save the updated outfalls layer to a new GeoPackage Database.
 
:'''Save to GeoPackage...:'''
 
::*The user can navigate to an existing GeoPackage Database. Once selected, a 'Layer Name' dialog will appear. Enter the new layer name, and the updated outfalls layer will be saved as that name in the GPKG.
 
:::[[File:Layer_Name_dialog.png]]
 
:'''Save to Database Table...:'''
 
::*'''<font color=red>???</font>'''
 
:'''Append to Layer...:'''
 
::*'''<font color=red>???</font>'''
 
<br>
 
[[File:downstream_junctions_to_outfalls_output_options.png]]
 
 
<br><br>
 
<br><br>
  
 +
=== Recommended Settings ===
  
The recommended settings for junctions within the 2D domain depends on whether the node receives flow from a subcatchment and whether and how the node is connected to the 2D domain. The recommended attribute settings for junction nodes are:
+
The recommended settings for junctions within the 2D domain depend on whether the node receives flow from a subcatchment and whether and how the node is connected to the 2D domain. Below is a description of the input parameters and their recommended values.
Junction nodes receiving subcatchment flows
+
<br>
Nodes receiving flows from subcatchments use the recommended settings to allow any discharges unable to be conveyed through the node to immediately enter the 2D domain. These discharges are reported as "flooding" by SWMM.
+
<ol>
Ysur = 0.0 (forced)
+
<li>'''General Options:'''
Apond = 0.0 (forced)
+
:; Maximum Depth Option (Ymax):
Junction nodes not receiving subcatchment flows connected to a 2D Domain
+
::* Set to 0.0:&nbsp; Initializes the Ymax for all junction nodes to 0.0. This option may be overwritten by the parameters set in the 'Nodes connected to 2D with inlets (underground pipe network)' section.  
When nodes do not receive flows from subcatchments, it is recommended to allow ponding (set Apond >0). This will allow the head in the node (including pressure head) as a water level. If the water level in the node exceeds the water level in the 2D domain, there will be a flow from the 1D domain to 2D domain.
+
::* Leave as is:&nbsp; Leaves the Ymax value as is for all junction nodes. This option only applies if using 'Edit Feature In-Place'.  
Junction nodes connected with an inlet
+
:; Nodes receiving subcatchment flows option (if connected to 2D):
When nodes are connected through an inlet, either Ysur (surcharge dpeth) or Apond (area of ponding) can be used to allow the pressure head to exceed Ymax (by default highest adjacent conduit soffit). Using a positive area of ponding may enhance stability. When used, Apond should represent the manhole shaft or a small area. A larger area may enhance model stability but may artificially attenuate discharges. If Apond is non-zero, Ysur is ignored.
+
::* Based on options selected below:&nbsp; Parameters set in the following sections will be applied.
Ysur = 0.0 if ponding otherwise higher than expected depths to prevent flooding
+
::* Set Apond = 0.0; Ysur = 0.0 (overwrites options below):&nbsp; Forces subcatchment outlets to use 0.0 for Ysur and Apond (turns off ponding). When ponding is off, node surcharging is reported as 'flooding' to SWMM and is immediately transferred to the 2D domain.  
Apond = Manhole area
 
Junction nodes connected with a HX boundary (no inlet)
 
When nodes are connected through an HX boundary such as culverts through an embankment, it is recommended to set apond (area of ponding) to the approximate area of connected cells. A larger area of ponding may improve stability but may artificially attenuate discharges. This will depend on the model cell size. Generally, a typical value is chosen that is reasonable for most of the connections and any signficantly larger or smaller structures can be modified on an individual basis.  
 
Ysur = 0.0
 
Apond = Typical area of connected 2D cells (higher values may aid stability).
 
Junctions not connected to 2D domains
 
Flood losses would be lost from the model resulting in mass losses and inaccurate results. Prevent by allowing ponding or making surge elevation high.
 
Option #1
 
Ysur = higher than expected node depths
 
Apond = 0.0
 
or Option #2
 
Ysur = 0.0 (ignored)
 
Apond = (positive number)
 
Note: It is recommended that Ymax be set to 0.0 for all junctions. SWMM will set Ymax to higest soffit of connected conduits.
 
  
 +
<li>'''Nodes connected to the 2D without inlets (through embankment culvert):'''
 +
: '''Ysur:'''&nbsp; Sets the surcharge at nodes connected to the 2D with inlets. Recommended value is 0.0.
 +
: '''Apond:'''&nbsp; Set to the approximate area of the 2D cells associated with the 1D/2D BC culvert connections layer(s). A larger area may improve stability, but may artificially attenuate discharges.
  
 +
<li>'''Nodes connected to 2D with inlets (underground pipe network):'''
 +
:; Maximum depth (Ymax) option (overwrites general setting):
 +
::* Set to inlet elevation - node elevation:&nbsp; Sets the Ymax value to the inlet elevation minus the node elevation.
 +
::* Use global option:&nbsp; Sets the Ymax value based on the parameters set in the 'Global Options' section.
 +
: '''Ysur:'''&nbsp; Set to 0.0 if using ponding. Otherwise, set to higher than expected depths to prevent flooding.
 +
: '''Area of ponding:'''&nbsp; Set to the approximate area of the 2D cells associated with the Inlet Usage connections layer(s).
  
=== Example ===
+
<li>'''Nodes without a 2D connection (underground pipe network):'''<br>
{{Video|name=.mp4|width=1235}}
+
When a node is not connected to the 2D, flood losses will be lost from the model resulting in mass losses and inaccurate results. To prevent this, allow ponding (option 1) or make the surcharge depth high (option 2).
 +
:; Option 1:
 +
::* Surcharge depth:&nbsp; Set to 0.0.
 +
::* Area of ponding:&nbsp; Set to some positive value.
 +
:; Option 2:
 +
::* Surcharge depth:&nbsp; Set to a value higher than expected node depths.
 +
::* Area of ponding:&nbsp; Set to 0.0.
 +
</ol>
 +
<br>
  
 +
== Example ==
 +
<br>
 +
{{Video|name=Animation_Junctions_Set_Attributes_01c.mp4|width=1236}}
 +
<br>
 +
Using the 'Edit Feature In-Place' tool:
 +
<br><br>
 +
{{Video|name=Animation_Junctions_Set_Attributes_02c.mp4|width=1236}}
 +
<br>
  
 
{{Tips Navigation
 
{{Tips Navigation
 
|uplink=[[TUFLOW_QGIS_Plugin#Usage| Back to TUFLOW QGIS Plugin Main Page]]
 
|uplink=[[TUFLOW_QGIS_Plugin#Usage| Back to TUFLOW QGIS Plugin Main Page]]
 
}}
 
}}

Latest revision as of 15:12, 3 May 2024

Introduction

This tool sets SWMM junction attributes 'Ymax' (maximum depth), 'Ysur' (maximum surcharge depth), and 'Apond' (area of ponding). The junction attributes are set based on generic rules, and individual nodes may need to be modified.
This tool supports in-place editing if selected in the QGIS processing window.

Usage

This tool, Junctions - Set Attributes, can be found in the QGIS processing toolbox panel under TUFLOW >> SWMM. To open the Processing Toolbox panel, navigate to 'Processing' in the menubar and select 'Toolbox'.

Open processing toolbox.png

Parameters

  1. Input layer: The existing junctions layer to be updated.
  2. Selected features only: If node(s) in the junctions layer have been selected using the 'Select Features' tool, this option will become available. If checked on, the tool will only update the selected node(s).
  3. Input Subcatchments [optional]: The subcatchments layer(s) that the node(s) receive flow from.
  4. Input Inlet Usage Layers [optional]: The input inlet usage layer(s) that the node(s) are connected to.
  5. Input BC Connection Layers [optional]: The BC connection layer(s) that connect the node(s) to the 2D domain.
  6. For information on the other input parameters, refer to the Recommended Settings section.
  7. JunctionAtts: Determines the location and filename of the output junctions layer.

Note: If 'Edit Feature In-Place' is selected, the tool does not require the 'Input layer' or the 'JunctionAtts' parameters as the tool will override the existing junctions file with the updated attributes.

Junctions Set Attributes Dialog d.png

Recommended Settings

The recommended settings for junctions within the 2D domain depend on whether the node receives flow from a subcatchment and whether and how the node is connected to the 2D domain. Below is a description of the input parameters and their recommended values.

  1. General Options:
    Maximum Depth Option (Ymax)
    • Set to 0.0:  Initializes the Ymax for all junction nodes to 0.0. This option may be overwritten by the parameters set in the 'Nodes connected to 2D with inlets (underground pipe network)' section.
    • Leave as is:  Leaves the Ymax value as is for all junction nodes. This option only applies if using 'Edit Feature In-Place'.
    Nodes receiving subcatchment flows option (if connected to 2D)
    • Based on options selected below:  Parameters set in the following sections will be applied.
    • Set Apond = 0.0; Ysur = 0.0 (overwrites options below):  Forces subcatchment outlets to use 0.0 for Ysur and Apond (turns off ponding). When ponding is off, node surcharging is reported as 'flooding' to SWMM and is immediately transferred to the 2D domain.
  2. Nodes connected to the 2D without inlets (through embankment culvert):
    Ysur:  Sets the surcharge at nodes connected to the 2D with inlets. Recommended value is 0.0.
    Apond:  Set to the approximate area of the 2D cells associated with the 1D/2D BC culvert connections layer(s). A larger area may improve stability, but may artificially attenuate discharges.
  3. Nodes connected to 2D with inlets (underground pipe network):
    Maximum depth (Ymax) option (overwrites general setting)
    • Set to inlet elevation - node elevation:  Sets the Ymax value to the inlet elevation minus the node elevation.
    • Use global option:  Sets the Ymax value based on the parameters set in the 'Global Options' section.
    Ysur:  Set to 0.0 if using ponding. Otherwise, set to higher than expected depths to prevent flooding.
    Area of ponding:  Set to the approximate area of the 2D cells associated with the Inlet Usage connections layer(s).
  4. Nodes without a 2D connection (underground pipe network):
    When a node is not connected to the 2D, flood losses will be lost from the model resulting in mass losses and inaccurate results. To prevent this, allow ponding (option 1) or make the surcharge depth high (option 2).
    Option 1
    • Surcharge depth:  Set to 0.0.
    • Area of ponding:  Set to some positive value.
    Option 2
    • Surcharge depth:  Set to a value higher than expected node depths.
    • Area of ponding:  Set to 0.0.


Example



Using the 'Edit Feature In-Place' tool:


Up
Go-up.png Back to TUFLOW QGIS Plugin Main Page