QGIS SWMM Convert XPSWMM Model From XPX
Introduction
This tool converts XPSWMM models for use in TUFLOW-SWMM using a xpx file exported from XPSWMM. Common XPSWMM parameters are converted. Some attributes will need to be specified manually. The tool uses the Convert TUFLOW Model GIS Format processing tool to convert the 2D portion of the model, extracts the 1D portion from the xpx file, and modifies the converted model to incorporate SWMM into the TUFLOW model.
Please refer to XPSWMM to TUFLOW SWMM , for further instructions on the model conversion process.
To export the xpx file from XPSWMM:
- From the top dropdown menu options, select File > Import/Export Data > Export XPX Data. This will open a dialog. Leave all options as default and click 'Export'.
- When prompted, save the file under an appropriate name to the folder where the XPSWMM model is located.
Note: The xpx file can be exported from XPSWMM or the free XPSWMM Viewer.
Usage
This tool, Convert - XPSWMM model from XPX (beta), 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
- XPSWMM Exported XPX File: Click '...' and navigate to the exported XPX data. This should be located in the same folder as the XPSWMM model.
- TUFLOW TCF Filename: Click '...' and navigate to the XPSWMM .tcf. This should be located in the 2D\Data folder.
- SWMM File Prefix: Choose an appropriate prefix for the SWMM files (e.g. Urban).
- Output Solution Scheme: 'HPC'
- Output Hardware Specification: 'GPU' (if GPU is not available, select 'CPU')
- Output Vector Format: 'GPKG'
- Output Raster Format: 'GTIFF'
- Output Profile: Any option can be used. 'ALL IN ONE' is used in this example for model design consistency with the TUFLOW SWMM Tutorials.
- Event name if no global storms: If no global storms, leave as default. Otherwise, choose an appropriate event name.
- BC width for created 1D/2D connections (HX/SX): This value should be approximately 2 times the width of the hydraulic model 2D cell size.
- BC offset distance for created 1D/2D connections (HX/SX): Distance from the channel endpoint to the midpoint of the BC line.
- Output Folder: Click '...' and navigate to an appropriate location to save your TUFLOW model. In this location, create a new folder called TUFLOW and select it.
- Output CRS: Select an appropriate Coordinate Reference System (CRS) for the model. For the demonstration model, the CRS is 'EPSG:32760 - WGS 84 / UTM zone 60S'.
Example
Up |
---|
Back to TUFLOW QGIS Plugin Main Page |