FET Forum

FET Support (English) => Get Help => Topic started by: hhjeong1222 on June 12, 2014, 07:37:30 PM

Title: Can I increase total hours in a day more then 60 hours?
Post by: hhjeong1222 on June 12, 2014, 07:37:30 PM
I am working in a company 24/7. Usual schedule is for 4weeks or 5weeks.

Shift is day(8AM to 6PM), mid(2PM to 0AM), and night(6PM to next day 8AM)

Day-mid or day-night are impossible, day-day of next day is possible.


I saw below articles.

http://lalescu.ro/liviu/fet/forum/index.php?topic=1358.0

http://lalescu.ro/liviu/fet/forum/index.php?topic=1542.0

http://lalescu.ro/liviu/fet/forum/index.php?topic=82.0


If the maximum of hours is increased to 105hours(3 x 35days), then my problem maybe be solved.

Is there a way to solve it?

Title: Re: Can I increase total hours in a day more then 60 hours?
Post by: Volker Dirr on June 12, 2014, 07:44:32 PM
You can modify src/engine/timetable_defs.h
line 136
and recompile.

just the interface fet->data->hours per day won't be fine. but that is not critical if you just modify the saved fet file to enter the hours. All other stuff should work fine.
Title: Re: Can I increase total hours in a day more then 60 hours?
Post by: Liviu Lalescu on June 12, 2014, 07:55:24 PM
Maybe also see: http://lalescu.ro/liviu/fet/forum/index.php?topic=1511.msg8197

But why do you need 105 hours per day? I thought you only needed 3 "hours" per day. As you can input 35 days per "week".

With my method above, I don't know if you can manage this: "Day-mid or day-night are impossible, day-day of next day is possible." Maybe that is why you asked to use more hours? So that you can add constraints min hours between activities?

Title: Re: Can I increase total hours in a day more then 60 hours?
Post by: hhjeong1222 on June 12, 2014, 08:12:23 PM
Really thank you for reply.


I reviewed earlier posts.

In my company, Day1 night worker can not work at Day2 day.

Is it possible in 3hours x 35day setting?

I hope it is my misunderstanding.
Title: Re: Can I increase total hours in a day more then 60 hours?
Post by: Liviu Lalescu on June 12, 2014, 08:15:49 PM
That is what I thought - I think you need 105 hours per day. Just increase the variable MAX_HOURS_PER_DAY, as indicated by Volker, and recompile. Then add the hours in the .fet XML file with a text editor and don't open the hours dialog in FET.