FM Tutorial M02 QGIS GPKG Pipe Network: Difference between revisions

Content deleted Content added
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 4:
 
=Method=
<li>CopyOpen the GIS layers '''1d_nwk_FMT_M02_Pipes_001_L.shp''' and '''1d_nwk_FMT_M02_Pits_001_P.shp''' in QGIS. These layers are located within the '''Module_data\Module_02\Pipe_Network''' into the '''TUFLOW\model\gis''' folder.
<li>Drag and drop the layertwo '''1d_nwk_FMT_M02_Pits_001_P.shp'''layers into the project GeoPackage file <b>M02_5m_002.gpkg</b> in the Browser Panel. Close the layer in the Layers Panel.
<li>Open the layer '''1d_nwk_FMT_M02_Pipes_001_L.shp''' in QGIS. This contains polylines representing the culverts that make up the pipe network.
<li>DragClose andthe droptwo layers in the layerLayers '''1d_nwk_FMT_M02_Pipes_001_L.shp'''Panel intoand reload them from the project GeoPackage file <b>M02_5m_002.gpkg</b> in the Browser Panel. Close the layer in the Layers Panel.
<li>Reload theThe layer '''1d_nwk_FMT_M02_Pipes_001_L''' inconsist QGISof frompolylines representing the projectculverts GeoPackagethat make up the filepipe <b>M02_5m_002.gpkg</b>network.
<li>A number of the attributes within the '''1d_nwk_FMT_M02_Pipes_001_L''' layer have not been populated. Turn on 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>
 
Line 32:
*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. <br>
<li>Open theThe layer '''1d_nwk_FMT_M02_Pits_001_P.shp''' 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.
<br>
<li>Open the layer '''1d_nwk_FMT_M02_Pits_001_P.shp''' 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>Drag and drop the layer '''1d_nwk_FMT_M02_Pits_001_P.shp''' into the project GeoPackage file <b>M02_5m_002.gpkg</b> in the Browser Panel. Close the layer in the Layers Panel.
<li>Reload the layer '''1d_nwk_FMT_M02_Pits_001_P''' in QGIS from the project GeoPackage file <b>M02_5m_002.gpkg</b>.
<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>
Line 57 ⟶ 54:
<br>
<li> Open the layer '''1d_x1d_FMT_M01_nwk_001_P''' created in [[Flood_Modeller_Tutorial_Module01_Provisional | 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_FMT_M02_Pipes_001_L''' and '''1d_nwk_FMT_M02_Pits_001_P'''. <br/ol><u>'''Pit Inlet Database'''</u><ol>
<u>'''Pit Inlet Database'''</u>
<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>
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.shp''' 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. <u>[https://docs.tuflow.com/classic-hpc/manual/2025.1/OneD-Domains-1.html#DD-Database-3 Section 5.11.3]</u> of the TUFLOW Manual provides further information on the Pit Inlet Database. <br>
<br>
[[File:M07 pit inlet dbase.png]]<br>
Line 74 ⟶ 70:
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_Provisional#Define_Boundary_Conditions | Flood Modeller Tutorial 2]].
 
{{Tips Navigation
|uplink=[[Flood_Modeller_Tutorial_Module02_Provisional| Back to Tutorial Module 02 Main Page]]
}}
</ol>