question

Delano avatar image
0 Likes"
Delano asked Jason Lightfoot commented

How to set unload time for different process?

Is there any expert kindly can help me,


I have some problem with mw problem, i need to set different unload time

unload time for Process Y is 8s

unload time for process R is 17s

model.fsm

1693559980391.png

FlexSim 18.0.10
unload time
1693559980391.png (153.9 KiB)
model.fsm (43.3 KiB)
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Jason Lightfoot avatar image Jason Lightfoot ♦ commented ·

Hi @Delano, was our 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.

0 Likes 0 ·

1 Answer

·
Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Jason Lightfoot edited

In the operator's unload time field, edit the code and put:

string name=station.name;
if (name.startsWith("R"))
    return 17;
return 8;

or use the Values by case option:

1693566362686.png

Or perhaps better than this - put a label (e.g 'unloadToTime') on each station to specify the unload time and for the operator unload time use:

station.unloadToTime?

There are many options.


1693566362686.png (10.7 KiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.