There was an electronic level sensor on top of the tank. There was also flow meters connected after the pumps.