worlddynamics / Vensim2MTK.jl

A Julia package to import Vensim .xmile files as ModelingToolkit.jl models.
MIT License
2 stars 1 forks source link

Add files via upload #9

Closed meyde closed 1 year ago

meyde commented 1 year ago

file_generator is model_translation cleaned up: now there is a function that one calls to generate the model file, and it is not automatically done when executing the Julia file.

the function "file_generation" is used with a filepath; it will produce a string containing the code to paste in a file to get the model.

natema commented 1 year ago

Well done, I just sprinkled minor comments around.

So from the plots the current version is reproducing DICE, right? If yes, we should talk with Pierluigi who may want to mention your work in is talk at JuliaCon next week.

meyde commented 1 year ago

Well done, I just sprinkled minor comments around.

So from the plots the current version is reproducing DICE, right? If yes, we should talk with Pierluigi who may want to mention your work in is talk at JuliaCon next week.

it should yes, barring some approximation errors. i'll work on everything you told here, thank you for the comments!