Model#
- class openalea.metafspm.component.Model[source]#
Bases:
objectBase component for structuring base FSPM modules
- HYPOTHESES:
self.g.properties() must have been stored self.props during child class __init__
Methods
__init__()apply_scenario(**kwargs)Method to superimpose default parameters in order to create a scenario.
link_self_to_mtg([ignore])pull_available_inputs()temperature_modification([soil_temperature, ...])This function calculates how the value of a process should be modified according to soil temperature (in degrees Celsius).
temperature_modification_old([...])This function calculates how the value of a process should be modified according to soil temperature (in degrees Celsius).
Attributes
choregrapherdescriptorextensive_variablesinputsintensive_variablesmassic_concentrationnon_inertial_extensivenon_inertial_intensivenon_inertial_variablesparameterplant_scale_statestate_variables- apply_scenario(**kwargs)[source]#
Method to superimpose default parameters in order to create a scenario. Use Model.documentation to discover model parameters and state variables. :param kwargs: mapping of existing variable to superimpose.
- temperature_modification(soil_temperature=15, process_at_T_ref=1.0, T_ref=0.0, A=-0.05, B=3.0, C=1.0)[source]#
This function calculates how the value of a process should be modified according to soil temperature (in degrees Celsius). Parameters correspond to the value of the process at reference temperature T_ref (process_at_T_ref), to two empirical coefficients A and B, and to a coefficient C used to switch between different formalisms. If C=0 and B=1, then the relationship corresponds to a classical linear increase with temperature (thermal time). If C=1, A=0 and B>1, then the relationship corresponds to a classical exponential increase with temperature (Q10). If C=1, A<0 and B>0, then the relationship corresponds to bell-shaped curve, close to the one from Parent et al. (2010). :param T_ref: the reference temperature :param A: parameter A (may be equivalent to the coefficient of linear increase) :param B: parameter B (may be equivalent to the Q10 value) :param C: parameter C (either 0 or 1) :return: the new value of the process
- temperature_modification_old(soil_temperature=15, process_at_T_ref=1.0, T_ref=0.0, A=-0.05, B=3.0, C=1.0)[source]#
This function calculates how the value of a process should be modified according to soil temperature (in degrees Celsius). Parameters correspond to the value of the process at reference temperature T_ref (process_at_T_ref), to two empirical coefficients A and B, and to a coefficient C used to switch between different formalisms. If C=0 and B=1, then the relationship corresponds to a classical linear increase with temperature (thermal time). If C=1, A=0 and B>1, then the relationship corresponds to a classical exponential increase with temperature (Q10). If C=1, A<0 and B>0, then the relationship corresponds to bell-shaped curve, close to the one from Parent et al. (2010). :param T_ref: the reference temperature :param A: parameter A (may be equivalent to the coefficient of linear increase) :param B: parameter B (may be equivalent to the Q10 value) :param C: parameter C (either 0 or 1) :return: the new value of the process