SWAT - atmosphere.radiation

Used constants in this module

mef_agri.models.atmosphere.radiation.model_swat.eccentricity_correction(doy)

According to [R1] (equ. 1:1.1.1)

Parameters:

doy (int) – n-th day of the year

Returns:

eccentricity correction [ ]

Return type:

float

mef_agri.models.atmosphere.radiation.model_swat.extraterrestrial_radiation(exc_corr, dayl, sd, lat)

According to [R1] (equ. 1:1.2.5)

Parameters:
  • exc_corr (float) – eccentricity correction [ ]

  • dayl (float) – daylength [h]

  • sd (float) – solar declination [rad]

  • lat (float) – site latitude [rad]

Returns:

extraterrestrial radiation \(\frac{MJ}{m^2\cdot day}\)

Return type:

float

class mef_agri.models.atmosphere.radiation.model_swat.Radiation_V2009(**kwargs)

Model to compute radiation-related quantities.

kwargs \(\rightarrow\) mef_agri.models.base.Model

albedo()

RQ - from model with id 'zone.soil.surface'

\(s_{\textrm{alb},s,k}\ [\ ]\)

Returns:

albedo at current day (considering crops)

Return type:

Requirement

daylength()

RQ - from model with id 'zone.atmosphere.daylength'

\(a_{\textrm{dl},k}\)

Returns:

daylength

Return type:

Requirement

eccentricity_correction()

MQ - Deterministic Output

\(a_{\textrm{ecorr},k}\ [\ ]\) - [R1] (equ. 1:1.1.1)

Returns:

eccentricity correction due to elliptic orbit of earth

Return type:

float

extraterrestrial_radiation()

MQ - Deterministic Output

\(a_{\textrm{exrad},k}\ [\frac{MJ}{m^2\cdot day}]\) - [R1] (equ. 1:1.2.5)

Returns:

extraterrestrial radiation (i.e. before atmosphere influence)

Return type:

float

initialize(epoch)

Get the site latitude.

Parameters:

epoch (datetime.date) – initialzation epoch

net_longwave_radiation()

MQ - Random Output

\(a_{\textrm{nlrad},k}\ [\frac{MJ}{m^2\cdot day}]\) - [R1] (equ. 1:1.2.18)

Returns:

net longwave radiation

Return type:

numpy.ndarray

net_radiation()

MQ - Random Output

\(a_{\textrm{nrad},k}\ [\frac{MJ}{m^2\cdot day}]\) - [R1] (equ. 1:1.2.11)

Returns:

daily net radiation

Return type:

numpy.ndarray

net_shortwave_radiation()

MQ - Random Output

\(a_{\textrm{nsrad},k}\ [\frac{MJ}{m^2\cdot day}]\) - [R1] (equ. 1:1.2.12)

Returns:

net shortwave radiation is a fraction of the observed daily incoming radiation

Return type:

numpy.ndarray

radiation()

RQ - from model with id 'zone.atmosphere.weather'

\(a_{\textrm{rad},k}\ [\frac{MJ}{m^2\cdot day}]\)

Returns:

observed daily incoming radiation

Return type:

Requirement

solar_declination()

RQ - from model with id 'zone.atmosphere.daylength'

\(a_{\textrm{sd},k}\ [rad]\)

Returns:

solar declination

Return type:

Requirement

temperature()

RQ - from model with id 'zone.atmosphere.weather'

\(a_{\textrm{temp},k}\ [^\circ K]\)

Returns:

mean air temperature

Return type:

Requirement

update(epoch)

The following computations are performed

Parameters:

epoch (_type_) – _description_

vapor_pressure()

RQ - from model with id 'zone.atmosphere.weather'

\(a_{\textrm{vpr},k}\ [kPa]\)

Returns:

current vapor pressure

Return type:

Requirement