Hi
I get 2 MDL files from SDR supplementary (see attached) that I cannot open it.
It shows the text view, and I can't switch to the sketch view as it promts syntax error, I appreicate someone who know how to solve this and advise?
Thanks a lot.
Need help for fixing syntax error
Need help for fixing syntax error
- Attachments
-
- rework.mdl
- (109.1 KiB) Downloaded 153 times
-
- Supply Constraints Model SDR Final.mdl
- (80.54 KiB) Downloaded 147 times
Re: Need help for fixing syntax error
Any chance that these files were opened into a browser window, then saved with a Save As... ?
The problem is that a bunch of invalid line breaks in variable names have been inserted into the text. For example:
Normal Engineer<cr/lf>Capacity should be Normal Engineer Capacity with a space instead of a line break. I think Vensim didn't insert these breaks, because it uses \ for line breaks, and doesn't break variable names.
This could be fixed, but it might be a lot of manual labor. It would be much easier if you could get an uncorrupted version of the files. Using Save Link As ... often works where text retrieval won't.
The problem is that a bunch of invalid line breaks in variable names have been inserted into the text. For example:
Code: Select all
Current Normal Development Capacity = Normal Engineer
Capacity*(1-step(1,Methodology Intro Date\
))
+Engineering Capacity Under New Methodology*step(1,Methodology Intro Date)
~ tasks/Month
~ Maximum Development Capacity if Organization Follows
Methodology
|
This could be fixed, but it might be a lot of manual labor. It would be much easier if you could get an uncorrupted version of the files. Using Save Link As ... often works where text retrieval won't.
/*
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
*/