datafoodconsortium / data-model-uml

UML model of the DFC ontology.
GNU Affero General Public License v3.0
0 stars 1 forks source link

Implement transformation loops #11

Open lecoqlibre opened 7 months ago

lecoqlibre commented 7 months ago

Notes: The data model (so the codegen too) will probably need to support multiple getters to allow to return the precise IFlow type for particular transformation. For instance one getter would be ITransformation:getInput and the second would be IPlannedTransformation:getPlannedConsumptionFlow. This probably need to be applied to the entire model.

General

AsPlannedTransformation

AsPlannedLocalTransformation

TBD.

AsRealizedTransformation

TBD.

mkllnk commented 3 months ago

Any update on this?

I see the transformation flows in the Ruby Connector generated with the next branch but products don't link to the flows yet. So I have fragmented data in the graph which I need to reconcile to find a product that's connected to another.