P_model_inverter: P-model inverter class

Description Methods Examples

Description

This class allows to create objects of the P-model.

Methods

Public methods


Method new()

Create a new p-model object.

Usage
P_model_inverter$new(T_diff, T_ref, m_rec, c_ratio, lat = -30, ...)
Arguments
T_diff

Temperature difference.

T_ref

Reference temperature (e.g. modern temperature).

m_rec

Reconstructed moisture index.

c_ratio

CO2 ratio.

lat

Latitude.

...

Optional parameters (not used).


Method calculate_m_true()

Calculate true moisture index.

Usage
P_model_inverter$calculate_m_true()
Returns

A list with three elements:

mi:

Numeric value of moisture index.

cph:

Boolean flat to indicate whether or not the compensation point 'law' is upheld.

ci:

Numeric value of c_i.

Examples

1
2
3
4
5
codos::P_model_inverter$new(T_diff = 1.334567,
                            T_ref = 11.57957,
                            m_rec = 0.3357231,
                            c_ratio = 0.7361765,
                            lat = -30)$calculate_m_true()

special-uor/codos documentation built on Jan. 7, 2022, 2:32 a.m.