Energy requirements for water treatment systems