Hello,
In the attached model, the simulation time stops before all tokens are executed, they are stuck in "wait for event" activity.
Would anyone tell me the reason of this trouble, please?
Regards.
Hello,
In the attached model, the simulation time stops before all tokens are executed, they are stuck in "wait for event" activity.
Would anyone tell me the reason of this trouble, please?
Regards.
You've created a deadlock in your model by using the same tokens to push and pull the items from a list. The tokens stay at the Push to List activity until they are pulled by something else. This means that unless new tokens are created, nothing will be pulled.
It seems to me like you're creating a token that's connected to an item to pull that item from a list (which is redundant). Then you're deciding whether or not to send a token to acquire a resource based on that resource being free. This logic is already built in to the Acquire activity, so this is also redundant.
I eliminated all of the pushing/pulling/waiting events and now the model runs just fine. I think it was a little over-complicated before.
In fact I am trying to do the following:
The ASRSvehicle is acquired only for one token, the other tokens are returned to the list and pulled when ASRSvehicle is released. I am trying to test this in the attached model, this is why I used the activities "push to list" and "wait for event".
Could you please tell how to do this?
You've described what is happening in the model that I attached. If you watch the gif below, you'll see that the ASRS Vehicle is acquired by one token at a time and the extra tokens are added as back orders. They cannot acquire the ASRS Vehicle until it is released. You don't need to push any tokens to a list to wait. They already wait.
I'm afraid I don't understand what changes you'd like to make.
9 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved