Calculation of pile-up effects in X-ray detection with large area circular silicon drift detectors