detect redstone energy cell's storage

  • Please make sure you are posting in the correct place. Server ads go here and modpack bugs go here
  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Wekmor

New Member
Jul 29, 2019
939
0
1
Hi, is it possible to detect if the energy cell is at 50% of it's storage and send a redstone signal and turn it of once it hit like 90% storage?

1.4.7 ultimate
 
Computercraft/MiscPeripherals can do it. Don't ask me how though, I don't run these mods in my worlds :p

But it probably has to do something with sensor cards and/or the gate reader.
 
People have been asking for this feature for the IC2 storages as well since the dawn of time but no-one has brought it in so don't hold you're breath...
 
Again, MiscPeripherals can do that.

And if you just want to see the fill% on a monitor on the wall, Nuclear Control can do that.
 
Just a thought experiment, but if you had 10 RECs, and had them in series, so one charge the other, and all power usage was from one, then you could use gates to detect 10% steps. So if the 5th one is empty, turn on your engines, if the 10th one is empty turn off the engines.

But I think you lose more energy if setup like that sending energy between RECs.
 
Just a thought experiment, but if you had 10 RECs, and had them in series, so one charge the other, and all power usage was from one, then you could use gates to detect 10% steps. So if the 5th one is empty, turn on your engines, if the 10th one is empty turn off the engines.

But I think you lose more energy if setup like that sending energy between RECs.
In the 1.5 versions of TE, that doesn't lose you any more energy than what gets taxed when it enters the system.

Sent from boobs (because why not?)
 
You don't lose energy from sending between RECs unless you use an archaic version (older than 2.3.0.0) ;)

EDIT: curses, ninja'd!
 
  • Like
Reactions: ApSciLiara
Cool. Remembered something about that somewhen, just not the details.

Bit more of a resource cost of 10 RECs over 1 REC, but definitely possible with gates and logic.
 
You could use just 2 cells: Turn on engines when first cell stops being full. Turn off engines when the second one becomes full.

Or one cell: Turn on engines when empty = true, turn off engines when full = true. All you need in any of these cases is two gates and some form of memory latch.
 
  • Like
Reactions: ApSciLiara
Miscperipherals adds the gate reader peripheral. Exposes all the gate conditions available to a gate in that position in a computer readable form. I have never used it myself but it might be good for what you want.

Alternatively, another computercraft addon called openperipherals can turn a redstone energy cell into a computer peripheral. If you put a computer next to a REC and wrap it as a peripheral it exposes some useful commands that might be easier than the miscperipherals method. http://www.openperipheral.info/openperipheral/documentation/thermalexpansion/redstone-energy-cell. -- Sorry just realised that is not available for 1.4.7 but I will leave the information there.

In nuclear control (1.4.7 versions) there is a block that can read cards that are attached to energy storage units and can emit redstone under user configured conditions.
 
  • Like
Reactions: Wekmor
In nuclear control (1.4.7 versions) there is a block that can read cards that are attached to energy storage units and can emit redstone under user configured conditions.


I looked through nuclear control and can not find anything that helps me there. Do you know what block can do this?
 
I looked through nuclear control and can not find anything that helps me there. Do you know what block can do this?

It is called the Range Trigger. I find it a bit hard to use though at least in 1.4.7 but the GUI has two configurable values that represent amounts of EU and it supports up to 10 digits.
 
Nuclear Control is only for IC2, it does not in fact handle TE's redstone energy cells. I think casilleroatr either got confused or worded something really poorly there.
 
Nuclear Control is only for IC2, it does not in fact handle TE's redstone energy cells. I think casilleroatr either got confused or worded something really poorly there.

Im not confused but I did word it poorly. I'm sorry if I got your hopes up Wekmor. The nuclear control bit in response to another comment.

People have been asking for this feature for the IC2 storages as well since the dawn of time but no-one has brought it in so don't hold you're breath...

In my second post I did say that the numbers represent EU though.
 
Dang it xD

Well I got something with an Iron Or gate. Redstone signal if full. Redstone signal if empty.
Redstone is connected to a Toggle latch.
Not exactly what I wanted but atleast somewhat good.
 
Er.

If you're trying to have an automated charging system. "Has room for energy" works wonders. If has room for energy, send signal and when the cell is full, the signal will turn off since it has now doesn't "has room for energy".
 
  • Like
Reactions: ApSciLiara
But 'has room for energy' will make my engines run all the time since ae uses a bit of power every tick. With this my engines will run all the time :/
 
Nope, they won't. They're combustion engines, and they have a unique behavior.

If at any time while they run the redstone signal drops and the engine switches off, they go into forced cooldown mode - meaning all the accumulated heat must first go back down to 20°C. And then it stays there for another 30 seconds or so for good measure. You can try to switch them on all you want, they won't react. Only when that cooldown period is over, they start again. This is quite convenient because it prevents a constant on/of/on/off flicker when there are small amounts of energy constantly being drawn from the energy cell.
 
But 'has room for energy' will make my engines run all the time since ae uses a bit of power every tick. With this my engines will run all the time :/

Why not calculate the amount of resources that your AE network needs and match it with an independent power gen into an REC. I know expanding your AE network will increase those power requirements so if demand outstrips supply as it will do eventually if you increase your network, so the redstone signal is empty signal can trigger a few more reserve engines (I recommend Thermal Esxpansion Steam Engines) to switch on, hopefully making up the shortfall and increasing the charge in the REC's charge. You would need to hook the gate up to a state cell to keep the redstone output on for a significant time, maybe 5 minutes, to keep the reserve engines on. You could also make it so that it sets up some kind of alert signal if the reserve engines have been turned on so that you can go and expand your AE main power supply.
 
Nope, they won't. They're combustion engines, and they have a unique behavior.


They are commercial steam engines with steam from factorization solar boilers


stuff from post above

That state cell thingy is actually a pretty nice idea, gonna test that tomorrow thanks!

And to calculate the cost... 1 mj = 5 energy units?

Because I tried something where my ae system needs 10 energy units (which means 2 mj) per tick but my commercial steam engine producing 4 mj/t wasn't enough to keep the energy cell full. But yeah I might just do some more testing there. Had no real time today
 
  • Like
Reactions: ApSciLiara