Despite the fact I'm not sure what your question is, I'll try to answer it :-)
the energy of H+ derived from DFT should be zero
The idea is that a pure $\ce{H+}$ ion exists in a gas phase only, whereas in a liquid state it's bound by a base, which is usually a solvent. For water solutions usually $\ce{H3O+}$, $\ce{H5O2+}$, and $\ce{H3O+(H2O)3}$ ions are considered. This approach is called the "explicit solvent approach". In addition, you should add an implicit solvent model to your computations, e.g. PCM, CPCM, etc. Check this paper [1] as an example.
negative charges of the unit cell should introduce some errors
Usually, such systems are computed without boundary conditions using non-periodic codes like Orca, Gaussian, GAMESS, etc. Therefore you can compute isolated ions without technical or theoretical problems.
While some paper refer to DPE other mention deprotonation Gibbs free energy as measure of acid strength. There seems to be some correlation between the two but I can not identify the difference.
Deprotonation energy is computed using electronic energies, and deprotonation Gibbs free energy is computed via Gibbs energies. To obtain Gibbs energies and other thermodynamic parameters from DFT calculations, one needs to run frequency computation for the optimized structure.
The final note: in some approaches, DFT is used to compute $E(\ce{AH})$ and $E(\ce{A-})$ only, whereas for $E(\ce{H+})$ (which actually is a proton solvation energy) the experimental value is used. Check this paper [2] for more details.
References
- Steenken, S.; Reynisson, J. DFT Calculations on the Deprotonation Site of the One-Electron Oxidised Guanine–Cytosine Base Pair. Physical Chemistry Chemical Physics, 2010, 12, 9088. https://doi.org/10.1039/c002528c.
- Dutra, F. R.; Silva, C. de S.; Custodio, R. On the Accuracy of the Direct Method to Calculate pKa from Electronic Structure Calculations. The Journal of Physical Chemistry A, 2020, 125, 65–73. https://doi.org/10.1021/acs.jpca.0c08283.