How to calculate flooded area and water volume

after construction of a dam (example)

When a dam is constructed in a valley, an area upstream will be flooded up to a certain water level. To determine the exact area to be flooded you can use neighbourhood operations in ILWIS. Then, you can also calculate the volume of the water body.

Preparations

  1. The first step is determination of the dam site, dam altitude, freeboard and the designed water level h.
    In this example, the upper side of the dam will be at an altitude of 3360 m; the freeboard of the dam is 20 m; the actual water level will be at 3340 m altitude.
  2.   

  3. A Digital Elevation Model (DEM) of the area should be available. For more information, see How to calculate a DEM.
  4.   

  5. Then, make a raster map showing the exact location of the dam. To do so, start with displaying the DEM and use the pixel editor to create a new raster map. Choose in the menu of the map window File, Create, Create Raster Map.
  6.   

    The Create Raster Map dialog box appears:

      

    The Pixel editor is opened. Zoom in on the area where you want to build the dam. Then select pixels which will form the dam in map DAM. The pixels indicating the dam should be properly 4-connected (see figures below). When pixels are only 8-connected, pixels at the opposite side of the dam are also used in the calculation later on.

      

    wrong:

    correct:

      

    Use the left mouse button to select the pixels while you hold down the Ctrl key of the keyboard. When the correct pixels are selected, give the dam the value of the altitude of the top of the dam (in this example 3360).

      

  7. To combine the DEM and the raster map DAM, type on the command line of the Main window:
  8.   

    DEMNEW = IFUNDEF(DAM,DEM, DAM)

      

    This means that if a pixel in map DAM is undefined, the value of the DEM is assigned, else the value given in map DAM. Thus the altitude of the dam (in this example 3360m) is included in the Digital Elevation Model.

      

    Display the output map DEMNEW to force calculation.

      

  9. To determine the area that will be flooded you need to create a map indicating one pixel in this area. Using neighbourhood operations this pixel acts as the starting point for the calculation. Use the pixel editor to create the new raster map.
    First, display map DEMNEW and choose File, Create, Create Raster Map from the menu in the map window.
  10.   

    Then fill out the Create Raster Map dialog box:

      

    Select a pixel in the area which will be flooded, double-click this pixel and mark it 'True'.

      

    Leave the pixel editor: the map START has only one defined pixel, the rest is undefined.
    Display the map START to force calculation.

    Calculating the flooded area

  11. Now the actual calculation of the area can be performed. Iteration with propagation is used until there are no changes anymore in any of the pixel values. In this example, the upper side of the dam was at an altitude of 3360 m; the freeboard of the dam is 20 m; the actual water level is at 3340 m altitude.
  12.   

    To start the calculation, double-click the Iteration item in the Operation-list.

      

    The Iteration dialog box appears:

      

    IFF (DEMNEW > 3340, START, NBMAX(START#))

      

    This means: if the altitude in the new Digital Elevation Model is higher than 3340 m (the desired water level), then return the pixel values of raster map START (which are undefined). Else, assign the maximum value of the neighbouring pixels found in raster map START.
    In the first iteration there is only one starting pixel which is 'True'. Then in every next iteration, the neighbours of the True pixel(s) will be assigned True as will, as long as these pixels have an altitude less than 3340 m.

      

      

  13. The calculation starts, then the Display Options dialog box of the output map FLOODED appears. Accept the default display options, the area which will be flooded appears on the screen (True values, other pixels are undefined).
  14.   

  15. To find out the size of the flooded area you calculate a histogram by double clicking the Histogram item in the Operation-list; select map FLOODED. You can read the size of the area which is flooded (True) from the histogram table.
  16. Calculating the water volume

  17. The next step is the calculation of the volume of the water body.
  18. Therefore, you can Cross the newly calculated map FLOODED with map DEMNEW. The crossing of two value maps may be a relatively time consuming process.

      

    To reduce calculation time and the size of the output cross table, you can create another DEM which only shows the original height values of the area that will be flooded, while all other pixels have the undefined value. To do so, type the following expression on the command line of the Main window:

      

    DEMSMALL = IFF(FLOODED, DEMNEW, ?)

      

    This means that for the flooded area the values of the DEM will be used, while all other pixels are assigned the undefined value; these undefined values are not taken into account in the cross operation.

      

  19. To start the Cross operation, double-click Cross in the Operation-list.
    The Cross dialog box appears.
  20.   

    The cross table is calculated and is displayed on the screen. It shows the combinations of input values of the map FLOODED and the map DEMSMALL, the number of pixels that occur for each combination and the area for each combination.

      

  21. In the cross table, you can calculate the water depths by subtracting the altitude given in column DEMSMALL from the planned water level (3340 m).
    Type the command line of the table window:
  22.   

    DEPTH = 3340 - DEMSMALL

      

    Then calculate the volumes of the depths as follows:

      

    VOL = DEPTH * Area

      

    Finally, sum all volumes of all different water depths together. This can be done using the aggregation function AGGSUM.

      

    SUM = AGGSUM (VOL)

      

    Column SUM shows the total volume of water in cubic meters for the entire area which will be flooded after creating the dam.

See also: