Difference between revisions of "TUFLOW CATCH Tutorial M04 Draft"

From Tuflow
Jump to navigation Jump to search
Line 14: Line 14:
  
 
== TUFLOW CATCH Control File (TCC) ==
 
== TUFLOW CATCH Control File (TCC) ==
intro...<br>
 
The TUFLOW CATCH QGIS plugin has created a .tcc template file populated with .... Including adding the exe file paths.
 
 
=== Global Settings ===
 
=== Global Settings ===
Applied to the whole simulation. <font color=red> more info</font>
+
For this tutorial, leave all commands as is. This section of the .tcc was populated in <u>[[TUFLOW_CATCH_Tutorial_M01 | TUFLOW CATCH Tutorial 1]]</u>.
<ol>
 
<li> Navigate to the '''TUFLOW_CATCH_Module_01\Modelling\TUFLOWCatch\runs''' folder and open '''TC01_001.tcc''' into a text editor.
 
<li> In the 'Simulation Settings' section, update the time commands:<br>
 
<tt><font color=blue>Start Time</font><font color=red> == </font>01/01/2021 10:00:00 </font> <font color=green>  ! Specifies the simulation start time</font></tt><br>
 
<tt><font color=blue>End Time</font><font color=red> == </font>01/01/2021 13:00:00 </font> <font color=green>  ! Specifies the simulation end time</font></tt><br>
 
<li> In the 'Boundary Condition Configuration' section, update the BC and CSV output intervals:<br>
 
<tt><font color=blue>Catch BC Output Interval Nodestring</font><font color=red> == </font>300 </font> <font color=green>  ! Outputs BC nodestring data every 300 seconds</font></tt><br>
 
<tt><font color=blue>Catch BC Output Interval Lateral</font><font color=red> == </font>300 </font> <font color=green>  ! Outputs BC lateral data every 300 seconds</font></tt><br>
 
<tt><font color=blue>CSV Write Frequency Day</font><font color=red> == </font>0.01 </font> <font color=green>  ! Writes CSV output every 0.01 days</font></tt><br>
 
</ol>
 
  
 
=== Catchment Hydraulic Model ===
 
=== Catchment Hydraulic Model ===
Hydraulic model specific commands - similar to TUFLOW tcf
+
For this tutorial, leave all commands as is. This section of the .tcc was populated in <u>[[TUFLOW_CATCH_Tutorial_M03 | TUFLOW CATCH Tutorial 3]]</u>.
 +
 
 +
=== Pollutant Export Model ===
 +
This block contains commands that control the pollutant export (and other constituent) simulation. For this tutorial, the pollutant export model block must be updated to include interventions.
 
<ol>
 
<ol>
<li> Set the catchment hydraulic model:<br>
+
<li> Save a copy of '''TC03_001.tcc''' as '''TC04_001.tcc''' in the '''TUFLOW_CATCH_Module_04\Modelling\TUFLOWCatch\runs''' folder. Open '''TC04_001.tcc''' in a text editor.  
<tt><font color=blue>Catchment Hydraulic Model</font><font color=red> == </font>HPC </font> <font color=green></font></tt>
+
<li> In the 'Interventions' section, update the following command to reference the interventions (2d_im) layer created earlier in this tutorial. <br>
<li> Set the zero date. TUFLOW HPC does not support ISODATE format, while TUFLOW FV requires it. This command ensures compatibility by setting the date in TUFLOW FV ISODATE format that corresponds to zero hours in TUFLOW HPC boundary condition files.<br>
+
<tt><font color=blue>Read GIS Intervention</font><font color=red> == </font>..\..\TUFLOW\model\gis\2d_im_TC04_001_L.shp </font> <font color=green>  ! GIS layer defining interventions</font></tt><br>
<tt><font color=blue>Zero Date</font><font color=red> == </font>01/01/2021 10:00 </font> <font color=green>  ! Specifies the simulation start time in TUFLOW FV ISODATE format</font></tt><br>
+
 
<li> In the 'GIS' section, update the following commands: <br>
 
<tt><font color=blue>GIS Format</font><font color=red> == </font>SHP </font> <font color=green>  ! Specify SHP as the output format</font></tt><br>
 
<tt><font color=blue>TIF Projection</font><font color=red> == </font>..\..\TUFLOW\model\grid\DEM.tif </font> <font color=green>  ! Sets the GIS projection for the output grid files</font></tt><br>
 
<font color=red>SHP Projection? caused errors I think</font>
 
<li> In the 'Solver' section, set the timestep maximum and time format:<br>
 
<tt><font color=blue>Timestep Maximum</font><font color=red> == </font>2.5 </font> <font color=green>  ! Specifies a maximum timestep (seconds)</font></tt><br>
 
<tt><font color=blue>Time Format</font><font color=red> == </font>TUFLOWFV </font> <font color=green>  ! Specifies the time format of output results</font></tt><br>
 
 
<li>
 
<li>
 
</ol>
 
</ol>
 
=== Pollutant Export Model ===
 
  
 
=== Receiving Model ===
 
=== Receiving Model ===
For this tutorial, leave all commands as is. This section of the .tcc will be discussed in the next tutorial.
+
For this tutorial, leave all commands as is. This section of the .tcc was populated in <u>[[TUFLOW_CATCH_Tutorial_M03 | TUFLOW CATCH Tutorial 3]]</u>.
  
 
= Running the Simulation =
 
= Running the Simulation =

Revision as of 16:24, 2 April 2025

Page Under Construction

Introduction

In this module, a TUFLOW CATCH integrated model with interventions is developed.

TUFLOW CATCH Tutorial Module 4 is built from the model created in TUFLOW CATCH Module 3. The completed TUFLOW CATCH Module 03 is provided in the TUFLOW_CATCH_Module_04\Modelling folder of the download dataset as the starting point for this tutorial. If you are not already familiar with TUFLOW CATCH, we recommend completing TUFLOW CATCH Module 1, TUFLOW CATCH Module 2 and TUFLOW CATCH Module 3 prior to starting this tutorial.

GIS Inputs

Create, import and view input data:

Simulation Control Files

The following steps will require use of a text editor. The tutorial demonstration uses Notepad++. For its configuration information refer to Notepad++ Tips.

TUFLOW CATCH Control File (TCC)

Global Settings

For this tutorial, leave all commands as is. This section of the .tcc was populated in TUFLOW CATCH Tutorial 1.

Catchment Hydraulic Model

For this tutorial, leave all commands as is. This section of the .tcc was populated in TUFLOW CATCH Tutorial 3.

Pollutant Export Model

This block contains commands that control the pollutant export (and other constituent) simulation. For this tutorial, the pollutant export model block must be updated to include interventions.

  1. Save a copy of TC03_001.tcc as TC04_001.tcc in the TUFLOW_CATCH_Module_04\Modelling\TUFLOWCatch\runs folder. Open TC04_001.tcc in a text editor.
  2. In the 'Interventions' section, update the following command to reference the interventions (2d_im) layer created earlier in this tutorial.
    Read GIS Intervention == ..\..\TUFLOW\model\gis\2d_im_TC04_001_L.shp ! GIS layer defining interventions

Receiving Model

For this tutorial, leave all commands as is. This section of the .tcc was populated in TUFLOW CATCH Tutorial 3.

Running the Simulation

Troubleshooting

See tips on common mistakes and troubleshooting steps if the model doesn't run:


Check Files and Results Output

Complete the steps outlined in the following links to review check files and simulation results from the TUFLOW CATCH pollutant export model simulation:

TUFLOW CATCH Tutorial 04 Check Files
TUFLOW CATCH Tutorial 04 Results

Conclusion