Main function: P-model implementation.

An implementation of the P-model (Prentice et al., 2014; Wang et al., 2017; Stocker et al., 2019) for predicting acclimated photosynthetic parameters, assimilation, and dark respiration rates as a function of the environment.

rpmodel()

Invokes a P-model function call

Public functions used inside rpmodel()

Public functions used inside rpmodel(). Made public for documentation, visibility, and other applications by the user.

calc_gammastar()

Calculates the CO2 compensation point

calc_kmm()

Calculates the Michaelis Menten coefficient for Rubisco-limited photosynthesis

calc_patm()

Calculates atmospheric pressure

calc_soilmstress()

Calculates an empirical soil moisture stress factor

co2_to_ca()

CO2 partial pressure

dampen_vec()

Dampen inputs of rpmodel

density_h2o()

Density of water

ftemp_arrh()

Calculates the Arrhenius-type temperature response

ftemp_inst_jmax()

Calculates the instantaneous temperature response of Jmax

ftemp_inst_rd()

Calculates the temperature response of dark respiration

ftemp_inst_vcmax()

Calculates the instantaneous temperature response of Vcmax

ftemp_kphio()

Calculates the temperature dependence of the quantum yield efficiency

viscosity_h2o()

Viscosity of water