Hello,
I want to run a Vensim model with Game variables on line using the Vensim DLL. The model is a service delivery problem and involves a planning phase, running in monthly time steps, a logistics phase, in weekly time steps and a delivery phase, in hourly time steps. The time step is not an accessible variable in the model, so is there any way I can run this with the time step changing automatically at a given point?
Using different time frames in an on line model
-
- Super Administrator
- Posts: 4592
- Joined: Wed Mar 05, 2003 3:10 am
Re: Using different time frames in an on line model
You can change time step using IF THEN ELSE. But it does make results storage and retrieval tricky (I experimented with it many years ago).
It might be better to have three different models. Run the planning model, and use the VDF from that to initialize constants/data in the logistics model, and then use the output from that to run the delivery model.
It might be better to have three different models. Run the planning model, and use the VDF from that to initialize constants/data in the logistics model, and then use the output from that to run the delivery model.
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: Using different time frames in an on line model
Thank you very much for your answer. Running three separate models is my 'Plan B', but I wanted to make sure I wasn't missing a better solution.
Re: Using different time frames in an on line model
One possibility would be to use an abstract time axis, where you change the interpretation of time, rather than the time step. However, that seems like it would be (a) messy, and (b) hard to coordinate with the online interface.
/*
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
*/