Hi,
Could someone please take a look at my model and explain to me the ouflow behavior?
I was expecting to see CV to ouflow between time=0 and time=10 at a rate of 1. That is what happened. At time=10, I also thought the other components would start to outflow. But what I am observing is that all the components (different type of cars in my example) start to outflow at time=0.
I have the following syntax in my outflow variable :
DELAY CONVEYOR(sales[V], LIFETIME, 0, INIT PROFILE[V], 10, LIFETIME),
Where [V] is a subscript for five type of cars.
From this, I expected that only the cars already on the conveyor would outflow before the delay time LIFETIME(=10). The only cars already on the conveyor at the start of the simulation should be the CVs distributed according to the INIT PROFILE (a flat distribution). Their number equals 10 at the start of the simulation, as per the initial value of the stock variable 'Cars'.
Thank you very much for your time,
BP
DELAY CONVEYOR not working as expected
DELAY CONVEYOR not working as expected
- Attachments
-
- Ford (2010)_Chap16_FeebateProgram.mdl
- (2.86 KiB) Downloaded 260 times
Re: DELAY CONVEYOR not working as expected
Hi BP,
I noticed that in the conveyor equation
you have set the initial amount in the conveyor to be 10 units. Note, that this is a vector equation so you have set the total to be 10 units for each of the vehicle types in V. That is not what you probably want and you should make the initial amount in the conveyor a separate variable set to {10,0,0,...} .
Kind regards,
Guido
I noticed that in the conveyor equation
Code: Select all
DELAY CONVEYOR(sales[V], LIFETIME, 0, INIT PROFILE[V], 10, LIFETIME)
Kind regards,
Guido
-
- Super Administrator
- Posts: 4605
- Joined: Wed Mar 05, 2003 3:10 am
Re: DELAY CONVEYOR not working as expected
All I've done here is change the equation for "Retired" to
It seems to work ok now. Can you let us know if this is what you are expecting?
Code: Select all
DELAY CONVEYOR(sales[v], LIFETIME, 0, INIT PROFILE[v], INITAL CARS[v], LIFETIME)
- Attachments
-
- Ford (2010)_Chap16_FeebateProgram MODIFIED.mdl
- (2.81 KiB) Downloaded 270 times
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: DELAY CONVEYOR not working as expected
Many thanks to you both!
Indeed, the model now behaves exactly how I thought it should. I realize subcripts require extra attention!
Have a good day,
BP
Indeed, the model now behaves exactly how I thought it should. I realize subcripts require extra attention!
Have a good day,
BP