[2.0.23] Fluids are not distributed equally between machines when max_fluid_flow constant is increased

Bugs that are actually features.
Osmo
Burner Inserter
Burner Inserter
Posts: 6
Joined: Wed Oct 23, 2024 12:08 pm
Contact:

[2.0.23] Fluids are not distributed equally between machines when max_fluid_flow constant is increased

Post by Osmo »

If the utility constant "max_fluid_flow" is increased beyond its normal value, fluids distribution does not work properly, causing some machines in the same network to consume more (or all) fluid than others.
Here is a simple mod that changes said value to 1000 instead of the default 100:
fluid-flow-bug_1.0.0.zip
Mod
(716 Bytes) Downloaded 5 times
Save file with the setup demonstrating the bug, one assembler consumes all of the fluid:
fluid_test7.zip
Save file
(214.5 KiB) Downloaded 6 times
With a value of 200, in the same setup, both assemblers receive fluid, however one of them receives significantly more than the other.
Attachments
factorio-current.log
(6.58 KiB) Downloaded 6 times
Rseding91
Factorio Staff
Factorio Staff
Posts: 14473
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.23] Fluids are not distributed equally between machines when max_fluid_flow constant is increased

Post by Rseding91 »

Thanks for the report however equal flow was never guaranteed and was always a byproduct of the flow algorithm as the values were set. Even in base game the flow is not perfectly even. A perfectly even flow would require two passes over the fluid consumers which was deemed unacceptable as it would slow the simulation performance for something that simply is not needed.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Not a bug”