Convert XPSWMM Hydrology for use in TUFLOW-SWMM
Unfortunately, XPSWMM does not write out all required hydrology information when doing a simple export to EPA SWMM 5. Some of the parameters especially infiltration parameters such as curve numbers do not get written correctly. This tool can extract information from GIS data exported from XPSWMM for nodes and subcatchments, manipulate it, and add it to the exported EPA SWMM 5 file data.
Usage
Export EPA SWMM5 Hydrology
- Make sure that, "Rnf" is the selected mode.
- From the file menu, select "Import/Export data" -> "Export to EPASWMM 5"
- This will create an "inp" file in the folder with the XPSWMM project file. Suggest copying this file to a new name to prevent it from being overwritten.
Export the GIS Subcatchment data which is required to align with the hydrology data associated with nodes
- Right-click on the "Catchments" layer under the Nodes layer in the XPSWMM layer tree.
- Click the export button and identify a filename to write the information to.
Export the Hydrology data associated with the nodes
- Right-click on the nodes layer and choose "Export to GIS."
- Expand the "Runoff Node" folder.
- The columns to include vary based on the hydrology and infiltration options being used by XPSWMM and what will be used in the TUFLOW-SWMM model. Find the appropriate data fields and double click to add them to the list.
- Set the GIS filename
- Click Export
Fill-in the inputs with the files identified above and identify an output location.
Outputs
The output of the tool will be a GIS layer with the required fields for the "Hydrology--Subcatchment" layer of a TUFLOW-SWMM GPKG layer with additional fields copied over from the exported nodal data that can be manually copied to individual fields using the field calculator.