Help understand power draw in 2.0
Help understand power draw in 2.0
I've just got back into Factorio 2.0 after not playing a while. Loving it so far, nice work guys
I don't understand this power draw though, what is drawing 4.6GW?? I found some old 1.0 posts about bugs with satisfaction but couldn't find anything for 2.0
There's 700 roboports which are all fully charged (checked with a command). No robot tasks or active robots. There's 410 laser turrets and 2k accumulators. My understanding is accumulators don't try to charge unless supply exceeds demand. Even then, with every roboport charging, and every single laser turret firing, and all accumulators charging that's 4.3GW. And not even 10% of that is happening. It does happen at night and the steam isn't enough to keep up but i would expect around 100MW deficit from the solar.
Here's the normal draw:
I don't understand this power draw though, what is drawing 4.6GW?? I found some old 1.0 posts about bugs with satisfaction but couldn't find anything for 2.0
There's 700 roboports which are all fully charged (checked with a command). No robot tasks or active robots. There's 410 laser turrets and 2k accumulators. My understanding is accumulators don't try to charge unless supply exceeds demand. Even then, with every roboport charging, and every single laser turret firing, and all accumulators charging that's 4.3GW. And not even 10% of that is happening. It does happen at night and the steam isn't enough to keep up but i would expect around 100MW deficit from the solar.
Here's the normal draw:
Re: Help understand power draw in 2.0
I beleive the 21.2 MW / 4.6 GW is referring mostly to the potential draw by your empty accus
Re: Help understand power draw in 2.0
But that red satisfaction bar only being a tiny sliver doesn't make sense. I didnt think accu potential was visualized there especially while there is no surplus and they aren't even charging. Not sure.
Re: Help understand power draw in 2.0
I have seen similar reports before, and I think every time it was from a save game created before 2.0. Is that the case here as well?goobie wrote: ↑Tue Nov 12, 2024 9:04 pm I've just got back into Factorio 2.0 after not playing a while. Loving it so far, nice work guys
I don't understand this power draw though, what is drawing 4.6GW?? I found some old 1.0 posts about bugs with satisfaction but couldn't find anything for 2.0
There's 700 roboports which are all fully charged (checked with a command). No robot tasks or active robots. There's 410 laser turrets and 2k accumulators. My understanding is accumulators don't try to charge unless supply exceeds demand. Even then, with every roboport charging, and every single laser turret firing, and all accumulators charging that's 4.3GW. And not even 10% of that is happening. It does happen at night and the steam isn't enough to keep up but i would expect around 100MW deficit from the solar.
11-13-2024, 08-02-32.png
Here's the normal draw:
11-13-2024, 08-02-42.png
Re: Help understand power draw in 2.0
This should be 600MW by my count.. and i thought they only charged when supply exceeded demand?
Last edited by goobie on Wed Nov 13, 2024 4:58 am, edited 1 time in total.
Re: Help understand power draw in 2.0
I used the ~2.0.14 Linux headless binary to create the map, I did specify a 1.0 server settings file, not intentionally just by copy paste. But its running ok otherwise with the same settings file. We did port a lot of 1.0 rail blueprints across which was a bit painful.MechBFP wrote: ↑Tue Nov 12, 2024 10:40 pmI have seen similar reports before, and I think every time it was from a save game created before 2.0. Is that the case here as well?goobie wrote: ↑Tue Nov 12, 2024 9:04 pm I've just got back into Factorio 2.0 after not playing a while. Loving it so far, nice work guys
I don't understand this power draw though, what is drawing 4.6GW?? I found some old 1.0 posts about bugs with satisfaction but couldn't find anything for 2.0
There's 700 roboports which are all fully charged (checked with a command). No robot tasks or active robots. There's 410 laser turrets and 2k accumulators. My understanding is accumulators don't try to charge unless supply exceeds demand. Even then, with every roboport charging, and every single laser turret firing, and all accumulators charging that's 4.3GW. And not even 10% of that is happening. It does happen at night and the steam isn't enough to keep up but i would expect around 100MW deficit from the solar.
11-13-2024, 08-02-32.png
Here's the normal draw:
11-13-2024, 08-02-42.png
Re: Help understand power draw in 2.0
Roboports. It's always the roboports. They have a pretty big internal "battery" and a crazy draw when they're trying to fill it up. Normally you don't need to worry about this too much, but if they all try to recharge at once for some reason they hit your power network hard. This could be a temporary thing if you're just recovering from a blackout for instance, or it could mean you have way more bot activity than your power generation can handle.
- Stargateur
- Fast Inserter
- Posts: 185
- Joined: Sat Oct 05, 2019 6:17 am
- Contact:
Re: Help understand power draw in 2.0
If you are fine with mod https://mods.factorio.com/mod/ElectricPriority could help I just update it.
Re: Help understand power draw in 2.0
this thread has a good explanation:
viewtopic.php?f=18&t=120828
However, i think it's shown in a really bad way in the UI. now i'm sure there's reasons for the massive power draw to fill these buffers, but it does seem extremely confusing how it's displayed in the UI - the machines all have a "maximum power draw" value you'd expect to be the maximum, but clearly that's not the case.
Makes me wonder what would happen if the buffer would just fill at the "maximum power draw" value or slightly over it.
viewtopic.php?f=18&t=120828
However, i think it's shown in a really bad way in the UI. now i'm sure there's reasons for the massive power draw to fill these buffers, but it does seem extremely confusing how it's displayed in the UI - the machines all have a "maximum power draw" value you'd expect to be the maximum, but clearly that's not the case.
Makes me wonder what would happen if the buffer would just fill at the "maximum power draw" value or slightly over it.
Re: Help understand power draw in 2.0
I checked with a command, all the roboports were all charged both times i observed this. The base has been idling, no bots have moved in an hour or so.
But their draw was only 12.5MW during the brownout, less than needed. Either way, if they started leaking charge.. still that draw would need hundreds more roboports than i have to hit 4GW. These should be pulling at most 1.4GW to charge.
This is the check i used
Avg charge: 100%. They are all normal quality
But their draw was only 12.5MW during the brownout, less than needed. Either way, if they started leaking charge.. still that draw would need hundreds more roboports than i have to hit 4GW. These should be pulling at most 1.4GW to charge.
This is the check i used
Code: Select all
local total_energy, total_capacity = 0, 0
for _, roboport in pairs(game.player.surface.find_entities_filtered({type = "roboport"})) do
total_energy = total_energy + roboport.energy
total_capacity = total_capacity + roboport.electric_buffer_size
end
game.player.print("Avg charge: " .. string.format("%.2f", (total_energy / total_capacity) * 100) .. "%")
Last edited by goobie on Wed Nov 13, 2024 11:06 am, edited 7 times in total.
Re: Help understand power draw in 2.0
Thanks, will check that outStargateur wrote: ↑Wed Nov 13, 2024 9:45 am If you are fine with mod https://mods.factorio.com/mod/ElectricPriority could help I just update it.
- Stargateur
- Fast Inserter
- Posts: 185
- Joined: Sat Oct 05, 2019 6:17 am
- Contact:
Re: Help understand power draw in 2.0
There is a difference between consumption and raw input, roboport and laser can both ask for more energy that they consume in order to fill their buffer, roboport have 5MW limit input, 700 * 5MW = 3.5GW, so you have at least 3.5GW of roboport asking energy after a blackout https://github.com/wube/factorio-data/b ... .lua#L6668goobie wrote: ↑Wed Nov 13, 2024 10:35 am I checked with a command, all the roboports were all charged both times i observed this. The base has been idling, no bots have moved in an hour or so.
But their draw was only 12.5MW during the brownout, less than needed. Either way, if they started leaking charge.. still that draw would need hundreds more roboports than i have to hit 4GW. These should be pulling at most 1.4GW to charge.
This is the check i usedAvg charge: 100%. They are all normal qualityCode: Select all
local total_energy, total_capacity = 0, 0 for _, roboport in pairs(game.player.surface.find_entities_filtered({type = "roboport"})) do total_energy = total_energy + roboport.energy total_capacity = total_capacity + roboport.electric_buffer_size end game.player.print("Avg charge: " .. string.format("%.2f", (total_energy / total_capacity) * 100) .. "%")
Re: Help understand power draw in 2.0
Looks like you're right
https://wiki.factorio.com/Roboport
for Roboport - I thought it was 2.1MW?https://wiki.factorio.com/Roboport
2.0.7
Reduced max energy consumption from 5 MW to 2.1 MW.
- Stargateur
- Fast Inserter
- Posts: 185
- Joined: Sat Oct 05, 2019 6:17 am
- Contact:
Re: Help understand power draw in 2.0
again max CONSUMPTION != max input flow. The max consumption have been reduced cause they nerfed by half robot recharge rate (off topic: OMG THAT EXPLAIN A LOT) and so max consumption have been reduced automatically (that calculate by game engine it's not a config number). It should be possible to reduce the max input flow, since I think quality increase max input too but I'm unsure
"buffer_capacity = "100MJ"" that 20 accumulator, why....
edit: well well well, I think they could reduce a lot the max input of roboport.
EDIT2: well I update my balance mod :p https://mods.factorio.com/mod/StarBalancing
- Attachments
-
- roboport epic.png (85.72 KiB) Viewed 571 times
Re: Help understand power draw in 2.0
I'm not really understanding the distinction here. There are no 'input flow' metrics on the wiki, the three factors are "Drain", "Energy consumption" and "Robot recharge rate". As no robots were recharging that recharge rate is irrelevant. Drain is the power needed when its fully charged. So what's left is the consumption when its charging its battery, which is says is 2.1MW. That seems like a mistake to me. It should say "Max energy consumption 5MW", as it can exceed the maximum of 2.1MW.Stargateur wrote: ↑Thu Nov 14, 2024 12:52 pmagain max CONSUMPTION != max input flow. The max consumption have been reduced cause they nerfed by half robot recharge rate (off topic: OMG THAT EXPLAIN A LOT) and so max consumption have been reduced automatically (that calculate by game engine it's not a config number). It should be possible to reduce the max input flow, since I think quality increase max input too but I'm unsure
"buffer_capacity = "100MJ"" that 20 accumulator, why....
edit: well well well, I think they could reduce a lot the max input of roboport.
EDIT2: well I update my balance mod :p https://mods.factorio.com/mod/StarBalancing