Spacecraft charging is problematic for low-energy plasma measurements. The charged particles are attracted to or repelled from the charged spacecraft, affecting both the energy and direction of travel of the particles. The Ion Composition Analyzer (RPC-ICA) on board the Rosetta spacecraft is suffering from this effect. RPC-ICA was measuring positive ions in the vicinity of comet 67P/Churyumov-Gerasimenko, covering an energy range of a few eV/q to 40 keV/q. The low-energy part of the data is, however, heavily distorted by the negatively charged spacecraft. In this study we use the Spacecraft Plasma Interaction Software to model the influence of the spacecraft potential on the ion trajectories and the corresponding distortion of the field of view (FOV) of the instrument. The results show that the measurements are not significantly distorted when the ion energy corresponds to at least twice the spacecraft potential. Below this energy the FOV is often heavily distorted, but the distortion differs between different viewing directions. Generally, ions entering the instrument close to the aperture plane are less affected than those entering with extreme elevation angles.Plain Language Summary The Rosetta spacecraft followed comet 67P/Churyumov-Gerasimenko for 2 years, providing data giving new insights into the nature of comets. The Ion Composition Analyzer (RPC-ICA) on board the spacecraft measures positive ions in the vicinity of the comet. The instrument can measure low-energy ions, which play an important part in the processes taking place in this environment. To fully understand the environment around the comet, we have to understand these low-energy ions. Unfortunately, this part of the RPC-ICA data is distorted by the spacecraft potential. A spacecraft in space interacts with the surrounding environment, which charges the spacecraft surface to a positive or negative potential. Rosetta was commonly charged to a negative potential throughout the mission, which means that the positive ions measured by RPC-ICA were attracted to the spacecraft. Consequently, both the energy and the travel direction of the ions changed before detection. We investigate how the low-energy ions measured by RPC-ICA have been affected by the spacecraft potential. We use the Spacecraft Plasma Interaction Software to model these effects. The results give us a lower energy limit above which we can trust the measurements and show that some parts of the instrument are more heavily affected than others.