Preprint
Article

This version is not peer-reviewed.

Detecting Sources of Drinking Water Contamination Originated by Wildfires

Submitted:

12 October 2025

Posted:

13 October 2025

You are already at the latest version

Abstract

The paper introduces a machine learning method of detecting multiple sources of water contamination caused by wildfire. The method includes changing the water flow regime, monitoring the time series of the contaminant concentration caused by regime changes, and associating the signature of the contaminant changes over time with sources locations. The contaminant signature from multiple sources starting at the moment of changing water velocity are defined by extending the approach for one contamination source. The intensity, location of each source, and diffusion coefficient are defined to satisfy the minimum square between monitoring and theoretical concentrations. The equations derived from the criteria of the best fit between experimental and modeling data are solved using the theory of hypernumbers. The initial values for hypernumber solutions are computed using the transient process of contaminant transport curve analysis. The defined in this paper algorithm can by used for detecting location of the arbitrary impurity in water network system.

Keywords: 
;  ;  ;  ;  ;  ;  

1. Introduction

1.1. The Contaminant Release into Water Distribution Systems as a Wildfire Consequence

Wildfires in urban areas are often the cause of drinking water contamination (Researchers warn of a threat to water safety from wildfires, 2025, Whelton et al., 2023).
The mechanisms of the pollution release in the water supply system are covered below:
  • Contaminant Release Due to Heat Damage to Pipes: Intense heat from wildfires can degrade plastic pipes and fittings, releasing volatile organic compounds (VOCs). Wildfires can introduce VOCs, such as benzene and toluene, into water systems due to the overheating plastics material (Solomon et al., 2021). Two ways overheated pipes introduce contamination are provided in recent research (Meadows, 2022). The paper lists methods for plastic pipe thermal state diagnostics. The modeling of the thermal impact on the pipe is covered in a research paper (Richter et al., 2022). The research covers experiments to determine the critical temperature and duration of heating at which contaminants migrate from pipes to contained water (Fischer, Wham, & Metz, 2022, Metz, Fischer, & Wham, 2023).
  • Contaminant leaks into the pipeline due to loss of pressure: Firefighting efforts and system damage can lead to loss of water pressure, allowing contaminated water (including water containing bacteria) to be sucked into the system through leaks or damaged infrastructure (Pierce et al., 2021).
  • Smoke and Ash Intrusion: As water systems lose pressure and drain, smoke containing chemicals can be drawn into the enumerate the pipes.
According to analysis covered in a recent publication (To Mitigate the Impact of Wildfires on Communities’ Water, Report Fill Gaps in Guidance to Public Drinking Water System Staff. 2025), addressing damage to these systems from a wildfire has been insufficient, conflicting or inaccurate.

1.2. The Directions for Securing Pipeline from Contaminations

The methods of detecting pipes that release toxic chemicals due to the thermal impact of a wildfire is covered in a research paper. (Meadows, 2022) are listed below.
  • The RFID sensor, which does not need batteries and, when triggered, emits a signal that can be scanned. The goal is to put RFID sensors on the laterals of the fire hydrants, which are evenly spaced throughout the communities and buried at the same depth as the vulnerable part of the laterals of the service
  • Color indicator sensor to let homeowners know if they should replace their pipes after a fire.
Water pipe temperature sensors provide a valuable tool for identifying potential water contamination risks. However, the drawbacks to such system implementation include:
  • Deploying sensors across a complex network of pipes in fire areas where fire has a high tendency to occur might be expensive and logistically challenging.
  • Maintenance and cost: The reliability and longevity of sensors in harsh environments and the potential need for frequent maintenance could be a significant factor for cost and feasibility.
For such a reason, there should be alternative methods for detecting pipes that are the source of water contamination.
The method of detecting the location of a source of contaminant in underground water pipes has been identified in a research publication (Dantsker & Brito, 2025). The method can be extended to multiple sources and such an approach is covered in the following.
The method of locating the contaminant release into the water distribution system from overheated or damaged pipes
The method of detecting the location of contaminant release sources in the main distribution system from multiple lateral service lines is shown in Figure 1. Water contamination is monitored by Total Dissolved Solids (TDS) sensors. The most common toxics released from the plastic pipe at temperatures exceeding the threshold for such release (Solomon, et al., 2021) are: bromodichloromethane, chloroform and trihalomethanes Such ingredients are dissolved solids. Due to this, the location of the thermally damaged pipe can be defined by following the origins of TDS release. In case of loss of pressure due to thermal damage to the pipe structure, the surrounding solids leak into the water supply system. Some of the solids are dissolved and the source can be detected with the proposed method. The transient process of the contaminant dynamic is analyzed using the source location identification algorithm software installed on the Raspberry PI computer.
The approximation of the signature of the contaminant from two sources is shown in Figure 2.
Based on the assumption that the transport of contaminants from each source does not depend on another one from the set of sources, the concentration can be defined as the sum of each source following the approach in the research paper (Dantsker & Brito, 2025).
c t e o r =   l = 1 k 0 t m p o l , l n p o l . e d l v n v e l . τ 2 2 D S 2 π D τ d τ +   d l d 1   l m p o l , l v     e x v n v e l . t 2 2 D S 2 π D t d x
The ill-posed problem for contaminant transport inverse engineering is defined with operator minimizing square difference between theoretical and monitoring contaminant concentrations.
L = m i n i = 1 n c i e x p c i t h e o r 2
The system of equations (3) is defined to satisfy operator L .
L d 1 = i = 1 n 2 c i e x p c i t h e o r c i t h e o r d 1 =   0 L d l = i = 1 n 2 c i e x p c i t h e o r c i t h e o r d l   = 0 c d k =   i = 1 n 2 c i e x p c i t h e o r c i t h e o r d k   =   0 L m p o l ,   1 = i = 1 n 2 c i e x p c i t h e o r c i t h e o r m p o l ,   1 =   0 L m p o l ,   l = i = 1 n 2 c i e x p c i t h e o r c i t h e o r m p o l ,   l =   0 L m p o l ,   k = i = 1 n 2 c i e x p c i t h e o r c i t h e o r m p o l ,   k =   0 L D = 0 i = 1 n 2 c i e x p c i t h e o r c i t h e o r D  
The partial derivatives of the contamination concentration c i t h e o r are identified in (4-6) using expression (1).
c i t h e o r d l =   2 0 t m p o l , l n p o l . e l v n v e l . τ 2 2 D S 2 π D τ e d l v n v e l . τ 2 2 D d l v n v e l . τ   d τ +   m p o l , l v     e x v n v e l . t 2 2 D S 2 π D t
c i t h e o r m p o l ,   l =   0 t n p o l . e d l v n v e l . τ 2 2 D S 2 π D τ d τ +   d l d 1   l 1 v     e x v n v e l . t 2 2 D S 2 π D t d x  
c i t h e o r D = l = 1 k 0 t m p o l , l n p o l . d l v n v e l . τ 2   D τ e d l v n v e l . τ 2 2 D τ S 2 π   D 5 / 2 τ 3 / 2 d τ +   d l d 1   l m p o l , l v     e x v n v e l . t 2 2 D t   d l v n v e l . t 2 D t S 2 π   D 5 / 2 τ 3 / 2 d x
The solution for complex non-linear equations (4) is defined with theory of hypernumbers (Burgin, 2010, 2012) and derived from this theory method of solving operator equations (Burgin & Dantsker, 1995), where hypernumber solutions   d l , s h ,   m p o l ,   l , s h ,   D s h for d l ,   m p o l ,   l ,   D are the sequences:
d l ,   s + 1 h =   d l , s h +   δ d l , s h
m p o l , l ,   s + 1 h =   m p o l , l , s h +   δ m p o l , l , s h
D l , s + 1 h =   D l , s h m +   δ D l , s h
The method of finding solutions for hypernumbers deviations is covered in research papers (Burgin & Dantsker, 2022, Dantsker & Burgin,2022).
The d l , 0 h ,   m p o l ,   l , 0 h are identified by analyzing the form of the transient concentration curve by detecting the start of the elevation of the concentration and the difference between the stabilized concentrations before and after the elevation.
d i , 0 h =   t i e l v
m p o l , l . 0 h =   c i v   S
where t i e l - the consequent start time of increasing concentration, c i the difference between consequent stable concentrations.
The t i e l and c i are shown in Figure 2.
The algorithm is defined for arbitrary amount of pollutant sources.

2. Conclusions

The proposed method allows solving the complex problem of detecting pipes that release contamination in the water distribution system. The method is inexpensive and does not require permanent device installation for such identification. The arbitrary number of sources can be identified. The method can be used for any process in which multiple sources of contamination affect the system. The unknown parameters are computed by solving a nonlinear equation using the theory of hypernumbers. The method guarantees solution convergence.

References

  1. Burgin M, Dantsker A. Pollution information acquisition and discovering pollution sources. Journals Proceedings. 2022; 81(1).
  2. Burgin M, Dantsker AM. A method of solving operator equations by means of the theory of hypernumbers. Not. Nat. Acad. Sci. Kurt. 1995: 8; 27–30.
  3. Burgin M. Nonlinear partial differential equations in extrafunctions. Integr. Math. Theory App. 2010; 2(1): 17–50.
  4. Burgin M. Hypernumbers and extrafunctions: extending the classical calculus; Springer: New York, NY, USA, 2012.
  5. Dantsker A, Burgin M. Monitoring Thermal Conditions and Finding Sources of Overheating. The 2021 Summit of the International Society for the Study of Information [Internet]. 2022 Mar 24. [CrossRef]
  6. Dantsker, A.; Brito, J. Leak Location Detection in Underground Pipeline Using Transient Pollutant Propagation Concentration Signature Analysis with Theory of Hypernumbers. Research & Reviews: Discrete Mathematical Structure 2025, 12(1), 13–22. [Google Scholar]
  7. Fischer, E. C., Wham, B. P., & Metz, A. (2022). Contaminant Migration from Polymer Pipes to Drinking Water under High Temperature Wildfire Exposure. Lifelines 2022. [CrossRef]
  8. Meadows, R. (2022, August 3). FEATURE: How Wildfire-damaged Plastic Pipes Contaminate Drinking water – and What We Can Do About It. MAVEN’S NOTEBOOK California Water News Central. https://mavensnotebook.com/2022/08/03/feature-how-wildfire-damaged-plastic-pipes-contaminate-drinking-water-and-what-we-can-do-about-it/.
  9. Metz, A. J.; Fischer, E. C.; Wham, B. P. Behavior of Service Lateral Pipes during Wildfires: Testing Methodologies and Impact on Drinking Water Contamination. ACS ES&T Water 2023, 3(2), 275–286. [Google Scholar] [CrossRef]
  10. Pierce, G.; Roquemore, P.; Kearns, F. Wildfire & water supply in California. 2021. Available online: https://innovation.luskin.ucla.edu/wp-content/uploads/2021/12/Wildfire-and-Water-Supply-in-California.pdf.
  11. Richter, E.G.; Fischer, E.C.; Metz, A.; Wham, B.P. Simulation of Heat Transfer Through Soil for the Investigation of Wildfire Impacts on Buried Pipelines. Fire Technology 2022, 58(13). [Google Scholar] [CrossRef]
  12. Researchers warn of a threat to water safety from wildfires. (2025) ScienceDaily. Available online: http://www.sciencedaily.com/releases/2025/04/250417145511.htm.
  13. Solomon, G.M.; Hurley, S.; Carpenter, C.; Young, T.M.; English, P.; Reynolods, P. Fire and Water: Assessing Drinking Water Contamination After a Major Wildfire. ACS EST Water 2021, 1, 1878–1886. [Google Scholar] [CrossRef] [PubMed]
  14. To Mitigate Impact of Wildfires on Communities’ Water, Report Fill Gaps in Guidance to Public Drinking Water System Staff. (2025) Lyles School of Civil and Construction Engineering – Purdue University. Available online: https://engineering.purdue.edu/CCE/AboutUs/News/Environmental_Features/to-mitigate-impact-of-wildfires-on-communities-water-report-fills-gaps-in-guidance-to-public-drinking-water-system-staff.
  15. Whelton, A. J.; Seidel, C.; Wham, B. P.; Fischer, E. C.; Isaacson, K.; Jankowski, C.; MacArthur, N.; McKenna, E.; Ley, C. The Marshall Fire: Scientific and Policy Needs for Water System Disaster Response. AWWA Water Science 2023, 5(1). [Google Scholar] [CrossRef]
Figure 1. Locating the source of water contamination from the damaged pipes. The schema is extender from the Ritcher et al. chart.
Figure 1. Locating the source of water contamination from the damaged pipes. The schema is extender from the Ritcher et al. chart.
Preprints 180565 g001
Figure 2. The transient process of contaminant concentration changes from multiple sources.
Figure 2. The transient process of contaminant concentration changes from multiple sources.
Preprints 180565 g002
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.
Prerpints.org logo

Preprints.org is a free preprint server supported by MDPI in Basel, Switzerland.

Subscribe

Disclaimer

Terms of Use

Privacy Policy

Privacy Settings

© 2025 MDPI (Basel, Switzerland) unless otherwise stated