On the calibration of compartmental epidemiological models