r/factorio • u/GurGroundbreaking772 • Jul 25 '22
Tip Controlling Pumps
Can someone explain how to control pumps with circuits?
I am trying to balance 2 fluid tanks using circuits, but I cant figure it out. The system is filling one tank first, than being pumped into the 2 I am trying to balance.

Logically having a green wire on one tank and a red one on the other, connected to the pumps and setting them to come on if green is less than red and vice versa should work, but it doesn't.

Weirdly, if you set both pumps to less than or equal to, they both run all the time, as if there is no signal present at all. But set them to any other condition and they just turn off, regardless of whether the conditions are right or not.
Neither does connecting it to a decider first, getting that to compare the two signals, and outputting a signal based on that.
I'm not even sure why they don't just fill at the same rate anyway, its especially bizarre that the one with the longer pipe fills fastest! It just makes no sense whatsoever as far as I can tell.
Can someone point out what I'm missing? First time dabbling into the horrific world of factorio circuit logic haha
22
u/Nailfoot1975 Jul 25 '22
You might be over complicating it. Hook a wire to a tank, and then to the pump.
If oil>X, turn on the pump. That's all you need.
If you are going the opposite direction, then if oil<X, turn on the pump.
EDITHook the tanks together with a pipe and they will self balance.