the productivity module 1 gives the following:
speed -15%
productivity bonus 4%
What EXACTLY is the formula that determines production here?
Assume we're making copper cable in an assembly 2 machine:
Assembly 2 has speed 0.75
2 copper cables cost 1 copper plate, and take 0.5 secs.
This means that WITHOUT productivity, an assembly 2
- consumes (0.75 / 0.5) * 1 = 1.5 copper plates per sec
- produces (0.75 / 0.5) * 2 = 3 copper cables per sec
If I understand productivity modules correctly, it means that WITH productivity 1 module, the same assembly 2
- consumes ((0.75 * (1 - 0.15) ) / 0.5) * 1 = 1.275 copper plates per sec
- produces ((0.75 * (1 - 0.15) ) / 0.5) * 2 * 1.04 = 2.652 copper cables per sec
in other words, the general formula would be:
Is this formula correct?Output = Standard-output * (1 + prod-bonus) * (1 - speed penalty) per second
Input = Standard-input * (1 - speed-penalty) per second
But it could also be:
Output = Standard-output * (1 - speed penalty)
Input = Standard-input * (1 - speed-penalty) / (1 + prod-bonus)
The way the gui of a machine with productivity module looks, definitely suggests the first formula, but it could be that the speed penalty is "calculated into" the extra output. I'm not sure.
Secondly:
I am assuming that these percentages are additive, rather than multiplicative. If I add 2 modules, it multiplies the speed by a factor of (1 - 0.15 - 0.15) = 0.7, rather than by a factor of (1 - 0.15)(1-0.15) = 0.7225?
In any case, I have read that "speed modules and productivity modules complement eachother". Can someone show the math behind this?
Why is it better to use 1 speed module and 1 productivity module, rather than 2 of either? (i.e. what is the math behind this?)