Automatic Water Drainage in Tanks