Model constants#

Soil, mineral, chemical and physical constants with unit conversion.

Created on Mon Dec 16 14:34:44 2019

smew.constants.CO2_atm(conv_mol)[source]#

Atmospheric CO2.

Parameters:

conv_mol (float)

Return type:

float

smew.constants.D_0()[source]#

Soil CO2 diffusivity.

Return type:

float

smew.constants.Dw_0()[source]#

Solute diffusivity in soil water.

Return type:

float

smew.constants.plant_nutr_f()[source]#

Percentage of nutrients in plant dry matter (ideally plant dependent).

Current values are from Kelland’s (2020) measurement for sorghum.

Return type:

tuple[float, float, float, float]

smew.constants.soil_hydraulic_const(soil)[source]#

Campbell/Clapp-Hornberger hydraulic parameters.

Returns:

  • psi_s_log_cm (float) – antilog of the mean log saturation suction from Clapp & Hornberger (1978), Table 2. [cm H2O].

  • b (float) – Campbell exponent [-].

  • K_s (float) – Saturated hydraulic conductivity [m/d].

  • n (float) – Porosity [-].

Parameters:

soil (str)

Return type:

tuple[float, float, float, float]

smew.constants.soil_const(soil, psi_h_mpa=-10.0, psi_w_mpa=-3.0, psi_i_mpa=-0.03, fc_conductivity_ratio=0.02)[source]#

Soil hydraulic constants and moisture thresholds, derived from soil type, water potentials and a relative conductivity threshold for field capacity.

Parameters:
  • soil (str) – Soil texture class.

  • psi_h_mpa (float) – Water potentials [MPa] used to compute s_h. Defaults to -10 MPa, following Laio et al. (2001).

  • psi_w_mpa (float) – Water potentials [MPa] used to compute s_w. Defaults to -3 MPa, following Laio et al. (2001).

  • psi_i_mpa (float) – Water potentials [MPa] used to compute s_i. Defaults to -0.03 MPa, following Laio et al. (2001).

  • fc_conductivity_ratio (float) – Ratio of hydraulic conductivity to K_s used to define field capacity [-]. Must be in (0, 1]. Defaults to 0.02.

Returns:

Relative saturation at the hygroscopic point (s_h), wilting point (s_w), incipient stress point (s_i), and field capacity (s_fc) [-]; Campbell water retention exponent (b) [-]; saturated hydraulic conductivity (K_s) [m/day]; and soil porosity (n) [-].

Return type:

tuple[float, float, float, float, float, float, float]

smew.constants.min_const(mineral, conv_mol)[source]#

EW mineral constants

Most values are from Palandri (2004) unless otherwise specified. Solubility product constants (K_sp) are, when available, from Morel et al., (1993) – https://booksite.elsevier.com/9780120885305/appendices/Web_Appendices.pdf unless otherwise specified.

Parameters:
  • mineral (str)

  • conv_mol (float)

Return type:

tuple[float, float, float, float, float, float, float, float, float, tuple[float, float, float, float, float, float], float]

smew.constants.carb_weath_const(conv_mol)[source]#

Carbonate weathering constants

Parameters:

conv_mol (float)

Return type:

tuple[float, float, float, float, float, float]

smew.constants.K_GT_CEC(soil, conv_mol)[source]#

CEC constants (Gaines-Thomas).

Current values are from a meta-analysis of Dutch soils (0-30 cm, https://edepot.wur.nl/31605). Site-specific coefficient estimates can be obtained with soil-water coupled measurements.

Parameters:
  • soil (str)

  • conv_mol (float)

Return type:

tuple[float, float, float, float, float]

smew.constants.K_Al(conv_mol)[source]#

Aluminium speciation (pag. 398 Weil and Brady).

Parameters:

conv_mol (float)

Return type:

tuple[float, float, float, float]

smew.constants.K_C(T_K, conv_mol)[source]#

Carbonate speciation [Stumm and Morgan, 1996].

Parameters:
  • T_K (float)

  • conv_mol (float)

Return type:

tuple[float, float, float, float]

smew.constants.MM(conv_mol)[source]#

Molar masses [g/mol].

Parameters:

conv_mol (float)

Return type:

tuple[float, float, float, float, float, float, float, float]