Page 1 of 1

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

Posted: Thu Dec 22, 2016 11:21 am
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.

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

Posted: Thu Dec 22, 2016 12:40 pm
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.

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

Posted: Thu Dec 22, 2016 1:15 pm
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.

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

Posted: Thu Dec 22, 2016 1:28 pm
by Loewchen
I see it now, the drain seems to be applied inconsistently.

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

Posted: Thu Dec 22, 2016 1:37 pm
by Ecoround
Exactly, quite a small issue but maybe there are some other systems influenced by this.

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

Posted: Tue Dec 27, 2016 2:34 am
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.

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

Posted: Wed Jan 04, 2017 5:55 pm
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)

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

Posted: Wed Jan 04, 2017 6:24 pm
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.