QGIS SWMM Convert XPSWMM GIS Inlet Layers to SWMM
Introduction
This tool converts an XPSWMM GIS layer with 2D connectivity information for use with TUFLOW-SWMM. The tool works on discharges computed from the equation: Q = coefficient * depthexponent.
This processing tool generates a GIS layer that can be used with the Read GIS SWMM Inlet Usage command to link SWMM inlets to a TUFLOW 2D model.
To export the GIS layer required from XPSWMM or the XPSWMM Viewer:
- Right click on the nodes layer and choose 'Export to GIS'.
- Expand the tree folders 'Hydraulics Node\HDR Node Data'.
- Select Node 2D Inflow Capture Flag, Gound Elevation(Spill Crest), 2D Inflow Capture Coefficient, and 2D Inflow Capture Exponent.
- Remove the paranthesis from 'Ground Elevation(Spill Crest)' as it is required for some versions of QGIS.
- Set the GIS filename.
- Click 'Export'.
The inlets require a name for each combination of coefficient and exponent that must be added to the GIS layer.
Once the layer is setup, run the tool and select the parameters for the appropriate fields. The ground elevation should be used for the 'Inlet elevation field.' The CRS should match the TUFLOW-SWMM project.
Note: To convert a XPSWMM model to TUFLOW-SWMM, see XPSWMM_to_TUFLOW-SWMM.
Usage
This tool, Convert - XPSWMM GIS inlet layers to SWMM, 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'.
Parameters
- GIS layer with inlet information: GIS layer to be converted to SWMM.
- Inlet name field: Name of the GIS inlet layer.
- Inlet elevation field: Elevation of the GIS inlet layer.
- Inlet 2d capture flag (1=has 2d connection) field: Determines whether the inlet is connected to the 2D domain.
- Inlet discharge equation coefficient field: 'Coefficient' value from the equation above.
- Inlet discharge exponent field: 'Exponent' value from the equation above.
- Inlet connection width: Inlet connection width.
- CRS: The CRS (Coordinate Reference System) for the TUFLOW-SWMM project.
- SWMM inp file (for inlet definition and curves): Determines the location and filename of the output SWMM inp file.
- GeoPackage file for inlet usage (for inlet placement): Determines the location and filename of the output GeoPackage.
Up |
---|
Back to TUFLOW QGIS Plugin Main Page |