Text this: Calculation of mass discharge of the Greenland ice sheet in the Earth System Model