Difference between revisions of "FM Tute M02 QGIS Pipe Network"

From Tuflow
Jump to navigation Jump to search
(Created page with "<ol> =Introduction= This page describes the method for using QGIS to create the GIS based layers representing the pipe network. Two layers will be created each representing t...")
 
 
(4 intermediate revisions by one other user not shown)
Line 4: Line 4:
  
 
=Method=
 
=Method=
<li>Copy the GIS layers '''1d_nwk_M07_Pipes_001_L.shp''' and '''1d_nwk_M07_Pits_001_P.shp''' within '''Module_data\Module_07\Pipe_Network''' into the '''TUFLOW\model\gis''' folder.  
+
<li>Copy the GIS layers '''1d_nwk_FMT_M02_Pipes_001_L.shp''' and '''1d_nwk_FMT_M02_Pits_001_P.shp''' within '''Module_data\Module_02\Pipe_Network''' into the '''TUFLOW\model\gis''' folder.  
<li>Open the layer '''1d_nwk_M07_Pipes_001_L''' in QGIS. This contains polylines representing the culverts that make up the pipe network.  
+
<li>Open the layer '''1d_nwk_FMT_M02_Pipes_001_L''' in QGIS. This contains polylines representing the culverts that make up the pipe network.  
<li>A number of the attributes within the '''1d_nwk_M07_Pipes_001_L''' layer have not been populated. Toggle Editing for the layer and add the following attributes to all objects leaving all other attributes unchanged. Make use of the ‘'Update All'’ function as previously explained to update all objects at the same time. <br>
+
<li>A number of the attributes within the '''1d_nwk_FMT_M02_Pipes_001_L''' layer have not been populated. Toggle Editing for the layer and add the following attributes to all objects leaving all other attributes unchanged. Make use of the ‘'Update All'’ function as previously explained to update all objects at the same time. <br>
  
 
{| align="center" class="wikitable" width="25%"
 
{| align="center" class="wikitable" width="25%"
Line 24: Line 24:
 
|}
 
|}
 
<br>
 
<br>
The attributes are described fully in Table 5.19 of the 2017 TUFLOW manual. The attributes that we have populated, define:<br>
+
The attributes are described completely in the <u>[https://docs.tuflow.com/classic-hpc/manual/latest/ TUFLOW Manual]</u>. The attributes that we have populated, define:<br>
 
*The 1d_nwk type. In this case, we have specified culverts with a circular shape.
 
*The 1d_nwk type. In this case, we have specified culverts with a circular shape.
 
*The Manning’s n value of the culvert.
 
*The Manning’s n value of the culvert.
Line 31: Line 31:
 
*The number of identical pipes in parallel. <br>
 
*The number of identical pipes in parallel. <br>
 
<br>
 
<br>
<li>Open the layer '''1d_nwk_M07_Pits_001_P''' in QGIS. This contains digitised points that represent the pits of the pipe network through which water can transfer to and from the overlying floodplain.  
+
<li>Open the layer '''1d_nwk_FMT_M02_Pits_001_P''' in QGIS. This contains digitised points that represent the pits of the pipe network through which water can transfer to and from the overlying floodplain.  
<li>A number of the attributes within the '''1d_nwk_M07_Pits_001_P''' layer have not been populated. Toggle Editing for the layer and add the following attributes to all objects leaving all other attributes unchanged. Again, make use of the ‘Update All’ function in QGIS to update all objects at the same time:  
+
<li>A number of the attributes within the '''1d_nwk_FMT_M02_Pits_001_P''' layer have not been populated. Toggle Editing for the layer and add the following attributes to all objects leaving all other attributes unchanged. Again, make use of the ‘Update All’ function in QGIS to update all objects at the same time:  
 
<br>
 
<br>
 
{| align="center" class="wikitable" width="25%"
 
{| align="center" class="wikitable" width="25%"
Line 51: Line 51:
 
*Specifying SXL for the ‘Conn_2D’ attribute automatically creates a 2D SX connection at the 2D cell within which the 1D pit is located. In addition, the ZC elevation of the cell will be lowered by the amount specified in the ‘US_Invert’ attribute (0.1m), and the upstream invert of the pit channel set to the lowered 2D cell elevation. This is useful to help trap the water into the pit as it flows overland in the 2D domain. <br>
 
*Specifying SXL for the ‘Conn_2D’ attribute automatically creates a 2D SX connection at the 2D cell within which the 1D pit is located. In addition, the ZC elevation of the cell will be lowered by the amount specified in the ‘US_Invert’ attribute (0.1m), and the upstream invert of the pit channel set to the lowered 2D cell elevation. This is useful to help trap the water into the pit as it flows overland in the 2D domain. <br>
 
<br>
 
<br>
<li> Open the layer '''1d_nwk_M04_channels_001_L''' created in Module 4. Note that the pipe network has been digitised to outfall to the watercourse. We will manually specify the downstream invert levels of Pipe16 and Pipe18 as the discharge point of the pipe network is above the bed level of the watercourse. Use the Info tool and click on each pipe in turn and change the ‘DS_Invert’ attribute for both pipes from -99,999 to 38m.
+
<li> Open the layer '''1d_x1d_FMT_M01_nwk_001_P.shp''' created in [[Flood_Modeller_Tutorial_Module01 | Flood Modeller Tutorial 1]]. Note that the pipe network has been digitised to outfall to the watercourse represented within the Flood Modeller Network. We will manually specify the downstream invert levels of Pipe16 and Pipe18 as the discharge point of the pipe network is above the bed level of the watercourse. Use the Info tool and click on each pipe in turn and change the ‘DS_Invert’ attribute for both pipes from -99,999 to 38m.
<li>Save both '''1d_nwk_M07_Pipes_001_L.shp''' and '''1d_nwk_M07_Pits_001_P.shp'''. </li><br>
+
<li>Save both '''1d_nwk_FMT_M02_Pipes_001_L.shp''' and '''1d_nwk_FMT_M02_Pits_001_P.shp'''. </li><br>
 
<u>'''Pit Inlet Database'''</u>
 
<u>'''Pit Inlet Database'''</u>
<li>The Pit Inlet Database has been created and can be found within '''Module_data\Module_07\Pipe_Network'''.  Copy the csv files '''pit_inlet_curves.csv''' and '''pit_inlet_dbase.csv'''’ into a new folder entitled '''pit_dbase''' within the TUFLOW folder.  
+
<li>The Pit Inlet Database has been created and can be found within '''Module_data\Module_02\Pipe_Network'''.  Copy the csv files '''pit_inlet_curves.csv''' and '''pit_inlet_dbase.csv'''’ into a new folder entitled '''pit_dbase''' within the TUFLOW folder.  
 
<li>Open the '''pit_inlet_dbase.csv''' file. The Pit Inlet Database is similar to the Boundary Condition Database in that it references an external source file and relates this to corresponding GIS objects within the model. <br>
 
<li>Open the '''pit_inlet_dbase.csv''' file. The Pit Inlet Database is similar to the Boundary Condition Database in that it references an external source file and relates this to corresponding GIS objects within the model. <br>
The first column contains the name of pit inlet type as referenced in the Inlet_Type attribute that was specified within the '''1d_nwk_M07_Pits_001_P''' layer. The second column contains the name of the source .csv file that contains the depth-discharge curve. The third and fourth columns are the heading labels of the depth and discharge columns respectively in the source .csv file. The fifth and sixth columns are the inlet’s nominated full flow area in m<sup>2</sup> and flow width in m. Section 4.5.1.2 of the 2010 TUFLOW Manual provides further information on the Pit Inlet Database. <br>
+
The first column contains the name of pit inlet type as referenced in the Inlet_Type attribute that was specified within the '''1d_nwk_FMT_M02_Pits_001_P''' layer. The second column contains the name of the source .csv file that contains the depth-discharge curve. The third and fourth columns are the heading labels of the depth and discharge columns respectively in the source .csv file. The fifth and sixth columns are the inlet’s nominated full flow area in m<sup>2</sup> and flow width in m. The <u>[https://docs.tuflow.com/classic-hpc/manual/latest/ TUFLOW Manual]</u> provides further information on the Pit Inlet Database. <br>
 
<br>
 
<br>
 
[[File:M07 pit inlet dbase.png]]<br>
 
[[File:M07 pit inlet dbase.png]]<br>
Line 65: Line 65:
  
 
=Conclusion=
 
=Conclusion=
1d_nwk layers have been created representing the culverts and pits that make the pipe network that of the proposed development. The layers have made use of an automated function to link the pits to the 2D domain to allow for the exchange of water between the pipe network and the floodplain. A Pit Inlet Database has been created to define a depth-discharge relationship at each pit. Please return to the main page of the[[Tutorial_Module07#Define_Boundary_Conditions | Flood Modeller Tutorial 2]].
+
1d_nwk layers have been created representing the culverts and pits that make the pipe network that of the proposed development. The layers have made use of an automated function to link the pits to the 2D domain to allow for the exchange of water between the pipe network and the floodplain. A Pit Inlet Database has been created to define a depth-discharge relationship at each pit. Please return to the main page of the[[Flood Modeller Tutorial Module02#Define_Boundary_Conditions | Flood Modeller Tutorial 2]].
  
 
</ol>
 
</ol>

Latest revision as of 10:12, 23 September 2024

    Introduction

    This page describes the method for using QGIS to create the GIS based layers representing the pipe network. Two layers will be created each representing the culverts and pits. The pipe network will be connected to the 2D model domain and and a depth-discharge relationship defined at the pits via the creation of a Pit Inlet Database.

    Method

  1. Copy the GIS layers 1d_nwk_FMT_M02_Pipes_001_L.shp and 1d_nwk_FMT_M02_Pits_001_P.shp within Module_data\Module_02\Pipe_Network into the TUFLOW\model\gis folder.
  2. Open the layer 1d_nwk_FMT_M02_Pipes_001_L in QGIS. This contains polylines representing the culverts that make up the pipe network.
  3. A number of the attributes within the 1d_nwk_FMT_M02_Pipes_001_L layer have not been populated. Toggle Editing for the layer and add the following attributes to all objects leaving all other attributes unchanged. Make use of the ‘'Update All'’ function as previously explained to update all objects at the same time.
    Attribute Value
    Type C
    n_or_n_F 0.015
    US_Invert -99999
    DS_Invert -99999
    Number_of 1


    The attributes are described completely in the TUFLOW Manual. The attributes that we have populated, define:

    • The 1d_nwk type. In this case, we have specified culverts with a circular shape.
    • The Manning’s n value of the culvert.
    • The upstream invert level of the pipes. When -99,999 is specified, the invert level will be taken from a manually created node or pit at the upstream end of the culvert. Refer to the next steps in this module where these inverts will be defined by creating pits.
    • The downstream invert level of the pipes. The same rules as for the upstream invert applies when specifying -99,999.
    • The number of identical pipes in parallel.


  4. Open the layer 1d_nwk_FMT_M02_Pits_001_P in QGIS. This contains digitised points that represent the pits of the pipe network through which water can transfer to and from the overlying floodplain.
  5. A number of the attributes within the 1d_nwk_FMT_M02_Pits_001_P layer have not been populated. Toggle Editing for the layer and add the following attributes to all objects leaving all other attributes unchanged. Again, make use of the ‘Update All’ function in QGIS to update all objects at the same time:
    Attribute Value
    Type Q
    Inlet_Type AB
    Conn_1D_2D SXL


    Note that although the same layer (1d_nwk) has been used to define the pits of the pipe network as for the culverts, different attributes have been populated. Refer to Table 5.19 for further information on how the attributes of the 1d_nwk layer differ between nodes and channels. The attributes that we have populated for the pits, define:

    • The type of pit channel. In this case, a type ‘Q’ specifies the flow is to be defined by a depth-discharge curve from a user defined database. This database will be created in the next steps of this module.
    • AB is the name of the pit inlet type referenced within the pit database.
    • Specifying SXL for the ‘Conn_2D’ attribute automatically creates a 2D SX connection at the 2D cell within which the 1D pit is located. In addition, the ZC elevation of the cell will be lowered by the amount specified in the ‘US_Invert’ attribute (0.1m), and the upstream invert of the pit channel set to the lowered 2D cell elevation. This is useful to help trap the water into the pit as it flows overland in the 2D domain.


  6. Open the layer 1d_x1d_FMT_M01_nwk_001_P.shp created in Flood Modeller Tutorial 1. Note that the pipe network has been digitised to outfall to the watercourse represented within the Flood Modeller Network. We will manually specify the downstream invert levels of Pipe16 and Pipe18 as the discharge point of the pipe network is above the bed level of the watercourse. Use the Info tool and click on each pipe in turn and change the ‘DS_Invert’ attribute for both pipes from -99,999 to 38m.
  7. Save both 1d_nwk_FMT_M02_Pipes_001_L.shp and 1d_nwk_FMT_M02_Pits_001_P.shp.

  8. Pit Inlet Database
  9. The Pit Inlet Database has been created and can be found within Module_data\Module_02\Pipe_Network. Copy the csv files pit_inlet_curves.csv and pit_inlet_dbase.csv’ into a new folder entitled pit_dbase within the TUFLOW folder.
  10. Open the pit_inlet_dbase.csv file. The Pit Inlet Database is similar to the Boundary Condition Database in that it references an external source file and relates this to corresponding GIS objects within the model.
    The first column contains the name of pit inlet type as referenced in the Inlet_Type attribute that was specified within the 1d_nwk_FMT_M02_Pits_001_P layer. The second column contains the name of the source .csv file that contains the depth-discharge curve. The third and fourth columns are the heading labels of the depth and discharge columns respectively in the source .csv file. The fifth and sixth columns are the inlet’s nominated full flow area in m2 and flow width in m. The TUFLOW Manual provides further information on the Pit Inlet Database.

    M07 pit inlet dbase.png

  11. Open the pit_inlet_curves.csv file. This contains the depth-discharge curves for each pit inlet type which are referenced within the Pit Inlet Database. The curve for pit inlet type AB will be applied to all pits within this tutorial model.
    M07 depth discharge.png

    Conclusion

    1d_nwk layers have been created representing the culverts and pits that make the pipe network that of the proposed development. The layers have made use of an automated function to link the pits to the 2D domain to allow for the exchange of water between the pipe network and the floodplain. A Pit Inlet Database has been created to define a depth-discharge relationship at each pit. Please return to the main page of the Flood Modeller Tutorial 2.