Hi everyone!
I'd like to model the relation between the motorization rate in an area and the car mindedness. I modelled the motorization rate as a variable (determined by vehicles and population, which are both stocks) and the car mindedness as a stock. I'd like to use an equation where the increase/inflow of car mindedness is determined by: (constant x increase motorization rate).
My question is whether it is possible to extract the increase of a variable. Because then I need to find the difference between two time steps. But how do I do this?
And if anyone has any better or alternative ideas on how to model this relationship I'd love to hear them.
Thank you all so much!
increase of variable - car mindedness equation
-
- Junior Member
- Posts: 15
- Joined: Mon Oct 21, 2024 12:07 pm
- Vensim version: DSS
-
- Super Administrator
- Posts: 4834
- Joined: Wed Mar 05, 2003 3:10 am
Re: increase of variable - car mindedness equation
You can use DELAY FIXED to get the value of the stock at the previous time step.
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
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
Re: increase of variable - car mindedness equation
You can use DELAY FIXED to compute a derivative, but I would recommend against that. Jay Forrester said "nature abhors a derivative" for a good reason: legitimate examples of direct perception of a rate of change are rare.
You could instead do something like the following:
motorization = cars/population
car mindedness = SMOOTH( motorization, car perception adjustment time )
Here the SMOOTH is shorthand for a stock adjusting toward a goal or indicated level; you could also make this explicit:
indicated car mindedness = f(motorization)
car mindedness adj rate = (car mindedness - indicated car mindedness)/car perception adjustment time
car mindedness = INTEG( car mindedness adj rate, initial car mindedness )
You should of course define units for all this.
You could instead do something like the following:
motorization = cars/population
car mindedness = SMOOTH( motorization, car perception adjustment time )
Here the SMOOTH is shorthand for a stock adjusting toward a goal or indicated level; you could also make this explicit:
indicated car mindedness = f(motorization)
car mindedness adj rate = (car mindedness - indicated car mindedness)/car perception adjustment time
car mindedness = INTEG( car mindedness adj rate, initial car mindedness )
You should of course define units for all this.
/*
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
*/
-
- Junior Member
- Posts: 15
- Joined: Mon Oct 21, 2024 12:07 pm
- Vensim version: DSS
Re: increase of variable - car mindedness equation
Thank you both so much!