question

sum2210 avatar image
0 Likes"
sum2210 asked Jason Lightfoot commented

Operational Hours

Hello!

I'm trying to use Time Table to simulate operational hours of the simulation, and I need to set different operational times by building for the factory that I'm working on. How would you do this, and is it possible to control this with the Process Flow Zones? I have an Inter-arrival source, because it's not feasible to use scheduled sources for what I'm modeling. If anyone has any examples they would recommend of this, that would be very helpful.

Thank you for your help!


FlexSim 23.2.2
process flowzonetime table
· 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 @sum2210, 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.

0 Likes 0 ·

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered

If the Process Flow is used to control the flow of items in a 3d model, it is often times enough to set up a time table for the 3d objects (Stop processors, operators, etc.). A token in the Process Flow would for example wait in a task activity until that task is completed, which would not happen until the respective task executer is active again.

In order to not have new tokens enter during the down time, I would just place a decide activity directly after the source and send tokens directly to a sink during the down time. (Conditional Decide: "Model.dateTime.hour > X && Model.dateTime.hour < Y").

· 2
5 |100000

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

sum2210 avatar image sum2210 commented ·

Thank you for your response! How would you incorporate days into this? For example, if it is Week Days only, and you want to exclude weekends.

0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann sum2210 commented ·

You can also check the day in the datetime class: "Model.dateTime.dayOfWeek"
(Returns a number that corresponds to the current day of the week; 1 for sunday, 2 for monday and so on)

0 Likes 0 ·