pycopancore
pycopancore copied to clipboard
reference implementation of the copan:CORE World-Earth modelling framework
The user can generate diagrams showing... - the dependency between variables (in a systems dynamics style) - the dependency between model components - the relationships between variables, entity types, model...
When composing a model, the model composer can... 1. override a variable's default value: ``` class Cell(A.Cell, B.Cell): A.Cell.terrestrial_carbon.default = 10 * D.GtC ``` 2. fix a variable to a...
make _expressions.py issue more helpful error messages when encountering RuntimeWarnings and RuntimeErrors by providing information about the affected expression
A modeller can specify equality of variables in model package by saying ``` class Cell(A.Cell, B.Cell, C.Cell): A.Cell.x = B.Cell.y = C.Cell.z """optional docstring""" ``` in an entity type or...
When the model configures itself: 1. It verifies that all composed entity types and process taxa indeed use all mixins provided by the used model components. 2. It sets the...
A modeller can compose a model by simply calling ``` import import composeModel([component1, component2], docstring, name, description, ...) ``` instead of explicitly composing the classes `Model`, `Cell` etc. If some...
When following the instructions in the README (in a a fresh venv), the following dependencies are missing when trying to run `run_seven_dwarfs.py`: * h5py * networkx * matplotlib * plotly...
After running `python setup.py develop` two dependencies are still missing and errors are thrown if one uses `import pycopancore`. These two dependencies are `sympy` and `llvmlite`. This is odd since...