SWAT - soil.layer.temperature

mef_agri.models.soil.layer.temperature.model_swat.py

class mef_agri.models.soil.layer.temperature.model_swat.Temperature_V2009(**kwargs)
damping_depth()

RQ - from model with id 'zone.soil'

\(s_{\textrm{T-dd},k}\ [mm]\)

Returns:

current damping depth of the soil

Return type:

Requirement

initialize(epoch)

Just the super call happens in this method.

Parameters:

epoch (datetime.date) – initialization epoch

layer_depth_center()

RQ - from model with id '.__parent__' (parent soil layer model)

\(s_{\textrm{lcd},i,0}\ [mm]\)

Returns:

depth of layer center

Return type:

Requirement

temp_annual()

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

\(a_{\bar{\textrm{t}}}\ [^\circ C]\)

Returns:

mean annual temperature

Return type:

Requirement

temp_surf()

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

\(s_{\textrm{T-t},s,k}\ [^\circ C]\)

Returns:

soil surface temperature

Return type:

Requirement

temperature()

MQ - State

\(s_{\textrm{T-t},i,k}\ [^\circ C]\)

Returns:

soil layer temperature

Return type:

numpy.ndarray

update(epoch)

The following computations are performed

  • computation of the depth factor - [R1] (equ. 1:1.3.4)

  • computation of the soil layer temperature - [R1] (equ. 1:1.3.3)

Parameters:

epoch (datetime.date) – current evaluation epoch