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

From Tuflow
Jump to navigation Jump to search
Line 25: Line 25:
 
<ol>
 
<ol>
 
<li>In File Explorer, navigate to the '''TUFLOW\check''' folder and drag and drop '''TS01_5m_001_Check.gpkg''' into QGIS.  
 
<li>In File Explorer, navigate to the '''TUFLOW\check''' folder and drag and drop '''TS01_5m_001_Check.gpkg''' into QGIS.  
<li>When prompted by QGIS, under 'Options', tick on 'Add layers to group', then select '''TS01_5m_001_grd_check_R''' and '''TS01_5m_001_1d_to_2d_check_R''' (hold Ctrl to select multiple). Click 'Add Layers'.
+
<li>When prompted by QGIS, under 'Options', tick on 'Add layers to group', then select '''TS01_5m_001_1d_to_2d_check_R''' and '''TS01_5m_001_grd_check_R''' (hold Ctrl to select multiple). Click 'Add Layers'.
 
<li>Use the 'Apply TUFLOW Styles to Open Layers'.
 
<li>Use the 'Apply TUFLOW Styles to Open Layers'.
<li>The [[Check_Files_2d_grd | _grd_check_R]] is the 2D grid defined by the 2d_code layer and contains a region object for each cell. This is a useful check file to understand how the model is orientated and the 2D cell size in relation to the 2D hydraulic controls and 1D hydraulic structures. In this tutorial, the grid is orientated to align with the downstream road.
 
 
<li>The [[Check_Files_1d_to_2d_bc | _1d_to_2d_check_R]] file shows the cells selected by the SX boundary links (these connect the 1D SWMM objects to 2D TUFLOW). It is recommended that the 2D cell width (i.e. cell side length x number of cells) 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 [[Check_Files_1d_to_2d_bc | _1d_to_2d_check_R]] file shows the cells selected by the SX boundary links (these connect the 1D SWMM objects to 2D TUFLOW). It is recommended that the 2D cell width (i.e. cell side length x number of cells) 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?
 
<br><br>
 
<br><br>
 +
{{Video|name=Animation_TS1_Check_03a.mp4|width=1235}}<br>
 +
<li>The [[Check_Files_2d_grd | _grd_check_R]] is the 2D grid defined by the 2d_code layer and contains a region object for each cell. This is a useful check file to understand how the model is orientated and the 2D cell size in relation to the 2D hydraulic controls and 1D hydraulic structures. In this tutorial, the grid is orientated to align with the downstream road.
 +
:*Check the positions of the HX and SX connections in the '''2d_bc_SWMM_Culvert_Connections_001_L''' layer are accurate.
 +
<br>
 
{{Video|name=Animation_TS1_Check_03a.mp4|width=1235}}<br>
 
{{Video|name=Animation_TS1_Check_03a.mp4|width=1235}}<br>
 
</ol>
 
</ol>
 
<br>
 
<br>
 
Check the positions of the HX and SX connections in the '''2d_bc_SWMM_Culvert_Connections_001_L''' layer are accurate using the '''TS01_5m_001_grd_check_R'''.
 
<ol>
 
<li>?
 
</ol>
 
 
  
  

Revision as of 16:43, 19 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 'GeoPackage - Create from SWMM inp'. This opens the dialog shown below.
    • SWMM Input File (inp): Navigate to the TUFLOW\results folder and select TS01_5m_001_swmm.inp.
    • CRS for GeoPackage: Click the drop down menu and select ‘Project CRS: EPSG:32760 - WGS 84 / UTM zone 60S’.
    • SWMM Tags to ignore: leave blank.
    • GeoPackage output filename: Click the ... and select 'Save to File'. Navigate to the TUFLOW\check folder and set the GeoPackage output filename to TS01_5m_001_swmm_check.gpkg.
  2. Click 'Run'.
  3. Once the tool has finished, click 'Close'.
  4. TS01_5m_001_swmm_check.gpkg will now be available in the TUFLOW\check folder.
  5. In File Explorer, navigate to the TUFLOW\check folder and drag and drop TS01_5m_001_swmm_check.gpkg into QGIS.
  6. When prompted by QGIS, under 'Options', tick on 'Add layers to group', then select 'Add Layers' to open all layers within TS01_5m_001_swmm_check.gpkg. By default, all items in the available list should have been selected.


  7. Review the Links--Conduit, Node--Junction, Nodes--Outfall and Project--Options information to verify the data matches the input values that were entered.
    For a description of the attributes, refer to TUFLOW 2023-03-AD release notes.



Review the TUFLOW Check Files

  1. In File Explorer, navigate to the TUFLOW\check folder and drag and drop TS01_5m_001_Check.gpkg into QGIS.
  2. When prompted by QGIS, under 'Options', tick on 'Add layers to group', then select TS01_5m_001_1d_to_2d_check_R and TS01_5m_001_grd_check_R (hold Ctrl to select multiple). Click 'Add Layers'.
  3. Use the 'Apply TUFLOW Styles to Open Layers'.
  4. The _1d_to_2d_check_R file shows the cells selected by the SX boundary links (these connect the 1D SWMM objects to 2D TUFLOW). It is recommended that the 2D cell width (i.e. cell side length x number of cells) 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?


  5. The _grd_check_R is the 2D grid defined by the 2d_code layer and contains a region object for each cell. This is a useful check file to understand how the model is orientated and the 2D cell size in relation to the 2D hydraulic controls and 1D hydraulic structures. In this tutorial, the grid is orientated to align with the downstream road.
    • Check the positions of the HX and SX connections in the 2d_bc_SWMM_Culvert_Connections_001_L layer are accurate.




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