Page 1 of 1

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

Posted: Tue Dec 03, 2024 6:58 am
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 10 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 14 times
With a value of 200, in the same setup, both assemblers receive fluid, however one of them receives significantly more than the other.

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

Posted: Tue Dec 03, 2024 8:36 am
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.