As part of the R&D for the 50 MeV ThomX Compton source project, we have studied the effect of several beam dynamics processes on the evolution of the beam in the ring. The processes studied include among others Compton scattering, intrabeam scattering, coherent synchrotron radiation. We have performed extensive simulations of a full injection/extraction cycle (400000 turns). We show how each of these processes degrades the flux of photons produced and how a feedback system contributes to recovering most of the flux.