Rainfall Overlay tutorial

From Tygron Support wiki
Jump to navigation Jump to search

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.

Getting Started

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


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 the 3D world.
    • 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.6.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 3D world. 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.6.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.6.5 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 3D world 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 underground (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 3D world. 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!