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

From Tuflow
Jump to navigation Jump to search
Line 14: Line 14:
 
<ol>
 
<ol>
 
<li>'''Input Conduits Layer:''' The conduits layer to which the 1D/2D connections will be made.  
 
<li>'''Input Conduits Layer:''' The conduits layer to which the 1D/2D connections will be made.  
<li>'''Selected features only:''' If channel(s) in the conduits layer have been selected using the 'Select Features' tool, this option will become available. If this is checked on, the tool will only create 1D/2D connections for the channels that have been selected.
+
<li>'''Selected features only:''' If channel(s) in the conduits layer have been selected using the 'Select Features' tool, this option will become available. If checked on, the tool will only create 1D/2D connections for the selected channels.
<li>'''Create connections at:''' Specifies whether the 1D/2D connections are made at the 'Upstream end', 'Downstream end' or 'Both ends' of the channel(s) in the conduits layer.
+
<li>'''Create connections at:''' Specifies whether the 1D/2D connections are made at the 'Upstream end', 'Downstream end', or 'Both ends' of the channel(s) in the conduits layer.
 
<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:''' Length of BC lines.
 
<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 checked on, SX and HX boundaries will have the 'Flags' attribute set to 'Z'. This ensures that 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 10:40, 29 February 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.
  2. Selected features only: If channel(s) in the conduits layer have been selected using the 'Select Features' tool, this option will become available. If checked on, the tool will only create 1D/2D connections for the selected channels.
  3. Create connections at: Specifies whether the 1D/2D connections are made at the 'Upstream end', 'Downstream end', or 'Both ends' of the channel(s) in the conduits layer.
  4. Offset distance: Distance from the channel endpoint to the midpoint of the BC line.
  5. Length of BC lines: Length of BC lines.
  6. Set 2D cell elevation to 1D culvert invert at 1D/2D connection cells if needed: If checked on, SX and HX boundaries will have the 'Flags' attribute set to 'Z'. This ensures that 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.
  7. 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 Channel Endpoint 1D2D Connections Dialog a.png

Example



Using the 'Selected Features Only':


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