Difference between revisions of "QGIS SWMM Convert XPSWMM Model From XPX"
(→Usage) |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
The tool uses the <u>[[Convert_TUFLOW_Model_GIS_Format |Convert TUFLOW Model GIS Format]]</u> 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. | The tool uses the <u>[[Convert_TUFLOW_Model_GIS_Format |Convert TUFLOW Model GIS Format]]</u> 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 <u>[[XPSWMM_to_TUFLOW-SWMM |XPSWMM to TUFLOW SWMM ]]</u>, for further instructions on the model conversion process. ''' | + | '''Please refer to <u>[[XPSWMM_to_TUFLOW-SWMM |XPSWMM to TUFLOW SWMM]]</u>, for further instructions on the model conversion process. ''' |
To export the xpx file from XPSWMM: | To export the xpx file from XPSWMM: | ||
Line 15: | Line 15: | ||
== Usage == | == Usage == | ||
− | This tool, '''Convert - XPSWMM model from XPX | + | This tool, '''Convert - XPSWMM model from XPX''', 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 22: | Line 22: | ||
=== Parameters === | === Parameters === | ||
<ol> | <ol> | ||
− | <li>'''XPSWMM Exported XPX File:''' | + | <li>'''XPSWMM Exported XPX File:''' The *.xpx file exported from the XPSWMM application or viewer. |
− | <li>'''TUFLOW TCF Filename: | + | <li>'''TUFLOW TCF Filename:''' The TUFLOW control file (TCF) from the XPSWMM model. By default, this will be located in the '''2D\Data''' folder. |
− | <li>'''SWMM File Prefix: | + | <li>'''SWMM File Prefix:''' Sets the prefix for the SWMM files in the converted model. |
− | <li>'''Output Solution Scheme: ' | + | <li>'''Output Solution Scheme:''' The solution scheme for the converted model. |
− | <li>'''Output Hardware Specification: ' | + | <li>'''Output Hardware Specification:''' The hardware selection for the converted model |
− | <li>'''Output Vector Format: ' | + | <li>'''Output Vector Format:''' The GIS format to use for the converted TUFLOW files. |
− | <li>'''Output Raster Format: ' | + | <li>'''Output Raster Format:''' The raster format used for the DEMs in the converted model. |
− | <li>'''Output Profile: | + | <li>'''Output Profile:''' The format of the output TUFLOW GIS files. |
− | <li>'''Event name if no global storms: | + | <li>'''Event name if no global storms:''' Event name for converted TUFLOW files. |
− | <li>'''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. | + | <li>'''BC width for created 1D/2D connections (HX/SX):''' Width of 1D/2D connections. This value should be approximately 2 times the width of the hydraulic model 2D cell size. |
− | <li>'''BC offset distance for created 1D/2D connections (HX/SX): Distance from the channel endpoint to the midpoint of the BC line. | + | <li>'''BC offset distance for created 1D/2D connections (HX/SX):''' Distance from the channel endpoint to the midpoint of the BC line. |
− | <li>'''Output Folder: | + | <li>'''Output Folder:''' Determines the location of the converted model. To ensure correct TUFLOW-SWMM model folder structure, navigate to an appropriate file location, create a '''TUFLOW''' folder and select it. |
− | <li>'''Output CRS: | + | <li>'''Output CRS:''' The CRS (Coordinate Reference System) for the TUFLOW-SWMM model. The tool will apply this CRS to the output files.. |
</ol> | </ol> | ||
<br> | <br> | ||
− | [[File: | + | [[File: Convert_XPSWMM_Model_From_XPX_Dialog.png]] |
+ | <br> | ||
− | |||
− | |||
− | |||
− | |||
{{Tips Navigation | {{Tips Navigation | ||
|uplink=[[TUFLOW_QGIS_Plugin#Usage| Back to TUFLOW QGIS Plugin Main Page]] | |uplink=[[TUFLOW_QGIS_Plugin#Usage| Back to TUFLOW QGIS Plugin Main Page]] | ||
}} | }} |
Latest revision as of 13:10, 20 August 2024
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, 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: The *.xpx file exported from the XPSWMM application or viewer.
- TUFLOW TCF Filename: The TUFLOW control file (TCF) from the XPSWMM model. By default, this will be located in the 2D\Data folder.
- SWMM File Prefix: Sets the prefix for the SWMM files in the converted model.
- Output Solution Scheme: The solution scheme for the converted model.
- Output Hardware Specification: The hardware selection for the converted model
- Output Vector Format: The GIS format to use for the converted TUFLOW files.
- Output Raster Format: The raster format used for the DEMs in the converted model.
- Output Profile: The format of the output TUFLOW GIS files.
- Event name if no global storms: Event name for converted TUFLOW files.
- BC width for created 1D/2D connections (HX/SX): Width of 1D/2D connections. 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: Determines the location of the converted model. To ensure correct TUFLOW-SWMM model folder structure, navigate to an appropriate file location, create a TUFLOW folder and select it.
- Output CRS: The CRS (Coordinate Reference System) for the TUFLOW-SWMM model. The tool will apply this CRS to the output files..
Up |
---|
Back to TUFLOW QGIS Plugin Main Page |