The problem of “check model”
The problem of “check model”
Dear friends in Vensim forum,thanks for your reading.My English is poor so I will try my best to explain my trouble .I am writing a paper about Dynamic evolutionary game recently.When I assign value to variable(Ex2),the equation is ok(picture 1.),and I'm not use function of lookup ,however when I check model, variable(Ex2)has a serious of errors,the reason is about using function of lookup but I am not use lookup(picture 2.).I can't understand this cause ,how can I save this,thank you for your help.Two pictures as follow.
- Attachments
-
- picture 1.
- 6e0fb2cc6f6128862c82ebda7d81080.png (35.01 KiB) Viewed 1349 times
-
- picture 2.
- 230b1b6fa551b44cc1816a3b7aec92f.png (42.65 KiB) Viewed 1349 times
Re: The problem of “check model”
The "used as a lookup but not defined" error generally occurs when you have the following syntax in a pair of equations:
y = x(z)
z = (a number, expression, or anything else that isn't a lookup)
The usage of x() implies a lookup.
If you intend multiplication, then you need
y = x*z
or
y = x*(z)
y = x(z)
z = (a number, expression, or anything else that isn't a lookup)
The usage of x() implies a lookup.
If you intend multiplication, then you need
y = x*z
or
y = x*(z)
/*
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
*/
Re: The problem of “check model”
Dear tomfid(may be it's your name),thanks for you help,so warm-hearted you are!Because your key tip,my trouble-The problem of “check model”-is over successfully. Thanks for you help again my dear friend.tomfid wrote: ↑Fri Apr 08, 2022 9:57 pm The "used as a lookup but not defined" error generally occurs when you have the following syntax in a pair of equations:
y = x(z)
z = (a number, expression, or anything else that isn't a lookup)
The usage of x() implies a lookup.
If you intend multiplication, then you need
y = x*z
or
y = x*(z)
Re: The problem of “check model”
Great!
/*
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
*/