dpinney / omf

The Open Modeling Framework for smart grid cost-benefit analysis.
https://omf.coop
GNU General Public License v2.0
112 stars 60 forks source link

Model Versioning #342

Closed dpinney closed 9 years ago

dpinney commented 9 years ago

Need: way to match instances of model data to code that generated it.

Current behavior is not bad. Old model instances from the DB rendered with new model code have inputs that are as good as expected. Output can be a little messed up.

Possible solution is to save full model code in the model instance in the DB. Very small storage (40kb). Warn user if instance code doesn't match latest code, offer to re-run.

Another possible solution, probably the best one, is to just make the output rendering more resistant to bad data.

Let's sit on this issue for a while and think about it.

dpinney commented 9 years ago

Moving to other project.