## 4 Discussion  
Adhering strictly to contractual obligations concerning output production enables industrial enterprises to minimize reputational risks and remain a reliable supplier for their partners.  
Each industrial enterprise has unique technological processes that necessitate their thorough analysis to manage power consumption effectively. An enterprise can simultaneously manufacture a large range of products, which requires multiple technological processes that vary in duration and power consumption. By considering the specific features of these processes when managing power consumption, enterprises can reduce product defects and, accordingly, minimize damage to the industrial operation, which is critically important.  
Figure 7: Graph of the random process of exceeding two critical levels of power consumption.  
Finding a balance between the reliability and efficiency of technological processes at industrial enterprises by selecting optimal technological conditions requires selecting appropriate algorithms for managing power consumption, in particular through the implementation of automatic power consumption management systems.  
Widespread adoption of the \"demand response\" technology allows industrial enterprises to reduce electricity consumption by the volume and time specified by the power system dispatcher. Many industrial enterprises across various countries are actively involved in this process. This offers them financial advantages either through a discount on electricity or through compensation for services that help reduce electricity consumption on the power grid. The integration of automatic power consumption management systems streamlines this process and reduces the likelihood of human errors when taking steps to lower electricity consumption. In this case, it is only necessary to enter the amount of electricity consumption reduction (MW or %), and the automatic power consumption management system will select the optimal control actions. The implementation of such control actions will foster the reduction in electricity consumption by an industrial enterprise in the required volume while fulfilling the output plan with minimal delays.  
Technological processes operate under extreme power and process flow conditions, often affected by random external and internal factors. Requirements for safety, reliability, and efficiency of the technological process must be observed under all power consumption levels, including maximum and minimum, and under all process conditions.  
In the event of frequent power supply interruptions of the technological process caused by electrical equipment failures in the power grid or unforeseen active power shortages, it is crucial for the owner of the industrial enterprise to consider investing in the construction of their own distributed generation facility [81; 82]. This will ensure a reliable power supply to the technological process in the minimum volumes necessary to fulfill the output plan [83].  
The technical solution for implementing an automatic power consumption management system, along with the developed algorithms, can be effectively replicated in industrial enterprises with similar production processes. However, each industrial enterprise will need to customize the algorithms for analyzing and managing power consumption behavior. Industrial enterprises in other sectors will also need to revise the algorithms for analyzing and managing their power consumption patterns. The authors' methods and algorithms for analyzing power consumption behavior will be highly effective in industrial enterprises within the mechanical engineering sector, for which they were specifically designed.