I replicate the same number of machines based on the row count of the Global Table, but in the dashboard, I cannot obtain the Utilization that includes all replicated machines. How can I achieve this? Thank you for your response
File:Question.fsm
I replicate the same number of machines based on the row count of the Global Table, but in the dashboard, I cannot obtain the Utilization that includes all replicated machines. How can I achieve this? Thank you for your response
File:Question.fsm
The Statistics Collector of the state chart initializes its rows on model reset. So it only tracks objects that were present at the time.
Either install the chart components and initialize the rows at some time > 0 instead.
Or move the code that copies the objects into the On Model Reset trigger (Toolbox -> Modeling Logic).
Or, use the parameter table to vary the number of objects in the group. In has a pre-made option for this that you can select when using the sampling tool on a group.
@Felix Möhlmann I move the code into the On Model Reset trigger and it can run. But the machine did not copy it on the interface, and the following error appeared.
As far as I could tell, "token.Machine" was just the numbers from 1 to 5. So you could simply run the code in a for-loop, as many times as there are rows in the table and use the loop variable in place of "token.Machine".
@Felix Möhlmann Sorry, I am currently still learning the coding part and not quite sure which references are no longer valid. Could you provide simple examples for me to reference, if possible? Thank you.
@Felix Möhlmann I modified the code to increase the number of queues copied, and the numbering will also adjust (Queue1, Queue2...). However, how can I make sure that all Queues can create objects and Operator can move to each Quene?
You could use a list that contains all queues. Then each token pulls a random queue (while leaving it on the list) and the rest of the Process Flow works off of the reference gained by doing so.
Or you design the logic as an Object Process Flow with the plane being the instance object. Copies of the plane would then also become instance objects.
@Felix Möhlmann It can create an object in each queue, but when the next cycle begins, the objects overlap in the middle. I cannot find what is causing this.
14 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