Hi,
I have 3 ASRS in a list and 4 racks. Depending where the item is, I want it to take one ASRS or another, but it always take the same one.
Hi,
I have 3 ASRS in a list and 4 racks. Depending where the item is, I want it to take one ASRS or another, but it always take the same one.
There are two issues in your model:
1) You react to the "On Exit" event of Queue2. This event happens (perhaps somewhat unintuitively) when an item is about to exit the queue, but it hasn't done so yet when the event fires. When the event triggered source creates a token, it will go through all activities in the process flow (up to the point where time has to pass in the model, for example the travel activity) before the rest of the logic of the event is evaluated. This means that, when your logic that determines the ASRS is evaluated, the item is actually still in the queue.
To have the exit event finish before the token continues, place a 0 second delay behind the event triggered source.
2) You have to use "==" in your if-conditions. "=" is the assignment operator; the variable on the left takes on the value on the right. "==" compares the values and returns either true or false.
16 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