Vensim DSS Crashing on Save When Viewing As Sketch

Use this forum to post Vensim related questions.
Post Reply
RobbieOrvis
Member
Posts: 43
Joined: Wed Dec 13, 2017 5:16 pm
Vensim version: DSS

Vensim DSS Crashing on Save When Viewing As Sketch

Post by RobbieOrvis »

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.
Attachments
EPS - Copy.zip
(398.25 KiB) Downloaded 41 times
tomfid
Administrator
Posts: 3811
Joined: Wed May 24, 2006 4:54 am

Re: Vensim DSS Crashing on Save When Viewing As Sketch

Post by tomfid »

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.
RobbieOrvis
Member
Posts: 43
Joined: Wed Dec 13, 2017 5:16 pm
Vensim version: DSS

Re: Vensim DSS Crashing on Save When Viewing As Sketch

Post by RobbieOrvis »

Sadly, I don't. The backup version is what I sent. The prior editing was nothing complicated... Just a few formula tweaks.
Administrator
Super Administrator
Posts: 4590
Joined: Wed Mar 05, 2003 3:10 am

Re: Vensim DSS Crashing on Save When Viewing As Sketch

Post by Administrator »

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/.
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
RobbieOrvis
Member
Posts: 43
Joined: Wed Dec 13, 2017 5:16 pm
Vensim version: DSS

Re: Vensim DSS Crashing on Save When Viewing As Sketch

Post by RobbieOrvis »

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.
Administrator
Super Administrator
Posts: 4590
Joined: Wed Mar 05, 2003 3:10 am

Re: Vensim DSS Crashing on Save When Viewing As Sketch

Post by Administrator »

RobbieOrvis wrote: Thu Nov 02, 2023 3:13 pmI'm fine to close this issue, given I've moved on.
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
Post Reply