hydrobricks
Loading...
Searching...
No Matches
gr4j Namespace Reference

Functions

double Infiltration (double S, double Pn, double X1)
 
double Evaporation (double S, double En, double X1)
 
double Percolation (double S, double X1)
 

Variables

constexpr double kTanhCap = 13.0
 
constexpr double kPercDenom = 25.62890625
 

Detailed Description

Shared GR4J production-store equations (Perrin et al., 2003).

These are deterministic functions of the production store level S at the start of the time step, the net forcing (Pn or En) and the capacity X1. They are used by the discrete production process and the ET process so that both compute identical, solver-independent values within a time step.

Function Documentation

◆ Evaporation()

double gr4j::Evaporation ( double S,
double En,
double X1 )
inline

Actual evapotranspiration drawn from the production store given the net evaporative demand En.

◆ Infiltration()

double gr4j::Infiltration ( double S,
double Pn,
double X1 )
inline

Infiltration into the production store: the fraction of net precipitation Pn that fills the store.

◆ Percolation()

double gr4j::Percolation ( double S,
double X1 )
inline

Percolation leaving the production store.