pH adjustment has to be done in the feed to the RO system to improve the EDI performance. Raising the pH of RO permeate will not improve the EDI product water quality. Raising the pH before the RO allows the RO to remove the CO2 as bicarbonate, preventing the CO2 from reaching the EDI.