Difference between revisions of "QGIS SWMM Conduits Assign Losses"

From Tuflow
Jump to navigation Jump to search
Line 6: Line 6:
  
 
== Usage ==
 
== Usage ==
This tool, '''Conduits - Assign losses''', 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, '''Conduits - Assign losses''', 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>

Revision as of 14:24, 3 January 2024

Introduction

This tool creates loss geometry and attributes for a SWMM conduit layer. Losses are dependent upon whether a conduit is the furthest upstream, furthest downstream, and which nodes are connected to inlets. Upstream entrance losses are assigned to the furthest upstream channels where the upstream node is not connected to an inlet and other entrance losses assigned to all other conduits (may be 0.0). Downstream exit losses are assigned to the furthest downstream channels and other exit losses are assigned to the rest of the channels (may be 0.0). This tool creates entrance and exit losses specified by the user throughout the domain. Channels that experience atypical size changes may need higher or lower loss coefficients.
This tool supports in-place editing if selected in the QGIS processing window.
Note: This tool relies on the "From Node" and "To Node" fields to determine position in the network. The Conduits - Assign node fields processing tool will ensure the "From Node" and "To Node" fields are correctly assigned.

Usage

This tool, Conduits - Assign losses, 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

This tool populates the 'losses_Kentry', losses_Kexit' and 'losses_Kavg' fields of the input conduit layer. The 'losses_Kentry' and losses_Kexit' fields are determined by the input parameters below. The 'losses_Kavg' field is set to 0.0, however if the field is already populated, the tool will not override the existing value.

  1. Input layer: The existing conduits layer that will be assigned the losses fields. To only update the fields of some of the layers' features, tick on 'Selected features only'. The tool will only update the fields of the conduits which have been selected.
  2. Input inlet usage features [optional]: The layer containing the physical location of inlets and site specific geometry.
  3. Entrance loss furthest upstream channels: The data to populate the 'losses_Kentry' field for the furthest upstream conduits features.
  4. Entrance loss for channels not furthest upstream: The data to populate the 'losses_Kentry' field for the other upstream conduits features.
  5. Exit loss furthest downstream channels: The data to populate the 'losses_Kexit' field for the furthest downstream conduits features.
  6. Exit loss for channels not furthest downstream: The data to populate the 'losses_Kexit' field for the other downstream conduits features.
  7. Conduits: Determines the filename and location of the output conduits layer.

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

Assign Losses Dialog.png

Example

Save to an existing GeoPackage:


Using 'Edit Features In-Place':



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