Radiative losses analysis with ModeSolver