====== Lake and river floodplain tutorial ====== A river or lake that flood over its borders and cause a large area of standing water may be simulated with the HYPE floodplain functionality. Read more about how the floodplains work in the model description section [[start:hype_model_description:hype_routing#floodplains|Floodplains]]. A HYPE floodplain can only be formed from water that flows from a main river or an outlet lake; local streams and internal lakes cannot have an associated floodplain area. The floodplain and its water body are considered as one unique slc-class, and this class' area is the maximum extent of the floodplain. This means that floodplains do not constitute a new slc class and therefore the (previous) class area, that is the water body area (of main river or outlet lake), becomes larger to include the possibility to be flooded. The modelled floodplains are described mainly by information given in the [[start:hype_file_reference:flooddata.txt|FloodData.txt]] file and by some parameters in the [[start:hype_file_reference:par.txt|par.txt]] file. To use the floodplain model its model option is set in [[start:hype_file_reference:info.txt|info.txt]]. The information in [[start:hype_file_reference:flooddata.txt|FloodData.txt]] can be grouped in three categories: - area related data; area fractions between floodplain, water bodies and subbasins (including ''fpfol'', ''fpfmr'') - elevation thresholds; thresholds between water body and flood plain and between water body and downstream lake/river (''floll'', ''flolp'', ''flmmr'', ''flmrp'', ''fymol'', ''fymmr'') - recession coefficients; coefficients to regulate the flow between water body and floodplain (''rclfp'', ''rcfpl'', ''rcrfp'', ''rcfpr''). These input data can be estimated in different ways. The suggestion here is to define those that can be observed/derived relatively easy from data (area and elevation threshold) and manually calibrate the others (recession coefficients). A method to do that is described below: **Area related data** * Determine how large area of the subbasin that can be flooded (e.g. from floodplain delineation databases, literature, etc.). Then specify how much of the floodplain area is flooded by water coming from the outlet lake (olake) and/or main river (e.g. 20% from olake and 80% from river). See example in Figure 1 where the values ''fpfmr'' and ''fpfol'' are defined this way. |{{:start:hype_tutorials:flood_tut_1.png?600|}}| |Figure 1: Example of determining fraction of floodplain area (''fpfmr'' and ''fpfol''). A represents the whole subbasin area, the subscripts lake and mr, outlet lake and main river, respectively.| * Introduce the area changes in [[start:hype_file_reference:geodata.txt|GeoData.txt]]. A new distribution of the slc-classes' area fractions is needed, reducing the non-water classes area in favor of the water areas. Remember that the new olake area (A3 in the example in Fig 1) is composed of the original outlet lake area (A3_lake) plus the area flooded by the olake ({A3}_{flood lake}); same for the new main river area. The area of the subbasin that is not flooded can be distributed between the non-water classes present in the subbasin before the changes using the same distribution as before or it can be distributed among a subset of these classes. Remember that the sum of all classes' area fractions in a subbasin needs to be one. **Elevation thresholds** * The elevation thresholds values are determined using elevation data (e.g. DEM from SRTM). The ones whose names include "ol" are related to olakes and the ones with "mr" are related to main river. Fig. 2 summarizes a way to calculate these parameters; **A** (''flmrr'' and ''floll''), **B** (''flmrp'' and ''flolp'') and **C** (''fymol'' and ''fymmr''). **A** is the threshold for flow from water body to floodplain. **B** is the threshold for flow from floodplain to water body. **C** is the highest elevation of the floodplain, i.e. the water level when the flood reaches its maximum areal extent. |{{:start:hype_tutorials:flood_tut_2.png?600|}}| |Figure 2: Illustration and definition of elevation (**xi**) and floodplain input (**A**,**B**,**C**) variables. Suggestion for determination method of elevation variables.| * All the **xi** are absolute distances referring to the sea level. **A**, **B**, and **C** are relative distances calculated based on the previous absolute values and the depth of the lake or main river (//**depth**//). The depths should be the same as HYPE uses, i.e. * for outlet lake: lake depth are found in [[start:hype_file_reference:lakedata.txt|LakeData.txt]], [[start:hype_file_reference:damdata.txt|DamData.txt]], [[start:hype_file_reference:geodata.txt|GeoData.txt]] or [[start:hype_file_reference:par.txt|par.txt]] * for main river: depth is calculated from the volume and area of the main river by the equations: * depth [m]={dead volume}/{main river area [m^2]} * {dead volume [m^3]}=deadm*{upstream area [km^2]}*{river length [m]} * where ''deadm'' is a general parameter ([[start:hype_file_reference:par.txt|par.txt]]). This parameter needs to be larger than 0, when floodplains are simulated. We took it from E-HYPE and it has a value of 0.005 m2 km-2 * To fulfil the assumptions made by HYPE of the functioning of the floodplain, the following conditions must hold: 1) **A≥0**, 2) **B≥0** 3) **C≥0**. If **x2