Switching water sources is essential for effective water resource management and pipeline maintenance, ensuring water supply stability and reducing reliance on a single source. However, improper water source selection can disrupt the chemical balance within pipelines and accelerate corrosion. This study simulated the process of switching water sources and employed electrochemical analysis, such as scanning electron microscopy, X-ray diffraction, and X-ray photoelectron spectroscopy, to investigate the impact of water source switching on pipeline corrosion. During the initial switching phase, severe pipeline corrosion was observed, along with significant variations in water quality indicators that substantially influenced corrosion. Electrochemical analysis revealed a decrease in pipeline open circuit potential and a negative shift in the polarization curve, indicating an increased tendency for corrosion. Corrosion could be relieved as the pipeline adapted to the new water quality. Microscopic analysis demonstrated that switching water sources affected the structure and stability of the corrosion product film. Investigations into different water source switching ratios indicated that corrosion levels should not be evaluated based on a single parameter; an appropriate blend of water sources is necessary to effectively mitigate corrosion. This study provides valuable insights for water source management, pipeline maintenance, and efficient water supply strategies.

  • Severe initial corrosion and significant water quality changes occur during water source switching.

  • Corrosion is relieved as the pipeline adapts to the new water quality.

  • An appropriate blend of water sources effectively mitigates corrosion.

With the significant increase in population and increasingly scarce urban water resources, a single water source can no longer guarantee an adequate water supply. Many cities frequently switch water sources and adopt multiple water sources for water supply (Lin et al. 2021). In China, the government is vigorously promoting rural drinking water safety projects, leading to an increasing number of single-village water supply projects. Internationally, governments provide financial and technical support to rural areas, promoting single-village water supply projects to improve local living standards. However, in rural areas, especially mountainous regions, heavy rainfall can degrade the quality of surface water and increase turbidity, threatening water supply safety and sometimes necessitating a switch from surface water to groundwater sources.

Due to the differences in water quality between surface water and groundwater, these switches may cause sudden changes in the water quality within existing pipelines, disrupting the original chemical equilibrium between the water and pipe walls and leading to the establishment of a new equilibrium (Qin et al. 2022). This process can affect the corrosion of raw water pipelines and impact water safety (Ouyang et al. 2020; Saraswat et al. 2020; Singh et al. 2020). Switching is feasible when two water sources have similar water quality, while a gradual switch with appropriate mixing ratios is needed when there are large differences in water quality.

Moreover, due to the complex chemical and biological composition of corrosion products in the pipeline system, water quality issues remain a concern (Hu et al. 2018). The complex relationship between water source switching, pipeline corrosion, and water quality changes highlights the importance of studying the mechanism of pipeline corrosion under water source conversion to ensure the safety of raw water pipelines (Verma et al. 2019). There are three main types of switching in water source transportation: switching between local water sources in the same area (e.g., surface water, groundwater, and reservoir water); water diversion between river basins (e.g., the South-to-North Water Diversion Project); and the development of unconventional water sources to replace conventional water (e.g., seawater desalination projects) (Hasson & Bendrihem 2006; Hilbert 2006; Service 2006; Wang et al. 2023, 2024).

Switching water sources typically introduces corrosive anions such as sulfate and chloride ions, along with changes in pH, alkalinity, and hardness. These factors lead to pipeline corrosion through chemical or electrochemical reactions between the metal and substances in the water (Ansari et al. 2020; Ramkumar et al. 2020). Most research on ductile iron pipeline corrosion focuses on the use of tap water as the electrolyte solution, with comparatively less attention given to raw water (Zhang et al. 2010). Over the past few decades, pipeline corrosion mechanisms have gained global research interest. While corrosion studies on drinking water and reclaimed water pipelines are relatively comprehensive, research on raw water pipelines remains in its early stages (Tang et al. 2006).

Some researchers have examined the effects of water source switching on metal pipeline corrosion and proposed prevention measures. However, there is a lack of electrochemical experiments using electrochemical workstations to study the corrosion process (Hu et al. 2018). Therefore, this study aims to deeply analyze the corrosion mechanism using electrochemical techniques, scanning electron microscopy (SEM), X-ray diffraction (XRD), and other methods, to offer theoretical support for controlling corrosion in raw water pipelines and propose a more suitable raw water transport method.

Due to the complex chemical and biological composition of corrosion products in pipeline systems, maintaining water quality remains challenging. The relationship between water source switching, pipeline corrosion, and water quality changes highlights the need to study corrosion mechanisms during water source transitions. By using electrochemical analysis, such as SEM, XRD, and X-ray photoelectron spectroscopy (XPS), this study seeks to provide a detailed understanding of the corrosion process, offering theoretical support for improving and optimizing rural water supply systems.

Experimental methods and device

The study investigated the impact of water source conversion on pipeline corrosion utilizing advanced biofilm reactors. One set of reactors housed test specimens previously exposed to surface water (Group G1), whereas another set housed those exposed to groundwater (Group G2). The transition of G1 to groundwater and G2 to surface water was simulated within the study. Throughout the 14-day experiment, the reactors were sealed, light-shielded, and maintained at a constant flow rate, with continuous water introduction and daily sampling. Key water quality parameters, including alkalinity, hardness, conductivity, total dissolved solids (TDS), dissolved oxygen (DO), pH, turbidity, and total iron concentration, were meticulously measured. Electrochemical analyses, encompassing continuous polarization curve tests and alternating current impedance spectroscopy, were conducted to monitor corrosion progression. Post-experiment assessments utilized SEM, XRD, and XPS to elucidate morphological, structural, and compositional changes in the test specimens. Additionally, water source conversion strategies were examined by mixing various ratios of surface and groundwater (1/9, 3/7, 5/5, 7/3, and 9/1) and introducing these mixtures into pipelines historically utilized for mixed water transport. A similar 14-day monitoring regimen of routine water quality parameters and electrochemical testing was conducted to evaluate the impact of varying water source proportions on water quality and corrosion.

The advanced biofilm annular reactor (BAR) employed in this study consists of a shell, top cover, base, electrodes, biofilm carriers, and a stirrer, designed to simulate the light-deprived environment of a water pipeline. It also incorporates dedicated biofilm supports, a motor, and a stirrer to ensure uniform agitation of the liquid, thereby generating shear forces to mimic pipeline conditions. The internal structure is illustrated in Figure 1(a), while the physical appearance is depicted in Figure 1(b). For comprehensive details, please refer to Supplementary text S1.
Figure 1

(a) Improved biofilm loop BAR. (b) Actual picture of the simulation device.

Figure 1

(a) Improved biofilm loop BAR. (b) Actual picture of the simulation device.

Close modal

Material preparation

Semi-corroded test pieces were utilized in this experiment to simulate the material of the original water pipeline. The ductile iron test pieces conformed to Type I standard corrosion specimens, with dimensions of (50.0 ± 1/9) mm × (25.0 ± 1/9) mm × (2.0 ± 1/9) mm (Ansari et al. 2020). Before use, the specimens were sequentially polished with 400#, 800#, and 1,200# water sandpaper. The polished test pieces were then soaked in acetone to remove oil stains, rinsed with anhydrous ethanol, and air-dried before being placed in sealed bags for later use. The cement mortar formula followed the Chinese standard Cement Mortar Coating for Ductile Iron Pipes and Fittings GB/T17457-2019. To simulate the actual pipeline environment as closely as possible, one side of the specimens was coated with epoxy resin. After preparation, the specimens were placed in reactors containing surface water, groundwater, and mixed water for a total of 12 months to simulate the transportation of different water qualities in old pipelines.

The two water sources used in the experiment were divided into two groups. One group represented surface water sources, while the other group represented groundwater sources. The water quality standards were referenced from Groundwater Quality Standards (GB/T14848-2017) and Surface Water Environmental Quality Standards (GB3838-2002). The water quality of the two sources is shown in Supplementary Table S1. The mixed water was prepared according to different proportions.

Characterization techniques and water quality analysis

A three-electrode system consisting of a silver chloride reference electrode, a platinum auxiliary electrode, and a working electrode was employed for open circuit potential measurements, polarization curves, and electrochemical impedance spectroscopy (EIS) using a Gamry workstation and software. SEM was utilized to examine microstructural changes in post-switching samples, following a preparation process that included dehydration, freeze-drying, metal coating, and analysis with an FEI QUANTA FEG250 microscope. XRD analysis was conducted to determine the phase composition of powder samples, involving freeze-drying, scraping, grinding, sieving, and spreading the powder on glass slides for testing with a Thermo K-Alpha diffractometer, using a cobalt target to minimize fluorescence radiation and analyzing results with Jade software and the PDF2004 card database. Additionally, XPS was used to analyze the phase composition of powder samples, following similar preparation steps, and utilizing a Thermo K-Alpha X-ray diffractometer, with calibration using the C1s method and analysis conducted with Avantage software (Supplementary Table S3). The conventional methods for testing water quality indicators described in this article follow the relevant provisions of the Drinking Water Quality Testing Methods (GB/T 5750-2006) and the Standard Methods for the Examination of Water and Wastewater (4th edition). For detailed information, please refer to Supplementary Table S3.

Impact of water source switching on pipeline corrosion and water quality

As illustrated in Figure 2(a) and 2(b), the graphs depicted alterations in hardness and alkalinity subsequent to the switch of water sources, with day 0 denoting the initial readings post-switch. Figure 2(a) indicates a rapid decrease in alkalinity within the first 2 days, followed by an increase after the 5th day and stabilization by the 14th day in both pipeline sets. These fluctuations were attributed to environmental changes within the pipelines, disrupting the passivation film on the inner walls, leading to corrosion and the subsequent release of iron ions. These ions reacted with bicarbonate (HCO3) in the water, thereby reducing total alkalinity. Subsequently, the pipelines acclimated to the new water environment, and the corrosion product film formed on the surface impeded further corrosion, consequently decreasing the availability of iron ions to react with HCO3, resulting in a gradual increase in total alkalinity. According to Figure 2(b), water hardness experienced significant changes in the first 5 days following the switch, attributed to drastic alterations in the pipe wall environment. However, post the 5th day, as the pipelines adjusted, water hardness gradually stabilized. The disturbance in the original chemical equilibrium led to the release of iron into the water, where it reacted with bicarbonate to form ferrous carbonate precipitate, subsequently oxidizing. The hydroxide produced in this reaction then precipitated with calcium ions, reducing water hardness. In summary, the switch induced dramatic fluctuations in alkalinity and hardness within the initial 5 days, followed by stabilization as the pipelines adapted (Permeh & Lau 2022).
Figure 2

(a) Variation in alkalinity after switching water sources; (b) hardness; (c) TDS; (d) conductivity; (e) DO; (f) pH values; (g) turbidity; and (h) total iron.

Figure 2

(a) Variation in alkalinity after switching water sources; (b) hardness; (c) TDS; (d) conductivity; (e) DO; (f) pH values; (g) turbidity; and (h) total iron.

Close modal

Figure 2(c) and 2(d) displays consistent variations in conductivity and TDS, with conductivity approximately twice that of TDS. Initially, both values increased due to two primary factors: the influx of ions from the new water source and intensified pipeline corrosion, resulting in the release of divalent iron ions and other ions, thereby rapidly elevating conductivity and TDS levels. Substantial changes occurred within the first 5 days, succeeded by stabilization.

Figure 2(e) indicates a downward trend in DO within the initial 5 days post-switch, followed by a subsequent rise from the 6th day onwards. Initially, the alteration in water quality prompted intense pipeline corrosion, resulting in the consumption of DO in the cathodic reaction of the electrochemical process. As corrosion progressed, a stable corrosion scale layer formed, suppressing the anodic process and indirectly weakening the cathodic reaction, consequently reducing DO consumption and causing a gradual increase in DO (Marcus et al. 2008). Figure 2(f) demonstrates a rapid increase in pH value during the initial stage, peaking on the 8th day before gradually declining. The initial rise could be attributed to the electrochemical corrosion of iron, where Fe lost electrons to become Fe²⁺ at the anode and dissolved oxygen gained electrons to form OH at the cathode. Some Fe2+ reacted with OH to form precipitates, thereby neutralizing it. Bases and other anions, such as and , reacted with Fe2+, producing OH and increasing pH. Over time, the reduction in dissolved oxygen reaction decreased OH⁻ formation, while Fe²⁺ reacted with OH to form Fe(OH)2, resulting in a decline in pH.

Figure 2(g) and 2(h) indicates that turbidity and total iron changes in G1 were more pronounced than in G2. During the initial 8 days post-switch, both G1 and G2 exhibited higher total iron concentrations and turbidity in the effluent, with maximum iron concentrations of 5/5 and 1.5 mg/L, and maximum turbidity of 2.5 and 9 NTU, respectively. Following this period, both measures stabilized at lower levels, signifying that the initial drastic alteration in water quality led to iron release within the pipeline, thereby increasing effluent turbidity and resulting in the ‘yellow water’ phenomenon (Li & Du 2022). Subsequently, the above phenomenon was ultimately eliminated as the persistent water supply and stabilized water quality.

Analysis of electrochemical corrosion results of pipelines

Open circuit potential

As illustrated in Figure 3, there was a significant variation in the open circuit potential of both pipeline groups within the first 8 days following the switch in water sources, characterized by relatively low potentials. An increased corrosion tendency was indicated during the initial stages of water source switching (Liu et al. 2018). The chemical equilibrium of the original pipeline network was disrupted during the initial phase, altering water quality factors such as sulfate ions, chloride ions, alkalinity, and hardness. Ion and electron transfer in the water were accelerated by these changes, thereby increasing the corrosion tendency when iron came into contact with the water, making the pipeline more susceptible to corrosion. After the 8th day, the open circuit potential of both pipeline groups gradually shifted toward more positive values. As the pipeline adapted to the new environment, the gradual formation of corrosion products that covered the electrode surface occurred, thereby impeding the continuation of the corrosion reaction and slowing the corrosion process. However, after the 10th day, both pipeline groups exhibited a decreasing trend in open circuit potential. The unstable nature of the corrosion product layer on the pipeline surface may have been attributed to this, as it may have continuously shed and renewed or formed unevenly, resulting in localized corrosion areas and intensifying the corrosion tendency.
Figure 3

Variation of open circuit potential over time after water source switching.

Figure 3

Variation of open circuit potential over time after water source switching.

Close modal

Polarization curves

In this experiment, potentiodynamic scanning tests were conducted on test samples following the reversal of the water source switch, and the resulting polarization curves were analyzed. The polarization curves over time for the G1 and G2 groups are depicted in Figure 4(a) and 4(b), respectively, with the anodic Tafel slope (βa), cathodic Tafel slope (βc), and corrosion current density summarized in Table 1.
Table 1

Fitting results of the anodic Tafel slope, cathodic Tafel slope, and corrosion current density

βa (mV/decade)
βc (mV/decade)
Icorr (A/cm2)
Time (d)G1G2G1G2G1G2
1/96 1/98 1/98 1/97 7.58 × 10−6 2.59 × 10−5 
0.27 0.20 0.26 0.09 4.36 × 10−5 1.14 × 10−7 
0.23 0.29 3/72 0.29 2.47 × 10−5 9.30 × 10−6 
0.25 0.27 3/70 1/99 2.37 × 10−5 2.58 × 10−6 
5/55 0.63 1/93 1/92 7.94 × 10−7 3.85 × 10−7 
0.25 0.82 0.25 1/98 3.05 × 10−5 2.03 × 10−6 
5/54 0.42 1/91 1/91 2.17 × 10−7 1.10 × 10−7 
5/59 0.23 1/98 1/98 3.04 × 10−6 3.31 × 10−6 
3/76 0.45 1/90 0.26 2.78 × 10−7 3.40 × 10−6 
10 0.49 0.46 1/90 1/90 1.09 × 10−7 1.02 × 10−7 
11 0.46 0.43 1/91 1/90 1.26 × 10−7 9.18 × 10−8 
12 0.07 3/79 0.05 1/91 9.61 × 10−8 7.01 × 10−7 
13 3/79 0.44 1/90 1/91 7.91 × 10−8 2.94 × 10−7 
14 0.48 3/77 1/90 1/90 1.46 × 10−7 1.18 × 10−7 
βa (mV/decade)
βc (mV/decade)
Icorr (A/cm2)
Time (d)G1G2G1G2G1G2
1/96 1/98 1/98 1/97 7.58 × 10−6 2.59 × 10−5 
0.27 0.20 0.26 0.09 4.36 × 10−5 1.14 × 10−7 
0.23 0.29 3/72 0.29 2.47 × 10−5 9.30 × 10−6 
0.25 0.27 3/70 1/99 2.37 × 10−5 2.58 × 10−6 
5/55 0.63 1/93 1/92 7.94 × 10−7 3.85 × 10−7 
0.25 0.82 0.25 1/98 3.05 × 10−5 2.03 × 10−6 
5/54 0.42 1/91 1/91 2.17 × 10−7 1.10 × 10−7 
5/59 0.23 1/98 1/98 3.04 × 10−6 3.31 × 10−6 
3/76 0.45 1/90 0.26 2.78 × 10−7 3.40 × 10−6 
10 0.49 0.46 1/90 1/90 1.09 × 10−7 1.02 × 10−7 
11 0.46 0.43 1/91 1/90 1.26 × 10−7 9.18 × 10−8 
12 0.07 3/79 0.05 1/91 9.61 × 10−8 7.01 × 10−7 
13 3/79 0.44 1/90 1/91 7.91 × 10−8 2.94 × 10−7 
14 0.48 3/77 1/90 1/90 1.46 × 10−7 1.18 × 10−7 
Figure 4

Changes of G1 (a) and G2 (b) polarization curves with time after water source switching.

Figure 4

Changes of G1 (a) and G2 (b) polarization curves with time after water source switching.

Close modal

As shown in Figure 4, both G1 and G2 exhibited negative shifts in the polarization curves during the initial stages of water source switching when water quality was unstable. Over time, as the pipelines adapted to the new environment, the polarization curves shifted in both positive and negative directions, indicating a gradual decrease in corrosion tendency (Rios et al. 2013). Figure 4(a) demonstrates that the G1 pipeline, which initially transported surface water but was switched to groundwater, experienced decreased sulfate and chloride ion concentrations and increased alkalinity and hardness (Melo et al. 2022). Initially, the polarization curve showed a negative shift, with a significant positive shift occurring after 5 days. Table 1 reveals that during the first 5 days, the anodic Tafel slope (βa) of the G1 pipeline was lower than the cathodic Tafel slope (βc), indicating predominant anodic dissolution reactions. This suggested rapid iron corrosion and a high anodic corrosion rate, producing a substantial amount of Fe2+, which reacted with OH to form iron hydroxides. After 5 days, the anodic Tafel slope (βa) increased and surpassed the cathodic Tafel slope (βc), indicating a weakening anodic corrosion effect and a shift toward cathodic depolarization. The corrosion current density also decreased over time as a corrosion product film formed on the metal surface, inhibiting further corrosion by preventing Fe2+ transfer into the main water. In the later stages, the cathodic Tafel slope (βc) showed a minimal change, indicating a stabilization of corrosion tendency once the pipeline adapted to the new environment. Figure 4(b) illustrates that the G2 pipeline, which historically transported groundwater but switched to surface water, experienced increased sulfate and chloride ion concentrations. During the early stages of switching, the corrosion potential changed significantly over time. As the pipeline adapted to the new water quality, the polarization curve shifted positively, and the corrosion tendency diminished (Rybalka et al. 2021). Table 1 shows that throughout the experiment, the anodic Tafel slope (βa) remained greater than the cathodic Tafel slope (βc), suggesting that for G2, corrosion primarily occurred through cathodic depolarization, with significant hindrance to anodic corrosion reactions. This difference in anodic and cathodic changes was attributed to the distinct corrosion scale layers formed in the original water quality environments of G1 and G2. Table 1 also indicates that after 10 days, the change in the cathodic Tafel slope (βc) was minimal, reinforcing that corrosion tendency stabilized once the pipeline adapted to the new environment.

Electrochemical impedance spectroscopy

After switching pipeline G1's water source from surface water to groundwater, EIS tests were conducted on the 3rd, 5th, 7th, 9th, 11th, 13th, and 15th days. Results depicted in Figure 5 showed a single capacitive loop for the 3rd, 5th, 7th, 9th, and 11th days, fitted using the Rs (QdlRct) circuit model (Supplementary Figure S1), where Rs represents the solution resistance, Qdl is the double-layer capacitance, n is the dispersion coefficient, and Rct is the charge transfer resistance (Figure 5(a)). On the 13th and 15th days, dual capacitive loops appeared, fitted with a different circuit model (Supplementary Figure S2), incorporating Rs, Rf (corrosion product film resistance), and Rct. Constant phase elements (CPEs) replaced the capacitance to account for dispersive effects, with CPE1 and n1 represent the corrosion product film and CPE2 and n2 represent the double layer.
Figure 5

(a, b) Variation of the EIS of G1 over time after water source switching and (c, d) variation of the EIS of G2.

Figure 5

(a, b) Variation of the EIS of G1 over time after water source switching and (c, d) variation of the EIS of G2.

Close modal

The Nyquist plot in Figure 8(a) showed a single capacitive loop decreasing in size from the 3rd day, indicating reduced anti-corrosion performance due to water quality changes. By the 5th day, the loop's radius was minimal, reflecting peak corrosion from environmental instability within the pipeline. Shedding of corrosion products and physical and chemical changes decreased impedance and accelerated wall corrosion. As corrosion products accumulated, stabilization began by the 7th day, and the loop radius increased until the 11th, 13th, and 15th days, a second capacitive loop appeared in the high-frequency region as the corrosion product film stabilized.

Similarly, after switching pipeline G2's water source from groundwater to surface water, EIS tests were conducted on the same days, with results shown in Figures 5(c) and 6(d). The first 5 days showed a decrease in capacitive loop radius in the low-frequency region, which began increasing on the 7th day, peaking by day 11. By the 13th day, an additional capacitive loop appeared in the high-frequency region, adapting to the new water quality with fitting circuit changes (Supplementary Figure S2). Corrosion products covered the test piece's surface, leading to gradual stabilization.
Figure 6

SEM images of G1 switching (a, b, c) for before switching and (d, e, f) for after switching.

Figure 6

SEM images of G1 switching (a, b, c) for before switching and (d, e, f) for after switching.

Close modal

Table 2 presents EIS data fitting results for the 3rd, 5th, 7th, 9th, and 11th days using the Rs (QdlRct) circuit model (Supplementary Figure S1). For both G1 and G2, Rs values were low on the 3rd and 5th days due to the drastic aquatic environment changes from the water source conversion, leading to increased ion concentration and activity, reduced solution resistance, and stronger corrosion. After 5 days, as pipelines adapted, ion concentration stabilized, Rs values increased, indicating reduced corrosivity. Qdl remained stable and low, and the dispersion coefficient (n) ranged between 5/5 and 1, indicating a rough test piece surface. Rct first decreased then increased, with the lowest value on the 5th day, marking the weakest anti-corrosion ability. By the 11th day, Rct values peaked, indicating improved anti-corrosion stability.

Table 2

Impedance fitting results after water source switching (Rs (QdlRct) type)

Rs (Ω · cm²)
Qdl (Y0−1 · cm−2 · sn)
n
Rct (Ω · cm²)
Time (d)G1G2G1G2G1G2G1G2
D3 2.4 × 103 3.9 × 103 5.8 × 10−5 5.7 × 10−5 0.83 0.83 3.4 × 105 3.3 × 105 
D5 3.3 × 103 3.3 × 103 7.8 × 10−5 9.4 × 10−5 7/31 7/34 6.7 × 104 3.2 × 104 
D7 3.9 × 103 3.9 × 103 6.2 × 10−5 5.7 × 10−5 0.81 0.84 3.0 × 105 5.5 × 105 
D9 4.7 × 103 4.4 × 103 6.3 × 10−5 5.6 × 10−5 7/38 0.81 3.7 × 105 6.4 × 105 
D11 4.9 × 103 4.8 × 103 5.8 × 10−5 5.5 × 10−5 0.85 0.85 6.6 × 105 6.6 × 105 
Rs (Ω · cm²)
Qdl (Y0−1 · cm−2 · sn)
n
Rct (Ω · cm²)
Time (d)G1G2G1G2G1G2G1G2
D3 2.4 × 103 3.9 × 103 5.8 × 10−5 5.7 × 10−5 0.83 0.83 3.4 × 105 3.3 × 105 
D5 3.3 × 103 3.3 × 103 7.8 × 10−5 9.4 × 10−5 7/31 7/34 6.7 × 104 3.2 × 104 
D7 3.9 × 103 3.9 × 103 6.2 × 10−5 5.7 × 10−5 0.81 0.84 3.0 × 105 5.5 × 105 
D9 4.7 × 103 4.4 × 103 6.3 × 10−5 5.6 × 10−5 7/38 0.81 3.7 × 105 6.4 × 105 
D11 4.9 × 103 4.8 × 103 5.8 × 10−5 5.5 × 10−5 0.85 0.85 6.6 × 105 6.6 × 105 

Table 3 shows fitting results for the 13th and 15th days. Over time, Rs values increased, with G1 having larger Rs than G2 due to better water quality, lower ion concentrations, and weaker ion activity, resulting in larger Rs values and less corrosive action. Both pipelines showed increasing Rf values due to corrosion products covering the test piece surface. Rct values also increased and remained higher than Rf, indicating charge transfer as the main corrosion control step. Both CPE1 and CPE2 stayed low with minimal variation, and n1 values ranged between 5/54 and 5/55, while n2 increased, suggesting a denser and more protective corrosion scale layer (Moradi et al. 2022). The impact of water source changes on pipeline corrosion behavior was demonstrated by this analysis, with valuable insights into the electrochemical processes and the effectiveness of corrosion products in stabilizing and protecting the pipeline over time being provided by EIS.

Table 3

Impedance fitting results after water source switching (Rs (CPE1(Rf (CPE2Rct)) type)

NameTime
(d)
Rs
(Ω · cm²)
CPE1
(μF · cm−2 · sn−1)
n1Rf
(Ω · cm²)
Rct
(Ω · cm²)
CPE2
(μF · cm−2 · sn−1)
n2
G1 D13 349.6 1.24 × 10−6 5/55 7.1 × 102 1.1 × 103 7.36 × 10−4 0.44 
D15 374.4 1.55 × 10−6 5/55 9.1 × 102 1.1 × 103 5.88 × 10−4 5/54 
G2 D13 11.47 4.48 × 10−7 5/54 1.7 × 103 1.8 × 104 1.58 × 10−4 0.41 
D15 43.6 8.58 × 10−6 5/54 1.8 × 103 2.4 × 104 1.01 × 10−4 0.68 
NameTime
(d)
Rs
(Ω · cm²)
CPE1
(μF · cm−2 · sn−1)
n1Rf
(Ω · cm²)
Rct
(Ω · cm²)
CPE2
(μF · cm−2 · sn−1)
n2
G1 D13 349.6 1.24 × 10−6 5/55 7.1 × 102 1.1 × 103 7.36 × 10−4 0.44 
D15 374.4 1.55 × 10−6 5/55 9.1 × 102 1.1 × 103 5.88 × 10−4 5/54 
G2 D13 11.47 4.48 × 10−7 5/54 1.7 × 103 1.8 × 104 1.58 × 10−4 0.41 
D15 43.6 8.58 × 10−6 5/54 1.8 × 103 2.4 × 104 1.01 × 10−4 0.68 

Analysis of corrosion morphology results of pipelines

The corrosion products of iron primarily consisted of iron oxides and hydroxide oxides, including (α-, β-, γ-) FeOOH, Fe₂O₃, and Fe3O4. γ-FeOOH (lepidocrocite) had an unstable structure and was prone to reduction reactions, forming loose, reddish-brown crystals (Yang et al. 2012). Under the microscope, these appeared fibrous, scale-like, honeycombed, and fluffy. Fe2O3 (hematite) was also reddish-brown with a sheet-like, block-like, and granular crystal structure, classified into (α-, β-, γ-) Fe2O3. Fe3O4 was spherical, black, and exhibited good electrical conductivity. As shown in Figure 6, before the water source switch, the G1 pipeline, historically carrying surface water, exhibited SEM images characteristic of surface water corrosion products. These products were typically spherical and block-like with a loose structure, likely composed of FeOOH, Fe2O3, and Fe3O4. The environmental change from switching the water source enlarged the interstitial spaces between the corrosion products, making them looser and more prone to detachment, thereby increasing the total iron concentration in the water. The corrosion scale layer on the 14th day post-switch, shown in Figure 6(d)–6(f), revealed significant changes in the characteristics of the corrosion products due to altered water quality. Compared with pre-switch corrosion products, those on the 14th day post-switch showed fewer spherical corrosion nodules and a transition to denser, layered, block-like corrosion products. It was speculated that the change in water quality stabilized the previously unstable γ-FeOOH into more stable oxides (Herro & Port 1993; Sarin 2002). Additionally, the higher alkalinity and hardness of the new water source resulted in the formation of calcite on the test piece surface, enhancing the stability of the corrosion scale layer.

From Figure 7(a)–7(c), it was evident that the morphology of the corrosion products on the surface of the coupons differed significantly from that of the pipeline historically transporting surface water, attributable to the variance in water quality. Due to the higher alkalinity and hardness in groundwater, corrosiveness was mitigated. Pre-switch, the distribution of corrosion nodules in the pipeline was less dense, with corrosion products primarily comprising scale-like layered structures, possibly FeOOH (goethite) or Fe3O4 (magnetite). Following the switch, as illustrated in Figure 7(d)–7(f), after 14 days of operation, the corrosion products on the surface of the coupons retained the original scale-like layered structure while additionally being covered with a new layer of corrosion products. These corrosion products exhibited characteristics akin to surface water, with an augmented number of spherical corrosion nodules densely covering the test piece surface, offering some protection against subsequent corrosion. This phenomenon also suggested that the original corrosion products of pipeline G2 conferred significant protective effects during the corrosion process, with the influence of the new water quality on the corrosion products being less pronounced than that on pipeline G1. This finding aligned with the outcomes of the preceding water quality and electrochemical analyses.
Figure 7

SEM images of G2 switching (a, b, c) for before switching and (d, e, f) for after switching.

Figure 7

SEM images of G2 switching (a, b, c) for before switching and (d, e, f) for after switching.

Close modal

The composition analysis of corrosion products in the pipeline before and after switching water sources

Figure 8(a) presents the XRD patterns of G1 before and after the water source switch. In the original environment with surface water, dissolved oxygen oxidized zero-valent iron to ferrous ions, which further oxidized to ferric ions, forming ferric hydroxide products, such as goethite (α-FeOOH), lepidocrocite (γ-FeOOH), and akaganeite (β-FeOOH). CaCO3 was also identified on the scale layer, existing in both calcite and aragonite forms (Rafique et al. 2021). After switching to groundwater, the corrosion products on the pipe wall changed. The types of ferric hydroxide products decreased from three to one (α-FeOOH), and Fe2O3 was detected. This was due to the greater stability of the new water source, leading some ferric hydroxide products to convert to iron oxides. Combined with earlier SEM results, it was evident that the newly formed Fe2O3 covered the surface, forming a dense protective layer. Additionally, the sharper CaCO3 peak after the switch indicated higher crystal content and crystallinity, suggesting increased stability, strength, and hardness, which more effectively inhibited solution infiltration and ductile iron corrosion. The increase in the CaCO3 diffraction peak also suggested that carbonate products covered the sample surface post-switch, stabilizing the corrosion scale layer.

Figure 8(b) presents the XRD patterns of G2 before and after the water source switch. In the original environment with surface water, dissolved oxygen oxidized zero-valent iron to ferrous ions, which further oxidized to ferric ions, forming iron oxides and hydroxides, such as goethite (α-FeOOH), lepidocrocite (γ-FeOOH), akaganeite (β-FeOOH), Fe2O3, and CaCO3. After 14 days of operation post-switch, the corrosion products on the pipe wall changed. The types of ferric hydroxide products decreased from three to one (α-FeOOH), and due to the change in water quality, SEM and EIS analyses showed that a new passivation film formed on the test piece surface, changing from Fe2O3 to Fe3O4. The higher and sharper CaCO3 diffraction peak indicated increased crystal content and crystallinity after the switch (Withers 2005). Consequently, carbonation products primarily protected the G2 test piece surface, gradually stabilizing the corrosion scale layer (Zhang et al. 2010, 2022). Although the new water source was more corrosive, the previously formed stable scale layer, including CaCO3 and Fe2O3, mitigated the impact of the new water source, enhancing adaptation to the new water quality.

The component analysis of corrosion products in the pipeline before and after switching water sources

Figure 9 presents the XPS survey spectra of the corrosion products from pipelines G1 and G2 after the water source switch. Before the switch, elements of iron, oxygen, carbon, and calcium were present in both pipeline groups. Post-switch, chlorine was additionally detected in both groups. The presence of chlorine on the mineral surface after the switch indicated high chloride ion coordination reaction activity, which strongly eroded and penetrated crystalline minerals, destroyed their crystal structures, and adhered to the surface. The absence of chlorine before the switch suggested that the initial scale layer exhibited some tolerance to corrosive anions, preventing early detection of chlorine in the corrosion products. The absence of sulfur elements after the switch might be attributed to sulfate ions having lower erosion and penetration capabilities compared with chloride ions, consistent with existing research findings (Tang et al. 2006; Trueman & Gagnon 2016; Sun HuiFang et al. 2017).
Figure 8

(a) X-ray diffraction patterns of G1 before and after switching and (b) X-ray diffraction patterns of G2 before and after switching.

Figure 8

(a) X-ray diffraction patterns of G1 before and after switching and (b) X-ray diffraction patterns of G2 before and after switching.

Close modal
Figure 9

XPS full spectrum of corrosion products after the water source switching of G1 (a) and G2 (b) pipelines.

Figure 9

XPS full spectrum of corrosion products after the water source switching of G1 (a) and G2 (b) pipelines.

Close modal
Figure 10(a) and 10(b) shows the XPS fine spectrum of Fe2p for G1 corrosion products and the calculated relative content percentages of iron oxides. For G1, four peaks were detected in the corrosion products before the switch, which corresponded to the XRD detection results. The binding energy of α-FeOOH was 719/12 eV (28%), β-FeOOH was 712.31 eV (45%), and γ-FeOOH was 711.62 eV (27%). The sub-peak at 713 eV was attributed to the incomplete transformation of Fe(OH)3. After the switch, the products changed to two types: α-FeOOH (719/12 eV, 66%) and γ-Fe2O3 (710.09 eV, 34%), with sub-peaks indicating incomplete conversion. It was indicated by these results that the formation of goethite and hematite was promoted by the water source switch in G1, stabilizing the corrosion products (Yang et al. 2022). Figure 11(c) and 11(d) shows the XPS fine spectrum of the G2 corrosion products before and after the switch. Five peaks were detected in the corrosion products before the switch, corresponding to the XRD detection results. The binding energy of α-FeOOH was 719/12 eV (19%), β-FeOOH was 712.31 eV (36%), γ-FeOOH was 711.62 eV (27%), and γ-Fe2O3 was 710.09 eV, with sub-peaks indicating incomplete conversion. After the switch, the original five peaks changed to four peaks: α-FeOOH (46%), γ-Fe2O3 (16%), and newly formed Fe3O4 (708.86 eV, 38%), with sub-peaks indicating incomplete conversion.
Figure 10

(a, b) XPS fine spectrum of corrosion products of G1 before and after switching and (c, d) XPS fine spectrum of corrosion products of G2 before and after switching.

Figure 10

(a, b) XPS fine spectrum of corrosion products of G1 before and after switching and (c, d) XPS fine spectrum of corrosion products of G2 before and after switching.

Close modal
Figure 11

(a) Results of total alkalinity tests for water sources with different ratios; (b) total hardness; (c) conductivity; (d) TDS; (e) dissolved oxygen; (f) pH; (g) turbidity; and (h) total iron concentration.

Figure 11

(a) Results of total alkalinity tests for water sources with different ratios; (b) total hardness; (c) conductivity; (d) TDS; (e) dissolved oxygen; (f) pH; (g) turbidity; and (h) total iron concentration.

Close modal

Study on different proportion water source switching strategies

Changes in water quality of effluent from different water sources

Referring to Figure 11(a), the peak total alkalinity values varied across different ratios. The box plot showed that the peak value ranges were larger for ratios of 1/9 and 9/1 and smaller for ratios of 3/7, 5/5, and 7/3. The order of the ratios from the highest to the lowest maximum alkalinity values was 1/9 > 3/7 > 9/1 > 7/3 > 5/5, while for minimum values, the order was 3/7 > 7/3 > 5/5 > 9/1 > 1/9. After the water quality stabilized, the average alkalinity values from days 8 to 14, in descending order, were 1/9 > 3/7 > 7/3 > 9/1 > 5/5. From Figure 11(b), it was evident that the gap between the maximum and minimum total hardness values was more pronounced at smaller ratios. As the ratio increased, the gap between the extreme values decreased, resulting in more concentrated total hardness measurements (Wasim et al. 2018).

Based on Figure 12(a), it was apparent that at a mixing ratio of 1/9, DO exhibited the most substantial variation, ranging from 6.32 to 9.87 mg/L. As the mixing ratio increased, the range of DO variation progressively decreased, spanning from 5.3 to 8.5 mg/L. Figure 12(b) shows significant changes in pH values for the five groups with different mixing ratios during the operation period. Initially, all groups exhibited the lowest pH values, ranging from 7.22 to 7.55. As operations commenced, the pH values gradually increased, reaching a maximum of 8.71. After 8 days, the pipeline adapted to the water quality, leading to the stabilization of pH values. The mean pH values after stabilization were ordered as follows: 5/5 = 7/3 > 9/1 > 7/3 > 1/9. In summary, a clear relationship existed between the mixing ratios of different water sources and changes in DO and pH values. Therefore, during water body operations, different water mixtures should be adjusted according to specific conditions (Saraswat et al. 2020). Figure 12(c) illustrates that during the test period, turbidity peaks varied across different ratios, occurring only on specific days within the 14-day duration. After the peak, turbidity trended toward stabilization. Figure 12(d) reveals that the peak values of total iron concentration varied among different mixing ratios, ranging from 5/5 to 1.55 mg/L. Differences in minimum and mean total iron values were not significant, with minimum values ranging from 0.03 to 1/95 mg/L and stabilized mean values between 1/90 and 0.23 mg/L (Sarin et al. 2004).
Figure 12

(a) Results of corrosion potential tests for water sources with different ratios and (b) fitting results of Rct values for water sources with different ratios.

Figure 12

(a) Results of corrosion potential tests for water sources with different ratios and (b) fitting results of Rct values for water sources with different ratios.

Close modal

Electrochemical corrosion of water source pipelines with different proportions

Figure 12(a) illustrates that with a water source mixing ratio of 1/9, the variation between the maximum and minimum observed values was the largest. As the ratio increased, this variation initially decreased, reaching its smallest at a ratio of 5/5, and then increased again. The corrosion potential indicated the tendency of materials to corrode; lower values suggested higher corrosion propensity (Wang et al. 2014). At a ratio of 1/9, the minimum corrosion potential was −5/59 V. As the ratio increased, this minimum value initially rose and then fell, with the lowest value of −0.23 V occurring at a ratio of 5/5, indicating the weakest corrosion tendency. It was suggested that the corrosion tendency of the pipeline was significantly influenced by the mixing ratio, likely due to the similarity between the original transportation environment of the test specimen and the water quality at a ratio of 5/5, leading to better adaptability and reduced electrochemical corrosion due to protective factors like pipeline scale.

EIS tests were conducted to gather data on the corrosion scale layers formed in pipelines after using different ratios of raw water for 14 days. This data helped analyze the structure of the corrosion scale layers under varying water qualities (Ramkumar et al. 2020). Charge transfer, the primary controlling step in corrosion during water source switching, was reflected by Rct (charge transfer resistance) values. Figure 12(b) presents the Rct values from EIS fitting for different water source ratios, showing that water quality impacted the structure of the corrosion scale layer differently. The order based on maximum Rct values was 5/5 > 7/3 > 9/1 > 1/9 > 3/7, and for minimum Rct values, it was 5/5 > 7/3 > 3/7 > 1/9 > 9/1. It was indicated that at a ratio of 5/5, both maximum and minimum Rct values were high, suggesting that the corrosion scale layer at this ratio was more adaptable and stable, providing better protection.

Overall, pipeline corrosion was complex and could not be assessed using a single water quality indicator, chemical stability parameter, or electrochemical parameter alone. For instance, relying solely on water quality or stability parameters might have led to selecting a smaller mixing ratio as optimal, ignoring the pipeline's existing corrosion scale layer's adaptability and risking severe corrosion (Zhang et al. 2018). Conversely, focusing only on the scale layer's resistance could have resulted in choosing a larger mixing ratio, jeopardizing water supply quality. Therefore, it was crucial to integrate iron release with water quality indicators, electrochemical parameters, and stability indices, considering both the water quality and the pipeline's adaptability to it, to select a scientifically sound and reasonable ratio for water source supply.

The process of switching water sources involves two stages: an initial rapid corrosion phase due to sudden water quality changes, such as decreased alkalinity, increased pH, and spikes in turbidity and iron concentration, followed by a stabilization phase where the pipe walls adapt, water quality improves, and corrosion slows. This is evidenced by changes in electrochemical parameters and the formation of stable corrosion products like α-FeOOH, Fe2O3, and Fe3O4. Lower mixing ratios during the switch lead to better system stability, reduced corrosion, and improved water quality.

To mitigate corrosion, water utilities should conduct thorough water quality monitoring, focusing on key parameters such as pH, alkalinity, and TDS. Pre-treatment measures, such as optimizing pH and adding corrosion inhibitors, are crucial before switching. Gradual mixing of water sources at lower ratios may reduce risk. Additionally, controlling turbidity and iron release, alongside an integrated approach to managing water quality and electrochemical parameters, is essential for minimizing corrosion and maintaining system performance. In conclusion, careful preparation and monitoring during water source transitions, combined with targeted mitigation strategies, can effectively reduce corrosion risks and ensure water quality.

This work was financially supported by the Zhejiang Province single-village water supply technology research project (RA + 202308).

Z.L.: methodology, investigation, formal analysis, and writing – original draft; G.S.: analysis and writing – review & editing; S.Z.: methodology and resources; B.J.: validation; resources, and validation; H.X.: validation, investigation, and data curation; Y.G.: writing – review & editing; A.W.: visualization, software, writing – review & editing, and supervision; H.X.: conceptualization, funding acquisition, project administration, formal funding acquisition, supervision, and resources.

All relevant data are included in the paper or its Supplementary Information.

The authors declare there is no conflict.

Hasson
D.
&
Bendrihem
O.
(
2006
)
Modeling remineralization of desalinated water by limestone dissolution
,
Desalination
,
190
(
1–3
),
189
200
.
Herro
H. M.
&
Port
R. D. J.
(
1993
)
The Nalco Guide to Cooling Water System Failure Analysis
.
New York, NY, USA
:
McGraw-Hill
.
Lin
X.
,
Xu
Q.
,
Li
Y.
,
Zhao
B.
,
Li
L.
&
Qiang
Z.
(
2021
)
Modeling iron release from cast iron pipes in an urban water distribution system caused by source water switch
,
Journal of Environmental Sciences
,
110
,
73
83
.
Liu
G.
,
Zhang
Y.
,
Wu
M.
,
Zhang
Y.
&
Pang
B.
(
2018
)
Electrochemical analysis of carbon steel corrosion induced by chloride and sulfate ions in simulated concrete pore solution
,
International Journal of Electrochemical Science
,
13
(
7
),
6248
6258
.
Melo
P.
,
Echagüe
M.
,
Guerra
C.
,
Jin
Q.
,
Sancy
M.
&
Paul
A.
(
2022
)
On the effect of simulated contamination of chlorides and sulfates on steel rebar corrosion: electrochemical behavior and surface analysis
,
Construction Building Materials
,
359
,
129337
.
Ouyang
Y.
,
Zhao
J.
,
Qiu
R.
,
Hu
S.
,
Niu
H.
,
Zhang
Y.
&
Chen
M.
(
2020
)
Biomimetic partition structure infused by nano-compositing liquid to form bio-inspired self-healing surface for corrosion inhibition
,
Colloids Surfaces A: Physicochemical Engineering Aspects
,
596
,
124730
.
Qin
X.
,
Zhuang
Y.
,
Ma
J.
,
Liu
S.
&
Shi
B.
(
2022
)
Enhanced toxicity effects of iron particles together with PFOA in drinking water
,
Environmental Pollution
,
311
,
119919
.
Rafique
M.
,
Afzal
N.
,
Mukhtar
R.
,
Younas
I.
,
Bashir
S.
,
Imran
M.
,
Mahmood
K.
&
Farooq
A.
(
2021
)
Surface and structural modifications of tungsten by laser irradiation for enhanced electrochemical corrosion resistance
,
Journal of Materials Engineering Performance
,
31
,
1904
1913
.
Ramkumar
S.
,
Nalini
D.
,
Quraishi
M. A.
,
Ebenso
E. E.
&
Verma
C.
(
2020
)
Anti-corrosive property of bioinspired environmental benign imidazole and isoxazoline heterocyclics: a cumulative studies of experimental and DFT methods
,
Journal of Heterocyclic Chemistry
,
57
(
1
),
103
119
.
Sarin
P.
(
2002
)
Iron Release From Corrosion Scales in Old Iron/Steel Drinking Water Distribution Pipes
.
University of Illinois at Urbana-Champaign ProQuest Dissertations & Theses, 63–11, 5461
.
Sarin
P.
,
Snoeyink
V.
,
Lytle
D.
&
Kriven
W.
(
2004
)
Iron corrosion scales: model for scale growth, iron release, and colored water formation
,
Journal of Environmental Engineering
,
130
(
4
),
364
373
.
Service
R. F.
(
2006
)
Desalination freshens up
,
Science
,
313
,
1088
1090
.
Sun HuiFang
S. H.
,
Shi BaoYou
S. B.
,
Yang Fan
Y. F.
&
Wang DongSheng
W. D.
(
2017
)
Effects of sulfate on heavy metal release from iron corrosion scales in drinking water distribution system
,
Water Research
,
114
,
69
77
.
Trueman
B. F.
&
Gagnon
G. A.
(
2016
)
Understanding the role of particulate iron in lead release to drinking water
,
Environmental Science Technology
,
50
(
17
),
9053
9060
.
Wang
A.
,
Xu
H.
,
Chen
C.
,
Chen
L.
,
Lin
T.
,
Ma
J.
&
Ding
M.
(
2024
)
Critical review on advances and perspectives of ultrasound assisted membrane technologies for water purification
,
Chemical Engineering Journal
,
482
,
148873
.
Wasim
M.
,
Shoaib
S.
,
Mubarak
N.
,
Inamuddin
&
Asiri
A. M.
(
2018
)
Factors influencing corrosion of metal pipes in soils
,
Environmental Chemistry Letters
,
16
,
861
879
.
Zhang
J.
,
Li
J.
,
Wu
C.
&
Liang
X.
(
2010
) '
Citrobacter freundii on corrosion behavior of HSn701-A in reclaimed water
',
2010 International Conference on E-Product E-Service and E-Entertainment
.
New York, NY, USA
:
IEEE
, pp.
1
6
.
Zhang
H.
,
Tian
Y.
,
Guo
H.
,
Kang
M.
&
Song
Y.
(
2018
)
Electrochemical corrosion of cast iron pipes in reclaimed water containing disinfectant
,
International Journal of Electrochemical Science
,
13
(
9
),
9069
9084
.
This is an Open Access article distributed under the terms of the Creative Commons Attribution Licence (CC BY 4.0), which permits copying, adaptation and redistribution, provided the original work is properly cited (http://creativecommons.org/licenses/by/4.0/).

Supplementary data