Calculation of lime usage in cement mixing plant