Tutorial M05 Check Files QGIS GPKG

From Tuflow
Revision as of 12:43, 14 August 2023 by Emilie Nielsen (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Introduction

QGIS is used to import the check files and review the pipes and pits network connected to the 2D domain.

Method

This tutorial introduces:

Review the check files:

  1. Open the files, either:
    • Within the QGIS Browser Panel, navigate to Module_05\TUFLOW\check\M05_5m_001_Check.gpkg and double click the following layers, or
    • M05_5m_001_grd_check_R
    • M05_5m_001_nwk_C_check_L
    • M05_5m_001_pit_A_check_P
    • M05_5m_001_1d_to_2d_check_R
    • In File Explorer, navigate to the Module_05\TUFLOW\check folder, drag and drop the M05_5m_001_Check.gpkg into the QGIS workspace and select the layers above (hold Ctrl to select multiple).
  2. Use the 'Apply TUFLOW Styles to Open Layers'.
  3. Use the 'Apply GPKG Layer Names'.
  4. The grd_check_R 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.
  5. The nwk_C_check file shows all attributes applied to the network elements. Some fields should be inspected as they have changes from the input 1d_nwk_M05_pipes layer:
    • Len_or_ANA: contains the length used by TUFLOW (determined by the digitised line).
    • US_Invert: set to the DS_Invert value of the pit snapped to the upstream end.
    • DS_Invert: set to the DS_Invert value of the pit snapped to the downstream end.
    • pSlope: the slope of the 1D element.
    For example, for Pipe 5:
    • Len_or_ANA: 36.52m based on the digitised line length.
    • US_Invert: set as the DS_Invert of Pit 16 as specified in the 1d_nwk_M05_pits layer.
    • DS_Invert: set as the DS_Invert of Pit 15 as specified in the 1d_nwk_M05_pits layer.
    • pSlope: value of 0.5 (US_Invert - DS_Invert / length).



  6. The pit_A_check file shows the pit locations and the attributes applied from the 1d_nwk pits file.



  7. The 1d_to_2d_check file shows the cells selected by the 1d_nwk pits, a single cell per pit, and the cells selected by the outlet of the pipe network (SX line). This is where the water enters the 2D domain from the 1D network.




Conclusion

  • The grd_check file was imported to help understand the 1D/2D links location.
  • The nwk_C_check file was used to inspect the pipes attributes.
  • The pit_A_check file was used to ensure correct data were applied for the pits.
  • The 1d_to_2d_check file was used to assess the 1D/2D links at pit locations and the outlet of the pipe network to the 2D domain.


Up
Go-up.png Back to Module 5 Main Page