Difference between revisions of "XPSWMM Conversion TUFLOW Control File Formatting"
Jump to navigation
Jump to search
Chris Huxley (talk | contribs) (Created page with "{{Tips Navigation |uplink= Back to XPSWMM to TUFLOW Conversion Page }}") |
Chris Huxley (talk | contribs) |
||
Line 1: | Line 1: | ||
+ | === 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, <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. | ||
+ | :* Utilizing 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> | ||
+ | <br> | ||
+ | If using the provided model conversion dataset, the final Control files should look like this:<br> | ||
+ | '''<font color="red"> insert images when dataset finalised </font>''' | ||
+ | <br> | ||
+ | |||
+ | |||
{{Tips Navigation | {{Tips Navigation | ||
|uplink=[[XPSWMM_to_TUFLOW-SWMM#TUFLOW_Control_File_Updates| Back to XPSWMM to TUFLOW Conversion Page]] | |uplink=[[XPSWMM_to_TUFLOW-SWMM#TUFLOW_Control_File_Updates| Back to XPSWMM to TUFLOW Conversion Page]] | ||
}} | }} |
Revision as of 11:29, 15 February 2024
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 |
---|
Back to XPSWMM to TUFLOW Conversion Page |