-
Notifications
You must be signed in to change notification settings - Fork 0
/
module5a.Rmd
694 lines (434 loc) · 28.3 KB
/
module5a.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
# Module 5a: Catchment Water Balance {#M5A_1 .unnumbered}
### Objectives {#M5A_2 .unnumbered}
To understand a two-store catchment water balance model and implement within Excel. Using the supplied parameters and input data, run the model and plot changes in water stores and key hydrological fluxes.
### Before you start {#M5a_before_start .unnumbered}
- Listen to the water balance lecture
- Be familiar with the connected bucket example (double buckets) in Excel
### The Water Balance Approach {#M5A_3 .unnumbered}
A water balance equation can be used to describe the flow of water in and out of a "system". A system can be one of several hydrological domains depending on the context, such as a column of soil or a catchment basin. In the context of catchment, we assume the catchment area has a known 'average' depth, and the amount of soil is the catchment area multiplied by the depth. We treat this soil volume as our catchment 'bucket', and then estimate the inputs (rainfall) and outputs (evapotranspiration, runoff and baseflow).
Based on our understanding of soil physics, flow processes and transpiration, we can further partition water within the bucket into different sub-compartments. In this exercise we assume the catchment bucket can include a saturated and unsaturated layer, and even an optional deeper groundwater system.
The water balance assumes an initial amount of water and then we sequentially estimate the fluxes of water as outlined below in the conceptual diagram.
<center>
```{r figM5A-1, echo=FALSE, fig.cap="Conceptual model schematic of the 0D ‘bucket’ by Yasmina Elshafei and Matthew Hipsey, adapted from Farmer et al. (2003). Note that $R_g$ and deep groundwater store $S_{gw}$ are depicted here as an optional extension and not included in the exercise.", out.width = '90%', out.extra='data-action="zoom"'}
knitr::include_graphics("images/module5a/picture1.png")
```
</center>
### Module resources {#M5A_22 .unnumbered}
Download the Excel spreadsheet for this module by clicking the download button in the tool bar <i class="fa fa-download" aria-hidden="true"></i>.
````{=html}
<!---
```{block2, hintM5A_5, type='rmdnote2'}
You can use either Excel or R for this module.
<br>
*Update 26-Aug : Note the R is temporarilly out of date, so please use Excel*
```
--->
````
### Water Balance Model {#M5A_4 .unnumbered}
```{=html}
<!---
Open the spreadsheet or RStudio project. Make sure that there are three sections in each: Inputs, Equations and Plotting. Draw your own version of the diagram above, label all of the variables and note the storage, evaporation and flows.
--->
```
Open the spreadsheet and familiarise yourself with the different sheets: **CLIMATE**, **WATER BALANCE**, **PHOSPHOROUS**, and **SCENARIOS**. Draw your own version of the diagram above, label all of the variables and note the storage, evaporation and flows.
#### 1. Date {#M5A_5 .unnumbered}
Have a quick look at the date.
In Excel, the date takes the first four columns of the **WATER BALANCE** sheet. Note that the dates increment with each row.
```{=html}
<!---
In RStudio, there is a section in the Inputs script called `#DATE`. Run the section line by line and you
will learn how to make dates. Then delete the comments at the end of the section.
--->
```
#### 2. Climate {#M5A_6 .unnumbered}
Navigate to the **CLIMATE** sheet. As boundary conditions, we have a precipitation dataset, and a function (Equation \@ref(eq:module5a-23)) to simulate *potential* evaporation (Figure \@ref(fig:plotM5A-1)).
In Excel, the precipitation is in a column and has a value for every day. The potential evaporation is harder to get hold of. So we use a sine wave function, $sin()$, that takes an annual potential evaporation rate (e.g. 1.5m/yr) and makes a daily potential evaporation value that increases during summer and decrease in winter. Inspect, then copy this formula down the page.
```{=html}
<!---
In RStudio, the rainfall is given by a text file ’Precipitation.txt’. You will have to download this text file, tell RStudio the location where you have saved the data, and then load the data into your project. Finally, in the equations, you can convert the precipitation dataset into a matrix.
The parameters for the potential evaporation function are in Inputs, and the equation is in the Equations script. Look for the `#CLIMATE FORCING` sections.
--->
```
**Calculating Daily** $e_p$ : Daily potential evaporation will be calculated using a sine wave, as follows:
<center>\begin{equation}
e_{p(\text{daily})}=\ \frac{e_{p(\text{annual})}}{365}\left[1+A\ \textbf{sin}\left\{B\left(m-1\right)+d\right\}+C\right]\
(\#eq:module5a-23)
\end{equation}-23) \\end{equation}</center>
where, $A_{sin}$ is the height of the sine wave (i.e. maximum less minimum value), $B$ is the frequency of the sine wave, $C$ is the minimum $e_{p(\text{daily})}$ (i.e. in mid-winter), $d$ is the day of the month, and $m$ is the month number.
<center>
```{r plotM5A-1, fig.cap="Potential evaporation sine wave function over time.", echo=FALSE, message=FALSE, warning=FALSE, out.width='80%',out.height='80%'}
library(ggplot2)
library(lubridate)
library(plotly)
library(dplyr)
evap <- read.csv("data/module5a/evap.csv")
evap$Date <- as.Date(evap$Date)
plot <- ggplot(data = evap, aes(x = Date, y = Evaporation)) +
geom_line(colour = "#3182bd", size = 1.2) + xlab("Time (years)") + ylab("Potential evaporation (m day<sup>-1</sup>)") +
theme_bw()
ggplotly(plot) %>%
config(displaylogo = FALSE)
```
</center>
#### 3. Storages {#M5A_7 .unnumbered}
Start by copying your precipitation ($P$) and potential evaporation values from your **CLIMATE** sheet to your **WATER BALANCE - 5a** sheet. Next, type in the forumulas for storage using the equations given in the [Equations](#M5A_12) section of this module. Take a look at $S_{tot}$ (Equation \@ref(eq:module5a-4)) which is the total water in the two stores, $S_{sat}$ and $S_{us}$.
Note that there are two variables that have a prime ($\prime$) sign. These are interim storage values estimated so that we can use them for our IF statements to check for whether runoff or percolation should occur..
````{=html}
<!---
```{block2, hintM5A_1, type='rmdtip2'}
You may have to convert between storage volumes (m^3^) and heights (m) by multiplying or dividing by area (m^2^).
```
--->
````
In Excel, there is an initial condition in a box given for you at time step 0. Your equations will start at time step 1. Your whole set of equations will not be finished until you have also completed the evaporation and flows, but you have to start somewhere.
```{=html}
<!---
In RStudio, the initial condition is given in the `Inputs` section with the square brackets and the `[1]` (time step 1) and the loop starts at time step 2. For the equations, use the sequence that is given. The code reads from top to bottom so it is important that if a variable is referred to in an equation, it must already have been calculated in a previous line of code. Pay careful attention to the indices for $t$ and $t-1$.
--->
```
```{block2, hintM5A_2, type='rmdtip2'}
In Excel, the timestep advances as you go down the page. The notation $t$ could refer to any timestep, with $t-1$ simply being the timestep before $t$, and $t+1$ being the timestep after $t$.
If an equation is written entirely in terms of $t+1$ (e.g. $X^{t+1}= Y^{t+1}+Z^{t+1}$), it can be simplified to be written just in terms of $t$ (e.g. $X^{t}= Y^{t}+Z^{t}$). This is because $t$ is arbitrary and we're just referring to the same timestep for the entire equation.
<center>
![](images/module5a/picture4.png){width=60%}
</center>
```
#### 4. Actual evapotranspiration {#M5A_8 .unnumbered}
Type in the evapotranspiration equations. Use the previous time step storage values to calculate these.
We are computing the water evaporating from trees tapping into groundwater ($e_v$) and from the unsaturated zone ($e_{bs}$ and $e_{ag}$)
#### 5. Flows {#M5A_9 .unnumbered}
Type in the flow equations, baseflow, infiltration excess runoff and runoff that occurs when the bucket is full.
#### 6. Plots {#M5A_10 .unnumbered}
When you have finished filling in all the columns, create some plots to explore the model. Consider a stacked-area plot of the two stores ($S_{sat}$ and $S_{us}$), and the evaporation components. Look at the fluxes like percolation and baseflow.
Play with the parameters and see what happens.
### Notation {#M5A_11 .unnumbered}
::: {.panelset .sideways}
::: panel
[Forcing/Limiting Variables]{.panel-name}
$P$ = precipitation (m/d)
$e_p$ = potential evaporation (m/d)
$A_c$ = catchment area (m^2^)
:::
::: panel
[Storage Variables]{.panel-name}
$S_{(t)}$ = total volume of water stored in catchment at time $t$ (m^3^)
$S_{max}$ = maximum storage capacity of bucket/ catchment (m^3^)
$S_{fc}$ = threshold storage i.e. storage at field capacity (m^3^)
$S_{us}$ = water storage in unsaturated zone (m^3^)
$S_{sat}$ = water storage in saturated zone (m^3^)
$S_{gw}$ = water storage in deep store (m^3^)
$f_c$ = threshold storage parameter i.e. 0 \< $f_c$ \< 1 (dimensionless)
$\theta_{fc}$ = field capacity (dimensionless)
$\theta_{pwp}$ = permanent wilting point (dimensionless)
$\varphi$ = porosity (dimensionless)
$D$ = soil depth from bottom (m)
$D_{ebs}$ = effective depth of influence from the bottom of the saturated zone for bare soil evaporation (m)
$D_{eag}$ = effective depth of influence from the bottom of the saturated zone for agricultural crop evaporation (m)
$S_{us(fc)}$ = current unsaturated zone field capacity (m^3^)
:::
::: panel
[ET Variables/Fluxes]{.panel-name}
$e_t$ = total evapotranspiration at time $t$ (m/d)
$e_v$ = transpiration (m/d)
$e_{v(sat)}$, $e_{v(us)}$ = transpiration of deep rooted vegetation from saturated and unsaturated zone, respectively (m/d)
$e_{bs}$ = bare soil evaporation (m/d)
$e_{bs(sat)}$ , $e_{bs(us)}$ = bare soil evaporation from saturated and unsaturated zone, respectively (m/d)
$e_{ag}$ = agricultural crop evapotranspiration (m/d)
$LAI$ = leaf area index (dimensionless)
$M$ = % of catchment covered by deep rooted vegetation (dimensionless)
$C$ = % of catchment covered by shallow rooted agricultural crops (dimensionless)
$k_v$ = vegetation transpiration efficiency (dimensionless)
$K_s$ = saturated hydraulic conductivity (dimensionless)
$\alpha_{ebs}$ = bare soil evaporation scaling factor (dimensionless)
$\alpha_{eag}$ = agriculture evaporation scaling factor (dimensionless)
:::
::: panel
[Flow Variables/Fluxes]{.panel-name}
$Q_t$ = total runoff at time $t$ (m/d)
$Q_{se}$ = saturation excess surface runoff (m/d)
$Q_{ss}$ = subsurface runoff (m/d)
$Q_{bf}$ = base flow (m/d)
$R_p$ = daily percolation $S_{us} \rightarrow S_{sat}$ (m/d)
$R_g$ = daily recharge $S_{sat} \rightarrow S_{gw}$ (m/d)
$\alpha$, $\beta$ = recession coefficients for subsurface flow from saturated zone
$\alpha_{bf}$, $\beta_{bf}$ = recession coefficients for subsurface flow from groundwater store
:::
:::::
### Equations {#M5A_12 .unnumbered}
<center>
```{r figM5A-9, echo=FALSE, fig.cap="", out.width = '50%', out.extra='data-action="zoom"'}
knitr::include_graphics("images/module5a/picture5.png")
```
</center>
#### Maximum Storage Capacity of the Bucket/Catchment {#M5A_13 .unnumbered}
*Already completed in WATER BALANCE*
<center>\begin{equation}
S_{max}=D\left(\varphi-\ \theta_{pwp}\right) A_c
(\#eq:module5a-1)
\end{equation}</center>
The theoretical maximum storage capacity of the catchment is calculated by taking the difference between the porosity of the catchment soil (i.e. a measure of the total pore space in the soil, and hence, its ability to store water) and the permanent wilting point of the soil (the point at which volumetric water content is too low to be extracted from the soil by plants) and multiplying it by the volume of the catchment (i.e. surface area multiplied by the depth of the catchment). Note that $S_{max}$ is the sum of $S_{us}$ and $S_{sat}$, and does not include $S_{gw}$.
Note that 'plant available water' is the water content difference between field capacity and permanent wilting point of the soil at any given depth.
<center>
```{r figM5A-89, echo=FALSE, fig.cap="", out.width = '50%', out.extra='data-action="zoom"'}
knitr::include_graphics("images/module5a/picture9.png")
```
</center>
#### Threshold Storage {#M5A_14 .unnumbered}
*Already completed in WATER BALANCE*
<center>\begin{equation}
f_c=\ \left(\frac{\theta_{fc}-\ \theta_{pwp}}{\varphi-\ \theta_{pwp}}\right)
(\#eq:module5a-2)
\end{equation}</center>
Field capacity is the point at which all pore space small enough to retain water against the pull of gravity are filled (Brady and Weil, 1999). It is essentially the remaining water content of the soil after the removal of water by the downward forces of gravity over a daily time period. Field capacity therefore assumes that the water removed from the soil profile is only removed by gravity, not through plant suction or evaporation. The above formula calculates the threshold storage parameter as the proportion of 'plant available water' over storage capacity of the soil at any given depth.
<center>\begin{equation}
S_{fc}=\ S_{max} f_c
(\#eq:module5a-3)
\end{equation}</center>
The volumetric water storage at field capacity is therefore the theoretical maximum storage capacity of the catchment multiplied (or limited by) the threshold storage parameter (which is ≤ 1).
#### Water Table Depth {#M5A_23 .unnumbered}
The water table depth is calculated with the following equation:
<center>\begin{equation}
WT^{t}= \frac{S_{sat}^{t}}{A_{c}\varphi}
(\#eq:module5a-28)
\end{equation}</center>
#### Water Balance {#M5A_15 .unnumbered}
<center>
```{r figM5A-6, echo=FALSE, fig.cap="", out.width = '50%', out.extra='data-action="zoom"'}
knitr::include_graphics("images/module5a/picture6.png")
```
</center>
<center>\begin{equation}
S_{tot}^{t+1}= S_{tot}^{t}+(P^{t+1}- e_{tot}^{t+1})A_{c} - Q_{tot}^{t+1}
(\#eq:module5a-4)
\end{equation}</center>
<center>\begin{equation}
\color{grey}{S_{tot}^{t+1\prime}}= S_{tot}^{t}+ (P^{t+1}*A_{c})
(\#eq:module5a-99)
\end{equation}</center>
Water storage at any given time step, $t$, is calculated using the previous time step's water storage as a starting point ($t$). Inflows and outflows of water from the system/ bucket are then incorporated to obtain the next consecutive value of $S$. Precipitation recorded in the current time step (inflow) is added to the initial storage value, whilst total evapotranspiration and total runoff (outflows) are both subtracted. Total water storage is made up of water stored in the saturated and unsaturated zones. Note that the initial value of $S_{tot}$ may be empirically determined or assumed to be a certain value. The initial value of $S_{sat}$ is taken to be $D$ less than the depth from the surface to the water table, which can be measured.
<center>\begin{equation}
S_{us}^{t+1}=\ \color{grey}{S_{tot}^{t+1^\prime}}-\ S_{sat}^{t+1}
(\#eq:module5a-5)
\end{equation} \begin{equation}
S_{us(fc)}^{t+1}=\ f_c\left(S_{max}-\ S_{sat}^t\right)
(\#eq:module5a-6)
\end{equation}</center>
Threshold storage in the unsaturated zone is simply the maximum potential storage capacity in the unsaturated zone multiplied (limited) by the threshold storage parameter.
<center>\begin{equation}
S_{us}^{t+1\prime}=\ S_{us}^{t} + P^{t+1} \times\ A_{c}
(\#eq:module5a-8b)
\end{equation}</center>
```{=html}
<!---
<center>
\begin{equation}
\color{grey}{S_{us}^{t+1^\prime}}=\ S_{us}^t+\ P^{t+1} A_{c}
(\#eq:module5a-7)
\end{equation}
\begin{equation}
\color{red}{\text{if}}\ \ \ \color{grey}{S_{us}^{{t+1}^\prime}}>\ S_{us(fc)}^{t+1} \ \color{red}{\text{ then }} \ R_p^{t+1}=\ \color{grey}{S_{us}^{{t+1}^\prime}}-\ S_{us(fc)}^{t+1}
(\#eq:module5a-8)
\end{equation}
</center>
--->
```
<center>\begin{equation}
R_{p}^{t+1} = \left\{\begin{matrix} \color{grey}{S_{us}^{t+1^\prime}}-S_{us(fc)}^{t+1},\ \ &\color{grey}{S_{us}^{{t+1}^\prime}}>\ S_{us(fc)}^{t+1}
\\ 0,\ \ &S_{us(fc)}^{t+1} \ge \color{grey}{S_{us}^{{t+1}^\prime}}
\end{matrix}\right.
(\#eq:module5a-8)
\end{equation}</center>
```{block2, hintM5A_3, type='rmdtip2'}
Equation \@ref(eq:module5a-8) is an IF Statement.
```
The daily recharge rate from the unsaturated zone to the saturated zone is calculated as water storage in the unsaturated zone at the present time step, in addition to any new precipitation that has occurred, minus the threshold storage of the unsaturated zone (i.e. water which does not drain due to the downward forces of gravity alone). Recharge of this nature only occurs in the event that the combination of precipitation at the current time step, and water storage in the unsaturated zone, is greater than the threshold field capacity of the unsaturated zone.
<center>\begin{equation}
S_{sat}^{t+1}=\ S_{sat}^t+\ R_p^{t+1}-\ Q_{ss}^{t+1}-\ e_{v}^{t+1}A_{c}
(\#eq:module5a-9)
\end{equation}</center>
Note the use of "$t+1$" on the Right Hand Side for $R$, $Q$ and $e$ will be on the same row since they are computed based on yesterday's $S$.
The balance of volumetric water storage in the saturated zone is therefore calculated as the previous period's storage plus any recharge from the unsaturated zone, minus outflows including recharge to groundwater, subsurface runoff, and total evapotranspiration (bare soil, deep rooted vegetation and agricultural crop) from the saturated zone.
<!-- Optional Deep Ground Water Store: -->
<!-- <center> -->
<!-- \begin{equation} -->
<!-- R_g^{t+1}=\ K_s{S}_{sat}^t -->
<!-- (\#eq:module5a-10) -->
<!-- \end{equation} -->
<!-- </center> -->
<!-- Daily recharge to groundwater is calculated as the saturated hydraulic conductivity multiplied by the present water storage in the saturated zone. -->
<!-- <center> -->
<!-- \begin{equation} -->
<!-- S_{gw}^{t+1}=\ S_{gw}^t+\ R_g^{t+1}-\ Q_{bf}^{t+1}\ -->
<!-- (\#eq:module5a-11) -->
<!-- \end{equation} -->
<!-- </center> -->
<!-- The balance of volumetric groundwater storage is calculated as the previous period’s storage plus recharge from the saturated zone less base flow out of the catchment. -->
<!-- <center> -->
<!-- \begin{equation} -->
<!-- Q_{bf}^{t+1}= \alpha_{bf} (\frac{S_{gw}^t}{S_{gw\ max}})^{\beta_{bf}} -->
<!-- (\#eq:module5a-27) -->
<!-- \end{equation} -->
<!-- </center> -->
<!-- Base flow is treated for our purposes as a nonlinear function using groundwater storage. -->
#### Total Evapo-transpiration {#M5A_16 .unnumbered}
<center>
```{r figM5A-8, echo=FALSE, fig.cap="", out.width = '50%', out.extra='data-action="zoom"'}
knitr::include_graphics("images/module5a/picture7.png")
```
</center>
<center>\begin{equation}
e_{tot}^t=\ e_v^t+\ e_{bs}^t+\ e_{ag}^t
(\#eq:module5a-12)
\end{equation}</center>
Total evapotranspiration (ET) of the system is the sum of ET from deep rooted native vegetation, bare soil and agricultural crops in the catchment.
Native vegetation ET is calculated as follows.
Simple form:
<center>\begin{equation}
e_v^{t+1}= M \frac{S_{tot}^t}{S_{max}} k_v e_p^{t+1}
(\#eq:module5a-13)
\end{equation}</center>
<!-- More complex form attempts to scale based on water availability in the unsaturated zone and the height of the water table: -->
<!-- <center> -->
<!-- \begin{equation} -->
<!-- e_v = \left\{\begin{matrix} Mk_{v}e_{p},\phantom{-}\phantom{-}\phantom{-} S_{sat}>\varphi D_{ebs}S_{us}^\prime>S_{us(fc)} -->
<!-- \\ Mk_v\frac{S_{us}^\prime}{S_{fc}}e_p, \phantom{-}\phantom{-}\phantom{-}\phantom{-}\phantom{-}\phantom{-}\phantom{-} S_{us}^\prime\ <\ S_{us(fc)} -->
<!-- \end{matrix}\right. -->
<!-- (\#eq:module5a-14) -->
<!-- \end{equation} -->
<!-- </center> -->
<!-- If water storage in the unsaturated zone combined with precipitation during the period is greater than the field capacity storage threshold of the unsaturated zone and water storage in the saturated zone is greater than the water storage capacity in the bare soil zone of influence, then the % vegetation cover within the catchment is multiplied by the transpiration efficiency of the vegetation (a function of LAI), the result of which is then multiplied by the potential ET. -->
<!-- To the extent that water storage in the unsaturated zone combined with precipitation during the period is less than field capacity storage in the unsaturated zone, the preceding equation is further multiplied by the proportion of water stored in the unsaturated zone (plus precipitation in the period) over the field capacity threshold of the catchment (i.e. a fraction that will always be <1). -->
<!-- <center> -->
<!-- \begin{equation} -->
<!-- e_{v(sat)}=\ \frac{S_{sat}}{S_t}e_v -->
<!-- (\#eq:module5a-15) -->
<!-- \end{equation} -->
<!-- </center> -->
<!-- In cases where the first condition in equation (12) is satisfied, equation (13) may be applied to calculate the proportion of ET emanating from the saturated zone. ET drawn from the saturated zone by deep rooted vegetation is calculated as the proportion of water storage in the saturated zone over the total catchment water storage, multiplied by total deep rooted vegetation ET from equation (12). This function could also be made non-linear if desired. -->
<!-- The conditional rules applying to equations (12), (15), (16), (18) and (19) are expressed diagrammatically below, where $D_{ebs}$ is interchangeable with $D_{eag}$ for the purposes of the illustration. -->
<!-- <center> -->
<!-- ```{r module5a-3, echo=FALSE, fig.cap="If $S_{sat} > \\varphi D_{ebs}$.", out.width = '30%'} -->
<!-- knitr::include_graphics("images/06-module5a/picture2.png") -->
<!-- ``` -->
<!-- </center> -->
<!-- <center> -->
<!-- ```{r module5a-4, echo=FALSE, fig.cap="If $S_{sat} < \\varphi D_{ebs}$.", out.width = '30%'} -->
<!-- knitr::include_graphics("images/06-module5a/picture3.png") -->
<!-- ``` -->
<!-- </center> -->
<!-- <br> -->
<!-- <center> -->
<!-- \begin{equation} -->
<!-- e_{v(us)}=\ e_v-\ e_{v(sat)} -->
<!-- (\#eq:module5a-16) -->
<!-- \end{equation} -->
<!-- </center> -->
#### Agricultural/Shallow Root Crop Evapotranspiration {#M5A_17 .unnumbered}
For evapotranspiration by agricultural crops, we make the assumption that they can draw water from the unsaturated zone only, thus:
<!-- <center> -->
<!-- \begin{equation} -->
<!-- e_{ag} = \left\{\begin{matrix} C\alpha_{eag}\left[\frac{S_{us}}{S_{max}-\ S_{sat}}\right]e_p,\ \ &S_{sat}<\varphi D_{eag} -->
<!-- \\C\alpha_{eag}\left[\frac{S_{us}+\ \left(S_{sat}-\ \varphi D_{eag}\right)}{S_{sat}-\ \varphi D_{eag}}\right]e_p,\ \ &S_{sat}\geq\varphi D_{eag} -->
<!-- \end{matrix}\right. -->
<!-- (\#eq:module5a-17) -->
<!-- \end{equation} -->
<!-- </center> -->
<!-- In the first case, the water table is below the maximum depth of influence of agricultural crops, and total $e_{ag}$ is thus assumed to come from the unsaturated zone. Whereas in the second case, the water table is above the maximum depth of influence, meaning that $e_{ag}$ will be drawn partially from both the saturated and unsaturated zones. -->
<!-- In the first case therefore, $e_{ag}$ is calculated as the % of agricultural crop cover in the catchment, multiplied by the agricultural scaling factor (effectively an efficiency parameter), multiplied by the fraction of water stored in the unsaturated zone over the maximum potential water storage within that zone (a limiting variable), multiplied by the potential ET. -->
<!-- In the second case, the fraction is amended to be the sum of the water stored in both the saturated and unsaturated zones within the depth of influence over the proportion that falls below the water table. -->
<!-- <center> -->
<!-- \begin{equation} -->
<!-- e_{ag}^{t+1}=\ \left[\frac{S_{sat}-\ \varphi D_{eag}}{S_{us}+\ (S_{sat}-\ \varphi D_{eag})}\right]e_{ag},\ \ if\ S_{sat}\geq\varphi D_{eag} -->
<!-- (\#eq:module5a-18) -->
<!-- \end{equation} -->
<!-- </center> -->
<!-- The amount of ET that is drawn from the saturated zone is calculated as total ET due to agricultural crops multiplied by the proportion of water stored in the saturated zone within the depth of influence of agricultural crops. -->
<center>\begin{equation}
e_{ag}^{t+1}=C \alpha_{eag}[\frac{S_{us}^t}{S_{max}-S_{sat}^t}]e_{p}^{t+1}
(\#eq:module5a-19)
\end{equation}</center>
#### Bare Soil Evaporation {#M5A_18 .unnumbered}
<center>\begin{equation}
e_{bs}^{t+1} = \left\{\begin{matrix} (1-M-C)e_p^{t+1},\ \ &S_{sat}^t\geq\varphi D_{ebs} A_c
\\ (1-M-C)\left[\frac{S_{us}^{t}}{S_{max} - S_{sat}^t}\right]e_p^{t+1},\ \ &S_{sat}^t<\varphi D_{ebs} A_c
\end{matrix}\right.
(\#eq:module5a-20)
\end{equation}</center>
```{block2, hintM5A_4, type='rmdtip2'}
This is an IF statement. In Excel split this equation up into the ‘TRUE’ and ‘FALSE’ columns.
```
<!-- The bare soil evaporation equations are identical to the agricultural crop ET equations in spirit. -->
<!-- <center> -->
<!-- \begin{equation} -->
<!-- e_{bs(sat)}=\ \left[\frac{S_{sat}-\ \varphi D_{ebs}}{S_{us}+\ (S_{sat}-\ \varphi D_{ebs})}\right]e_{bs},\ \ if\ S_{sat}\geq\varphi D_{ebs} -->
<!-- (\#eq:module5a-21) -->
<!-- \end{equation} -->
<!-- \begin{equation} -->
<!-- e_{bs(us)}=\ e_{bs}-\ e_{bs(sat)} -->
<!-- (\#eq:module5a-22) -->
<!-- \end{equation} -->
<!-- </center> -->
#### Flows {#M5A_20 .unnumbered}
<center>
```{r figM5A-5, echo=FALSE, fig.cap="", out.width = '50%', out.extra='data-action="zoom"'}
knitr::include_graphics("images/module5a/picture8.png")
```
</center>
<center>\begin{equation}
Q_{tot}^t = Q_{se}^t + Q_{ie}^t + Q_{ss}^t
(\#eq:module5a-29)
\end{equation}</center>
Total runoff of the system is the sum of saturation excess, infiltration excess, subsurface runoff, and (optional) base flow.
<center>\begin{equation}
Q_{se}^t = \left\{\begin{matrix} \color{grey}{{S}_{tot}^{t \prime}}-\ S_{max},\ \ &\color{grey}{{S}_{tot}^{t \prime}}>S_{max}
\\ 0,\ \ &\color{grey}{{S}_{tot}^{t \prime}}\le S_{max}
\end{matrix}\right.
(\#eq:module5a-24)
\end{equation}</center>
Saturation excess is simply taken as being zero to the extent that water storage in the bucket/ catchment is less than maximum storage capacity. In the event that total water storage exceeds maximum capacity however, any excess is taken to be surface runoff.
<center>\begin{equation}
Q_{ie}^t = \left\{\begin{matrix} (P^t-I_{max})A_c,\ \ &{P^t}> I_{max}
\\ 0,\ \ &{P^t}\le I_{max}
\end{matrix}\right.
(\#eq:module5a-25)
\end{equation}</center>
Subsurface flow:
<center>\begin{equation}
Q_{ss}^{t+1} = \left\{\begin{matrix} 0,\ \ &S_{sat}^{t}\le S_{usfc}^{t+1}
\\ \alpha_{s}\frac{S_{sat}^t}{S_{max}}\ \ &S_{usfc}^{t+1} <\ S_{sat}^t
\end{matrix}\right.
(\#eq:module5a-26)
\end{equation}</center>
<!-- Where $S_{fc}$ is $S_{max}fc$. -->
Subsurface runoff is taken to be zero in cases where the total water storage is less than field capacity threshold (i.e. thus will not drain due solely to the forces of gravity). In the event that total storage in the bucket/ catchment is greater than threshold storage and less than maximum storage capacity, subsurface runoff is taken as a nonlinear function using the excess above threshold storage and the assigned recession coefficients.
## Submission {#M5A_21 .unnumbered}
::: redbox2
**Submit properly formatted graphs and tables of the following sections of the lab:**
1) Clear photograph or page scan of your hand drawn conceptual model of the Catchment system (may be combined with the 5b catchment model).
2) Stacked area plot of water storage over time
3) Plot of $Q_{ie}$ (infiltration excess runoff) and precipitation (on a secondary axis) over time
4) Plot of $Q_{ss}$(subsurface runoff) and precipitation (on a secondary axis) over time
5) Stacked area plot of $e_{v}$, $e_{bs}$, $e_{ag}$ (i.e. total evaporation) over time.
**In less than 100 words write an answer to:**
6) What is the general trend of rainfall over the long term?
7) What is the general trend of storage over the long term? Why does the storage vary over the short term?
8) Which flow mechanism contributes the most to the stream?
9) What is the dominant ET flux?
These are to be uploaded as per the formatting specified in the [Style Guide](#StyleGuide). Marks will be deducted for incorrect formatting.
```{=html}
<!--
These are in PDF format. No screenshots of figures from Excel/Excel spreadsheets to be uploaded
**General professional formatting guidelines:**
- All figures are to have adequate captions explaining them
- For graphs, figure captions go below the plot
- For tables, the caption goes above the table
- Make sure figures and their text size is readable
**Excel hints:**
- When there is a caption for a plot, you remove the title
- Remove the plot border and gridlines
- Make sure both axes have visible lines and tick marks
- Units need to be noted properly with the axis label - 'Temperature (°C)'
- Round numbers to be reasonable
-->
```
:::