dowloading a model

Use this forum to post Vensim related questions.
Post Reply
LAUJJL
Senior Member
Posts: 1427
Joined: Fri May 23, 2003 10:09 am
Vensim version: DSS

dowloading a model

Post by LAUJJL »

Hi

When I dowload the model posted by Panichel, I get a text model and if I try to change it into a sketch model it shows an error. Is one obliged to correct the error in the text model if one wants to view it as sketch?
Regards.
JJ
Panichel
Member
Posts: 20
Joined: Fri Jan 15, 2010 5:27 pm

Post by Panichel »

Hi,
Yes, you have to correct the error.
Change all priorities in the attractiveness functions by numbers: e.g.

attractiveness[Corn,pprofile]= 3,corn priority,0,0 ~~|

change corn priority by 1, etc, etc

attractiveness[Corn,pprofile]= 3,1,0,0 ~~|
tomfid
Administrator
Posts: 3815
Joined: Wed May 24, 2006 4:54 am

Post by tomfid »

There must be something funny about the server MIME types because the file downloads without an extension, so you need to add the .mdl to the file name.

There appear to be other syntax errors as well. For example,

land rent[land use type]=
soybean land rent[Soybeans], corn land rent[Corn], ...

needs to be rewritten as

land rent[Soybeans]=
soybean land rent[Soybeans]
land rent[Corn]=
corn land rent[Corn]

Tom
Post Reply