## 1 Introduction  
At electric power enterprises, depending on technological processes, a substantial amount of wastewater is produced, containing substances such as oil and petroleum products, as well as heavy metals, which are hazardous to natural water bodies. In this regard, there are strict requirements for wastewater discharge. For the transition to smart energy solutions in the concept of Industry 5.0 [1, 2], we need to implement new approaches for the environmental impact evaluation. Smart energy involves optimizing energy costs and boosting efficiency through innovative technologies to develop and manage a sustainable energy system. This is accomplished by incorporating artificial intelligence, machine learning, and data analytics into processes, with the help of IoT sensors. Smart energy plays an active role in providing the preservation of the environment. This can be made possible by adopting digital technologies, including machine learning algorithms, in the area of wastewater emission control, as part of smart energy (see Figure 1). Analyzing existing methods and providing new, more accurate methods is good for our planet, as it favors circular production models and supports energy technologies that make the use of natural resources in a more efficient way. 3. Wastewater from water treatment plants, which can be discharged periodically or continuously, including reverse osmosis concentrates, wash water from mechanical filters, and eluates after the regeneration of ion exchange filters;
4. Blowdown water from steam boilers, evaporators, and steam converters that is discharged continuously;
5. Snow and rain runoff that contains suspended particles, such as various types of contamination and petroleum products, including fuel oil;
6. Oily, contaminated external condensate, suitable for feeding steam evaporators after cleaning;
7. Spent washing solutions, both acidic and alkaline, along with wash waters generated after chemical washing and preservation, used for steam boilers, condensers, heaters, and other equipment. This includes periodic runoff, typically formed in the summertime [3]. Such wastewater should be treated at a local treatment facility until it meets state standards. Releasing wastewater that exceeds the maximum permissible concentrations (MPCs) of harmful substances into a body of water is a severe offense, in accordance with the law, and is punishable by fines and suspension of the activities of enterprises, as it can cause significant negative impacts on the environment. MPC is a legally approved sanitary and hygienic standard. MPC is \"the maximum concentration of chemical elements and their compounds in the environment exposed every day over a long time that does not cause pathological changes or diseases in the human body established by modern research methods at any time in the life of the present and subsequent generations\" [4]. Therefore, the solution to the significant problem of identifying wastewater contamination exceeding the MPC allows us to promptly detect the evidence behind such events and take all necessary measures to minimize adverse outcomes. The wastewater analytical indicators must be constantly monitored. It is necessary to promptly identify instances of contamination exceeding the MPC at energy facilities. In order to ensure a quick response and high accuracy in emission detection, it is essential to develop technical solutions, such as smart energy monitoring systems with modern measuring devices, and also improve the methods for wastewater composition analysis. Usually, approaches based on sampling, laboratory testing, and the formation of appropriate actions based on the test results are used.