Run a model but simultaneous equations involving

Use this forum to post Vensim related questions.
Post Reply
Kolakari
Junior Member
Posts: 5
Joined: Sat Nov 21, 2015 12:48 am
Vensim version: PLE

Run a model but simultaneous equations involving

Post by Kolakari »

Hi,

I'm currently trying to run the model but i always got a «simultaneous equations involving» problem. I'd seen simultaneous equations forum but none of them help for the moment. Anyone know how to solve it pls? Thank u
Last edited by Kolakari on Thu Dec 03, 2015 4:34 am, edited 1 time in total.
tomfid
Administrator
Posts: 3811
Joined: Wed May 24, 2006 4:54 am

Re: Run a model but simultaneous equations involving

Post by tomfid »

You have the Type for your stocks set to Auxiliary.

If, for example, you change the type of Population to Level, and enter an initial value, that eliminates the simultaneity. I think the other errors are similar.
Kolakari
Junior Member
Posts: 5
Joined: Sat Nov 21, 2015 12:48 am
Vensim version: PLE

Re: Run a model but simultaneous equations involving

Post by Kolakari »

You're right. The model is ok now but now i have another units check problem :shock: . I must check the type for all my stocks again cause i don't understand very well this part of vensim. You help me a lot. Thank you very much
Kolakari
Junior Member
Posts: 5
Joined: Sat Nov 21, 2015 12:48 am
Vensim version: PLE

Re: Run a model but simultaneous equations involving

Post by Kolakari »

I HAVE another question about this equation : INTEG. It's said for example that INTEG (R,N) = Performs numerical integration of R starting at N (defines a Level). So i would like to know the meaning of «,» in the equation ? How is the development?
Kolakari
Junior Member
Posts: 5
Joined: Sat Nov 21, 2015 12:48 am
Vensim version: PLE

Re: Run a model but simultaneous equations involving

Post by Kolakari »

I'm sorry guys but i'm back again. The model is correct but the units still missmatching..
I tried to understand the way to write the INTEG equation but i can't take off the time (week). When i made some researches about it i found that : INTEG (rate, initial value) a Numerical INTEGration is INTEG ( unit / time, unit ) --> unit
The units of the integral must be the same as the units of the initial condition. The rate must have the same units, divided by the units of TIME STEP. Here you have an example of what the software is saying
Gisement =
INTEG( Roches extraites
+ ( Stériles 1
/ Masse ouvrière affluente ) ,
Stériles 1 )
Gisement --> Tonnes/Habitants
Roches extraites --> Tonnes/Habitants
Stériles 1 --> Tonnes
Masse ouvrière affluente --> Habitants

Analysis of units error:
Units missmatch in INTEG
Roches extraites
+ ( Stériles 1
/ Masse ouvrière affluente )
Has Units: Tonnes*Week/Habitants
Stériles 1
Has Units: Tonnes

I would like to know how to write the equation please or if it's not the problem, what is the problem about my model
Thank you a lot
Last edited by Kolakari on Thu Dec 03, 2015 4:33 am, edited 1 time in total.
Administrator
Super Administrator
Posts: 4590
Joined: Wed Mar 05, 2003 3:10 am

Re: Run a model but simultaneous equations involving

Post by Administrator »

I think it might be better if you take a step back and do a simple tutorial in Vensim. The model you have uploaded has rates as flows, and flows as rates.

On this page you will find a really good Vensim PLE tutorial.
http://www.public.asu.edu/~kirkwood/sysdyn/SDRes.htm

It will explain the differences between stocks and flows and hopefully help you see exactly where you are going wrong.
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391

Units are important!
http://www.bbc.co.uk/news/magazine-27509559
Kolakari
Junior Member
Posts: 5
Joined: Sat Nov 21, 2015 12:48 am
Vensim version: PLE

Re: Run a model but simultaneous equations involving

Post by Kolakari »

If you think so, i must. thank you
Post Reply