Calculation of potassium carbonate output