I'm really not sure why you are trying to reinvent the wheel as far as the fatigue model is concerned in GWX3.0.
If you RTFM (never used that for a while

) pages 58-63 you will find a comprehensive/detailed explanation.
GWX ALREADY HAS an eight hour crew fatigue system that is reduced to four hours in bad weather.