[Rseding91] [14.21] Power drain applied inconsistently when using eff. modules

This subforum contains all the issues which we already resolved.
Ecoround
Manual Inserter
Manual Inserter
Posts: 4
Joined: Thu Dec 22, 2016 10:56 am
Contact:

[Rseding91] [14.21] Power drain applied inconsistently when using eff. modules

Post by Ecoround »

Minor Bug:
Up to a energy consumption reduction of 50% the drain stays at the normal value and isn't influenced by modules/beacons. From 55% to 80% the Drain Power reduces from the default 100% Value (e.g 7 kW for the Assembler 3) to ~40% (~2.4 kW for the Assembler 3 for -80%) The values in between are:
-55% = ~90% Drain Power
-60% = ~80% Drain Power
-65% = ~70% Drain Power
-70% = ~60% Drain Power
-75% = ~60% Drain Power
-80% = ~40% Drain Power
This seems to affect all machines with drain power

EDIT: The drain power is reduced ONLY when the machine is active (e.g. crafting something)

Its just a small bug i found while testing, i thought it was worth sharing as there might be more behind this.

Loewchen
Global Moderator
Global Moderator
Posts: 8968
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [0.14.21] Drain Power reduced for -55% to -80% power savings

Post by Loewchen »

The power drain is the value of the input power of the machine when not active. The value as well as the actual measure on the network show 7kW on the tier 3 assembler, independent of any efficiency modules.
I have no idea what you mean by: "The drain power is reduced ONLY when the machine is active (e.g. crafting something)", when the machine is active the power drain value is not applied at all, the power consumption value is.
So please clarify what you consider the bug to be.

Ecoround
Manual Inserter
Manual Inserter
Posts: 4
Joined: Thu Dec 22, 2016 10:56 am
Contact:

Re: [0.14.21] Drain Power reduced for -55% to -80% power savings

Post by Ecoround »

Loewchen wrote:The power drain is the value of the input power of the machine when not active. The value as well as the actual measure on the network show 7kW on the tier 3 assembler, independent of any efficiency modules.
I have no idea what you mean by: "The drain power is reduced ONLY when the machine is active (e.g. crafting something)", when the machine is active the power drain value is not applied at all, the power consumption value is.
So please clarify what you consider the bug to be.
Ok let me clarify: An active Assembler 3 without modules consumes 217 kW of power Image So 210 kW active consumption + 7 kW of drain. When you apply a -50% energy consumption module the active consumption drops as expected to 105 kW Image and the total consumption is 105 kW + 7 kW = 112 kW Image. But here comes the "bug" part. If you drop the power consumption lower than 50 % (for example to 20%) the active consumption is as expected 41.9 kW Image. So the total consumption should be 41.9 kW + 7 kW = 48.9 kW. But that is not what the experiment shows: The drain power is now not 7 kW but for whatever reason 40% of that (2.8 kW). The total power is now 41.9 kW + 2.4 kW = 44.3 kW Image. For power consumption reductions between -50% and 80% the drain power is some where in between that (shown in my original post). Hope this could clear that up.

Loewchen
Global Moderator
Global Moderator
Posts: 8968
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [0.14.21] Drain Power reduced for -55% to -80% power savings

Post by Loewchen »

I see it now, the drain seems to be applied inconsistently.

Ecoround
Manual Inserter
Manual Inserter
Posts: 4
Joined: Thu Dec 22, 2016 10:56 am
Contact:

Re: [14.21] Power drain applied inconsistently when using eff. modules

Post by Ecoround »

Exactly, quite a small issue but maybe there are some other systems influenced by this.

Rseding91
Factorio Staff
Factorio Staff
Posts: 14093
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [Rseding91] [14.21] Power drain applied inconsistently when using eff. modules

Post by Rseding91 »

Can you post a small save file with it in the "wrong" state? The drain isn't changed on any entity when it has modules or not so I'm thinking there's some calculation happening you're not accounting for.
If you want to get ahold of me I'm almost always on Discord.

Ecoround
Manual Inserter
Manual Inserter
Posts: 4
Joined: Thu Dec 22, 2016 10:56 am
Contact:

Re: [Rseding91] [14.21] Power drain applied inconsistently when using eff. modules

Post by Ecoround »

Yes sure, here it is. If you click on the right power pole you can see that the consumption of the assembler is 44.7 kW and not 48.9 kw as it should be (41.9 kW + 7 kW Drain)
Attachments
Drain Efficiency Bug.zip
(1.54 MiB) Downloaded 215 times

Rseding91
Factorio Staff
Factorio Staff
Posts: 14093
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [Rseding91] [14.21] Power drain applied inconsistently when using eff. modules

Post by Rseding91 »

Fun stuff :D This is actually a wide-spread issue with anything that can use efficiency modules. They reduce the normal power usage so much the "drain" mechanic isn't left with enough power to drain so the machine just ends up consuming less power than it's meant to.

Anyway, fixed for 0.15.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Resolved Problems and Bugs”