Automatic nitrate removal system with ultraviolet sterilizer - flow diagram