The present invention relates to a method of producing
cement, comprising the following steps: a) defining a
cement type and
cement quality to be produced, b) providing the reactants, where the reactants selected are at least clinker, a
sulfate carrier and a clinker substitute, c) defining a ratio of the reactants and a
grinding fineness of the cement, d) combining the reactants according to the defined ratio of the reactants, e)
grinding at least one reactant in at least one mill to the defined
grinding fineness, f) removing the finished cement, g) analysing the finished cement, where the analysis includes the following component steps: h) mixing the sample with water and continuously detecting the heat generated by the reaction that proceeds, i) determining the detected heat generated in the time window from 45 s to 60 min after mixing of the sample with the water, j) comparing the heat release determined from the hydrating cement with a heat associated with the defined cement quality and distinguishing between the following three cases: in the first case that the heat determined is less than the defined amount of heat, in the second case that the heat determined is equal to the defined amount of heat, and in the third case that the heat determined is greater than the defined amount of heat, characterized in that k) an
energy cost, a CO2 cost and costs for the reactants are determined or defined, l) the defined grinding
fineness and the
energy cost are used to determine grinding costs, the CO2 cost and the CO2 load, especially of the clinker, are used to determine CO2 costs, and the costs for the reactants and the ratio of the reactants are used to determine material costs, where the sum total of grinding costs plus CO2 costs plus material costs is the total cost, m) where a closed-
loop control method for minimizing total costs according to step I) is run in parallel with an optimization of the heat determined in step j) in order to achieve the second case in step j), where, in the first case in step j), the ratio of the reactants in step c) is altered by increasing the proportion of clinker and / or adjusted by increasing the grinding fineness defined in step c), where, in the third case in step j), the ratio of the reactants in step c) is altered by reducing the proportion of clinker and / or adjusted by reducing the grinding fineness defined in step c).