import matplotlib
if not hasattr(matplotlib.RcParams, "_get"):
matplotlib.RcParams._get = dict.get
7.4. Additional exercises#
For Exercise 7.7, you have two options: work with Python or with Excel. When applicable, python code is provided below each sub-question on this page. If you prefer working with Excel, please use the Python code below to generate an Excel file with the required data and answer the sub-questions in the chronological order. To generate the Excel file, simply copy the Python code and paste it into a notebook on your laptop. Remove the ‘#’ before the last code line to activate the generation of the Excel file. Once this is done, open the generated Excel file (located in the same folder as your notebook) in Excel.
Exercise 7.7
Extreme value analysis
You are asked to apply the Gumbel theory for extreme values to determine the design flow of a hypothetical river. No recent data is available, but you have found a very short time-series spanning over a few years in the 1980s, from which you have calculated the yearly maxima.
| Qmax [m3/s] | |
|---|---|
| 1982 | 211 |
| 1983 | 64 |
| 1984 | 99 |
| 1985 | 122 |
| 1986 | 165 |
a) First of all, fill in the table below.
| Qmax [m3/s] | Rank | Probability of Exceedance | Probability of non-Exceedance | Reduced variate | Return period [years] | |
|---|---|---|---|---|---|---|
| 1982 | 211 | NaN | NaN | NaN | NaN | NaN |
| 1983 | 64 | NaN | NaN | NaN | NaN | NaN |
| 1984 | 99 | NaN | NaN | NaN | NaN | NaN |
| 1985 | 122 | NaN | NaN | NaN | NaN | NaN |
| 1986 | 165 | NaN | NaN | NaN | NaN | NaN |
Answer Exercise 7.7 a
The table with solutions can be found in the code cell below.
b) Next, make the Gumbel graph used to estimate the river flow for very large return periods. The code cell below provides you with a template for plotting the Gumbel graph.
Answer Exercise 7.7 b
The Gumbel graph is generated in the code cell below. Don’t get intimated by the length of the code, a big the part of the code below is only used to create the axis labels and make the graph look nicer!
c) Consider only one year. According to the table (i.e. without applying a Gumbel fit), what is the probability that the annual maximum river flow exceeds the maximum flow measured in 1985?
Answer Exercise 7.7 c
From the table above, the probability can be found to be equal to 0.500.
d) Consider only one year. According to the table (i.e. without applying a Gumbel fit), what is the probability that the annual maximum river flow is lower than the maximum flow measured in 1984?
Answer Exercise 7.7 d
From the table above, the answer is 0.333.
e) Based on the Gumbel distribution, estimate the river flow corresponding to a return period of 55.1 years.
Answer Exercise 7.7 e
In the table above, the discharge corresponding to a return period of 55.1 years is equal to 361.2 \(\frac{\text{m}^3}{\text{s}}\).
Exercise 7.8
True or false?