I have a pump connected to a water tank.
The city water fills the tank through a (mechanical) float valve (to prevent overfill).
And the pump's inlet is connected to both the tank's outlet, and also the city water pipe (through two check valves, so that the tank won't be over-filled through its outlet).
The problem is that, if the tank is empty, the pump will suck air through the tank (instead of just sucking water through the city water pipe).
The solution I thought of was to mount a float valve, albeit inverted, to the outlet of the tank, so that when the tank is empty, it would shut the outlet.
Would this solution work? would there be any problems with it?
Edit:
A Schematic of what I'm trying to setup:
The reason I want the city water pipe to be connected directly to the pump is because of low city water pressure which could fail to keep up with the rate at which the water is getting depleted from the tank, especially if the consumption is high (and the tank could go dry).
The problem is that I think if the tank goes dry, even with the city water pipe connected to the pump's inlet, it will suck air through the empty tank.