Minecraft-Technocracy / Technocracy

Absolutely excessive tech mod for minecraft
GNU Lesser General Public License v2.1
8 stars 6 forks source link

Expandable Storage Options #28

Closed Cydhra closed 5 years ago

Cydhra commented 5 years ago

Multi-Block structures for large scale fluid and energy storage are required. Small-

tth05 commented 5 years ago

Should those tanks be able to have weird shapes like the energy cells from EnderIO? Also any idea capacity wise?

For design ideas I guess the fluid tank is just a frame and glass to fill it, with inlets, outlets, etc. Not sure about the capacitor... I guess it should have solid walls but be filled with some sort of energy block. What might be even cooler would be if the multi block capacitor was like a Lead–acid battery, and would also like look it. The capacity would be a bit unrealistic but it would be something different from other mods.

Cydhra commented 5 years ago

Yes, the idea about the fluid MB-structure seems valid. for the capacitor I would have done a homogeneous structure, so single-block is also possible. But the idea to have more complex design closer to real-life capacitors is also great.

tth05 commented 5 years ago

Decided to use the following design this Basically a simplified version of a lead-acid battery. The pink blocks in the top layer are connectors that connect the electrodes with each other. They can be replaced with energy ports in whatever combination you want. The empty space has to be filled with sulfuric acid and electrodes are not allowed to touch each other or touch the housing. The controller can be placed anywhere in the sides.

Cydhra commented 5 years ago

Could this potentially feature more than two electrodes?

tth05 commented 5 years ago

Yes, max size is currently 20x20 (just a placeholder) and you can put as much electrodes in it as possible. I'd need advice on what capacity to give based on the amount of electrodes and height of those. Probably some basic formula would be sufficient.

Cydhra commented 5 years ago

I'll think of something

Cydhra commented 5 years ago

Summary of our prior discussion:

The formulas to calculate the stats will be those for now:

avgDistanceSq = average squared distance of each interior block of the structure from its nearest electrode block.
capacity = sqrt(avgDistanceSq) * 512000 * total interior volume / number of electrode blocks
transfer_speed = 300 * number of electrode blocks

Beware, that the number of total electrode blocks, not only the number of electrodes is counted. The constant factors might have to be adjusted to account for this.

Additionally the constant factors will later be configurable.

Cydhra commented 5 years ago

After reconsideration and discussion we changed the formulas, so the energy storage scales more controllable: Loss of capacity with increasing number of electrodes was reduced and gain of transfer speeds was increased accordingly.

New formulas:

capacity = sqrt(avgDistanceSq) * 512000 * total interior volume / sqrt(2 * number of electrode blocks)
transfer_speed = 200 * (number of electrode blocks)²
Cydhra commented 5 years ago

So only a tank structure is missing. Compared to the capacitor this should be easy, as there is no engineering mechanic to be hidden here: The tank just grows in capacity with its size and does not limit input and output. A mechanic to incentivize players to build complex tanks does not make much sense, especially because a player likely will need multiple tanks for different fluids anyway.

Note: Drums are rather big in capacity (which may or may not be adjusted in QA), but they cannot be automated, which is the reason players will need a multiblock structure.

The tank should have optional windows, multiple inlets and outlets (possibly on all sides?), and it should only have a controller if this is strictly necessary. If we can avoid adding a controller block, that'd be great.

Futhermore, it should be discussed whether we want a more expensive, but more space efficient version of the tank structure.

Cydhra commented 5 years ago

With the addition of the tank - done