Four main approaches used in controlling the thermal regime of the secondary cooling zone of a continuous machine were identified: regulation of the ratio casting speed - cooling water flow, control of secondary cooling on the basis of the surface temperature of the ingotbefore entering the SCZ and at its exit, regulation of the temperature of the ingot in each section based on the current value of the temperature of the ingot in the section, the use of mathematical models in a dynamic SCZ control. Controlling the cooling process of the ingot in the secondarycooling zone, taking into account the process of its crystallization in real time by calculating the crystallization parameters and the amount of water in the sections, is a promising area. This approach allows to optimize the water rate in the secondary cooling zone with its optimaldistribution on the surface of the ingot. An algorithm for calculating the set values of the water and air flow rates, depending on the crystallization of the ingot, which are transmitted to the automatic control system of the secondary coolling zone has been developed. Based on the proposed algorithm, software that allows to consider the current thermal state of the secondary cooling zone has been developed in an environment of object-oriented programming. In real time, the program receives the current values of the speed of drawing the ingot, the surface temperature of the ingot in front of the SCZ, the metal level in the mold. The values of static coefficients can be changed within certain limits. To verify the correctness of the calculation results, values corresponding to real production data were entered into the program.