Difference between revisions of "XPSWMM Conversion TUFLOW Control File Formatting"

From Tuflow
Jump to navigation Jump to search
Line 1: Line 1:
=== Optional: Format TUFLOW Control Files ===
+
== Format TUFLOW Control Files (Optional) ==
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:
+
In the previous sections, 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.  
 
:* 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>.
 
:* 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>.

Revision as of 14:14, 15 February 2024

Format TUFLOW Control Files (Optional)

In the previous sections, 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