Difference between revisions of "QGIS SWMM BC Create Channel Endpoint 1D/2D Connections"

From Tuflow
Jump to navigation Jump to search
Line 5: Line 5:
  
 
== Usage ==
 
== Usage ==
This tool, '''BC - Create channel endpoint 1D/2D connections''', 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, '''BC - Create channel endpoint 1D/2D connections''', 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 12: Line 12:
 
=== Parameters ===
 
=== Parameters ===
 
<ol>
 
<ol>
<li>'''Input Conduits Layer:''' The conduits layer to which the 1D/2D connections will be made. To only create connections for some of the conduits, tick on 'Selected features only'. The tool will only create connections for the conduits which have been selected.
+
<li>'''Input Conduits Layer:''' The conduits layer to which the 1D/2D connections will be made. To only create connections for some of the conduits, select the desired ones and tick on 'Selected features only'.
 
<li>'''Offset distance:''' Distance from the channel endpoint to the midpoint of the BC line.
 
<li>'''Offset distance:''' Distance from the channel endpoint to the midpoint of the BC line.
<li>'''Length of BC lines:''' As the name suggests.
+
<li>'''Length of BC lines:''' Length of BC lines.
<li>'''Set 2D cell elevation to 1D culvert invert at 1D/2D connection cells if needed:''' If this is checked on, SX and HX boundaries will have the "Flags" attribute set to "Z." This ensures that the valid elevations occur at the 1D/2D interface. HX boundaries require 2D cell elevations at or above the 1D elevation while SX boundaries require 2D cell elevations at or below the 1D elevation.
+
<li>'''Set 2D cell elevation to 1D culvert invert at 1D/2D connection cells if needed:''' If this is checked on, SX and HX boundaries will have the 'Flags' attribute set to 'Z'. This ensures that the valid elevations occur at the 1D/2D interface. HX boundaries require 2D cell elevations at or above the 1D elevation while SX boundaries require 2D cell elevations at or below the 1D elevation.
 
<li>'''Output Layer:''' Determines the location and filename of the output file. It is recommended to name the output layer with the prefix '''2d_bc''' so TUFLOW styles can be automatically applied.
 
<li>'''Output Layer:''' Determines the location and filename of the output file. It is recommended to name the output layer with the prefix '''2d_bc''' so TUFLOW styles can be automatically applied.
 
</ol>
 
</ol>

Revision as of 12:48, 4 January 2024

Introduction

This tool creates 1D/2D connections at the endpoints of SWMM channels. HX connections are created on the upstream end and SX connections are created on the downstream end.
Note: The positions of the HX and SX connections may not be completely accurate, so it is recommended for the user to check the output.

Usage

This tool, BC - Create channel endpoint 1D/2D connections, 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 Conduits Layer: The conduits layer to which the 1D/2D connections will be made. To only create connections for some of the conduits, select the desired ones and tick on 'Selected features only'.
  2. Offset distance: Distance from the channel endpoint to the midpoint of the BC line.
  3. Length of BC lines: Length of BC lines.
  4. Set 2D cell elevation to 1D culvert invert at 1D/2D connection cells if needed: If this is checked on, SX and HX boundaries will have the 'Flags' attribute set to 'Z'. This ensures that the valid elevations occur at the 1D/2D interface. HX boundaries require 2D cell elevations at or above the 1D elevation while SX boundaries require 2D cell elevations at or below the 1D elevation.
  5. Output Layer: Determines the location and filename of the output file. It is recommended to name the output layer with the prefix 2d_bc so TUFLOW styles can be automatically applied.


BC Create 1D2D dialog.png

Example


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