The quantities of adsorbed ions are calculated for each pore by integrating density profiles obtained from molecular simulations. A more detailed description of this aspect of the model is available in previous works . In the present case, molecular dynamics simulations were performed on a 1M solution of NEt4BF4 in acetonitrile. Ions and solvent molecules were all represented with an all-atom force field, considering electrostatic and van der Waals interactions. Specific parameters can be found in published works . The electrolyte, consisting in 40 ion pairs and 600 acetonitrile molecules, was simulated in contact with planar carbon electrodes. All simulations were conducted in the NVT ensemble using the LAMMPS software , a timestep of 1 fs and applying a temperature of 298K.