Dear All,
I have a model where I want to release item on an specific time with specific order from queue. e.g. item 3138 at 9.00:10, item 3133 at 9:12:13 and so on. I have store release time and item order in Global table 1.
Dear All,
I have a model where I want to release item on an specific time with specific order from queue. e.g. item 3138 at 9.00:10, item 3133 at 9:12:13 and so on. I have store release time and item order in Global table 1.
Attached is your model with the changes that I've made.
I changed your global table so that the "Label" is a numeric field rather than a string field. Numerics are much faster to process and easier to work with. I also added a field called "Model Run Time", which is the representation of the actual model run time for the Process Times you have in the table. Again, those are string fields which are much harder to deal with in code than are numeric fields and using strings in code is much slower because everything is converted to numbers in the long run anyway.
All the code is in Queue1. In the OnReset trigger is where the first message is sent back to the queue to release the first flowitem. Then in the OnMessage trigger, the proper flowitem is found in the queue and released. And another message is sent with a delay time between the next flowitem to be released and the current time.
Take a look at the model and see if it is doing what you were wanting it to do. If you have any questions, please let us know.
Thank You @Jeff Nordgren
I am not able to open the model, it showing as blank screen. I have Flexsim 17.0.4 version.
@Jeff Nordgren solution model file is empty, can you please have a look.
Thank you @Jeff Nordgren, after installing new version it working fine. Thank you very much.
These days this might be better done creating a map on the object as a label an using the name as the key. Can you post your model in a new question and then we can show you the specific solution?
8 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