airgr rainfall-runoff modelling r-package - inclusion of ... · airgr rainfall-runoff modelling...

21
airGR rainfall-runoff modelling R-package airGR rainfall-runoff modelling R-package Inclusion of an interception store in the GR5H hourly model Guillaume Thirel, Olivier Delaigue & Andrea Ficchì INRAE HYCAR Research Unit HYDRO EGU-2020 – © INRAE. All rights reserved [email protected] Interception store in the GR5H hourly model 1 | 16

Upload: others

Post on 11-Jul-2020

9 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: airGR rainfall-runoff modelling R-package - Inclusion of ... · airGR rainfall-runoff modelling R-package - Inclusion of an interception store in the GR5H hourly model Author Guillaume

airGR rainfall-runoff modelling R-package

airGR rainfall-runoff modelling R-packageInclusion of an interception store in the GR5H hourly model

Guillaume Thirel, Olivier Delaigue & Andrea Ficchì

INRAEHYCAR Research Unit

HYDRO

EGU-2020 – © INRAE. All rights reserved [email protected] Interception store in the GR5H hourly model 1 | 16

Page 2: airGR rainfall-runoff modelling R-package - Inclusion of ... · airGR rainfall-runoff modelling R-package - Inclusion of an interception store in the GR5H hourly model Author Guillaume

airGR rainfall-runoff modelling R-package

Table of contents

1 Introduction

2 Package features

3 New GR5H model

4 Go further

5 References

EGU-2020 – © INRAE. All rights reserved [email protected] Interception store in the GR5H hourly model 2 | 16

Page 3: airGR rainfall-runoff modelling R-package - Inclusion of ... · airGR rainfall-runoff modelling R-package - Inclusion of an interception store in the GR5H hourly model Author Guillaume

airGR rainfall-runoff modelling R-packageIntroduction

Table of contents

1 Introduction

2 Package features

3 New GR5H model

4 Go further

5 References

EGU-2020 – © INRAE. All rights reserved [email protected] Interception store in the GR5H hourly model 2 | 16

Page 4: airGR rainfall-runoff modelling R-package - Inclusion of ... · airGR rainfall-runoff modelling R-package - Inclusion of an interception store in the GR5H hourly model Author Guillaume

airGR rainfall-runoff modelling R-packageIntroduction

Overview

GR is a family of lumped hydrological modelsdesigned for streamflow simulation at varioustime steps

The models are freely available in an R-packagecalled airGR (Coron et al., 2017, 2020)

The models can easily be implemented on a setof catchments with limited data requirements

air

Routingstore

X4

0.9 0.1

UH1 UH2

2·X4

Qr Qd

Q

X3

X1

Q1Q9

R1 F(X2) F(X2)

Productionstore

Interception

S

Ps Pn− PsEs

En Pn

E P

Perc Pr

GR4J model diagram

EGU-2020 – © INRAE. All rights reserved [email protected] Interception store in the GR5H hourly model 3 | 16

Page 5: airGR rainfall-runoff modelling R-package - Inclusion of ... · airGR rainfall-runoff modelling R-package - Inclusion of an interception store in the GR5H hourly model Author Guillaume

airGR rainfall-runoff modelling R-packageIntroduction

Overview

air

The airGR package

Package for the languageFreely available on the Comprehensive Archive Networkhttps://CRAN.R-project.org/package=airGR

The GR hydrological models

Designed with the objective to be as efficient as possible for streamflowsimulation at various time steps (from hourly to interannual)Warranted complexity structures and limited data requirementsCan be applied on a wide range of conditions, including snowy catchments(CemaNeige snow routine included)

EGU-2020 – © INRAE. All rights reserved [email protected] Interception store in the GR5H hourly model 4 | 16

Page 6: airGR rainfall-runoff modelling R-package - Inclusion of ... · airGR rainfall-runoff modelling R-package - Inclusion of an interception store in the GR5H hourly model Author Guillaume

airGR rainfall-runoff modelling R-packageIntroduction

New features

New features since EGU-2019New GR5H model (cf. Ficchi et al., 2019):I new model structure with interception store for improved consistency and

performanceI can be coupled with the CemaNeige snow moduleI new Imax() function allowing to estimate the maximum capacity of the

interception storeThe GR4H model can be coupled with CemaNeigeThe plot() function now allows to display new time series:I actual evapotranspirationI streamflow error

The CreateInputsCrit() function allows new streamflowtransformations:I power (negative or positive)I Box-Cox

A DOI allows to identify the package manual(in addition of the scientific article)

EGU-2020 – © INRAE. All rights reserved [email protected] Interception store in the GR5H hourly model 5 | 16

Page 7: airGR rainfall-runoff modelling R-package - Inclusion of ... · airGR rainfall-runoff modelling R-package - Inclusion of an interception store in the GR5H hourly model Author Guillaume

airGR rainfall-runoff modelling R-packagePackage features

Table of contents

1 Introduction

2 Package features

3 New GR5H model

4 Go further

5 References

EGU-2020 – © INRAE. All rights reserved [email protected] Interception store in the GR5H hourly model 5 | 16

Page 8: airGR rainfall-runoff modelling R-package - Inclusion of ... · airGR rainfall-runoff modelling R-package - Inclusion of an interception store in the GR5H hourly model Author Guillaume

airGR rainfall-runoff modelling R-packagePackage features

Main components of the airGR package

Pot. evaporation computation(from temp.-based formula)

Optimization algorithm

Calibration / Validationtesting procedure

Criteria for modelcalibration and evaluation

Outputs• Simulated streamflows time series• Internal state variables time series• Efficiency criteria (if obs. streamflow provided)• Plot diagnostics for simulation

Inputs• Required:

• Precipitation time series• Pot. evaporation time series

• Optional:• Temperature time series

(for snow module or to compute pot. evaporation)• Hypsometric curve (for snow module)• Latitude (to compute pot. evaporation) • Streamflow time series (to calibrate the model)

Hydrological models• GR4H, GR5H (hourly)• GR4J, GR5J, GR6J (daily)• GR2M (monthly)• GR1A (annual)

Snow module• CemaNeige

EGU-2020 – © INRAE. All rights reserved [email protected] Interception store in the GR5H hourly model 6 | 16

Page 9: airGR rainfall-runoff modelling R-package - Inclusion of ... · airGR rainfall-runoff modelling R-package - Inclusion of an interception store in the GR5H hourly model Author Guillaume

airGR rainfall-runoff modelling R-packageNew GR5H model

Table of contents

1 Introduction

2 Package features

3 New GR5H model

4 Go further

5 References

EGU-2020 – © INRAE. All rights reserved [email protected] Interception store in the GR5H hourly model 6 | 16

Page 10: airGR rainfall-runoff modelling R-package - Inclusion of ... · airGR rainfall-runoff modelling R-package - Inclusion of an interception store in the GR5H hourly model Author Guillaume

airGR rainfall-runoff modelling R-packageNew GR5H model

GR5H: hourly model with a new interception store

Aims

Better representation of the impact ofvegetation on evaporation fluxesImproved model showed a betterconsistency of model fluxes over time(stable water fluxes across time stepsrespecting mass conservation)Finer representation of the interceptionprocesses at the hourly time stepHigher model performance proved overa wide range of catchments withparticularly improved bias, especiallyover high flowsModel parameters become more robustand stable (across time steps) as theflux-matching condition is satisfied

EGU-2020 – © INRAE. All rights reserved [email protected] Interception store in the GR5H hourly model 7 | 16

Page 11: airGR rainfall-runoff modelling R-package - Inclusion of ... · airGR rainfall-runoff modelling R-package - Inclusion of an interception store in the GR5H hourly model Author Guillaume

airGR rainfall-runoff modelling R-packageNew GR5H model

Hands-on in : inputs preparation

## package loadinglibrary(airGR)

## load of catchment datadata(L0123003)

## preparation of the InputsModel objectInputsModel <- CreateInputsModel(FUN_MOD = RunModel_GR5H,

DatesR = BasinObs$DatesR,Precip = BasinObs$P,PotEvap = BasinObs$E)

## run period selectionInd_Run <- seq(which(format(BasinObs$DatesR, format = "%Y-%m-%d %H")=="2006-01-01 00"),

which(format(BasinObs$DatesR, format = "%Y-%m-%d %H")=="2007-12-31 23"))

EGU-2020 – © INRAE. All rights reserved [email protected] Interception store in the GR5H hourly model 8 | 16

Page 12: airGR rainfall-runoff modelling R-package - Inclusion of ... · airGR rainfall-runoff modelling R-package - Inclusion of an interception store in the GR5H hourly model Author Guillaume

airGR rainfall-runoff modelling R-packageNew GR5H model

Hands-on in : run options

Imax

It represents the maximum capacity of the interception storeIts value is adjusted to match the fluxes simulated by the GR4J daily model(neutralisation of precipitation and potential evapotranspiration)

## Imax computationImax <- Imax(InputsModel = InputsModel,

IndPeriod_Run = Ind_Run,TestedValues = seq(from = 0, to = 3, by = 0.2))

## preparation of the RunOptions objectRunOptions <- CreateRunOptions(FUN_MOD = RunModel_GR5H,

InputsModel = InputsModel,IndPeriod_Run = Ind_Run,Imax = Imax)

EGU-2020 – © INRAE. All rights reserved [email protected] Interception store in the GR5H hourly model 9 | 16

Page 13: airGR rainfall-runoff modelling R-package - Inclusion of ... · airGR rainfall-runoff modelling R-package - Inclusion of an interception store in the GR5H hourly model Author Guillaume

airGR rainfall-runoff modelling R-packageNew GR5H model

Hands-on in : simulation

## parameter set (can come from an automatic calibration)Param <- c(X1 = 706.912, X2 = -0.163, X3 = 188.880, X4 = 2.575, X5 = 0.104)

## simulationOutputsModel <- RunModel_GR5H(InputsModel = InputsModel,

RunOptions = RunOptions,Param = Param)

EGU-2020 – © INRAE. All rights reserved [email protected] Interception store in the GR5H hourly model 10 | 16

Page 14: airGR rainfall-runoff modelling R-package - Inclusion of ... · airGR rainfall-runoff modelling R-package - Inclusion of an interception store in the GR5H hourly model Author Guillaume

airGR rainfall-runoff modelling R-packageNew GR5H model

Hands-on in : graphical assessment of the results

## results previewplot(OutputsModel, Qobs = BasinObs$Qmm[Ind_Run], which = "all")

2515

50

prec

ip. [

mm

/h]

01/2006 01/2007

pot.actu.

00.

20.

40.

6

evap

. [m

m/h

]

01/2006 01/2007

01

23

45

flow

[mm

/h]

01/2006 01/2007

observedsimulated

−1.

5−

0.5

0.5

flow

err

or [m

m/h

]

01/2006 01/2007

300

0

Jan Apr Jun Sep Dec

010

020

0

30−days rolling mean

prec

ip. &

flow

[mm

/mon

th]

0 0.2 0.4 0.6 0.8 1

non−exceedance prob. [−]

0.01

0.1

15

flow

[mm

/h]

observedsimulated

log scale

0.01 0.05 0.2 1 5

0.01

0.1

15

observed flow [mm/h]

sim

ulat

ed fl

ow [m

m/h

]

log scale

EGU-2020 – © INRAE. All rights reserved [email protected] Interception store in the GR5H hourly model 11 | 16

Page 15: airGR rainfall-runoff modelling R-package - Inclusion of ... · airGR rainfall-runoff modelling R-package - Inclusion of an interception store in the GR5H hourly model Author Guillaume

airGR rainfall-runoff modelling R-packageNew GR5H model

Hands-on in : numerical assessment of the results

## efficiency criterion preparationInputsCrit <- CreateInputsCrit(FUN_CRIT = ErrorCrit_NSE,

InputsModel = InputsModel,RunOptions = RunOptions,Obs = BasinObs$Qmm[Ind_Run])

## efficiency criterion computationOutputsCrit <- ErrorCrit_KGE(InputsCrit = InputsCrit,

OutputsModel = OutputsModel)## Crit. KGE[Q] = 0.8386## SubCrit. KGE[Q] cor(sim, obs, "pearson") = 0.9505## SubCrit. KGE[Q] sd(sim)/sd(obs) = 0.8748## SubCrit. KGE[Q] mean(sim)/mean(obs) = 0.9110

EGU-2020 – © INRAE. All rights reserved [email protected] Interception store in the GR5H hourly model 12 | 16

Page 16: airGR rainfall-runoff modelling R-package - Inclusion of ... · airGR rainfall-runoff modelling R-package - Inclusion of an interception store in the GR5H hourly model Author Guillaume

airGR rainfall-runoff modelling R-packageGo further

Table of contents

1 Introduction

2 Package features

3 New GR5H model

4 Go further

5 References

EGU-2020 – © INRAE. All rights reserved [email protected] Interception store in the GR5H hourly model 12 | 16

Page 17: airGR rainfall-runoff modelling R-package - Inclusion of ... · airGR rainfall-runoff modelling R-package - Inclusion of an interception store in the GR5H hourly model Author Guillaume

airGR rainfall-runoff modelling R-packageGo further

Website

Tutorials & package news

https://hydrogr.github.io/airGR/

EGU-2020 – © INRAE. All rights reserved [email protected] Interception store in the GR5H hourly model 13 | 16

Page 18: airGR rainfall-runoff modelling R-package - Inclusion of ... · airGR rainfall-runoff modelling R-package - Inclusion of an interception store in the GR5H hourly model Author Guillaume

airGR rainfall-runoff modelling R-packageGo further

Version control

Software development activities (needs & bug reports)

https://gitlab.irstea.fr/HYCAR-Hydro/airGR

EGU-2020 – © INRAE. All rights reserved [email protected] Interception store in the GR5H hourly model 14 | 16

Page 19: airGR rainfall-runoff modelling R-package - Inclusion of ... · airGR rainfall-runoff modelling R-package - Inclusion of an interception store in the GR5H hourly model Author Guillaume

airGR rainfall-runoff modelling R-packageGo further

airGR & airGRteaching packages

airGRteaching airGRteaching airGR

(GUI) (code)

Working environment

Graphical user interface yes no no

Use of programming no yes (simplified) yes (advanced)

Dynamic graphics outputs yes yes no

Static graphic outputs yes yes yes

Models

Daily GR models yes yes yes

Other GR models no yes yes

External models no no yes

CemaNeige with hysteresis using SCA & SWE no no yes

Choice of initialization of internal states no no yes

Criteria and calibration

NSE and KGE criteria yes yes yes

RMSE and KGE' criteria no yes yes

Composite criteria (defined by the user) no no yes

Calculation of criteria over discontinuous periods no no yes

Freedom of parameter values no yes yes

Adaptation of the calibration options no yes (simplified) yes (advanced)

Other calibration algorithms (defined by the user) no no yes

EGU-2020 – © INRAE. All rights reserved [email protected] Interception store in the GR5H hourly model 15 | 16

Page 20: airGR rainfall-runoff modelling R-package - Inclusion of ... · airGR rainfall-runoff modelling R-package - Inclusion of an interception store in the GR5H hourly model Author Guillaume

airGR rainfall-runoff modelling R-packageReferences

Table of contents

1 Introduction

2 Package features

3 New GR5H model

4 Go further

5 References

EGU-2020 – © INRAE. All rights reserved [email protected] Interception store in the GR5H hourly model 15 | 16

Page 21: airGR rainfall-runoff modelling R-package - Inclusion of ... · airGR rainfall-runoff modelling R-package - Inclusion of an interception store in the GR5H hourly model Author Guillaume

airGR rainfall-runoff modelling R-packageReferences

airGR & GR5H references

airGR package

Coron, L., Thirel, G., Delaigue, O., Perrin, C. and Andréassian, V. (2017). TheSuite of Lumped GR Hydrological Models in an R package. EnvironmentalModelling and Software, 94, 166-171. DOI: 10.1016/j.envsoft.2017.05.002.Coron, L., Delaigue, O., Thirel, G., Perrin, C. and Michel, C. (2020). airGR:Suite of GR Hydrological Models for Precipitation-Runoff Modelling. R packageversion 1.4.3.65. URL: https://CRAN.R-project.org/package=airGR, DOI:10.15454/EX11NA.

The new GR5H model with interception store

Ficchì, A., Perrin, C., and Andréassian, V. (2019). Hydrological modelling atmultiple sub-daily time steps: model improvement via flux-matching, Journal ofHydrology, 575, 1308-1327. DOI: 10.1016/j.jhydrol.2019.05.084.

EGU-2020 – © INRAE. All rights reserved [email protected] Interception store in the GR5H hourly model 16 | 16