US-GNT-002.003 Scheduling calculation - change the algorythm
Issue: http://issues.qcadoo.org/browse/QCADOOMES-203
StoryÂ
As a user I would be able to calculate the time of operation and order in case if during one operation is produced several products at one time (in one machine cycle).
Back Card
It is required to change the algorithm for calculating the time of one operation and full order (= sum of time operations for all operations in technology). At present the algorithm assumes that during one cycle of time Tj is made one part.
The algorithm must take into account that in one cycle can be produced "m" parts. If the number of parts for cycle is smaller than "m", we set-up full time Tj.
The calculation time of the operation must therefore be counted with rounding up as follow:
n - the number of part for production
m - number of pieces in one cycle
T = Tj * RoundUp (n / m) + TPZ