The problem of “check model”

Use this forum to post Vensim related questions.
Post Reply
wyy
Junior Member
Posts: 5
Joined: Sat Nov 13, 2021 1:44 am
Vensim version: PLE

The problem of “check model”

Post by wyy »

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.
picture 1.
6e0fb2cc6f6128862c82ebda7d81080.png (35.01 KiB) Viewed 1332 times
picture 2.
picture 2.
230b1b6fa551b44cc1816a3b7aec92f.png (42.65 KiB) Viewed 1332 times
tomfid
Administrator
Posts: 3806
Joined: Wed May 24, 2006 4:54 am

Re: The problem of “check model”

Post by tomfid »

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)
wyy
Junior Member
Posts: 5
Joined: Sat Nov 13, 2021 1:44 am
Vensim version: PLE

Re: The problem of “check model”

Post by wyy »

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)
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
Administrator
Posts: 3806
Joined: Wed May 24, 2006 4:54 am

Re: The problem of “check model”

Post by tomfid »

Great!
Post Reply