I'm having a hard time to model a scenario where a certain number of labor needs to complete a loading process to trucks within several hour from its start loading time.
In detail:
Say there is a planned loading time for trucks, say at 4PM, and there is 3 trucks coming on 4PM. Say there is to types of truck, large and small, with 2/3 of the shipment comes in small trucks, so at 4PM there is 2 small trucks.
Smaller trucks can be completed within 2 hour, but larger trucks can only be completed in 3.5 hours. Every hour there is always 3 trucks coming, 2 small and 1 large truck. Each truck will be handled by one team, which consists of three people.
How do I calculate the most effective number of team if the cycle continue until 11PM? I really want to formulate this in mathematical equations.
If more information is needed regarding the case, please put in on the comment.
Edit
Please consider that the team can get vacant after working at one truck, and work on another truck if there is any. So, if one team have completed the loading process for one truck, and the other two is still occupied with other trucks, for the fourth truck that will come can be handled by the first team.