Difference between revisions of "TUFLOW SWMM Tutorial M01 Check QGIS"

From Tuflow
Jump to navigation Jump to search
Line 29: Line 29:
 
<li>Open '''TUFLOW\check\TS01_5m_001_Check.gpkg'''. When prompted, open layers '''TS01_5m_001_grd_check_R''' and '''TS01_5m_001_1d_to_2d_check_R'''
 
<li>Open '''TUFLOW\check\TS01_5m_001_Check.gpkg'''. When prompted, open layers '''TS01_5m_001_grd_check_R''' and '''TS01_5m_001_1d_to_2d_check_R'''
 
<li>Use the 'Apply TUFLOW Styles to Open Layers'.
 
<li>Use the 'Apply TUFLOW Styles to Open Layers'.
<li>Use the 'Apply GPKG Layer Names'.
+
<li>The '''grd_check''' is the 2D grid defined by the 2d_code layer and contains a region object for each cell. It is useful to understand how the model is orientated, the cell size in relation to the hydraulic features and where certain calculations occur in the model. In this tutorial, the grid is orientated to align with the downstream road.
<li>The grd_check is the 2D grid defined by the 2d_code layer and contains a region object for each cell. It is useful to understand how the model is orientated, the cell size in relation to the hydraulic features and where certain calculations occur in the model. In this tutorial, the grid is orientated to align with the downstream road.
+
<li>The '''1d_to_2d_check_R''' file shows the cells selected by the SX boundary links (that connect the 1D SWMM objects to 2D TUFLOW). It is recommended thata the 2D cell width (i.e. cell side legth x number of cell) be equal or greater than the width of the 1D  culvert. Zoom to each structure to inspect the SX links. In all cases the 2D linkage is 10m wide. Is this equal or more than the width of the associated 1D culvert:
<li>The '''nwk_C_check_L''' file shows all attributes applied to the network elements. Some fields should be inspected as they have changes from the input '''1d_nwk_M03_culverts''' layer:
 
:*Len_or_ANA: contains the length used by TUFLOW (determined by the digitised line).
 
:*pSlope: the slope of the 1D element.<br>
 
 
 
<br>
 
<font color="red">'''<< Add video >>'''</font>
 
 
 
<li>The '''1d_to_2d_check_R''' file shows the cells selected by the SX boundary links. It is recommended the same number of linking cells is selected at both the upstream and downstream of the culverts and that the number of selected cells is proportional to the structure size. Zoom to each structure to inspect the SX links:
 
:*The point SX selects a single cell in which the point falls. <br>
 
:*The region SX selects all cells where the cell centers fall within the region.  
 
:*The line SX selects cells which are intercepted by the line using the crosshair approach. For example, the dashed lines below are the hidden crosshairs within a cell. An SX line must intersect at least one of these crosshairs to be selected:<br>
 
<ol>
 
<br>
 
[[File:Cross-hair approach.png | 300px]]</ol>
 
 
<br>
 
<br>
 
<font color="red">'''<< Add video >>'''</font>
 
<font color="red">'''<< Add video >>'''</font>

Revision as of 14:38, 8 December 2023

Review SWMM Check Files

When TUFLOW runs SWMM it can accommodate for multiple INP input files within the SWMM Control file. TUFLOW combines the input INP files into a single combined INP file for the simulation execution. The combined file that TUFLOW uses is written to the TUFLOW/results folder. The QGIS TUFLOW Plugin SWMM Processing Tool, 'GeoPackage - Create from SWMM inp' can be used to create a spatial GeoPackage version of the data for post simulation review checking.

  1. In the Processing Toolbox, select the 'GeoPackage - Create from SWMM inp' tool.
  2. Select: GeoPackage Input File: Navigate to the TUFLOW\results folder and select TS01_5m_001_swmm.inp.
  3. Set the CRS for GepPackage: WGS 84 / UTM Zone 60S.
  4. Leave SWMM Tags to ignore blank.
  5. Set the GeoPackage output filename: TUFLOW\check\TS01_5m_001_swmm_check.gpkg
  6. Click 'Run'.
  7. Once the tool is finished, click 'Close'.
  8. 'TS01_5m_001_swmm_check.gpkg will now be available in the TUFLOW\check folder.


  1. Open TUFLOW\check\TS01_5m_001_swmm_check.gpkg in QGIS. When prompted, open all Layers included in the GeoPackage file.
  2. Review the Links--Conduit, Node--Junction, Nodes--Outfall and Project--Options information to verify the data matches the input values that were entered.


<< Add video >>

Review the TUFLOW Check Files


  1. Open TUFLOW\check\TS01_5m_001_Check.gpkg. When prompted, open layers TS01_5m_001_grd_check_R and TS01_5m_001_1d_to_2d_check_R
  2. Use the 'Apply TUFLOW Styles to Open Layers'.
  3. The grd_check is the 2D grid defined by the 2d_code layer and contains a region object for each cell. It is useful to understand how the model is orientated, the cell size in relation to the hydraulic features and where certain calculations occur in the model. In this tutorial, the grid is orientated to align with the downstream road.
  4. The 1d_to_2d_check_R file shows the cells selected by the SX boundary links (that connect the 1D SWMM objects to 2D TUFLOW). It is recommended thata the 2D cell width (i.e. cell side legth x number of cell) be equal or greater than the width of the 1D culvert. Zoom to each structure to inspect the SX links. In all cases the 2D linkage is 10m wide. Is this equal or more than the width of the associated 1D culvert:
    << Add video >>


Up
Go-up.png Back to TUFLOW SWMM Tutorial 1