Submitted:
29 October 2026
Posted:
30 October 2026
You are already at the latest version
Abstract
The transition toward sustainable energy storage requires battery technologies that combine electrochemical performance with reduced environmental impact, resource availability, safety and recyclability. However, environmental exposure, particularly humidity, moisture and rainwater, can adversely affect battery materials and accelerate degradation. Water can participate in electrolyte decomposition, alter electrode/electrolyte interfaces, promote corrosion and modify the structural and electrochemical stability of active materials. Recent studies have demonstrated that humidity can accelerate capacity loss and impedance growth in lithium-ion batteries, while controlled moisture exposure can produce measurable changes in irreversible capacity and internal resistance. This paper proposes an artificial-intelligence-assisted framework for predicting rainwater- and humidity-induced degradation in sustainable green batteries. The framework integrates environmental variables—including relative humidity, temperature, rainfall intensity, exposure duration, dew point and water chemistry—with electrochemical and material descriptors such as capacity retention, internal resistance, impedance, voltage characteristics, mass change and structural parameters. Machine-learning algorithms including random forest, support-vector regression, gradient boosting, artificial neural networks, long short-term memory networks and physics-informed models can be employed to establish relationships between environmental stress and battery degradation. The proposed framework can generate predictions of state of health (SOH), capacity fade, impedance growth and remaining useful life (RUL). Explainable artificial intelligence can further identify the environmental and material factors most strongly associated with degradation. The approach provides a pathway toward climate-resilient battery design, predictive maintenance and environmentally sustainable energy-storage systems.
Keywords:
artificial intelligence
; machine learning
; green batteries
; humidity
; rainwater
; moisture degradation
; lithium-ion batteries
; sodium-ion batteries
; zinc-ion batteries
; state of health
; remaining useful life
; sustainable energy storage
1. Introduction
The rapid development of renewable energy, electric mobility and distributed energy systems has increased the demand for efficient and sustainable electrochemical energy-storage technologies. Lithium-ion batteries have become dominant because of their high energy density, long cycle life and relatively high efficiency. At the same time, sodium-ion, aqueous zinc-ion and other emerging battery systems are attracting increasing interest because of their potential advantages in resource availability, safety and sustainability. Recent research has particularly emphasized sustainable aqueous zinc-ion batteries and their integration with low-carbon manufacturing and circular-economy principles.
Battery degradation is influenced not only by electrochemical cycling but also by temperature, mechanical stress and environmental conditions. Humidity and moisture represent important but comparatively less investigated external stress factors. This is particularly relevant for batteries deployed in humid tropical and subtropical climates, outdoor renewable-energy systems, agricultural applications, electric vehicles and stationary storage installations.
Moisture can affect batteries at several levels. At the electrolyte level, water can participate in undesirable reactions. For conventional LiPF6-based electrolytes, even trace quantities of water can initiate hydrolysis processes producing HF and other degradation products. At the electrode level, moisture can alter interfacial chemistry and promote corrosion. Experiments on NMC-based positive electrodes have demonstrated that moisture can cause localized water accumulation, chemical reactions and corrosion of the aluminium current collector. The rate of degradation increases with humidity and exposure duration.
More recent experimental work has directly examined batteries exposed to different humidity conditions. Humidity was found to accelerate electrochemical aging, while saline humidity caused still greater deterioration, with capacity decay and impedance growth becoming more pronounced.
Machine learning is increasingly being used for battery state-of-health estimation and remaining-useful-life prediction. Recent reviews show growing use of data-driven, deep-learning, hybrid and physics-informed approaches, while also identifying challenges associated with data scarcity, generalization, uncertainty and physical consistency.
The present work therefore proposes an integrated AI–environment–battery degradation framework in which humidity and rainwater exposure are explicitly incorporated into battery health prediction.
2. Environmental Stress and Battery Degradation
2.1. Humidity as a Degradation Factor
Relative humidity (RH) represents the amount of water vapour present in air relative to the saturation vapour pressure at a particular temperature. Battery components exposed to high RH may adsorb or absorb moisture depending on their chemical composition, porosity and surface characteristics.A simplified environmental exposure parameter can be represented as
where HE is cumulative humidity exposure.
HE = ∫t RH(τ)
However, RH alone may not adequately describe battery exposure because water uptake depends strongly on temperature and dew-point conditions. Therefore, a more useful predictive model should include temperature, RH and exposure duration simultaneously.
2.2. Rainwater Exposure
Rainwater exposure represents a more severe environmental condition than ordinary atmospheric humidity because liquid water can directly contact battery housings, connectors, seals or damaged surfaces. Rain water may contain dissolved ions and contaminants. Consequently, environmental exposure can potentially produce: surface corrosion, leakage-current pathways, deterioration of electrical connections, degradation of protective coatings, moisture penetration through seals, electrolyte-related reactions where water reaches sensitive internal components. For outdoor battery systems, therefore, rainfall intensity and duration can be considered additional environmental features in an AI model.A simplified rain exposure index can be expressed as
where Ir represents rainfall intensity.
RE=∫0tIr(τ)dτ
A combined environmental stress index may then be defined as
where wH, wR and wT are weighting parameters associated with humidity, rainfall and temperature. This expression is not intended as a universal physical law; rather, it provides a starting feature-engineering framework for experimental machine-learning studies.
Es=wHHE+wRRE+wTTE
3. Moisture-Induced Degradation Mechanisms
3.1. Electrolyte Degradation
Conventional Li-ion battery electrolytes frequently use LiPF6 as a conducting salt. LiPF6 is highly sensitive to water contamination. Experimental and theoretical studies have shown that water-related reactions can generate HF and other fluorophosphate species. A simplified representation is:
LiPF6+H2O→LiF+POFx+HF+other products
The exact reaction pathway depends on solvent and environmental conditions.HF can subsequently interact with electrode materials and contribute to interfacial degradation. Water concentration has also been shown to influence the formation and properties of the solid electrolyte interphase (SEI), including the development of fluorophosphate-rich and heterogeneous interfacial structures.
3.2. Electrode Corrosion
Humidity can produce corrosion reactions at electrode/current-collector interfaces. In NMC-containing positive electrodes, moisture absorption has been associated with localized surface reactions and corrosion of aluminium foil. Such corrosion may result in:
Active area↓
Electrical conductivity↓
Internal resistance ↑
Capacity retention↓
3.3. SEI Degradation
The solid electrolyte interphase is crucial for stabilizing many battery electrodes. Changes in water concentration can modify SEI morphology, chemical composition and electrochemical properties. For silicon electrodes, additional water has been reported to produce parasitic reactions and an inhomogeneous SEI. Consequently, moisture exposure can be incorporated into degradation models through variables associated with:SEI resistance, charge-transfer resistance, impedance, irreversible capacity, Coulombic efficiency.
4. Sustainable Green Batteries and Environmental Stability
The term green battery should encompass more than simply replacing one material with another. Sustainable battery design should consider:abundance of raw materials, toxicity, manufacturing energy, recyclability, carbon footprint, safety, lifetime, environmental resilience.
Sodium-ion batteries are increasingly considered promising alternatives because sodium is abundant and these systems may reduce dependence on critical lithium resources.
Aqueous zinc-ion batteries are another important class of sustainable energy-storage technology. Their use of aqueous electrolytes and abundant zinc has generated significant interest, although issues such as dendrite formation, cathode dissolution and limited cycle life remain important challenges.
Importantly, a battery cannot be considered fully sustainable if environmental exposure substantially shortens its service life. Extending operational lifetime through accurate degradation prediction is therefore itself a sustainability strategy.
5. Artificial Intelligence for Battery Degradation Prediction
AI and machine learning can identify nonlinear relationships between environmental conditions and battery health indicators.Existing battery-health studies commonly use variables such as voltage, current, temperature, capacity, internal resistance, cycle number, incremental-capacity features, impedance characteristics. Recent reviews have emphasized the importance of feature engineering, temporal information and hybrid/physics-informed approaches in battery SOH prediction. The proposed approach extends this framework by adding environmental variables:
where:
X=[T,RH,Rf,tr,Dp,pH,Ir,C,V,R,Z,chemistry
- TT = temperature,
- RHRH = relative humidity,
- RfR_f = rainfall frequency,
- trt_r = rainfall/exposure duration,
- DpD_p = dew point,
- pHpH = rainwater pH,
- IrI_r = rainfall intensity,
- CC = capacity,
- VV = voltage,
- RR = internal resistance,
- ZZ = impedance.
The model outputs can include:
SOH=f(X)
and
RUL=g(X,t)
6. Proposed AI-Assisted Prediction Framework
The proposed framework consists of six stages.
Stage 1: Environmental data acquisition
Sensors can continuously record:
- temperature,
- relative humidity,
- rainfall,
- dew point,
- exposure duration,
- rainwater characteristics.
Stage 2: Battery monitoring
Battery parameters can include:
- voltage,
- current,
- capacity,
- Coulombic efficiency,
- internal resistance,
- electrochemical impedance spectroscopy,
- surface temperature.
Stage 3: Material characterization
For laboratory studies, degradation can be characterized using:
- X-ray diffraction (XRD),
- scanning electron microscopy (SEM),
- energy-dispersive spectroscopy (EDS),
- Raman spectroscopy,
- X-ray photoelectron spectroscopy (XPS),
- Fourier-transform infrared spectroscopy (FTIR),
- Karl Fischer titration for moisture analysis.
Karl Fischer analysis has already been used to quantify residual moisture in battery components under controlled humidity conditions.
Stage 4: Feature engineering
Useful features may include:
ΔC=C0−Ct
ΔR=Rt−R0
ΔZ=Zt−Z0
and cumulative environmental exposure:
CEI=Σi=1n RHiṼ ti
A combined environmental degradation index can subsequently be optimized using machine learning.
7. Machine-Learning Models
Recent battery-prognostics research particularly emphasizes the value of uncertainty-aware and physics-informed machine learning because purely data-driven models can have difficulty generalizing beyond their training conditions.
Table 1.
Several models can be evaluated.
| Model | Main Application | Advantage |
| Linear regression | Baseline degradation | Simple and interpretable |
| Random Forest | Nonlinear relationships | Robust to mixed features |
| Support Vector Regression | Small/medium datasets | Good nonlinear prediction |
| XGBoost | Degradation prediction | Strong tabular-data performance |
| ANN | Complex nonlinear relationships | Flexible |
| LSTM | Time-series degradation | Captures temporal dependence |
| GPR | SOH/RUL prediction | Provides uncertainty |
| Physics-informed neural network | Mechanism-aware prediction | Incorporates physical constraints |
8. Proposed Mathematical Model
Battery capacity retention can be represented generally as
where D(t)D(t) represents cumulative degradation.
C(t)=C0−D(t)
The degradation rate may be expressed conceptually as
dDdt=F(T,RH,Rf,t,C,R,Z,chemistry
An AI model approximates the unknown function FF:
D^(t)=ML(T,RH,Rf,t,C,R,Z,chemistry)
The predicted state of health is then
SOH(t)=C(t)/C0×100SOH
The remaining useful life can be defined as the time required for SOH to reach a selected end-of-life criterion.
For example,
where tEOL represents the predicted end-of-life point.
RUL=tEOL−tcurrent
9. Physics-Informed AI Framework
A particularly promising development is a physics-informed AI model.Instead of allowing the algorithm to learn completely unconstrained relationships, known physical principles can be incorporated.For example:
∂D∂RH≥0
It may be imposed as a monotonicity constraint in a specific experimentally validated regime if increasing humidity is known to increase degradation.Similarly,
∂D∂t≥0
It can represent the general expectation that cumulative degradation should not decrease indefinitely with exposure.
A physics-informed loss function could be expressed as:
where:
L=Ldata+λ1Lphysics+λ2Lregularization
- Ldata = prediction error,
- Lphysics = violation of physical constraints,
- Lregularization = model-complexity penalty,
- λ1,λ2 = weighting coefficients.
This approach may improve generalization to environmental conditions not represented extensively in the training dataset.
10. Explainable Artificial Intelligence
AI prediction alone is insufficient for materials research. Researchers need to understand why a battery is predicted to degrade.Explainable AI techniques such as SHAP values can rank the contribution of individual features.For example, a model might reveal that:
RH>T>Exposure Time>Rainfall Intensity
is the relative importance hierarchy under a particular experimental dataset.This could help researchers determine whether degradation is primarily controlled by:humidity, temperature, rainfall, electrochemical cycling, material composition, moisture uptake.
Such interpretation would be particularly useful for designing moisture-resistant electrode coatings, separators, electrolytes and battery housings.
11. Proposed Experimental Dataset
A future experimental programme can expose batteries to controlled environmental conditions.
Table 2.
Scheme experimental matrix.
| Parameter | Suggested Range |
| Temperature | 20–60 °C |
| Relative humidity | 20–95% RH |
| Exposure duration | 1–30 days |
| Cycling rate | Multiple controlled C-rates |
| Rain exposure | Controlled/intermittent |
| Battery chemistry | Li-ion/Na-ion/Zn-ion |
| Measurements | Capacity, voltage, resistance, EIS |
| Material analysis | XRD, SEM, EDS, Raman/XPS |
These values are proposed experimental ranges rather than reported experimental results and should be optimized according to the battery chemistry and laboratory equipment.A useful experimental design would include control groups:
Group A: normal laboratory environment
Group B: high humidity
Group C: humidity + temperature
Group D: humidity + simulated rainwater
Group E: humidity + saline rainwater
Group F: environmental exposure followed by recovery/drying.
This would allow the AI model to distinguish reversible environmental effects from irreversible degradation.
12. Model Validation
The dataset should be divided into training, validation and testing subsets.
A suitable strategy is:
70%:training
15%:validation
15% testing
However, random splitting alone can produce overly optimistic results for time-dependent battery data. A better approach is time-based or cell-based validation, ensuring that data from the same battery are not simultaneously used for training and testing.
Performance can be evaluated using:
Mean absolute error
MAE=1n∑i=1n∣yi−y^i]
Root mean square error
RMSE=1n∑i=1n(yi−y^i)2
Coefficient of determination
R2=1−∑(yi−y^i)2/ ∑(yi−yˉ)2
For RUL prediction, prediction intervals should also be reported where possible.
This is important because recent reviews have highlighted uncertainty quantification and generalization as major challenges in ML-based battery prognostics.
13. Potential Applications
The proposed AI framework could have several applications.
13.1. Electric Vehicles
Environmental information could be incorporated into battery-management systems to estimate degradation under different climatic conditions.
13.2. Solar-Energy Storage
Outdoor batteries associated with photovoltaic systems may experience repeated humidity, rainfall and temperature cycles.
13.3. Agricultural Energy Systems
Battery systems used in agricultural environments may experience high humidity and seasonal rainfall.
13.4. Rural Energy Storage
Climate-aware battery-health prediction could improve maintenance planning in decentralized renewable-energy systems.
13.5. Battery Recycling
AI predictions of environmental degradation history could support decisions regarding reuse, second-life applications and recycling.
17. Conclusion
Humidity and rainwater represent important environmental stressors that can influence battery performance, particularly when moisture reaches sensitive electrochemical components. Experimental studies have demonstrated relationships between humidity, moisture uptake, electrolyte reactions, electrode corrosion, capacity loss and impedance growth.
Artificial intelligence provides an opportunity to transform these observations into predictive tools. By integrating environmental parameters with electrochemical and material-health indicators, machine-learning models can potentially predict SOH, capacity degradation and RUL under climate-dependent operating conditions.
The proposed framework combines environmental sensing, electrochemical monitoring, materials characterization, machine learning, explainable AI and physics-informed modelling. Its major novelty lies in treating environmental moisture exposure as an explicit predictive variable rather than merely an uncontrolled operating condition.
Future experimental validation should establish quantitative relationships among humidity, rainfall, water chemistry, material composition and degradation rate. Such research could contribute to the development of climate-resilient and genuinely sustainable green batteries, while reducing premature replacement, improving reliability and supporting circular-energy-storage systems.
Figure 1.
Conceptual relationship between rainwater/humidity exposure and battery degradation.

Figure 2.
Proposed AI-assisted prediction framework:Environmental sensors → Battery monitoring → Material characterization → Feature extraction → ML/DL → SOH/RUL prediction.
Figure 2.
Proposed AI-assisted prediction framework:Environmental sensors → Battery monitoring → Material characterization → Feature extraction → ML/DL → SOH/RUL prediction.

Figure 3.
Moisture-induced degradation mechanisms: electrolyte → SEI → electrode → current collector → electrochemical performance.
Figure 3.
Moisture-induced degradation mechanisms: electrolyte → SEI → electrode → current collector → electrochemical performance.

Figure 4.
Proposed machine-learning architecture incorporating environmental and electrochemical variables.
Figure 4.
Proposed machine-learning architecture incorporating environmental and electrochemical variables.

Figure 5.
Explainable-AI framework showing the relative contribution of humidity, temperature, rainfall, exposure time and battery parameters.
Figure 5.
Explainable-AI framework showing the relative contribution of humidity, temperature, rainfall, exposure time and battery parameters.

Figure 6.
Proposed climate-aware green-battery digital twin.

References
- Tu, K.; Yuan, W.; Wu, X.; Zhang, X.; Liu, Q. Machine learning is rewiring Li-ion battery RUL prediction: A systematic review and outlook. J. Energy Chem. 2026, 119, 949–978. [Google Scholar] [CrossRef]
- Yang, J.-L.; Du, M.; Cao, J.-M.; Wu, X.-L. Sustainable Aqueous Zn-ion Batteries: Green Materials, Low-Carbon Manufacturing, and Circular Economy. Angew. Chem. Int. Ed. 2026, 65, e7123448. [Google Scholar] [CrossRef] [PubMed]
- Mariyappan, S.; et al. From lab to market with sustainable sodium-ion batteries. Nat. Sustain. 2026, 9, 360–371. [Google Scholar] [CrossRef]
- Thelen, A.; et al. Probabilistic machine learning for battery health diagnostics and prognostics—review and perspectives. npj Mater. Sustain. 2024, 2, 14. [Google Scholar] [CrossRef]
- Khaleghi, S.; Hosen, M.S.; Van Mierlo, J.; Berecibar, M. Towards machine-learning driven prognostics and health management of Li-ion batteries: A comprehensive review. Renew. Sustain. Energy Rev. 2024, 192, 114224. [Google Scholar] [CrossRef]
- Li, A.G.; West, A.C.; Preindl, M. Towards unified machine learning characterization of lithium-ion battery degradation across multiple levels: A critical review. Appl. Energy 2022, 316, 119030. [Google Scholar] [CrossRef]
- A comprehensive review of machine learning-based state of health estimation for lithium-ion batteries: Data, features, algorithms, and future challenges. Renew. Sustain. Energy Rev. 2025. [CrossRef]
- A Comprehensive Review on Data-Driven Methods of Lithium-Ion Batteries State-of-Health Forecasting. WIREs Data Min. Knowl. Discov. 2025. [CrossRef]
- Hydrolysis of LiPF6 in Carbonate-Based Electrolytes for Lithium-Ion Batteries and in Aqueous Media. J. Phys. Chem. C 2018, 122, 8836–8842. [CrossRef]
- Unraveling the Hydrolysis Mechanism of LiPF6 in Electrolyte of Lithium Ion Batteries. Nano Lett. 2024, 24, 533–540. [CrossRef] [PubMed]
- Effect of Water Concentration in LiPF6-Based Electrolytes on the Formation, Evolution, and Properties of the Solid Electrolyte Interphase on Si Anodes. ACS Appl. Mater. Interfaces 2020. [CrossRef] [PubMed]
- Langner, T.; et al. A phenomenological and quantitative view on the degradation of positive electrodes from spent lithium-ion batteries in humid atmosphere. Sci. Rep. 2023, 13, 5671. [Google Scholar] [CrossRef] [PubMed]
- Impact of humidity on moisture resorption and resulting electrochemical performance of Gr/NMC622-based Li-ion batteries. J. Energy Storage 2025, 119, 116238. [CrossRef]
- Unveiling the electrochemical degradation behavior of 18650 lithium-ion batteries involved different humidity conditions. J. Power Sources 2025, 630, 236185. [CrossRef]
- Hydrolysis of LiPF6-Containing Electrolyte at High Voltage. ACS Energy Lett. 2021. [CrossRef]
- Ionic Liquid-Type Additive for Lithium Metal Batteries Operated in LiPF6 Based-Electrolyte Containing 2500 ppm H2O. ACS Appl. Mater. Interfaces 2022, 14, 41103–41113. [CrossRef] [PubMed]
- Dehydration Rather Than HF Capture Explains Performance Improvements of Li-Ion Cells by Ceramic Nanoparticles. ACS Appl. Energy Mater. 2019, 2, 5380–5385. [CrossRef]
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. |
© 2026 by the author. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
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.