Continuous electrodeionisation removes ionised or ionisable substances from water using ion exchange membranes, electrically-active media (typically ion exchange resin), and a DC electric potential. Most commercial CEDI devices have layers comprising alternating cation- and anion-permeable membranes with spaces in between, configured to create liquid flow compartments with inlets and outlets. The compartments bound by an anion membrane facing the positively charged anode and a cation membrane facing the negatively charged cathode are diluting compartments. The compartments bound by an anion membrane facing the cathode and a cation membrane facing the anode are concentrating compartments. To facilitate ion transfer in low ionic strength solutions, the dilute compartments are filled with ion exchange resins.