CompositeModel#
- class openalea.metafspm.composite_wrapper.CompositeModel[source]#
Bases:
object- __init__()#
Methods
__init__()apply_input_tables(tables, to, when)couple_components(*args[, translator_path])Description : linker function that will enable properties sharing through MTG.
couple_current_with_components_list(...[, ...])declare_data([shoot, root, atmosphere, soil])declare_data_and_couple_components([shoot, ...])get_component_inputs_outputs(translator, ...)get_documentation(filters, models)Documentation of the RootCyNAPS parameters :return: documentation text
open_or_create_translator(translator_path)Translator matrix builder utility, to be used if no translator dictionay is available on modules' directory
Attributes
documentationinputs- couple_components(*args, translator_path: str = '')[source]#
Description : linker function that will enable properties sharing through MTG.
Parameters : :param translator: list matrix containing translator dictionnaries for each model pair :param components: inistances of components that should be coupled as indicated by the coupling_translator.yaml
Note : The whole property is transfered, so if only the collar value of a spatial property is needed, it will be accessed through the first vertice with the [1] indice. Not spatialized properties like xylem pressure or single point properties like collar flows are only stored in the indice [1] vertice.