How to set the process time of red type & green type respectively.
and take turns
o => red >green >red >green >red >green
x => red >red >red >green >green >green
I made a sample model, can you help me modify it to suit my needs.
How to set the process time of red type & green type respectively.
and take turns
o => red >green >red >green >red >green
x => red >red >red >green >green >green
I made a sample model, can you help me modify it to suit my needs.
Hi @en, 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 comment back to reopen your question.
To execute code in a table cell you have to access the node of cell and call .evaluate() on it. This then allows you to pass the random number stream object in as a parameter.
Since the row number that should be used is equal to the item's type + 2 you can use this expression to get the correct time depending on the type label on the item.
To specify an order in which the processor must work on the items, you can use the Pull option. It lets you set conditions that an item must fulfill in order to be eligible to be pulled (Pull Requirement). This can be a matching type.
In the simplest implementation, you could have an array label on the processor that determines which type must be pulled, item by item ( [1, 1, 1, ..., 2, 2, 2,...] ). You can then compare the item's type to the first entry of this array in the Pull Requirement. Lastly, you then update the array by moving the first entry to the end when an item enters the processor. This will have the processor cycle through the array indefinitely.
15 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