Cascade control of a water tank heating process