[1.1.69] Productivity bonus does not properly apply at high crafting speed

Things that has been reported already before.
protocol_1903
Fast Inserter
Fast Inserter
Posts: 200
Joined: Fri Sep 09, 2022 4:33 pm
Contact:

[1.1.69] Productivity bonus does not properly apply at high crafting speed

Post by protocol_1903 »

Problem

Any number of modules inside of a machine do not create the expected productivity. It was tested in assembly machine 3s and electric furnaces.

Testing

Test 1
image_2022-09-24_115747419.png
image_2022-09-24_115747419.png (522.39 KiB) Viewed 909 times
image_2022-09-24_115756598.png
image_2022-09-24_115756598.png (474.43 KiB) Viewed 909 times

This is the construction used to test the productivity in furnaces. The arithmetic combinator takes all inputs and returns the remainder of those numbers when divided by 100. This allows viewing of the total number of items inside of the system by hovering over the power pole.

Each of the furnaces was given a total of 10k copper ore. Each furnace has 2x productivity module 3s, and 12x beacons affecting it with 2x speed module 3s each.
The expected result was exactly 12k copper plates, with no productivity left inside of the furnace. This expectation returned true in 7 of the 16 furnaces in which this was tested. 5 of the remaining furnaces had a remaining productivity of ~ 1% and 12k finished products, and the other 4 had a remaining productivity of ~ 99% with 11999 finished products.

Test 2

image_2022-09-24_115724317.png
image_2022-09-24_115724317.png (514.68 KiB) Viewed 909 times
image_2022-09-24_115734692.png
image_2022-09-24_115734692.png (461.86 KiB) Viewed 909 times

This is the construction used to test productivity in assemblers. The arithmetic combinator takes all inputs and returns the remainder of those numbers when divided by 100. This allows viewing of the total number of items inside of the system by hovering over the power pole.

Each of the assembling machine 3s was given a total of 10k copper plates. Each assembler has 4x productivity module 3s, and 12x beacons affecting it with 2x speed module 3s each.
The expected result was exactly 28k copper cables, with no productivity left inside of the furnace. All assemblers returned 28k copper cables, but anywhere from ~ 1-10% productivity left over in the machine.


Expectation

Productivity will be applied with a flat productivity rate per module per craft. In this case, 10% productivity per module per craft.

Appendix

I looked and found a similar bug report here that details assemblers with a crafting time of less than one tick, but this isn't what is happening here.
Attachments
factorio-current.log
(7.94 KiB) Downloaded 53 times
If you need to reach me, message me on discord.

I make qol mods. Check them out, maybe.
https://mods.factorio.com/user/protocol_1903
If you have a mod idea, I can look into it.
User avatar
Silari
Filter Inserter
Filter Inserter
Posts: 557
Joined: Sat Jan 27, 2018 10:04 pm
Contact:

Re: [1.1.69] Productivity bonus does not properly apply at high crafting speed

Post by Silari »

Almost certainly a dupe of this

Progress is a floating point number, they aren't precise so sometimes you get very tiny differences in the amounts.
Post Reply

Return to “Duplicates”