Name of the model log creation.fsm
In this model flow items should be creating based on "Globaltable1" (Consider Time and Quantity while creating also assign Alloy and Diameter label to created object) on the Queue1
Name of the model log creation.fsm
In this model flow items should be creating based on "Globaltable1" (Consider Time and Quantity while creating also assign Alloy and Diameter label to created object) on the Queue1
token Label Time need to get assigned a value of next creation time as a difference to current runtime. This means you compute the difference of row value + 1 and row value of your time column. This will delay your token until next creation time.
Hi @Shibananda C2, was Felix Möhlmann's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.
If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.
Your current process flow is almost working, but you are always resetting the Row label to 1 and only create one item per row. You also don't need to write the values from the table to the token first. They can be read directly in "Create Objects" activity.
You could also copy the table to the Schedule source and create one token per item.
If you change the column order of the global table to reflect that of the source, you can even automate this with the following code (for example in the "On Model Reset" trigger)
treenode sourceSchedule = Model.find("/Tools/ProcessFlow/ProcessFlow/Source>variables/arrivals"); treenode globalTableData = Model.find("/Tools/GlobalTables/GlobalTable1>variables/data"); treenode copy = createcopy(globalTableData, sourceSchedule, 0, 0, 0, 1); copy.name = "arrivals";
13 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