question

Javier PL avatar image
0 Likes"
Javier PL asked Benjamin W2 commented

Timetables overlapping don't work out in Process Flow

Hi all,

I got a model where all my machines work in a 3-shift schedule but stop working during weekends. I needed to use timetables to get real dates from the model. As always, I also added my "Schedule block" in my PFs (with "OnStop" and "OnResume" triggers and preemptiom activities) to make my delays also stick to the timetable.

The issue is that, because of the COVID19 situation, I need to set up a continuous scheduled down state on all my machines during a bunch of weeks. To solve this, I added an extra timetable called COVID Schedule which has a date-based scheduled down period and assigned it to all model machines. This is apparently working out, but the "ordinary" timetable is still going on underneath and it triggers the "OnResume" trigger in my PFs, so the new schedule has no effect on them and delays go on!

I also tried to temporarily disable my ordinary timetable via the "OnDown" function of the COVID timetable, but the "OnBegin" event is still being scheduled in the events list.

Hoping I've been clear enough, any suggestion?

Javi


Update: So far, the simplest way I found to solve this is by adding a breathe+decide to check the state of the dummy object so that the code re-asks if it has been really resumed.

FlexSim 19.1.0
process flowtimetablesflexsim 19.1.0schedule down
1587027753090.png (17.7 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.

Benjamin W2 avatar image Benjamin W2 commented ·

Hi @Javier PL,

Could you attach a copy of your model?

0 Likes 0 ·

1 Answer

·
Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Javier PL commented

You need to set different Stop IDs like it is mentioned in @phil.bobo answer about timetables and MTBF MTTR.

· 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.

Javier PL avatar image Javier PL commented ·
I actually tried that one and even playing with priorities, but the problem occurs in the Process Flow, not in the model. The FR behaviour is the right one, but the "OnResume" event triggers anyway and thus the tokens go on in the PF. The key would be to prevent those ordinary OnBegin events from being scheduled/happened when COVID schedule is on.
0 Likes 0 ·

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.