oil and gas water treatment analysis