Hi there,
How can we create a two-week timetable and set up a custom repeat function for biweekly scheduling?
Also, is it feasible to introduce randomness to the duration of the lunch break? How could this be implemented?
Hi there,
How can we create a two-week timetable and set up a custom repeat function for biweekly scheduling?
Also, is it feasible to introduce randomness to the duration of the lunch break? How could this be implemented?
Choose Custom Repeat as the mode and enter the time after which the time table should restart. There is no graphical interface available when you choose the custom mode though. You can either fill in the table manually or you first use the Date Based mode, mark the down times for a two week period then switch the mode. The times will stay in the table.
To add a random factor to the duration, you would set up a down behaviour in which resuming the object is also scheduled in the down function.
Take for example the option Travel To Location, Delay Until Down Time Complete. It dispatches a task sequence to a task executer that keeps it busy until the end of the down time. The resume function is not actually needed in that case. Meaning that you can alter the duration in the down function code. The resume function will still trigger after the original duration, but since it doesn't anything this isn't an issue.
For a fixed resource you could schedule a delayed message in the down function and set the message trigger of the object to resume it.
Thanks @Felix Möhlmann for the response.
I understood how to set biweekly repeat. But for the down behavior, how can I change the code to make the downtime duration random? For example, if an operator has a lunch break and I want the break duration to vary randomly between 30 minutes to 1 hour, what changes do I need to make in the custom code within the Down Function?
Line 22 - swap duration for your own value or adjust it with a distribution sampled before that line:
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