How to configure the Water Overlays: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
mNo edit summary
Line 87: Line 87:
|Refresh the Heightmap overlay and click on the location of a waterbody to check the new height.  
|Refresh the Heightmap overlay and click on the location of a waterbody to check the new height.  
}}
}}
==Simulate a flood wave with in- and outlet areas==
To simulate a scenario of for example a flood wave in a river, you can create in- and outlet areas.
These are basically breach areas. The inlet area demonstrates the inflow of water, the outlet area demonstrates the outflow of water.
The images show an example with invented values for the attributes.
{{Editor steps|title= set up a flood wave scenario
|Draw two areas at the one side of the river where water will flow in and at the other side of the river where the water flows out. It is also possible to import a [[GeoJSON]] file with these areas.
|The areas should have a [[Flooding_(Overlay)#Define_a_Breach_area|breach floor attribute]]. Give the inlet area an [[Flooding_(Overlay)#Define_a_Breach_area|outlet level]] and/or [[Flooding_(Overlay)#Define_a_Breach_area|outlet Q]]. This depends on the data you have of the scenario. If you know for example the water level of a flood wave, use the outlet level. If you know the flow rate, use the outlet Q. Both is also possible, then the outlet level has precedence over the outlet Q. For the outlet area, enter, a negative outlet Q value and/or an outlet level.
|Add a [[Flooding_(Overlay)|Flooding Overlay]] and go to the [[Water_Overlay#Configuration_Wizard|Configuration Wizard]] of the Flooding Overlay.
|In step 2.1 either select the attribute that specifies your breach floor or import your [[GeoJSON]] file.
|Click on ''Next''.
|In the dropdown menu, check if the attributes of the areas correspond with what you have set as attributes.
|In step 2.2 import your water level areas with at least a water level attribute.
|Finish the Wizard and refresh the Overlay.
|After the flooding is calculated, check [[Water_Overlay#Show_Water_Balance|Water Balance]] to get more insight in the scenario.
}}
<gallery mode=nolines>
File:Areas_location.JPG
File:Inflow.JPG
File:Outflow.JPG
File:Waterbalance_panel.JPG
</gallery>

Revision as of 13:40, 8 April 2019

Please note: This page is currently being updated.

This page describes several use cases and examples of configurations in different water overlays based on the water module.

Excessive water

Flooding


Rain

Water shortage

Water quality

Analyses



Time-controlled flow rate in a breach area

To create a variable Outlet Q in a breach area, a CSV (comma-separated values) file can be imported. Below the steps on how to create such a breach area. For this example we create the CSV in Excel, but you can also use another program to create the CSV.

How to set-up your CSV in Excel:
  1. Open Excel.
  2. In the first column, define your time steps. This can be in seconds, minutes, hours or days.
  3. Add the corresponding flow rates per step in the second column.
  4. Save the Excel as a CSV.
How to import the CSV as the flow rate:
  1. Either add a breach area or have your GeoJSON file with your breach area ready. The area should have at least a breach floor attribute.
  2. Add a Flooding Overlay.
  3. Go to the Configuration Wizard of the Flooding Overlay.
  4. In step 2.1 either select the attribute that specifies your breach floor or import your GeoJSON file.
  5. Click on Next.
  6. In the dropdown menu, select your breach area. Now click on Edit.
  7. Import your CSV file by selecting the CSV file.
  8. Select the time units in your file.
  9. Select the seperator for your file.
  10. Click on Apply.

Import waterdepth data

For modelling the correct volume of a waterbody, it is important that the depth of a waterbody is accurately modelled. If you have data of your waterbodies and the depth of the soil, for example sections of water bodies, it is possible to import this data as part of the DEM (Digital Elevation Model). Together with importing your water level areas, the volume of the waterbody can then be more accurately calculated. Below the steps on how to import the data.

The steps below assume you have already a digital dataset of your waterdepth data available (no PDF's with sections). Either a vector dataset of the waterbodies with an attribute value for the depth or a raster dataset is sufficient to use. In this example we use a vector (shapefile) polygon dataset and make use of a GIS (QGIS) to transform the vector data to a raster dataset to import in the Tygron Platform.

How to create the raster dataset:
  1. Open the vector dataset in a GIS.
  2. Now we want to create the raster by making use of the rasterize menu. This menu can be found in the tab Raster > conversion > rasterize (vector to raster)
  3. Define in the panel the shapefile, the attribute containing the depth values, the name and location of the output raster and either the raster size or resolution. In this case we recommend to set the resolution. Choose the same resolution as chosen for the DEM when generating the project.
  4. When these settings have been set, click on the pencil icon to edit the text. It is important to also add a nodata value to create a partial raster. On the places where there is a nodata value, the Tygron Platform will use the values from the default DEM. Add the following statement to the text box to create the nodata value: -a_nodata <number to replace with nodata>, for example: -a_nodata 0 (see also the image below). This means that where there is a value of 0 in the vector dataset, it is replaced with a nodata value in the raster dataset.
  5. Click on OK and wait till the raster data is created. Now you can close the GIS program.

The next step is to import the created raster to replace the DEM only on the locations of waterbodies with the new raster values.

How to import the raster to replace the DEM partially:
  1. (See for more explanation and images on the following steps this Wiki page). Go to the tab Terrain > Select Elevation Geotiff
  2. Click on import new Geotiffs in the bottom right corner and choose the created raster. Depending on the file size and the internet speed, it make take some time to upload the file to the server.
  3. When the file is uploaded, select it and click on Apply
  4. Refresh the Heightmap overlay and click on the location of a waterbody to check the new height.