Fluid Memory Storage: Extreme


A heavily reworked version of FMS for 2.1. Four new storage units have been added to provide more variety in fluid logistics. Starting with version 3.0.0, the mod has been moved to LTS mode. Details are in the changelog.

Content
2 hours ago
2.1
0
Logistics Fluids Storage
Owner:
Xalveron
Source:
N/A
Homepage:
N/A
License:
MIT
Created:
2 hours ago
Latest Version:
3.0.0 (2 hours ago)
Factorio version:
2.1
Downloaded by:
0 users

The difference from the original is that I added four new entities.

The entire line in a row (and their retention percentages): Loader, 1%, Quarter, 25%, Universal, 50%, Three Quarters, 75%, Reservoir, 99%. Each is designed for its own purpose.

Now, an explanation of why this was done. In 2.0.7, which is generally considered the release version of Factorio 2.0, Wube completely redesigned the liquid system, switching to determining the pump's liquid transfer rate based on the pipeline's percentage fill level. And as an active player, I noticed a problem: Regular tanks cause the pump's speed to drop very quickly, from 19,000 to 15,000 units/s or less in just a couple of seconds. I started searching for a solution, delving into the mod's code. After fiddling with the values, I discovered a curious quirk of this new system: If the liquid storage is almost completely empty, i.e., if it's forced to maintain 1% or even less of its internal capacity, the pumps operate at their maximum, rarely dropping below 19,000 u/s. However, the fluid load will be shockingly low. I played around with the values again, reversing the logic and forcing the storage to hold a 99% of its internal buffer. The situation completely flipped logically. And so the idea was born to add two additional entities specifically for this purpose.
I implemented them, but then another problem arose: Let's say I can quickly unload liquid from train wagons. But how do I quickly pump it into a reservoir so that the liquid system is always 99% full? Correct, no way, because when I tried pumping it through pipes, the percentage in the reservoir capped at 5% (at the time). I struggled for two days, racking my brain, and then an idea came to me: What if I completely ignore physical pumping and just send the liquid directly to the storage's internal buffer? And that's how update 2.5.0 was born. And now, I've added storages for 25% and 75%, mainly to fill the gaps between these three storages. This is such a long story, I hope you found it interesting to read :)