Productivity module issue

Post all other topics which do not belong to any other category.
ipvgbm1095
Burner Inserter
Burner Inserter
Posts: 14
Joined: Sat Jul 07, 2018 6:55 am
Contact:

Productivity module issue

Post by ipvgbm1095 »

I fairly state that I attach productivity module first and then put a stack of copper ore for smelting.

At first it seemed to be working properly with completely emptied productivity gauge with extra production, but as I progress further it seems like things are going slightly off from standard.
Factorio Screenshot 2019.03.13 - 17.52.50.23.png
Factorio Screenshot 2019.03.13 - 17.52.50.23.png (1.53 MiB) Viewed 2441 times
From 2nd attempt it became like this, with slightly less gauge from additional production. I'm fairly sure at this rate each 5 smelting grants extra 1 plate for this, but it always ends up with 1 or 2 less plate from fully expected production.

I'm sure there was no electricity cutoff, which could have caused this sort of jittery from my experience, so I'm sure everything's perfectly set.

Is this what normally happens in Factorio? If not, what can I do to compensate that slight bits of extra productivity?
bobucles
Smart Inserter
Smart Inserter
Posts: 1708
Joined: Wed Jun 10, 2015 10:37 pm
Contact:

Re: Productivity module issue

Post by bobucles »

It sounds like your typical floating point "off by .0000000001" situation. If you want that extra free bit better invest in the next recipe.
Acacel
Inserter
Inserter
Posts: 27
Joined: Thu Apr 27, 2017 10:10 pm
Contact:

Re: Productivity module issue

Post by Acacel »

It´s a known Problem, and as far as i know you can´t do anything against it
FasterJump
Fast Inserter
Fast Inserter
Posts: 245
Joined: Sat Jul 09, 2016 11:43 am
Contact:

Re: Productivity module issue

Post by FasterJump »

Why not buff the productivity by 0.001%?

Productivity module 1: 4% bonus becomes 4.00004% bonus
Productivity module 3: 10% bonus becomes 10.00010% bonus
4x Productivity module 3: 40% bonus becomes 40.00040% bonus
User avatar
leadraven
Filter Inserter
Filter Inserter
Posts: 354
Joined: Fri Jan 18, 2019 7:23 pm
Contact:

Re: Productivity module issue

Post by leadraven »

What the hell. It's definitely floating point error, but it's possible to make an integer check each time recipe is done.
I'm afraid this math won't be corrected due to performance priority.
DerGraue
Fast Inserter
Fast Inserter
Posts: 151
Joined: Mon May 30, 2016 12:12 pm
Contact:

Re: Productivity module issue

Post by DerGraue »

I do not know what you did exactly, but I just tested this.
1 new electric furnace, 2 prod modules, insert 1 stack ore: I got exactly 60 plates which is exactly what it should be.
Post Reply

Return to “General discussion”