<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.3 20210610//EN" "JATS-journalpublishing1-3.dtd">
<article article-type="research-article" dtd-version="1.3" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xml:lang="en"><front><journal-meta><journal-id journal-id-type="publisher-id">btps</journal-id><journal-title-group><journal-title xml:lang="en">Safety of Technogenic and Natural Systems</journal-title><trans-title-group xml:lang="ru"><trans-title>Безопасность техногенных и природных систем</trans-title></trans-title-group></journal-title-group><issn pub-type="epub">2541-9129</issn><publisher><publisher-name>Don State Technical University</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.23947/2541-9129-2026-10-3-247-255</article-id><article-id custom-type="edn" pub-id-type="custom">BRDTZS</article-id><article-id custom-type="elpub" pub-id-type="custom">btps-591</article-id><article-categories><subj-group subj-group-type="heading"><subject>Research Article</subject></subj-group><subj-group subj-group-type="section-heading" xml:lang="en"><subject>TECHNOSPHERE SAFETY</subject></subj-group><subj-group subj-group-type="section-heading" xml:lang="ru"><subject>ТЕХНОСФЕРНАЯ БЕЗОПАСНОСТЬ</subject></subj-group></article-categories><title-group><article-title>Integration of Computer Vision and Hydrodynamic Modeling Methods to Improve Environmental Safety by Identifying Sources of Negative Impact on Water Bodies</article-title><trans-title-group xml:lang="ru"><trans-title>Интеграция методов компьютерного зрения и гидродинамического моделирования для повышения экологической безопасности за счет идентификации источников негативного воздействия на водные объекты</trans-title></trans-title-group></title-group><contrib-group><contrib contrib-type="author" corresp="yes"><contrib-id contrib-id-type="orcid">https://orcid.org/0009-0001-1083-5242</contrib-id><name-alternatives><name name-style="eastern" xml:lang="ru"><surname>Гусев</surname><given-names>А. В.</given-names></name><name name-style="western" xml:lang="en"><surname>Gusev</surname><given-names>A. V.</given-names></name></name-alternatives><bio xml:lang="ru"><p>Андрей Вячеславович Гусев, аспирант кафедры «Экология и природоохранная деятельность» </p><p>129226, г. Москва, ул. Вильгельма Пика, д. 4, стр. 8 </p></bio><bio xml:lang="en"><p>Andrey V. Gusev, Postgraduate Student of the Department of Ecology and Environmental Protection</p><p>4, Bldg. 8, Vilgelma Pika St., Moscow, 129226</p></bio><email xlink:type="simple">gusevandre2015@yandex.ru</email><xref ref-type="aff" rid="aff-1"/></contrib></contrib-group><aff-alternatives id="aff-1"><aff xml:lang="ru"><institution>Российский государственный социальный университет</institution><country>Россия</country></aff><aff xml:lang="en"><institution>Russian State Social University</institution><country>Russian Federation</country></aff></aff-alternatives><pub-date pub-type="collection"><year>2026</year></pub-date><pub-date pub-type="epub"><day>31</day><month>08</month><year>2026</year></pub-date><volume>10</volume><issue>3</issue><fpage>247</fpage><lpage>255</lpage><permissions><copyright-statement>Copyright &amp;#x00A9; Gusev A.V., 2026</copyright-statement><copyright-year>2026</copyright-year><copyright-holder xml:lang="ru">Гусев А.В.</copyright-holder><copyright-holder xml:lang="en">Gusev A.V.</copyright-holder><license license-type="creative-commons-attribution" xlink:href="https://creativecommons.org/licenses/by/4.0/" xlink:type="simple"><license-p>This work is licensed under a Creative Commons Attribution 4.0 License.</license-p></license></permissions><self-uri xlink:href="https://www.bps-journal.ru/jour/article/view/591">https://www.bps-journal.ru/jour/article/view/591</self-uri><abstract><sec><title>Introduction</title><p>Introduction. Traditional water body monitoring systems often demonstrate insufficient effectiveness in promptly locating the source of an emergency or non-stationary discharge, which hinders timely management decisions. This problem is further exacerbated by the rapid spread of pollutants in conditions where observational data is incomplete, delayed, or fragmented. These circumstances emphasize the need for methods that can not only detect pollution but also reconstruct the coordinates of its source based on its concentration field. The literature provides a wide range of approaches based on advection-diffusion equations, numerical hydrodynamic modeling, and satellite data analysis. However, the integration of computer vision methods with hydrodynamic models to solve the inverse problem of source identification remains under-researched. Theoretically, such integration is justified by the possibility of automated delineation of water area boundaries through semantic segmentation and a physically meaningful description of passive impurities transport. However, there is a scientific gap due to the lack of verified computational schemes that combine these two approaches. The aim of this study is to develop and verify an approach that integrates computer vision and hydrodynamic modeling to accurately identify the source of a negative impact.</p></sec><sec><title>Materials and Methods</title><p>Materials and Methods. The methodology included two interconnected modules. The first computer vision module performed semantic segmentation of satellite images or aerial photography data using convolutional neural networks. The result was a binary mask of the water area; its external contours were extracted using OpenCV with morphological post‑processing. The second module implemented a two-dimensional numerical advection-diffusion model based on the finite volume method with a steady velocity field. The inverse identification algorithm generated a set of virtual candidate points along the perimeter of the water body. For each point, a direct calculation of the concentration field was performed, after which a candidate was selected using the root-mean-square error, ensuring the best fit to the observed distribution. Validation was carried out on three synthetic scenarios (pH, dissolved oxygen, free chlorine) in 300 computational experiments.</p></sec><sec><title>Results</title><p>Results. Three hundred computational experiments were conducted using randomly assigned source coordinates. The computer vision module accurately generated a water area mask in all trials. The inverse identification algorithm, which iterated through candidates in 50-meter increments, identified the true source with absolute accuracy in 285 cases (95%). It was found that 12 out of 15 erroneous cases were due to the source being located less than 1 m from the water area boundary, where the influence of turbulent diffusion and boundary conditions led to the “blurring” of the pollution trace. The key limitations of the method were identified: errors in the two-dimensional hydrodynamic approximation for stratified water bodies, and a decrease in accuracy under sharply non-stationary hydrodynamics. Visualization of the results confirmed the high quality of spatial localization of the source.</p></sec><sec><title>Discussion</title><p>Discussion. The results obtained confirmed that the integration of these methods created a synergistic effect. Computer vision ensured the speed and objectivity of spatial data processing, while hydrodynamic modeling provided physical and mathematical validity for the analysis. This approach overcame the key limitation of traditional monitoring by allowing us not only to detect pollution, but also to determine its causes. This is consistent with current trends in predictive analytics.</p></sec><sec><title>Conclusion</title><p>Conclusion. The developed concept forms the foundation for creating decision-support operational systems and “digital twins” of water bodies. Its implementation in environmental monitoring practices creates the prerequisites for transitioning from reactive response to proactive risk management, and can contribute to enhancing the validity and effectiveness of measures to ensure environmental safety of water resources. Prospects for further research lie in adapting methods for working with real-time online monitoring data and different types of water bodies.</p></sec></abstract><trans-abstract xml:lang="ru"><sec><title>Введение</title><p>Введение. Традиционные системы мониторинга водных объектов нередко демонстрируют недостаточную эффективность при оперативной локализации источника аварийных либо нестационарных сбросов, что препятствует своевременному принятию управленческих решений. Проблема обостряется в условиях быстрого распространения загрязнителя при неполноте, запаздывании и фрагментарности данных наблюдений. Указанные обстоятельства актуализируют разработку методов, обеспечивающих не только фиксацию факта загрязнения, но и ретроспективное восстановление координат источника по полю концентрации. В литературе достаточно широко представлены подходы, базирующиеся на уравнениях адвекции-диффузии, численном гидродинамическом моделировании и анализе спутниковых данных. Однако интеграция методов компьютерного зрения с гидродинамическими моделями для решения обратной задачи идентификации источника остаётся малоизученной. Теоретически такая интеграция обоснована возможностью автоматизированного выделения границ акватории посредством семантической сегментации и физически содержательного описания переноса пассивной примеси. Существующий научный пробел обусловлен отсутствием верифицированных вычислительных схем, объединяющих оба направления. Целью настоящего исследования является разработка и верификация подхода, интегрирующего компьютерное зрение и гидродинамическое моделирование для точной ретроспективной идентификации источника негативного воздействия.</p></sec><sec><title>Материалы и методы</title><p>Материалы и методы. Методология включает два взаимосвязанных модуля. Первый модуль компьютерного зрения выполняет семантическую сегментацию спутниковых снимков или данных аэрофотосъёмки с применением свёрточных нейронных сетей. Результатом является бинарная маска акватории, её внешние контуры извлекаются средствами OpenCV с морфологической постобработкой. Второй модуль реализует двумерную численную модель адвекции-диффузии на основе метода конечных объёмов со стационарным полем скоростей. Алгоритм обратной идентификации генерирует множество виртуальных точек-кандидатов по периметру водоёма, для каждого выполняется прямой расчёт поля концентрации, после чего с использованием среднеквадратической ошибки отбирается кандидат, обеспечивающий наилучшее соответствие наблюдаемому распределению. Валидация проведена на трёх синтетических сценариях (pH, растворённый кислород, свободный хлор) в 300 вычислительных экспериментах.</p></sec><sec><title>Результаты исследования</title><p>Результаты исследования. Проведено 300 вычислительных экспериментов со случайным заданием координат источника. Модуль компьютерного зрения безошибочно формировал маску акватории во всех испытаниях. Алгоритм обратной идентификации, осуществляющий перебор кандидатов с шагом 50 м, в 285 случаях (95 %) абсолютно точно определил истинный источник. Установлено, что 12 из 15 ошибочных случаев обусловлены расположением источника на расстоянии менее 3 м от границы акватории, где влияние турбулентной диффузии и граничных условий приводит к «размыванию» следа загрязнения. Выявлены ключевые ограничения метода: погрешности двумерного гидродинамического приближения в стратифицированных водоёмах и снижение точности при резко нестационарной гидродинамике. Визуализация результатов подтверждает высокое качество пространственной локализации источника.</p></sec><sec><title>Обсуждение</title><p>Обсуждение. Полученные результаты подтверждают, что интеграция методов создает синергетический эффект: компьютерное зрение обеспечивает скорость и объективность обработки пространственных данных, а гидродинамическое моделирование — физическую и математическую обоснованность анализа. Такой подход преодолевает ключевое ограничение традиционного мониторинга, позволяя не только констатировать факт загрязнения, но и устанавливать его причину, что согласуется с современными тенденциями развития предсказательной аналитики.</p></sec><sec><title>Заключение</title><p>Заключение. Разработанная концепция формирует основу для создания операционных систем поддержки принятия решений и «цифровых двойников» водных объектов. Ее внедрение в практику экологического мониторинга создаёт предпосылки для перехода от реактивного реагирования к проактивному управлению рисками и может способствовать повышению обоснованности и эффективности мер по обеспечению экологической безопасности водных ресурсов. Перспективы дальнейших исследований связаны с адаптацией методов для работы с реальными данными онлайн-мониторинга и различными типами водных объектов.</p></sec></trans-abstract><kwd-group xml:lang="ru"><kwd>экологическая безопасность</kwd><kwd>компьютерное зрение</kwd><kwd>гидродинамическое моделирование</kwd><kwd>идентификация источника загрязнения</kwd><kwd>цифровой двойник</kwd><kwd>экологический мониторинг</kwd><kwd>водные объекты</kwd><kwd>машинное обучение</kwd></kwd-group><kwd-group xml:lang="en"><kwd>environmental safety</kwd><kwd>computer vision</kwd><kwd>hydrodynamic modeling</kwd><kwd>pollution source identification</kwd><kwd>digital twin</kwd><kwd>environmental monitoring</kwd><kwd>water bodies</kwd><kwd>machine learning</kwd></kwd-group></article-meta></front><body><p>Introduction. The task of promptly identifying the source of an emergency or discharge of pollutants into a water body arises when the consequences of an incident are eliminated and those responsible are brought to justice. Traditional monitoring, which relies on a network of stationary posts and sampling, records concentrations at individual points [<xref ref-type="bibr" rid="cit1">1</xref>]. However, such data does not allow specialists to quickly restore a complete spatial and temporal picture of the spread of impurities. The processes of advection and turbulent diffusion quickly "blur" the trace of the source [<xref ref-type="bibr" rid="cit2">2</xref>].</p><p>As the practice of implementing environmental control systems at industrial enterprises demonstrates, the gap between two classes of methods remains.</p><p>The first group includes computer vision (CV) and deep learning, which analyze satellite images [<xref ref-type="bibr" rid="cit3">3</xref>]. Semantic segmentation distinguishes water areas [<xref ref-type="bibr" rid="cit4">4</xref>]. Spectral indices (NDWI) record anomalies in water color [<xref ref-type="bibr" rid="cit5">5</xref>]. However, CV only displays visible effects on the surface, leaving the dynamics of transport in the water column unexplained.</p><p>The second group consists of hydrodynamic modeling. Advection-diffusion equations predict impurity dispersion in a physically reasonable way [<xref ref-type="bibr" rid="cit6">6</xref>]. However, the model needs prior knowledge of the coordinates and strength of the source, which are unknown in the classical formulation.</p><p>It would be beneficial to examine the limitations of current approaches in more detail.</p><p>Satellite monitoring and CV. Yusuf et al. [<xref ref-type="bibr" rid="cit1">1</xref>] generalized effect-oriented methods for the aquatic environment, achieving high sensitivity to a wide range of substances. However, the authors did not propose any mechanisms for restoring source parameters. Chen et al. [<xref ref-type="bibr" rid="cit2">2</xref>] performed a review of remote sensing data, demonstrating the high speed of obtaining spatial information. However, their study was limited to simply stating the fact of contamination without addressing the inverse problem. Wang et al. [<xref ref-type="bibr" rid="cit5">5</xref>] analyzed surface water quality models, most of which operated in a direct predictive mode rather than being intended for retrospective source identification.</p><p>Water area selection tools. Program registration certificates [<xref ref-type="bibr" rid="cit3">3</xref>] and [<xref ref-type="bibr" rid="cit4">4</xref>] described automated tools for morphometric analysis and identification of water bodies. These tools solved the problem of identifying the water area, but they were not integrated with hydrodynamic transport models.</p><p>Digital twins and artificial intelligence. Maksoud and Mohamed [<xref ref-type="bibr" rid="cit6">6</xref>] analyzed the use of digital twins in the water sector and concluded that the concept was promising, but required algorithms for automatic calibration based on observational data. Frincu [<xref ref-type="bibr" rid="cit7">7</xref>] reviewed the use of AI to assess water quality. The main disadvantage of the review was the lack of physically sound transfer models. Only statistical methods were used.</p><p>Inverse identification of the source. Existing works [<xref ref-type="bibr" rid="cit8">8</xref>] used hydrodynamic modeling and optimization algorithms [<xref ref-type="bibr" rid="cit9">9</xref>]. However, the geometry of the water area was set manually or derived from static maps in these works, which prevented their operational use when new images were received.</p><p>The experience of processing more than a hundred Sentinel-2 images has shown that manually selecting the boundaries of a reservoir can take from 20 to 60 minutes per object in an emergency situation. This time is unacceptable.</p><p>Therefore, there is a need for a method that can:</p><p>− automatically extract the geometry of a water area from satellite data using CV;</p><p>− use this geometry in a hydrodynamic model to inverse identify the source;</p><p>− perform this in a time acceptable for rapid response (minutes, not hours).</p><p>The research aims to develop and validate an approach that combines computer vision (semantic segmentation of satellite imagery and cartographic data) with hydrodynamic modeling (two-dimensional advection-diffusion equation) to retrospectively identify the coordinates of an emergency discharge source using the observed concentration field.</p><p>Tasks:</p><p>− to implement the semantic segmentation module of water surface;</p><p>− to create a hydrodynamic model of passive impurity transfer;</p><p>− to develop a reverse identification algorithm by iterating through virtual sources and comparing the mean-square error (MSE);</p><p>− to validate the approach using synthetic data with a controlled error.</p><p>Materials and Methods. Methodological basis of the study was a sequential data processing algorithm (Fig. 1), in which information went from a raw image to a quantitative conclusion on the location of the source of pollution. The architecture of the solution included two fundamental interconnected modules operating in a single geographic information coordinate system.</p><fig id="fig-1"><caption><p>Fig. 1. Integrated algorithm workflow</p></caption><graphic xlink:href="btps-10-3-g001.jpeg"><uri content-type="original_file">https://cdn.elpub.ru/assets/journals/btps/2026/3/YxAjDsMsK9v67OgBrrCRxsIssamERC8oSaZl6Szo.jpeg</uri></graphic></fig><p>A module for intelligent spatial data processing based on computer vision. This module was responsible for automated preparation of initial information for physical modeling and initial diagnostics. The system received an image of the water area under study, obtained from medium-resolution satellite platforms, such as Sentinel-2 and Landsat, using aerial photography from UAVs, or representing a digitized cartographic image. After the preprocessing stage, which included geometric and radiometric correction, as well as conversion to a single coordinate system, semantic segmentation of the water surface became a key task. To solve this problem, deep learning algorithms were used. These algorithms were specially adapted for analyzing images of the Earth and were often based on convolutional neural networks [<xref ref-type="bibr" rid="cit10">10</xref>]. They were trained on mapped out sets of satellite images to accurately classify each pixel as “water” or “non-water”. The use of modern frameworks and libraries made it possible to achieve high segmentation accuracy even in difficult conditions such as cloud cover, glare on the water or a non-uniform coastline. The result of the module was a binary mask of the water area, which served as the basis for constructing the computational domain of the hydrodynamic model [<xref ref-type="bibr" rid="cit11">11</xref>]. This stage completely eliminated subjective errors and significant time costs associated with manually selecting the contours of the reservoir [<xref ref-type="bibr" rid="cit12">12</xref>].</p><p>After receiving the binary mask of the water area (the result of semantic segmentation), the contours of water bodies were highlighted. The cv2.findContours function from the OpenCV library (Python) was used for this. The cv2.RETR_EXTERNAL parameter ensured that only the outer contours were extracted, ignoring the inner cavities (for example, islands). The cv2.CHAIN_APPROX_SIMPLE parameter was used to compress the contour: redundant points lying on the same straight line were removed, which reduced the amount of data without losing the shape of the contour. Before selecting the contours, the mask was morphologically processed: closing operations (filling small gaps inside the water area) and opening operations (removing small noise fragments outside the reservoir) were performed sequentially. A 5×5 pixel core was used, with 2 iterations for closing and 2 iterations for opening.</p><p>Hydrodynamic modeling module and the inverse identification algorithm.</p><p>This module was the computing core of the system. A two-dimensional 2D model based on the advection-diffusion equation was used to describe the transport of pollutants in a reservoir [<xref ref-type="bibr" rid="cit13">13</xref>]. This choice was determined by a compromise between computational efficiency, which was critical for multiple calculations when solving the inverse problem, and the adequacy of the description for most reservoirs [<xref ref-type="bibr" rid="cit14">14</xref>], where horizontal scales significantly prevailed over vertical ones, and mixing could be considered quite intense. The transfer equation of the passive impurity concentration [<xref ref-type="bibr" rid="cit15">15</xref>] C is as follows:</p><p>where κ and υ — components of the horizontal flow velocity vector (m/s); Dh — horizontal turbulent diffusion coefficient (m²/s); S(x, y ,t) — source function describing power, localization, and time mode of discharge. For the numerical solution, the finite volume method was used, which guaranteed the conservation of mass [<xref ref-type="bibr" rid="cit15">15</xref>]. Flow velocity fields κ and υ could be set analytically for simple scenarios, read from the results files of a separate hydrodynamic model, or reconstructed from measurement data. It should be noted that, depending on the scale of the water area, the complexity of the currents, and the required accuracy, the system could use various numerical methods to solve equation (1). For most scenarios, especially when working with large bodies of water, the finite volume method was used to ensure mass conservation and stability of the solution. However, for problems with high dynamics or the need for increased accuracy in areas of intense concentration gradients, adaptive methods such as Runge-Kutta methods or finite-difference schemes of increased order could be used. This made it possible to optimize computational costs and increase the accuracy of source identification in various hydrodynamic conditions.</p><p>The algorithm of inverse identification of the source formalized the search problem solution. When the contamination zone was fixed (under the conditions of a synthetic experiment, simulated concentration field Cobs(x, y) in the area of possible location of sources (for example, along the entire perimeter of the reservoir specified by the computer vision module), a set of N virtual candidate points was generated. For each i-th point with coordinates (xiyi), a direct calculation was performed using equation (1), in which source function S (x, y, t) corresponded to the position of this candidate. The result was model field of concentrations (Cmod,i(x, y)). The similarity measure was calculated for quantitative comparison of each model with the observed field, for example, the mean square error (MSE):</p><p>where ω — water body area; A — its area. The source of contamination was the virtual candidate for which the proximity measure was minimal: (xs ys) = min (MSEi). Thus, the complex inverse problem was reduced to solving many direct problems and choosing the best match, which ensured the visibility and stability of the result.</p><p>Research Results. To objectively verify operability and evaluate accuracy of the proposed approach, a series of computational experiments were conducted using synthetic data. This allowed us to eliminate the influence of uncertainties inherent in real-world measurements and focus on testing the algorithm's performance. An oval-shaped water area with a stationary current field was modeled. Three independent scenarios were simulated, each representing the discharge of different types of pollutants. Each scenario had its own background value, runoff concentration, and maximum permissible concentration (MPC). The detailed parameters for each scenario are summarized in Table 1.</p><table-wrap id="table-1"><caption><p>Table 1</p><p>Parameters of synthetic scenarios for validation of the identification algorithm</p></caption><table><tbody><tr><td>Scenario parameter</td><td>Scenario 1 (pH)</td><td>Scenario 2 (O2)</td><td>Scenario 3 (Cl⁻)</td></tr><tr><td>Modeled indicator</td><td>Hydrogen index (pH)</td><td>Dissolved oxygen (O2), mg/l</td><td>Free chlorine concentration (Cl⁻), mg/l</td></tr><tr><td>Background value</td><td>7.0 (neutral medium)</td><td>8.0 (normal)</td><td>0.01 (below the MPC)</td></tr><tr><td>The maximum value in the discharge</td><td>3.0 (acid waste)</td><td>2.0 (O2 deficiency)</td><td>1.5 (high pollution)</td></tr><tr><td>MPC(Standard)1</td><td>6.0 – 9.0</td><td>6.0</td><td>0.5</td></tr><tr><td>Diffusion coefficient Dh, m²/s</td><td>0.5</td><td>0.5</td><td>0.5</td></tr><tr><td>Current velocity, m/s</td><td>0.01</td><td>0.01</td><td>0.01</td></tr></tbody></table></table-wrap><p>In each of the 300 tests, 100 for each parameter, the true source coordinate was randomly selected. The computer vision module accurately processed the input data, generating an accurate mask of the water area. The inverse identification algorithm, sorting candidates in 50-meter increments, demonstrated high efficiency consistently. Statistical analysis of the results revealed that in 285 cases (95%), the algorithm correctly identified the true source.</p><p>Despite the high efficiency of the proposed approach, there were several conditions that should be taken into account when considering the accuracy of the method. Firstly, the analysis of 15 cases with inaccurate results showed that most of the errors (12 out of 15) occurred when the source was located less than three meters from the water's edge. Near the shoreline, turbulent diffusion and boundary conditions became comparable to advection, leading to a “blurring” of the pollution trace and a decrease in the uniqueness of the inverse problem solution. Secondly, the method relied on a two-dimensional hydrodynamic model, which was justified for reservoirs with a well-mixed water column where horizontal scales dominated over vertical scales. However, in stratified bodies of water, for example, in deep lakes with a pronounced thermocline, or in areas with intense vertical currents, two-dimensional approximation could give significant errors. Thirdly, the developed algorithm required specifying a stationary or quasi-stationary field of flow velocities. With sharply unstable hydrodynamics, for example in tidal estuaries or during floods, the accuracy of identification could decrease without additional calibration of the model based on the hydrological data relevant to the time of the incident. The validation of the method was performed only on synthetic data, which allowed us to judge only its fundamental operability.</p><p>Visualization of the results clearly confirmed the high quality of the algorithm. Figures 2 and 3 show the final simulation maps for some of the parameters under research.</p><fig id="fig-2"><caption><p>Fig. 2. Simulation map of discharge sources based on the hydrogen index parameter (pH)</p></caption><graphic xlink:href="btps-10-3-g002.jpeg"><uri content-type="original_file">https://cdn.elpub.ru/assets/journals/btps/2026/3/VOu8bqR0dvRGmeyvn0QYohYgVpSi0d15Mq6Yn12p.jpeg</uri></graphic></fig><fig id="fig-3"><caption><p>Fig. 3. Simulation map of discharge sources based on the free chlorine parameter (Cl)</p></caption><graphic xlink:href="btps-10-3-g003.jpeg"><uri content-type="original_file">https://cdn.elpub.ru/assets/journals/btps/2026/3/SSW1W6oawoDmfX0xuTYQSHrtGEgH4WGRXV59cLPQ.jpeg</uri></graphic></fig><p>The color field shows the spatial distribution of the concentration (or deviation from the background), clearly highlighting the area affected by the discharge. It is important to note that the algorithm not only created a field, but also calculated a probable point of contamination. In all visualizations, the red marker accurately indicated the location calculated by the inverse analysis algorithm. In most tests, this location coincided with the coordinates of the source specified in the scenario. These graphs serve as convincing evidence that the system is able not only to detect contamination, but also accurately indicate its origin.</p><p>Discussion. Computational experiments showed that the accuracy of source identification was 95% (285 out of 300 tests). However, 5% of errors (15 cases) were not random. Twelve of them were related to the location of the source at a distance of less than 3 m from the water area boundary. Near the shore, diffusion and boundary conditions distorted the pollution trace, which reduced the uniqueness of the solution to the inverse problem.</p><p>As the practice of preparing computational domains showed, discretization at 50-meter intervals was a compromise between speed and accuracy. At 25-meter intervals, the computing time increased by 4 times, while the increase in accuracy did not exceed 2% (tested in test scenarios). Therefore, to ensure efficiency, it was decided to use 50-meter intervals. However, this was a potential source of error: a source shifted by 25–30 m could be attributed to a neighboring grid node.</p><p>Comparison with the literature data confirmed the competitiveness of the approach. Jiang et al. [<xref ref-type="bibr" rid="cit8">8</xref>] reported an accuracy of above 90% for river spills, but their calculated area was created manually. Tao et al. [<xref ref-type="bibr" rid="cit16">16</xref>] achieved high efficiency on distributed systems, but the geometry of the water area was set a priori. This method fully automated the selection of boundaries through semantic segmentation [<xref ref-type="bibr" rid="cit4">4</xref>]. This reduced the pre-processing time from 20–60 minutes for manual work to 1–2 minutes.</p><p>Automation had its price. The quality of segmentation depended on the resolution of the image, clouds, and glare. Processing of more than a hundred Sentine l–2 scenes showed that when cloudiness was more than 30%, the accuracy of the binary mask dropped to 85–88%. Contour selection errors, expressed in a shift of 1–2 pixels, led to a displacement of the calculated area and, as a result, to an identification error of up to 50 m. In the current implementation, such distortions were not modeled. This is the task for the next stages.</p><p>The limits of the method's applicability were clearly defined by the assumptions made. (1) The two-dimensional model was only suitable for reservoirs with intense vertical mixing. For stratified lakes deeper than 10 meters with a thermocline, horizontal diffusion failed to describe the vertical concentration gradient, leading to errors exceeding 30%. (2) The passive impurity model ignored chemical transformations, which was incorrect for pH. Acid waste was neutralized by water's buffering properties, but in synthetic scenarios, pH was treated as a conservative tracer. This simplification reduced accuracy in real-world conditions. (3) The flow velocity field was assumed to be stationary. In practice, hydrodynamics change during floods and tides within a few hours. Without current data-based calibration, identification errors would increase.</p><p>In addition to the sources of error listed above, the choice of diffusion coefficient in all scenarios was also a source of error. In a real water body, this coefficient could vary depending on wind and turbulence. At the same time, a 2-fold increase in the diffusion coefficient shifted the source estimate by 30–50 m downstream. However, the coefficient used in the work was set as a constant, which was a weakness in the study. Adaptive assessment based on observational data was outside the scope of this research.</p><p>Another limitation was the synthetic nature of validation. The observed concentration field Cobs (x, y) in the experiments was free from measurement noise, data omissions, and ambiguity of spectral indices. In real conditions, the satellite image gives an integral concentration in the surface layer, rather than over the entire depth. This is acceptable for dissolved oxygen and chlorine, but not for pH. Thus, the stated accuracy of 95% is the top estimate. Based on real data, it is expected to decrease to 70–85%, depending on hydrological conditions.</p><p>The reliability of the conclusions lies in the fact that the proposed method has proven its fundamental operability. It is suitable for operational use in well-mixed water bodies, such as reservoirs, canals, and flat rivers, with a known or measured current field. For stratified or dynamic systems, a transition to a three-dimensional model and consideration of nonstationarity is required. The practical interpretation of the results is that the algorithm allows for the specification of a probable source area with an uncertainty radius of approximately 50 meters in 10–15 minutes. This timeframe is sufficient for on-site inspection and sampling.</p><p>The development prospects are related to the replacement of synthetic data with real satellite images with simultaneous field measurements. It is also necessary to calibrate the diffusion coefficient for the inverse problem. Without these steps, the method remains a prototype.</p><p>Conclusion. An algorithm for the inverse identification of the source of emergency pollution discharge into a water body has been developed and programmed. The algorithm consists of two modules: a computer vision module for semantic segmentation of satellite images and a two-dimensional hydrodynamic model of passive impurity transfer.</p><p>The computer vision module automatically identifies the water area and reduces the preprocessing time from 20–60 minutes (manually) to 1–2 minutes. This eliminates human errors. The hydrodynamic modeling module solves the advection-diffusion equation. The inverse identification algorithm iterates through virtual sources and selects the one with the minimum mean squared error (MSE) between the modeled and observed concentration fields.</p><p>Verification was conducted on synthetic data (300 tests for pH, dissolved O₂ and Cl⁻). The algorithm correctly determined the coordinates of the source in 285 cases. The accuracy was 95%.</p><p>The method is suitable for operational use in well-mixed water bodies (reservoirs, channels, flat rivers) with a known field of currents. The prospects: adaptation to real satellite data and calibration of the diffusion coefficient for the inverse problem.</p><p>1. Sanitary Rules and Regulations of (as amended on 17 March, 2025) SanPiN 1.2.3685-21 “Hygienic Standards and Requirements for Ensuring the Safety and (or) Harmlessness of Environmental Factors for Humans”. (In Russ.) URL: https://www.consultant.ru/document/cons_doc_LAW_375839/ (accessed: 20.01.2026).&#13;
</p></body><back><ref-list><title>References</title><ref id="cit1"><label>1</label><citation-alternatives><mixed-citation xml:lang="ru">Azeez Yusuf, O'Flynn D, White B, Holland L, Parle-McDermott A, Lawler J, et al. Monitoring of Emerging Contaminants of Concern in the Aquatic Environment: A Review of Studies Showing the Application of Effect-Based Measures. Analytical Methods. 2021;13(43):5120–5143. https://doi.org/10.1039/d1ay01184g</mixed-citation><mixed-citation xml:lang="en">Azeez Yusuf, O'Flynn D, White B, Holland L, Parle-McDermott A, Lawler J, et al. Monitoring of Emerging Contaminants of Concern in the Aquatic Environment: A Review of Studies Showing the Application of Effect-Based Measures. Analytical Methods. 2021;13(43):5120–5143. https://doi.org/10.1039/d1ay01184g</mixed-citation></citation-alternatives></ref><ref id="cit2"><label>2</label><citation-alternatives><mixed-citation xml:lang="ru">Jinyue Chen, Shuisen Chen, Rao Fu, Dan Lli, Hao Jiang, Chongyang Wang, et al. Remote Sensing Big Data for Water Environment Monitoring: Current Status, Challenges, and Future Prospects. Earth's Future. 2022;10(2):1–33. https://doi.org/10.1029/2021EF002289</mixed-citation><mixed-citation xml:lang="en">Jinyue Chen, Shuisen Chen, Rao Fu, Dan Lli, Hao Jiang, Chongyang Wang, et al. Remote Sensing Big Data for Water Environment Monitoring: Current Status, Challenges, and Future Prospects. Earth's Future. 2022;10(2):1–33. https://doi.org/10.1029/2021EF002289</mixed-citation></citation-alternatives></ref><ref id="cit3"><label>3</label><citation-alternatives><mixed-citation xml:lang="ru">Гусев А.В. Программа для автоматизированного расчета морфометрических характеристик водных объектов. Свидетельство о государственной регистрации программы для ЭВМ РФ № 2025668927. 2025. 1 с. URL: https://fips.ru/EGD/0b4cdf99-068b-4c27-8142-426a7df83ced (дата обращения: 17.12.2025).</mixed-citation><mixed-citation xml:lang="en">Gusev AV. Software for Automated Calculation of Morphometric Characteristics of Water Bodies. Certificate of State Registration of the RF Computer Program No. 2025668927. 2025. 1 p. (In Russ.) URL: https://fips.ru/EGD/0b4cdf99-068b-4c27-8142-426a7df83ced (accessed: 12.17.2025).</mixed-citation></citation-alternatives></ref><ref id="cit4"><label>4</label><citation-alternatives><mixed-citation xml:lang="ru">Гусев А.В. Программа для автоматизированной идентификации водных объектов на картографических схемах и спутниковых снимках. Свидетельство о государственной регистрации программы для ЭВМ РФ № 2025668441. 2025. 1 с. URL: https://fips.ru/EGD/c7d3b1b1-22bb-4240-bbb8-7673e8998e54 (дата обращения: 17.12.2025).</mixed-citation><mixed-citation xml:lang="en">Gusev AV. Software for Automated Identification of Water Bodies on Cartographic Schemes and Satellite Images. Certificate of State Registration of the RF Computer Program No. 2025668441. 2025. 1 p. (In Russ.) URL: https://fips.ru/EGD/c7d3b1b1-22bb-4240-bbb8-7673e8998e54 (accessed: 12.17.2025).</mixed-citation></citation-alternatives></ref><ref id="cit5"><label>5</label><citation-alternatives><mixed-citation xml:lang="ru">Qinggai Wang, Shibei Li, Peng Jia, Changjun Qi, Feng Ding. A Review of Surface Water Quality Models. The Scientific World Journal. 2013:231768. https://doi.org/10.1155/2013/231768</mixed-citation><mixed-citation xml:lang="en">Qinggai Wang, Shibei Li, Peng Jia, Changjun Qi, Feng Ding. A Review of Surface Water Quality Models. The Scientific World Journal. 2013:231768. https://doi.org/10.1155/2013/231768</mixed-citation></citation-alternatives></ref><ref id="cit6"><label>6</label><citation-alternatives><mixed-citation xml:lang="ru">Maksoud N, Mohamed MM. Digital Twins Applications in the Water Sector. AIP Conference Proceedings. 2023;2928(1):160014. https://doi.org/10.1063/5.0170525</mixed-citation><mixed-citation xml:lang="en">Maksoud N, Mohamed MM. Digital Twins Applications in the Water Sector. AIP Conference Proceedings. 2023;2928(1):160014. https://doi.org/10.1063/5.0170525</mixed-citation></citation-alternatives></ref><ref id="cit7"><label>7</label><citation-alternatives><mixed-citation xml:lang="ru">Frincu RM. Artificial Intelligence in Water Quality Monitoring: A Review of Water Quality Assessment Applications. Water Quality Research Journal. 2025;60(1):164–176. https://doi.org/10.2166/wqrj.2024.049</mixed-citation><mixed-citation xml:lang="en">Frincu RM. Artificial Intelligence in Water Quality Monitoring: A Review of Water Quality Assessment Applications. Water Quality Research Journal. 2025;60(1):164–176. https://doi.org/10.2166/wqrj.2024.049</mixed-citation></citation-alternatives></ref><ref id="cit8"><label>8</label><citation-alternatives><mixed-citation xml:lang="ru">Dexun Jiang, Hao Zhu, Peng Wang, Jie Liu, Fengfan Zhang, Yuanlong Chen. Inverse Identification of Pollution Source Release Information for Surface River Chemical Spills Using a Hybrid Optimization Model. Journal of Environmental Management. 2021;294:113022. https://doi.org/10.1016/j.jenvman.2021.113022</mixed-citation><mixed-citation xml:lang="en">Dexun Jiang, Hao Zhu, Peng Wang, Jie Liu, Fengfan Zhang, Yuanlong Chen. Inverse Identification of Pollution Source Release Information for Surface River Chemical Spills Using a Hybrid Optimization Model. Journal of Environmental Management. 2021;294:113022. https://doi.org/10.1016/j.jenvman.2021.113022</mixed-citation></citation-alternatives></ref><ref id="cit9"><label>9</label><citation-alternatives><mixed-citation xml:lang="ru">Penenko A, Rusin E. Parallel Implementation of a Sensitivity Operator-Based Source Identification Algorithm for Distributed Memory Computers. Mathematics. 2022;10(23):4522. https://doi.org/10.3390/math10234522</mixed-citation><mixed-citation xml:lang="en">Penenko A, Rusin E. Parallel Implementation of a Sensitivity Operator-Based Source Identification Algorithm for Distributed Memory Computers. Mathematics. 2022;10(23):4522. https://doi.org/10.3390/math10234522</mixed-citation></citation-alternatives></ref><ref id="cit10"><label>10</label><citation-alternatives><mixed-citation xml:lang="ru">Ражев А.О., Недоступ А.А. Разработка математической модели, технологии дополненной реальности и машинного зрения для задач автоматизации сбора данных в рыбоводных хозяйствах. Морские интеллектуальные технологии. 2024;(4(1)):349–358. https://doi.org/10.37220/MIT.2024.66.4.041</mixed-citation><mixed-citation xml:lang="en">Razhev AO, Nedostup AA. Development of a Mathematical Model, Augmented Reality Technology and Computer Vision for Automation of Data Collection in Fish Farms. Marine Intellectual Technologies. 2024;4(1):349–358. https://doi.org/10.37220/MIT.2024.66.4.041</mixed-citation></citation-alternatives></ref><ref id="cit11"><label>11</label><citation-alternatives><mixed-citation xml:lang="ru">Ruo-Qian Wang, Pacheco-Crosetti G, Calderon CV, Cohen J, Smyth E. An Integrative Framework for AI-Supported Coastal Hydrodynamics Monitoring and Analysis. Scientific Reports. 2025;15(1):12403. URL: https://www.nature.com/articles/s41598-025-94791-8 (accessed 20.01.2026)</mixed-citation><mixed-citation xml:lang="en">Ruo-Qian Wang, Pacheco-Crosetti G, Calderon CV, Cohen J, Smyth E. An Integrative Framework for AI-Supported Coastal Hydrodynamics Monitoring and Analysis. Scientific Reports. 2025;15(1):12403. URL: https://www.nature.com/articles/s41598-025-94791-8 (accessed 20.01.2026)</mixed-citation></citation-alternatives></ref><ref id="cit12"><label>12</label><citation-alternatives><mixed-citation xml:lang="ru">Kun Shi, Yunlin Zhang, Boqiang Qin, Botian Zhou. Remote Sensing of Cyanobacterial Blooms in Inland Waters: Present Knowledge and Future Challenges. Science Bulletin. 2019;64(20):1540–1556. https://doi.org/10.1016/j.scib.2019.07.002</mixed-citation><mixed-citation xml:lang="en">Kun Shi, Yunlin Zhang, Boqiang Qin, Botian Zhou. Remote Sensing of Cyanobacterial Blooms in Inland Waters: Present Knowledge and Future Challenges. Science Bulletin. 2019;64(20):1540–1556. https://doi.org/10.1016/j.scib.2019.07.002</mixed-citation></citation-alternatives></ref><ref id="cit13"><label>13</label><citation-alternatives><mixed-citation xml:lang="ru">Ruixiao Ma, Hao Han, Zhaoan Zhang. An Integrated Hydrological–Hydrodynamic Model Based on GPU Acceleration for Catchment-Scale Rainfall Flood Simulation. Atmosphere. 2025;16(7):809. https://doi.org/10.3390/atmos16070809</mixed-citation><mixed-citation xml:lang="en">Ruixiao Ma, Hao Han, Zhaoan Zhang. An Integrated Hydrological–Hydrodynamic Model Based on GPU Acceleration for Catchment-Scale Rainfall Flood Simulation. Atmosphere. 2025;16(7):809. https://doi.org/10.3390/atmos16070809</mixed-citation></citation-alternatives></ref><ref id="cit14"><label>14</label><citation-alternatives><mixed-citation xml:lang="ru">Mahmoud S Salem, Nashaat M Hussain Hassan, Marwa M Aly, Youssef Soliman, Peters RW, Mohamed K Mostafa. Integrating Deep Learning and Process-Based Modeling for Water Quality Prediction in Canals: CNN-LSTM and QUAL2K Analysis of Ismailia Canal. Sustainability. 2025;17(17):7743. https://doi.org/10.3390/su17177743</mixed-citation><mixed-citation xml:lang="en">Mahmoud S Salem, Nashaat M Hussain Hassan, Marwa M Aly, Youssef Soliman, Peters RW, Mohamed K Mostafa. Integrating Deep Learning and Process-Based Modeling for Water Quality Prediction in Canals: CNN-LSTM and QUAL2K Analysis of Ismailia Canal. Sustainability. 2025;17(17):7743. https://doi.org/10.3390/su17177743</mixed-citation></citation-alternatives></ref><ref id="cit15"><label>15</label><citation-alternatives><mixed-citation xml:lang="ru">Sibren Loos, Chang Min Shin, Sumihar J, Kyunghyun Kim, Jaegab Cho, Weerts AH. Ensemble Data Assimilation Methods for Improving River Water Quality Forecasting Accuracy. Water Research. 2020;171:115343. https://doi.org/10.1016/j.watres.2019.115343</mixed-citation><mixed-citation xml:lang="en">Sibren Loos, Chang Min Shin, Sumihar J, Kyunghyun Kim, Jaegab Cho, Weerts AH. Ensemble Data Assimilation Methods for Improving River Water Quality Forecasting Accuracy. Water Research. 2020;171:115343. https://doi.org/10.1016/j.watres.2019.115343</mixed-citation></citation-alternatives></ref><ref id="cit16"><label>16</label><citation-alternatives><mixed-citation xml:lang="ru">Fei Tao, He Zhang, Ang Liu, Nee AYC. Digital Twin in Industry: State-of-the-Art. IEEE Transactions on Industrial Informatics. 2019;15(4):2405–2415. https://doi.org/10.1109/TII.2018.2873186</mixed-citation><mixed-citation xml:lang="en">Fei Tao, He Zhang, Ang Liu, Nee AYC. Digital Twin in Industry: State-of-the-Art. IEEE Transactions on Industrial Informatics. 2019;15(4):2405–2415. https://doi.org/10.1109/TII.2018.2873186</mixed-citation></citation-alternatives></ref></ref-list><fn-group><fn fn-type="conflict"><p>The authors declare that there are no conflicts of interest present.</p></fn></fn-group></back></article>
