QGIS SWMM Conduits Assign Losses

From Tuflow
Jump to navigation Jump to search

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

  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. Details on the output options are below.

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

Output Options:
For each of the following options, the tool will create a new conduits layer and won't override the existing one.

    Assign Nodes Dialog output options 02.png

  1. Create Temporary Layer:
    • Creates a temporary scratch layer. This layer will open into the QGIS workspace but it will not be saved anywhere.
  2. Save to File...:
    • The user can navigate to a folder and save the updated conduits layer to a new GeoPackage Database.
  3. 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 conduits layer will be saved as that name in the GPKG.
    Layer Name dialog.png
  4. Save to Database Table...:
    • ???
  5. Append to Layer...:
    • ???


Example

Save to an existing GeoPackage:


Using 'Edit Features In-Place':



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