Born-von Karman boundary conditions are periodic boundary conditions for a special system. In simulations containing ionic (Coulomb) interactions, the net electrostatic cost of the system should be zero to avoid summing to an infinite cost when PBCs are utilized. In…