XPSWMM to TUFLOW-SWMM: Difference between revisions

Content deleted Content added
Line 493:
 
=== Clean TUFLOW Control Files ===
In the process of converting a model, the <u>[[Convert_TUFLOW_Model_GIS_Format |Convert TUFLOW Model GIS Format]]</u> processing tool adds commands to the TUFLOW control files created by XPSWMM. While these control files willcontain allow theessential convertedcommands, modelthey typically lack sufficient information to enable the mode to run smoothly. Additionally, theythese havefiles notare beenoften structurednot neatly structured. To maintainensure ana easyfunctional toand read andeasily effectivereadable modelmode, it is recommended to 'clean up' the TUFLOW control files. This can be done by:
:* Adding in commands required to execute the model. For example, <font color="blue"><tt>Solution Scheme </tt></font> <font color="red"><tt>== </tt></font> <font color="black"><tt> HPC </tt></font> <font color="green"><tt> ! Heavily Parallelised Compute, uses adaptive timestepping</tt></font>.<br>
:* Removing unnecessary commands.
:* Using relative file paths to specify the location of various files and layers in the model.
:* Including a title at the beginning of each control file. For example, <font color="green"><tt>! TUFLOW CONTROL FILE (.TCF) defines the model simulation parameters and directs input from other data sources</tt></font>.
:* Adding headings to sections of the control file. For example, <font color="green"><tt>! MODEL INITIALIZATION</tt></font> could be used as a header for the commands required to initialize the TUFLOW SWMM model.
:* Using comments to explain the purpose of commands. For example, <font color="blue"><tt>Spatial Database </tt></font> <font color="red"><tt>== </tt></font> <font color="black"><tt> ..\model\gis\1D2D_Urban_001.gpkg </tt></font> <font color="green"><tt> ! Specify the location of the GeoPackage Spatial Database</tt></font>.<br>
:* Using relative file paths to specify the location of various files and layers in the model.
 
The process below demonstrates how to clean up a TCF, using the provided model conversion dataset.