I am not sure how/why the .mdl got corrupted, but the uploaded file reliably crashes every time I attempt to save it on Vensim DSS 8.2.4. It was working fine until a recent round of edits. It opens as text, which is strange. But I can view it as a sketch.
I attempted to copy and paste the text into a different .mdl file, and I get errors regarding the last two lines of code. If I remove those, it visualizes fine but still crashes on save.
Vensim DSS Crashing on Save When Viewing As Sketch
-
- Member
- Posts: 48
- Joined: Wed Dec 13, 2017 5:16 pm
- Vensim version: DSS
Vensim DSS Crashing on Save When Viewing As Sketch
- Attachments
-
- EPS - Copy.zip
- (398.25 KiB) Downloaded 500 times
Re: Vensim DSS Crashing on Save When Viewing As Sketch
This has a lot of undefined variables that appear as A FUNCTION OF() in the text listing. Was the last operation before the crash a huge paste/replicate or something?
There's some other strange stuff, like the string STX{...} in one equation.
Do you have a previous edition of the model for comparison? That might shed some light on what happened.
There's some other strange stuff, like the string STX{...} in one equation.
Do you have a previous edition of the model for comparison? That might shed some light on what happened.
/*
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
-
- Member
- Posts: 48
- Joined: Wed Dec 13, 2017 5:16 pm
- Vensim version: DSS
Re: Vensim DSS Crashing on Save When Viewing As Sketch
Sadly, I don't. The backup version is what I sent. The prior editing was nothing complicated... Just a few formula tweaks.
-
- Super Administrator
- Posts: 4832
- Joined: Wed Mar 05, 2003 3:10 am
Re: Vensim DSS Crashing on Save When Viewing As Sketch
It's crashing when parsing
FoPITY Fraction of Policy Implemented This Year
Are the CSV files that this variable needs available? They should be in InputData/plcy-schd/FoPITY/.
FoPITY Fraction of Policy Implemented This Year
Are the CSV files that this variable needs available? They should be in InputData/plcy-schd/FoPITY/.
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
-
- Member
- Posts: 48
- Joined: Wed Dec 13, 2017 5:16 pm
- Vensim version: DSS
Re: Vensim DSS Crashing on Save When Viewing As Sketch
Yes, I haven't changed anything for those files.
Given the issues I was having I just went back and replicated my work off an earlier model and have moved forward with that. At this point, I'm fine to close this issue, given I've moved on.
Given the issues I was having I just went back and replicated my work off an earlier model and have moved forward with that. At this point, I'm fine to close this issue, given I've moved on.
-
- Super Administrator
- Posts: 4832
- Joined: Wed Mar 05, 2003 3:10 am
Re: Vensim DSS Crashing on Save When Viewing As Sketch
No problem. We are not fine though, Vensim should not have crashed. We think we've identified the problematic part of the code so hopefully it will not happen in future.
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559