question

Hai L2 avatar image
0 Likes"
Hai L2 asked Hai L2 commented

Using Time Table Resume function to model vacation/holiday?

Hi,

I have this idea of how to model vacation or holiday:

  1. There is a holiday timetable with specific days marked. During down, a global flag IsHoliday is marked to indicate holiday time. During resume, the flag is clear to indicate no holiday.
  2. The operators are assigned weekly repeating, daily schedule as shift timetable.
  3. In the operator shift time table resume function, if IsHoliday is true, then set the operator state to not available. (Holiday date is defined so that it will happen before shift start).
  4. Likewise, on shift time table resume, we can roll the dice if the operator is taking a vacation that day.

Would that work?

Is there any issue with immediately setting the operator to an unavaible state in the resume function?

Thanks,

Hai

FlexSim 20.1.2
flexscriptflexsim 20.1.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.

1 Answer

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Hai L2 commented

Just add them to a holiday timetable that issues an addtional stop on the object (stops accumulate).

· 3
5 |100000

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

Hai L2 avatar image Hai L2 commented ·

Would the daily resume of the shift schedule or cancel the holiday stop?

Additionally, there are 9 shifts with different start time, would that mean there should be 9 holiday time tables?

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ Hai L2 commented ·

Generally if an object has been stopped twice and resumed once then it's still stopped until the number of resumes matches the stops.

1 Like 1 ·
Hai L2 avatar image Hai L2 Jason Lightfoot ♦♦ commented ·

I did not know that. Thanks.

0 Likes 0 ·