

The resulting circuit network will know about the fluid level in every storage tank and pass this information to every pump.

Connect every pump and every fluid tank to a single circuit network of red (or green) wire.

Note: Alternatively, the blocking pumps could be added to the chemical plant output pipes, but there is no need to add pumps to both inputs and outputs.
