Page 1 of 1

dowloading a model

Posted: Thu Jan 28, 2010 2:17 pm
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

Posted: Thu Jan 28, 2010 2:26 pm
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 ~~|

Posted: Thu Jan 28, 2010 4:21 pm
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