VEZY / MultiScaleTreeGraph.jl

Read, analyse, compute, write and convert MTG files
https://vezy.github.io/MultiScaleTreeGraph.jl/stable
MIT License
10 stars 1 forks source link

Define the workflow for simulation #35

Closed VEZY closed 1 year ago

VEZY commented 1 year ago

Simulation of an MTG is already available from PlantSimEngine, but it makes a lot of copies when making a simulation.

Ideally, we would have the data in a Tables.jl compatible structure, and this structure would be given as the status of the ModelList of the node. This way it wouldn't make a copy of the data, just modify it.

Here's the specifications:

But we also need a way to have the ModelList of the Node accessible. There's two solutions I can think of:

In any case, we have to think about usability vs performance.

VEZY commented 1 year ago

This is going completely in PlantSimEngine.