{'fraction_non_alphanumeric': 0.016968325791855202, 'fraction_numerical': 0.0, 'mean_word_length': 5.366906474820144, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Constant potential simulations on a mesh.

Molecular dynamics simulations in a constant potential ensemble are an increasingly important tool to investigate charging mechanisms in next-generation energy storage devices. We present a highly efficient approach to compute electrostatic interactions in simulations employing a constant potential method (CPM) by introducing a particle-particle particle-mesh solver specifically designed for treating long-range interactions in a CPM. Moreover, we present evidence that a dipole correction term-commonly used in simulations with a slab-like geometry-must be used with caution if it is also to be used within a CPM. It is demonstrated that artifacts arising from the usage of the dipole correction term can be circumvented by enforcing a charge neutrality condition in the evaluation of the electrode charges at a given external potential.