“…Contrary to a common misconception, the RR-cpH algorithm is not a canonical algorithm . For isolated systems, the total number of protons is conserved, and the titration algorithm must use the correct canonical acceptance probabilities for the protonation/deprotonation moves, which do not explicitly depend on the pH inside the simulation cell. ,− In a canonical (isolated) system, pH is not a control parameterit cannot be specified a priori, but can only be calculated a posteriori , after the simulation has fully equilibrated, and the number of protonated groups has been determined . Therefore, if one wants to modify the RR-cpH algorithm to properly include the explicit ions, one must take into account that the simulation cell is implicitly in contact with an external reservoir of acid and salt. , A protonation/deprotonation move should then be combined with the simultaneous insertion/deletion of an anion from the reservoir, in accordance with the correct grand canonical (GC) acceptance probability. ,, Furthermore, since in such a simulation polyelectrolyte is confined within the cell, while ions can freely exchange between the system and the reservoir, the two will be at different electrostatic potentials. , This is known as the “Donnan potential”, φ D .…”