Closed JamesPHoughton closed 2 years ago
A prototype in branch: https://github.com/JamesPHoughton/pysd/tree/tabular_models
Use like normal PySD, but use read_tabular
and pass in the name of the file where the model is defined.
import pysd
model = pysd.read_tabular('test-models/samples/teacup/teacup_mdl.tab')
result = model.run()
The visual front end of Vensim is not helpful to individuals with impaired sight. More helpful would be to be able to construct models in a tabular format, that let the individual focus on text and equations. It would be pretty easy to map a vensim model file into a table, so why not do the reverse:
Start with:
and end up with: