Vensim Opens Model in Text Mode

Use this forum to post Vensim related questions.
Post Reply
JMLyneis
Junior Member
Posts: 5
Joined: Wed Aug 21, 2024 2:13 pm
Vensim version: DSS

Vensim Opens Model in Text Mode

Post by JMLyneis »

I have not used a previously working model in almost a year, but when I tried to open it today Vensim opened it As Text rather than As Sketch. An old post from Bob suggested this was due to a syntax error, and to try CTRL-T. But only "not used" errors are in the model. I also seem to recall that not having linked spreadsheets in the same folder as the model creates this error, but again that does not seem to be the case in my model.

Any ideas? Any recent changes to Vensim (I am using 10.1.3)?

Thank you.

Jim Lyneis
Administrator
Super Administrator
Posts: 4667
Joined: Wed Mar 05, 2003 3:10 am

Re: Vensim Opens Model in Text Mode

Post by Administrator »

Have you tried view-as sketch?
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
JMLyneis
Junior Member
Posts: 5
Joined: Wed Aug 21, 2024 2:13 pm
Vensim version: DSS

Re: Vensim Opens Model in Text Mode

Post by JMLyneis »

Oh yes. It reverts to the proper model and simulates perfectly. It just won't open as a sketch.
tomfid
Administrator
Posts: 3856
Joined: Wed May 24, 2006 4:54 am

Re: Vensim Opens Model in Text Mode

Post by tomfid »

Is it a binary (vmfx or vpmx) or text (mdl) file format?

Does this behavior persist after re-saving the model under a new name?

What are the settings under Model>Settings>File Format?
JMLyneis
Junior Member
Posts: 5
Joined: Wed Aug 21, 2024 2:13 pm
Vensim version: DSS

Re: Vensim Opens Model in Text Mode

Post by JMLyneis »

Text (mdl)
Model>Settings>File : File formal options Preserve Original Ordering; As Originally Entered

But I think I remembered the problem. If the GET XLS files are not open when you open the model, Vensim defaults to the Text view; if the spreadsheets are open, Vensim opens in the Sketch view. However it appears that if I open the model without the spreadsheets open, Vensim opens the spreadsheets. However, it appears that if I do not switch from Text to Sketch mode, then close and reopen the model, it opens in Text mode. Perhaps this is by design, as the last View before closing?

Thanks Tom and "Administrator". Sorry for the trouble.

Best, Jim
Administrator
Super Administrator
Posts: 4667
Joined: Wed Mar 05, 2003 3:10 am

Re: Vensim Opens Model in Text Mode

Post by Administrator »

JMLyneis wrote: Wed Aug 21, 2024 5:36 pmIf the GET XLS files are not open when you open the model, Vensim defaults to the Text view
No, this is not correct.
JMLyneis wrote: Wed Aug 21, 2024 5:36 pmHowever it appears that if I open the model without the spreadsheets open, Vensim opens the spreadsheets.
This is the default. And if the spreadsheets cannot be found, you would be warned before running the simulation.

We would need the model to figure out exactly why it opened in text view. It may be that it was last used in text view.
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
JMLyneis
Junior Member
Posts: 5
Joined: Wed Aug 21, 2024 2:13 pm
Vensim version: DSS

Re: Vensim Opens Model in Text Mode

Post by JMLyneis »

Hmmm...
Well I never use text view, so it was not because I last opened in text view. If you want me to send the model, I can; just tell me where. However, my problem is "solved" so its up to you.
tomfid
Administrator
Posts: 3856
Joined: Wed May 24, 2006 4:54 am

Re: Vensim Opens Model in Text Mode

Post by tomfid »

Administrator wrote: Wed Aug 21, 2024 6:06 pm
JMLyneis wrote: Wed Aug 21, 2024 5:36 pmIf the GET XLS files are not open when you open the model, Vensim defaults to the Text view
No, this is not correct.
... or at least not the intended behavior. You can send the model to vensim at vensim.com.
Post Reply