The computation of simulated endplate potentials