GROMACS version: 2020.2
GROMACS modification: No
Here post your question
I am running a simulation of a +3 ion in water, with the following flags mentioned bellow. As I am using a PME electrostatics in a charge system. When I run it with no counter ions the energy is stable. I wonder why the energy does not go to infinite?
There will be a non-physical uniform background charge applied. You should have got a warning like: "You are using Ewald electrostatics in a system with net charge. This can lead to severe artifacts, such as ions moving into regions with low dielectric, due to the uniform background charge. We suggest to neutralize your system with counter ions, possibly in combination with a physiological salt concentration."
In a uniform system the background charge might work fine, but in general it is better to use ions to neutralize the system.
In the case of free energy perturbation calculations where the ion-water interaction is scaled, is there an alternative to rely on the background compensation in the intermediate steps?
I would use a counter ion that is decoupled together with the ion. But you should take care so that the two ions do not interact. Use a system (water box) that is large enough and use, e.g., a flat bottomed potential to keep the ions far apart.