HbmMods / Hbm-s-Nuclear-Tech-GIT

A flaming wreck of a minecraft mod about nuclear technology that is somehow still in development.
GNU General Public License v3.0
387 stars 270 forks source link

Fluid networks enhancement #1721

Open abel1502 opened 1 week ago

abel1502 commented 1 week ago

Currently having two fluid tanks set to input-output in one network makes them juggle their contents so rapidly that both appear empty in the UI. This makes it hard to store a single fluid in more than one tank. I can see three ways to remedy this, all inspired by equivalent features of the HE network:

  1. Tank priority, similar to what energy storage blocks already have.

  2. Unidirectional pipes, a.k.a. fluid diodes. Could also support limiting flow rate, like electrical diodes already do.

  3. Since the energy storage blocks do not suffer from this visual glitch, even when several of the same priority are connected, I assume it could be remedied directly.

None of these are mutually exclusive, implementing all three would be ideal, but any one would make dealing with fluid networks much more convenient.

TheChosenIndividual commented 1 week ago

Maybe we should have a machine that can take inputs of different fluids at a medium storage capacity, i have a concept for that actually! The "Fluid Manager" which lets you store, maybe 8 or 12 different fluids at a reasonable capacity, and has slot for each to fill barrels and input or output via duct, i feel like it'd be great for fluids you should have on hand in your shop like Petroleum or Hydrogen Peroxide, Nitric Acid etc

JameH2 commented 1 week ago

Great when do we get to see a pr

TheChosenIndividual commented 1 week ago

Great when do we get to see a pr

Uhhh...well...you see...i dont know how to code, im not a programmer, im just some random youtuber, i guess...you could make it if you want

HbmMods commented 1 week ago

Fluid networks will be reworked to use the same base system as the current power grids, so they will benefit from the same improvements. Flow direction valves have been planned for a long time but I never really got around doing those.

Since the energy storage blocks do not suffer from this visual glitch, even when several of the same priority are connected, I assume it could be remedied directly.

In fact it's no different in the energy system, the difference is that batteries never report their actual fill state but rather the average before and after transfers, which evens out.

TheChosenIndividual commented 1 week ago

Fluid networks will be reworked to use the same base system as the current power grids, so they will benefit from the same improvements. Flow direction valves have been planned for a long time but I never really got around doing those.

Since the energy storage blocks do not suffer from this visual glitch, even when several of the same priority are connected, I assume it could be remedied directly.

In fact it's no different in the energy system, the difference is that batteries never report their actual fill state but rather the average before and after transfers, which evens out.

I hope the new liquid system interacts well with the reactors...speaking of which...Supercooled glycol as emergency coolant :D (I dont know what that sentence means dont ask me)