Rainfall Overlay tutorial: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
 
(55 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{tutorial prerequisites
| tutorial=This tutorial relies on base knowledge about the editor interface.
| project=This tutorial relies on a specific Demo project.
| Open the {{software}} (the [[Roadmap#engine.tygron.com_.28Long_Term_Support.29|LTS server]]), logon with your user name and password and open the project ''Tutorial Kockengen''
| Download and unpack the content of this zip-file on your desktop: [//support.tygron.com/w/downloads/tutorial/kockengen_data.zip kockengen_data.zip]
}}
==Introduction to the Rain Overlay==
In this tutorial we will configure a [[Rainfall_(Overlay)|rainfall overlay]]. After this tutorial, you will be able to configure a [[Rainfall_(Overlay)|rainfall overlay]] by making use of the [[Water_Overlay_Wizard|configuration wizard]] and have learnt what kind of data is used as input for the [[Water_Module_Theory|water module]].
In this tutorial we will configure a [[Rainfall_(Overlay)|rainfall overlay]]. After this tutorial, you will be able to configure a [[Rainfall_(Overlay)|rainfall overlay]] by making use of the [[Water_Overlay_Wizard|configuration wizard]] and have learnt what kind of data is used as input for the [[Water_Module_Theory|water module]].
==Getting Started==
# [//tygronsupport.freshdesk.com/support/tickets/new Contact Tygron Support] to request the Kockengen Tutorial project
# Open the {{software}}, logon with your user name and password and open the project ''Kockengen Tutorial''
# Download and unpack the content of this zip-file on your desktop: [http://downloads.support.tygron.com/tutorials/kockengen_data.zip]


[[File:Kockengen_figure01.PNG|800px]]
[[File:Kockengen_figure01.PNG|800px]]
Line 13: Line 16:
# Select the Rainfall overlay in the left side panel and take a moment to familiarize yourself with the tabs in the right panel: General, Keys, Legend and Attributes
# Select the Rainfall overlay in the left side panel and take a moment to familiarize yourself with the tabs in the right panel: General, Keys, Legend and Attributes
#* General contains the most common information necessary to interpret the rainfall overlay.
#* General contains the most common information necessary to interpret the rainfall overlay.
#* In Keys you can relate settings for the Rainfall overlay to attribute information stored in the 3D world.
#* In [[Key]]s you can relate settings for the Rainfall overlay to attribute information stored in [[Building]]'s and [[Area]]'s.
#* Legend allows you to customize your legend
#* Legend allows you to customize your legend
#* Attributes contains the general settings of the Rainfall overlay.
#* Attributes contains the general settings of the Rainfall overlay.
Line 21: Line 24:
With the Rainfall Wizard, you can configure your water system, this includes:
With the Rainfall Wizard, you can configure your water system, this includes:
* The setup of the weather boundary condition
* The setup of the weather boundary condition
* Definition of the water system, including water level areas (peilgebieden), sewer districts and hydrological structures  
* Definition of the water system, including water areas (peilgebieden), sewer districts and hydrological structures  
* Setting of hydrological parameters
* Setting of hydrological parameters


Line 50: Line 53:
* The whole project area will be (re)calculated.  
* The whole project area will be (re)calculated.  
* Reference evapotranspiration will be assumed on 1.5mm/day
* Reference evapotranspiration will be assumed on 1.5mm/day
* For groundwater, we assume that there is only infiltration. Read the information on the [[Ground_water_mode_(Water_Overlay)|Groundwater mode page]] to understand what this means for the calculation.
* For groundwater, we assume that there is only infiltration. Read the information on the [[Ground water (Water_Overlay)|Groundwater mode]] to understand what this means for the calculation.


===Step 2: setup of the water system===
===Step 2: setup of the water system===
Press next to proceed to the introduction screen: Setup Water System. In the following steps we will set up the water system using the prepared GeoJSONS. [[File:Kockengen_figure05B.PNG|thumb|250px|right]]
Press next to proceed to the introduction screen: Setup Water System. In the following steps we will set up the water system using the prepared GeoJSONS. [[File:Kockengen_figure05B.PNG|thumb|250px|right]]


====Step 2.1: adding water level areas====  
====Step 2.1: adding water areas====  
Press next to the screen for importing water areas. A [[Water_level_area_(Water_Overlay)|water level area]] is an area with a spatially uniform water level varying in time. Variation can be caused by rainfall, evaporation on the surface water, inflow from sewer areas and inflow from the surface.
Press next to the screen for importing water areas. A [[Water_level_area_(Water_Overlay)|water area]] is an area with a spatially uniform water level varying in time. Variation can be caused by rainfall, evaporation on the surface water, inflow from sewer areas and inflow from the surface.
[[File:Kockengen_figure06.PNG|thumb|250px|right]] [[File:Kockengen_tutorial_waterlevel_areas.JPG|thumb|250px|right]]
[[File:Kockengen_figure06.PNG|thumb|250px|right]] [[File:Kockengen_tutorial_waterlevel_areas.JPG|thumb|250px|right]]
There are several options to define your water level areas:
There are several options to define your water areas:
* Do Nothing: no water levels are used. Water terrains will be dry
* Do Nothing: no water levels are used. Water terrains will be dry
* Import Water Areas: allows you to import a set of water level areas
* Import Water Areas: allows you to import a set of water areas
* Generate Water Areas: allows you to define 1 water level area for your project area with 1 water level
* Generate Water Areas: allows you to define 1 water area for your project area with 1 water level
* Select existing water level areas based on attribute: allows you to connect already imported water level data by using an existing attribute of this dataset
* Select existing water areas based on attribute: allows you to connect already imported water level data by using an existing attribute of this dataset


Select Import Water Level Areas (start Geo data wizard) and press Import Water Level Areas. The [[Geo_Data_Wizard|Geo Data Wizard]] will open. We will import waterlevelareas.geojson. Use the following attributes in the GeoJSON file as attributes for the Rainfall Overlay:
Select Import Water Areas (start Geo data wizard) and press Import Water Areas. The [[Geo_Data_Wizard|Geo Data Wizard]] will open. We will import waterlevelareas.geojson. Use the following attributes in the GeoJSON file as attributes for the Rainfall Overlay:
* WATERLEVEL: the [[Water_level_(Water_Overlay)|initial Water Level]] in the water level area (m + datum)
* WATERLEVEL: the [[Water_level_(Water_Overlay)|initial Water Level]] in the water area (m + datum)
* NAME: the name of the water level area
* NAME: the name of the water area


Steps in the Geo Data Wizard:
Steps in the Geo Data Wizard:
Line 72: Line 75:
# An overview of your areas is generated; see right-side pictures. Press Next
# An overview of your areas is generated; see right-side pictures. Press Next
# In the next step you can filter features based on an existing attribute. We skip this step (because we do not want the filter our dataset) by pressing Next  
# In the next step you can filter features based on an existing attribute. We skip this step (because we do not want the filter our dataset) by pressing Next  
# We assign names to the water level areas using the NAME attribute from the geojson; see right-side pictures. Press Next  
# We assign names to the water areas using the NAME attribute from the geojson; see right-side pictures. Press Next  
# We select all attributes, importing all attribute data from the geojson, and press Next. Note that only numerical attributes can be imported in to the {{software}}.  
# We select all attributes, importing all attribute data from the geojson, and press Next. Note that only numerical attributes can be imported in to the {{software}}.  
# We assign the WATERLEVEL attribute of the GeoJSON to the WATER_LEVEL key of the overlay; see right-side pictures
# We assign the WATERLEVEL attribute of the GeoJSON to the WATER_LEVEL key of the overlay; see right-side pictures
# At Finalize we press Finish to upload the areas to the server
# At Finalize we press Finish to upload the areas to the server


After importing your water level areas you can review all parameters by opening the selection menu. Take some time to review the attribute values. What is the meaning?
After importing your water areas you can review all parameters by opening the selection menu. Take some time to review the attribute values. What is the meaning?


====Step 2.2: initial groundwater level====
====Step 2.2: initial groundwater level====
Line 94: Line 97:
* POC: [[Sewer_pump_speed_(Water_Overlay)|pump capacity assigned to the sewer district [m3/s]]]
* POC: [[Sewer_pump_speed_(Water_Overlay)|pump capacity assigned to the sewer district [m3/s]]]
* STORAGE: [[Sewer_storage_(Water_Overlay)|storage of the sewer district [mm]]] [[File:Kockengen_tutorial_sewer_attributes.JPG|thumb|250px|right]]
* STORAGE: [[Sewer_storage_(Water_Overlay)|storage of the sewer district [mm]]] [[File:Kockengen_tutorial_sewer_attributes.JPG|thumb|250px|right]]
Follow the steps in the Geo Wizard according to the steps described in the water level areas section:
Follow the steps in the Geo Wizard according to the steps described in the water areas section:
* At step 5, multiply the attribute value for STORAGE in the GeoJSON (mm) by 0,001 (conversion to m); see right-side pictures.  
* At step 5, multiply the attribute value for STORAGE in the GeoJSON (mm) by 0,001 (conversion to m); see right-side pictures.  
* At step 6, assign the the STORAGE attribute to the SEWER_STORAGE key and the POC attribute to the SEWER_PUMP_SPEED key
* At step 6, assign the the STORAGE attribute to the SEWER_STORAGE key and the POC attribute to the SEWER_PUMP_SPEED key
Line 106: Line 109:
* Import Water Areas: allows you to import inundation area(s) from an own dataset
* Import Water Areas: allows you to import inundation area(s) from an own dataset
* Generate Water Areas: allows you to define 1 inundation area with one water level for your whole project area
* Generate Water Areas: allows you to define 1 inundation area with one water level for your whole project area
* Select existing water level areas based on attribute: allows you to connect already imported inundation data by using the water level attribute of this dataset
* Select existing water areas based on attribute: allows you to connect already imported inundation data by using the water level attribute of this dataset


In this Tutorial, choose the default option (''Do Nothing)''.
In this Tutorial, choose the default option (''Do Nothing)''.
Line 118: Line 121:
* [[Sewer_overflow_(Water_Overlay)|Sewer overflows]]
* [[Sewer_overflow_(Water_Overlay)|Sewer overflows]]


====2.5.1 adding weirs====
=====2.5.1 Adding weirs=====
You can upload weirs.geojson by selecting Import Weirs in the Weirs screen and pressing Import Weirs. We will import weirs.geojson, using the following attributes:[[File:Kockengen_figure10.PNG|thumb|250px|right]]
You can upload weirs.geojson by selecting Import Weirs in the Weirs screen and pressing Import Weirs. We will import weirs.geojson, using the following attributes:[[File:Kockengen_figure10.PNG|thumb|250px|right]]
* NAME: the name of the weir  
* NAME: the name of the weir  
Line 129: Line 132:
# An overview of your areas is generated as below. Press Next  
# An overview of your areas is generated as below. Press Next  
# In the next step you can filter features based on attribute filtering. We skip this step by pressing Next
# In the next step you can filter features based on attribute filtering. We skip this step by pressing Next
# We assign names to the water level areas using the NAME attribute from the GeoJSON and press Next
# We assign names to the water areas using the NAME attribute from the GeoJSON and press Next
# We select all attributes, importing all attribute data from the GeoJSON, and press Next
# We select all attributes, importing all attribute data from the GeoJSON, and press Next
# We assign the WEIR_HEIGHT attribute of the GeoJSON to the WEIR_HEIGHT key of the overlay, the WEIR_WIDTH attribute of the GeoJSON to the WEIR_WIDTH key of the rainfall overlay and the WEIR_COEFF attribute of the GeoJSON to the WEIR_COEFFICIENT attribute of the rainfall overlay. [[File:Rainfall_weirs_keys.JPG|thumb|250px|right]]
# We assign the WEIR_HEIGHT attribute of the GeoJSON to the WEIR_HEIGHT key of the overlay, the WEIR_WIDTH attribute of the GeoJSON to the WEIR_WIDTH key of the rainfall overlay and the WEIR_COEFF attribute of the GeoJSON to the WEIR_COEFFICIENT attribute of the rainfall overlay. [[File:Rainfall_weirs_keys.JPG|thumb|250px|right]]
Line 140: Line 143:
[[File:Rainfall_weirs_updated.JPG|500px]]
[[File:Rainfall_weirs_updated.JPG|500px]]


====2.5.2 adding culverts====  
=====2.5.2 Culverts=====  
Click next to proceed to the step for importing culverts. Notice that there are already culverts imported. On the [[Project_Sources|project sources]] page you can read where this data comes from (last entry in the table). Select some culverts from the drop down menu and click on Show in Editor to see where they are located in the 3D world. Since from the open dataset not all attributes are known, for example the [[Culvert_diameter_(Water_Overlay)|culvert diameter]] is by default set to 1m.
Click next to proceed to the step for importing culverts. Notice that there are already culverts imported. On the [[Project_Sources|project sources]] page you can read where this data comes from (last entry in the table). Select some culverts from the drop down menu and click on Show in Editor to see where they are located in the [[project area]]. Since from the open dataset not all attributes are known, for example the [[Culvert_diameter_(Water_Overlay)|culvert diameter]] is by default set to 1m. Notice that there are some errors. These culverts are marked red in the drop down menu and also the step itself is marked red. Read some of the error messages given when selecting a marked red culvert in the drop down menu and proceed with the next step.  


[[File:Culverts.JPG|500px]]
[[File:Culverts.JPG|500px]]


====2.5.3 adding pumps & 2.5.4 adding inlets====
=====2.5.3-5 Pumps, Inlets and Drainages=====
Similar to the import procedure of weirs, you can add pumps and inlets. In this tutorial, choose the default (''Do Nothing'').
Similar to the import procedure of weirs, you can add pumps, inlets and outlets and drainages. In this tutorial, choose the default (''Do Nothing'').


====2.5.5 Adding Overflows====
=====2.5.6 Adding Overflows=====
In this step we will add the [[Sewer_overflow_(Water_Overlay)|sewer overflow]]. Upload the overflows.geojson by selecting Import Overflows in the Wizard. We will import overflow.geojson, using the following attributes:
In this step we will add the [[Sewer_overflow_(Water_Overlay)|sewer overflow]]. Upload the overflows.geojson by selecting Import Overflows in the Wizard. We will import overflow.geojson, using the following attributes:
* LEVEL: the [[Sewer_overflow_attribute_(Water_Overlay)|crest level of the overflow]]; assign to the SEWER_OVERFLOW overlay key
* LEVEL: the [[Sewer_overflow_attribute_(Water_Overlay)|crest level of the overflow]]; assign to the SEWER_OVERFLOW overlay key
Line 157: Line 160:


===Step 3: setup of coefficients===
===Step 3: setup of coefficients===
In this step you can adjust default parameters related to the [[Surface_model_(Water_Overlay)|surface]] (e.g. roughness), [[Underground_model_(Water_Overlay)|sub-surface]] (e.g. conductivity) and infrastructure (e.g. is a type connected to a sewer or not). As we work with a 3D world containing a lot of data, the determination of model-coefficients can be complex. E.g.:
In this step you can adjust default parameters related to the [[Surface_model_(Water_Overlay)|surface]] (e.g. roughness), [[Ground_model_(Water_Overlay)|sub-surface]] (e.g. conductivity) and infrastructure (e.g. is a type connected to a sewer or not). As we work with a [[project]] containing a lot of data, the determination of model-coefficients can be complex. E.g.:
* A [[Water_manning_(Water_Overlay)|manning roughness coefficient]] can be related to the surface type (e.g. clay) if no infrastructure present. If infrastructure is present (e.g. a road), the value of the road will be used, and the value of the surface type will be ignored
* A [[Water_manning_(Water_Overlay)|manning roughness coefficient]] can be related to the surface type (e.g. clay) if no infrastructure present. If infrastructure is present (e.g. a road), the value of the road will be used, and the value of the surface type will be ignored
* An infiltration parameter can be related to the surface (land cover), [[Ground_infiltration_per_day_(Function_Value)|infrastructure]] or [[Ground_infiltration_md_(Water_Overlay)|underground (sub-surface)]].
* An [[Terrain_ground_infiltration_md_(Water_Overlay)|infiltration]] parameter can be related to the surface (land cover), [[Ground_infiltration_per_day_(Function_Value)|infrastructure]] or the ground (sub-surface).
You can inspect each of the parameters by hovering or clicking on the question mark icon next to the parameter. We will leave everything to default by pressing next (4x)
You can inspect each of the parameters by hovering or clicking on the question mark icon next to the parameter. We will leave everything to default by pressing next (4x)
 
<br>
<br>
[[File:Kockengen_figure14.PNG|500px]]
[[File:Kockengen_figure14.PNG|500px]]


Line 168: Line 172:
* Display Water System network: shows schematically the network of the water system  
* Display Water System network: shows schematically the network of the water system  
* Display Weirs with Panels: shows on the location of weirs a panel, allowing the user to overwrite structure settings
* Display Weirs with Panels: shows on the location of weirs a panel, allowing the user to overwrite structure settings
* Display Water level Areas with Panels: shows on all centroids of water level areas panels, allowing the user to overwrite initial water levels
* Display Water Areas with Panels: shows on all centroids of water areas panels, allowing the user to overwrite initial water levels


[[File:Kockengen_figure15.PNG|500px]]
[[File:Kockengen_figure15.PNG|500px]]


===Step 5: Output Overlays===
===Step 5: Output Overlays===
The Rainfall Overlay can produce one or more results. By default the [[Waterstress_result_type_(Water_Overlay)|Water Stress]] is chosen, which is the amount of water on the surface. For water terrains a maximum allowed increase model parameter is set. Below that depth no water stress will be perceived. Also, the number of [[Timeframes_(Water_Overlay)|Timeframes]] can be selected with the slider. The more timeframes, the more intermediate steps there are recorded and viewable for the user. Note that timeframes are not the same as [[Timestep_formula_(Water_Overlay)|timesteps]].  
Each water overlay can produce one or more results. By default the [[Water stress_result_type_(Water_Overlay)|water stress]] is chosen, which is the amount of water on the surface. For water terrains a maximum allowed increase model parameter is set. Below that depth no water stress will be perceived. To see only the amount of water on the surface, select the [[Surface_last_value_result_type_(Water_Overlay)|surface last value]] and check the First checkbox, the [[Surface_elevation_result_type_(Water_Overlay)|surface elevation]] and the [[Base_types_result_type_(Water_Overlay)|base types]]. Read the wiki pages to understand what each result type will show. Also, unselect the water stress result type. Notice the number of [[Timeframes_(Water_Overlay)|Timeframes]] can be selected with the slider. The more timeframes, the more intermediate steps there are recorded and viewable for the user. Note that timeframes are not the same as [[Timestep_formula_(Water_Overlay)|timesteps]].  
<br>
<br>
[[File:Kockengen_figure16.PNG|500px]]
[[File:Rainfall_results.JPG|500px]]


===Step 6: Input Overlays===
===Step 6: Input Overlays===
The Rainfall Overlay uses several input parameters to compute output. These input overlays can be visualized in the Input Overlays section. Select the manning roughness value [m/s^1/3]
The Rainfall Overlay uses several input parameters to compute output. These input overlays can be visualized in the Input Overlays section. Select the [[Water_manning_(Water_Overlay)|manning roughness value [m/s^1/3]]].


[[File:Kockengen_figure17.PNG|500px]]
[[File:Kockengen_figure17.PNG|500px]]
Line 198: Line 202:
[[File:Kockengen_tutorial_general_tab.JPG|thumb|150px|right|The general tab in the right panel]]
[[File:Kockengen_tutorial_general_tab.JPG|thumb|150px|right|The general tab in the right panel]]
[[File:Kockengen_tutorial_inactive_copyJPG.JPG|thumb|150px|right|The inactive copy of the Rainfall overlay is greyed out]]
[[File:Kockengen_tutorial_inactive_copyJPG.JPG|thumb|150px|right|The inactive copy of the Rainfall overlay is greyed out]]
After finishing the wizard, you need to [[Grid_Overlay#Grid_recalculation|Update the grid]] to recalculate the rainfall overlay. Every time you change a parameter in the model, whether that is in the wizard or in the editor itself, the overlay has to be recalculated by pressing Update Now. However, if the [[Calculation_panel#Auto-update_indicators|auto update]] is on, the overlay is automatically recalculated when changing a parameter in the wizard. When working in/with a large project, a small grid size, long simulation time etc., it can be desirable to turn the auto update off in order to not have to wait every time on the recalculation of the overlay, until you are done with editing and ready for the results. When dealing with very long calculations, take note of the [[Peak_hours|peak hours]], the option to [[Calculation_panel#GPU_overview|cancel]] the calculation (if you notice that it will take a long time) and the option to [[Grid_Overlay#Delayed_calculation|delay]] the calculation.
After finishing the wizard, you need to [[Grid_Overlay#Grid_recalculation|Update the grid]] to recalculate the rainfall overlay. Every time you change a parameter in the model, whether that is in the wizard or in the editor itself, the overlay has to be recalculated by pressing Update Now. However, if the [[Calculation_panel#Auto-update_indicators|auto update]] is on, the overlay is automatically recalculated when changing a parameter in the wizard. When working in/with a large project, a small grid size, long simulation time etc., it can be desirable to turn the auto update off in order to not have to wait every time on the recalculation of the overlay, until you are done with editing and ready for the results. When dealing with very long calculations, take note of the option to [[Calculation_panel#GPU_overview|cancel]] the calculation (if you notice that it will take a long time) and the option to [[Grid_Overlay#Delayed_calculation|delay]] the calculation.


When finished, please explore the following interesting features:
When the calculation is finished, please explore the following interesting features:
* In the General Tab you can show the [[Results (Water Overlay)#Water balance|Water Balance]]. Please explore
<br>
* Below there is a summary, the [[Results (Water Overlay)#Debug info|debug info]], with among others the amount of timesteps.  
[[File:Results_kockengen.JPG|500px]]
* In the General Tab, you can specify the [[Calculation_preference_formula_(Water_Overlay)|Calculation Preferences]]. While keeping the grid size the same, evaluate the amount of timesteps. See also the [[Timestep formula (Water Overlay)|timestep formula]] for more information.
<br>
* In the General Tab you can press ''Change Grid'' to change the [[grid cell size]]. Can you see the difference, and see the impact on the timesteps and calculation time?
* Play the overlay by clicking on the arrows in the bottom left corner of the [[Viewer ]]interface. Can you explain what happens?
* In the General Tab you can [[Geo_Data#Export_raster_data|export the result]] as a [[GeoTiff]]. Please do so and visualize your result in a GIS, for example QGIS.
* Click in the left panel on the other overlays. Can you explain the results? Notice the [[Base_types_result_type_(Water_Overlay)|base types]] result. This result type shows input used for the model. As you can see the division in land, water and constructions is very rough. This is related to the [[grid cell size]]. In the General Tab you can press ''Change Grid'' to change the [[grid cell size]] to for example 2m. Can you see the difference, and see the impact on the [[Surface_last_value_result_type_(Water_Overlay)|surface last value]], timesteps and calculation time?
* In the General Tab, click on ''Save overlay result''. Notice what happens: an inactive copy of the result type is created in the overlay left panel. This [[Results (Water Overlay)#Storing_specific_overlay_result|inactive copy]] can be used to store results, from for example a specific rain event, and compare it later with another result type of another rain event.
* Open the Rainfall Wizard again and click on the culverts step. Notice there are less errors with the culverts by changing the grid cell size. Can you now follow the error messages that were previously given?
* In the General Tab, [[Warning and recommendations (Water Overlay)|warnings]] may also appear, for example about the accuracy of the model in relation to the grid cell size.
* In the General Tab you can show the [[Water balance (Water Overlay)|Water Balance]]. Please explore.
* Create an overlay of the water level areas to provide more insight. Follow the (general) steps [[Geo_Data_tutorial#Create_an_overlay|in the Geo Data tutorial]] for creating an overlay of the already imported water level areas.  
* Below there is a summary, the [[Debug info (Water Overlay)|debug info]], please explore.
* Open the Rainfall Wizard again. Select more and/or different result types and update the Rainfall overlay. Can you display and interpret the results?
* In the General Tab, you can specify the [[Calculation_preference_formula_(Water_Overlay)|Calculation Preferences]].
* In the General Tab you can [[Geo_Data#Export_raster_data|export the result]] as a [[GeoTIFF]]. Please do so and visualize your result in a GIS, for example QGIS.
* In the General Tab, click on ''Save overlay result''. Notice what happens: an inactive copy of the result type is created in the overlay left panel. This inactive copy can be used to store results, from for example a specific rain event, and compare it later with another result type of another rain event.
* In the General Tab, [[Warnings (Water Overlay)|warnings]] may also appear, for example about the accuracy of the model in relation to the grid cell size.
* Create an overlay of the water areas to provide more insight. Follow the (general) steps [[Geo_Data_tutorial#Create_an_overlay|in the Geo Data tutorial]] for creating an overlay of the already imported water areas.  
* Open the Rainfall Wizard again. Select more and/or different result types and update the Rainfall overlay. Can you display and interpret the results?  
 
===Extra step: measuring tool===
The {{software}} also provides a [[measuring tool]] to create sections.
Try to create a line measurement with the same settings as below in the image. Make sure the result type that you are displaying is the [[Surface_last_value_result_type_(Water_Overlay)|surface last value]]. Can you explain what you see in the graph?
<br>
[[File:Measurement_tutorial.JPG|500px]]
<br>
The created section shows the amount of water on the surface (m + datum) in yellow and the terrain height in red. When you play the overlay, you will see the yellow line moving according to the amount of water that is on the surface during that timeframe. Make some more measurements on different places.


You have now finished the tutorial!
{{Water Module buttons}}
{{Water Module buttons}}

Latest revision as of 15:07, 26 January 2024

Prerequisites

The following prerequisites should be met before starting this tutorial:

  • This tutorial relies on base knowledge about the editor interface. If you have not yet followed the tutorials related to those subjects please do so first.
  • This tutorial relies on a specific Demo project. 

Preparations

Take the following steps as preparation for following this tutorial:

  • Open the Tygron Platform (the LTS server), logon with your user name and password and open the project Tutorial Kockengen
  • Download and unpack the content of this zip-file on your desktop: kockengen_data.zip

Introduction to the Rain Overlay

In this tutorial we will configure a rainfall overlay. After this tutorial, you will be able to configure a rainfall overlay by making use of the configuration wizard and have learnt what kind of data is used as input for the water module.

Kockengen figure01.PNG

Adding a Rainfall Overlay

Follow these steps below to add a Rainfall Overlay:

  1. Hover over the button Overlays, in the current situation tab and select Add Rainfall. The rainfall overlay is added to the Overlays in the left-side-panel. And in the overlay bar on the right side of the map.
  2. Select the Rainfall overlay in the left side panel and take a moment to familiarize yourself with the tabs in the right panel: General, Keys, Legend and Attributes
    • General contains the most common information necessary to interpret the rainfall overlay.
    • In Keys you can relate settings for the Rainfall overlay to attribute information stored in Building's and Area's.
    • Legend allows you to customize your legend
    • Attributes contains the general settings of the Rainfall overlay.
  3. Click on the Configuration Wizard button (see image below).

Kockengen figure02.PNG

With the Rainfall Wizard, you can configure your water system, this includes:

  • The setup of the weather boundary condition
  • Definition of the water system, including water areas (peilgebieden), sewer districts and hydrological structures
  • Setting of hydrological parameters

The Rainfall Wizard

Kockengen figure03.PNG

With the Rainfall Overlay Wizard you can configure your water system. In this part of the tutorial we are going to use the following GeoJSON-files (which you have downloaded at the start of this tutorial):

  • waterlevelareas.geojson
  • sewerdistricts.geojson
  • weirs.geojson
  • overflow.geojson

Some tips for using vector data files for the Water_Overlay:

  • All files need to have a coordinate reference system (CRS) defined, for the Tygron Platform to place the data on the correct location.
  • Hydraulic structures (weirs, culverts, pumps and overflows) should be imported as polygons, but translated in the Tygron Platform to either work as point- or line based structures. Read here more about this difference.

Kockengen figure04.PNG

Step 1: defining the weather

Press Next to proceed to the Weather panel, here the user can define rainfall and evaporation input, simulation time, which area of the project to calculate and the groundwater mode. Select the Option 'Linear' for rainfall over time. Change all numbers according to this picture:

Rainfall wizard step1.JPG

With this settings you have defined a rainfall event:

  • Uniform rainfall in 120 minutes
  • With a total rainfall amount of 50mm
  • With a dry period after rainfall of 120 minutes, so a total simulation time of 4 hours
  • The whole project area will be (re)calculated.
  • Reference evapotranspiration will be assumed on 1.5mm/day
  • For groundwater, we assume that there is only infiltration. Read the information on the Groundwater mode to understand what this means for the calculation.

Step 2: setup of the water system

Press next to proceed to the introduction screen: Setup Water System. In the following steps we will set up the water system using the prepared GeoJSONS.

Kockengen figure05B.PNG

Step 2.1: adding water areas

Press next to the screen for importing water areas. A water area is an area with a spatially uniform water level varying in time. Variation can be caused by rainfall, evaporation on the surface water, inflow from sewer areas and inflow from the surface.

Kockengen figure06.PNG
Kockengen tutorial waterlevel areas.JPG

There are several options to define your water areas:

  • Do Nothing: no water levels are used. Water terrains will be dry
  • Import Water Areas: allows you to import a set of water areas
  • Generate Water Areas: allows you to define 1 water area for your project area with 1 water level
  • Select existing water areas based on attribute: allows you to connect already imported water level data by using an existing attribute of this dataset

Select Import Water Areas (start Geo data wizard) and press Import Water Areas. The Geo Data Wizard will open. We will import waterlevelareas.geojson. Use the following attributes in the GeoJSON file as attributes for the Rainfall Overlay:

  • WATERLEVEL: the initial Water Level in the water area (m + datum)
  • NAME: the name of the water area

Steps in the Geo Data Wizard:

  1. Select Import a GeoJSON file and press Next. Press Select File and locate the waterlevelareas.geojson. Press Open and press Next.
  2. An overview of your areas is generated; see right-side pictures. Press Next
  3. In the next step you can filter features based on an existing attribute. We skip this step (because we do not want the filter our dataset) by pressing Next
  4. We assign names to the water areas using the NAME attribute from the geojson; see right-side pictures. Press Next
  5. We select all attributes, importing all attribute data from the geojson, and press Next. Note that only numerical attributes can be imported in to the Tygron Platform.
  6. We assign the WATERLEVEL attribute of the GeoJSON to the WATER_LEVEL key of the overlay; see right-side pictures
  7. At Finalize we press Finish to upload the areas to the server

After importing your water areas you can review all parameters by opening the selection menu. Take some time to review the attribute values. What is the meaning?

Step 2.2: initial groundwater level

In step 2.2, you can specify ground water levels. Since this tutorial is about Rainfall, we choose the default option ('Do Nothing')

Kockengen tutorial groundwater.JPG

; see right-side picture.

Step 2.3: adding sewer areas

Sewer districts are represented by areas which have one storage value [m], uniform in space. Sewer storage will vary in time by sewer inflow from connected buildings (buildings, roads, etc), pumped outflow to a WWTP (in the Tygron Platform this is to an external area outside of the project) and sewer overflow to surface water. In the wizard there are several options for defining the sewer system:

  • Do nothing: no sewer areas are defined, this means that there is no sewerage in the project
  • Import sewers: import sewer data
  • Generate sewers: let the Tygron Platform generate sewer areas, based on adjustable parameters
  • Select existing sewers based on attribute: if you already have sewer areas imported, you can connect them by selecting the attributes of the data to the overlay keys

Press import sewers and import the file sewerareas.geojson via the Geo data wizard. Assign the following attributes:

Follow the steps in the Geo Wizard according to the steps described in the water areas section:

  • At step 5, multiply the attribute value for STORAGE in the GeoJSON (mm) by 0,001 (conversion to m); see right-side pictures.
  • At step 6, assign the the STORAGE attribute to the SEWER_STORAGE key and the POC attribute to the SEWER_PUMP_SPEED key

Take some time to review the attribute values in the imported area Kockengen. What is the meaning? For more information on the sewer model, read the Wiki page.

Step 2.4: adding inundation areas

Inundation areas are used to represent inundated or flooded areas in advance of the model's simulation. The following options are available:

  • Do Nothing: there is no inundation area
  • Import Water Areas: allows you to import inundation area(s) from an own dataset
  • Generate Water Areas: allows you to define 1 inundation area with one water level for your whole project area
  • Select existing water areas based on attribute: allows you to connect already imported inundation data by using the water level attribute of this dataset

In this Tutorial, choose the default option (Do Nothing).

Step 2.5: adding hydraulic structures

In the configuration wizard it is possible to import the following hydraulic structures:

2.5.1 Adding weirs

You can upload weirs.geojson by selecting Import Weirs in the Weirs screen and pressing Import Weirs. We will import weirs.geojson, using the following attributes:

Kockengen figure10.PNG

In the Geo Wizard follow the steps:

  1. Select Import a GeoJSON file and press Next. Press Select File and locate the wiers.geojson. Press Open and press Next.
  2. An overview of your areas is generated as below. Press Next
  3. In the next step you can filter features based on attribute filtering. We skip this step by pressing Next
  4. We assign names to the water areas using the NAME attribute from the GeoJSON and press Next
  5. We select all attributes, importing all attribute data from the GeoJSON, and press Next
  6. We assign the WEIR_HEIGHT attribute of the GeoJSON to the WEIR_HEIGHT key of the overlay, the WEIR_WIDTH attribute of the GeoJSON to the WEIR_WIDTH key of the rainfall overlay and the WEIR_COEFF attribute of the GeoJSON to the WEIR_COEFFICIENT attribute of the rainfall overlay.
    Rainfall weirs keys.JPG
  7. At Finalize we press Finish to upload the areas to the server

Take some time to review the attribute values. What is the meaning?
Notice that there is also a weir angle attribute, read the wiki to know what this attribute is used for.

Rainfall weirs updated.JPG

2.5.2 Culverts

Click next to proceed to the step for importing culverts. Notice that there are already culverts imported. On the project sources page you can read where this data comes from (last entry in the table). Select some culverts from the drop down menu and click on Show in Editor to see where they are located in the project area. Since from the open dataset not all attributes are known, for example the culvert diameter is by default set to 1m. Notice that there are some errors. These culverts are marked red in the drop down menu and also the step itself is marked red. Read some of the error messages given when selecting a marked red culvert in the drop down menu and proceed with the next step.

Culverts.JPG

2.5.3-5 Pumps, Inlets and Drainages

Similar to the import procedure of weirs, you can add pumps, inlets and outlets and drainages. In this tutorial, choose the default (Do Nothing).

2.5.6 Adding Overflows

In this step we will add the sewer overflow. Upload the overflows.geojson by selecting Import Overflows in the Wizard. We will import overflow.geojson, using the following attributes:

Follow the Geo Data Wizard similar to the procedure at importing weirs (see 2.5.1 adding weirs) and view the result. What do the values mean?

Kockengen figure13.PNG

Step 3: setup of coefficients

In this step you can adjust default parameters related to the surface (e.g. roughness), sub-surface (e.g. conductivity) and infrastructure (e.g. is a type connected to a sewer or not). As we work with a project containing a lot of data, the determination of model-coefficients can be complex. E.g.:

  • A manning roughness coefficient can be related to the surface type (e.g. clay) if no infrastructure present. If infrastructure is present (e.g. a road), the value of the road will be used, and the value of the surface type will be ignored
  • An infiltration parameter can be related to the surface (land cover), infrastructure or the ground (sub-surface).

You can inspect each of the parameters by hovering or clicking on the question mark icon next to the parameter. We will leave everything to default by pressing next (4x)

Kockengen figure14.PNG

Step 4: Interactions

Here you can choose to visualize your water system network in the rainfall overlay:

  • Display Water System network: shows schematically the network of the water system
  • Display Weirs with Panels: shows on the location of weirs a panel, allowing the user to overwrite structure settings
  • Display Water Areas with Panels: shows on all centroids of water areas panels, allowing the user to overwrite initial water levels

Kockengen figure15.PNG

Step 5: Output Overlays

Each water overlay can produce one or more results. By default the water stress is chosen, which is the amount of water on the surface. For water terrains a maximum allowed increase model parameter is set. Below that depth no water stress will be perceived. To see only the amount of water on the surface, select the surface last value and check the First checkbox, the surface elevation and the base types. Read the wiki pages to understand what each result type will show. Also, unselect the water stress result type. Notice the number of Timeframes can be selected with the slider. The more timeframes, the more intermediate steps there are recorded and viewable for the user. Note that timeframes are not the same as timesteps.
Rainfall results.JPG

Step 6: Input Overlays

The Rainfall Overlay uses several input parameters to compute output. These input overlays can be visualized in the Input Overlays section. Select the manning roughness value [m/s^1/3].

Kockengen figure17.PNG

Step 7: Advanced Settings

Here you can change some model attributes for the rainfall overlay. The attributes you can change in this step are:

Read the above Wiki pages, but keep the default values.

Advanced settings rainfall.JPG

Press Finish to finalize the wizard

After completion of the wizard

The general tab in the right panel
The inactive copy of the Rainfall overlay is greyed out

After finishing the wizard, you need to Update the grid to recalculate the rainfall overlay. Every time you change a parameter in the model, whether that is in the wizard or in the editor itself, the overlay has to be recalculated by pressing Update Now. However, if the auto update is on, the overlay is automatically recalculated when changing a parameter in the wizard. When working in/with a large project, a small grid size, long simulation time etc., it can be desirable to turn the auto update off in order to not have to wait every time on the recalculation of the overlay, until you are done with editing and ready for the results. When dealing with very long calculations, take note of the option to cancel the calculation (if you notice that it will take a long time) and the option to delay the calculation.

When the calculation is finished, please explore the following interesting features:
Results kockengen.JPG

  • Play the overlay by clicking on the arrows in the bottom left corner of the Viewer interface. Can you explain what happens?
  • Click in the left panel on the other overlays. Can you explain the results? Notice the base types result. This result type shows input used for the model. As you can see the division in land, water and constructions is very rough. This is related to the grid cell size. In the General Tab you can press Change Grid to change the grid cell size to for example 2m. Can you see the difference, and see the impact on the surface last value, timesteps and calculation time?
  • Open the Rainfall Wizard again and click on the culverts step. Notice there are less errors with the culverts by changing the grid cell size. Can you now follow the error messages that were previously given?
  • In the General Tab you can show the Water Balance. Please explore.
  • Below there is a summary, the debug info, please explore.
  • In the General Tab, you can specify the Calculation Preferences.
  • In the General Tab you can export the result as a GeoTIFF. Please do so and visualize your result in a GIS, for example QGIS.
  • In the General Tab, click on Save overlay result. Notice what happens: an inactive copy of the result type is created in the overlay left panel. This inactive copy can be used to store results, from for example a specific rain event, and compare it later with another result type of another rain event.
  • In the General Tab, warnings may also appear, for example about the accuracy of the model in relation to the grid cell size.
  • Create an overlay of the water areas to provide more insight. Follow the (general) steps in the Geo Data tutorial for creating an overlay of the already imported water areas.
  • Open the Rainfall Wizard again. Select more and/or different result types and update the Rainfall overlay. Can you display and interpret the results?

Extra step: measuring tool

The Tygron Platform also provides a measuring tool to create sections. Try to create a line measurement with the same settings as below in the image. Make sure the result type that you are displaying is the surface last value. Can you explain what you see in the graph?
Measurement tutorial.JPG
The created section shows the amount of water on the surface (m + datum) in yellow and the terrain height in red. When you play the overlay, you will see the yellow line moving according to the amount of water that is on the surface during that timeframe. Make some more measurements on different places.

You have now finished the tutorial!