XPSWMM Conversion TUFLOW Control File Formatting

From Tuflow
Revision as of 11:29, 15 February 2024 by Chris Huxley (talk | contribs)
Jump to navigation Jump to search

Optional: Format TUFLOW Control Files

In the sections above, we removed unnecessary commands from the TUFLOW control files and introduced additional commands to ensure the TUFLOW SWMM model runs smoothly. In this section, we will format and organize the TUFLOW control files to enhance readability, thereby improving the overall functionality of the model. This can be done by:

  • 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, ! TUFLOW CONTROL FILE (.TCF) defines the model simulation parameters and directs input from other data sources.
  • Adding headings to sections of the control file. For example, ! MODEL INITIALIZATION could be used as a header for the commands required to initialize the TUFLOW SWMM model.
  • Utilizing comments to explain the purpose of commands. For example, Spatial Database == ..\model\gis\1D2D_Urban_001.gpkg  ! Specify the location of the GeoPackage Spatial Database.


If using the provided model conversion dataset, the final Control files should look like this:
insert images when dataset finalised


Up
Go-up.png Back to XPSWMM to TUFLOW Conversion Page