how do I reload an existing dataset, including variable values?
Posted: Sun Jul 30, 2023 7:07 pm
I'm using VensimPLE. Suppose I have a model that includes 6 variables, a thru f, all constants. I use them to create some Custom Graphs. I populate each constant with a value.
Now I want to save this model as my default, so I set the Run Name to 'default' and run it.
Now I play around with my variables, maybe I change the values for a, c, and e to see how that affects my model's output. When I run the model again with my changed variable values, I give it a different run/dataset name like 'new-ace'.
Now I have two loaded datasets, default and new-ace.
I want to get back to my default model, but I don't want to have to manually change each of the variable values back to their original values. Maybe I don't even remember all the changes I've made. I just want to get back to that clean initial model.
If I move 'default' back to the top of my loaded datasets, all my Custom Graphs immediately change back to how they looked originally with the 'default' dataset. Great! But it looks like my variables in my View do not change their values back to their values in the 'default' dataset ... a, c, and e still have their 'new' values.
So how do I get back to my clean 'default' model/dataset, including not just graphs, but variable values as well?
It seems I should just be able to run the model with that 'default' dataset again, but I can't see how to do that.
I must be missing something very basic!
Now I want to save this model as my default, so I set the Run Name to 'default' and run it.
Now I play around with my variables, maybe I change the values for a, c, and e to see how that affects my model's output. When I run the model again with my changed variable values, I give it a different run/dataset name like 'new-ace'.
Now I have two loaded datasets, default and new-ace.
I want to get back to my default model, but I don't want to have to manually change each of the variable values back to their original values. Maybe I don't even remember all the changes I've made. I just want to get back to that clean initial model.
If I move 'default' back to the top of my loaded datasets, all my Custom Graphs immediately change back to how they looked originally with the 'default' dataset. Great! But it looks like my variables in my View do not change their values back to their values in the 'default' dataset ... a, c, and e still have their 'new' values.
So how do I get back to my clean 'default' model/dataset, including not just graphs, but variable values as well?
It seems I should just be able to run the model with that 'default' dataset again, but I can't see how to do that.
I must be missing something very basic!