IDEAS home Printed from https://ideas.repec.org/a/eee/agiwat/v322y2025ics0378377425006894.html

Assessing groundwater quality for drinking and irrigation using hydrogeochemistry and machine learning in Northern China

Author

Listed:
  • Tian, Jiacong
  • Yang, Jucai
  • Liu, Wei
  • Zhang, Maoliang
  • Daskalopoulou, Kyriaki
  • Zou, Yiguang
  • Xu, Nuo
  • Liao, Zilong
  • Huo, Yaoqiang
  • Zhu, Ying
  • Cao, Yingnan
  • Xu, Sheng
  • Liu, Jianguo

Abstract

Groundwater is an essential resource for human consumption, agricultural irrigation, and husbandry development in arid and semi-arid areas. This study systematically evaluated and predicted groundwater suitability for drinking and irrigation in the agro-pastoral regions of Northern China by integrating water quality indices with six machine learning (ML) techniques: Random Forest (RF), Support Vector Machine (SVM), Artificial Neural Network (ANN), K-Nearest Neighbors (KNN), Long Short-Term Memory (LSTM), and Extreme Gradient Boosting (XGBoost). A total of 1040 samples were classified into four groundwater clusters using self-organizing maps. Hydrochemical analysis identified Na+K-Cl·SO4 and Na+K-HCO3 as dominant water types, influenced by silicate weathering, evaporation, and anthropogenic activities (industrialization or mining). Entropy-weighted water quality index (EWQI) analysis indicated that 44.91 %, 40.96 %, and 14.13 % of the samples were excellent to good, moderate, and poor to unsuitable for drinking, respectively. Irrigation water quality index (IWQI) results showed that 39.8 % of the samples were suitable for irrigation, whereas 60.2 % had moderate to severe restrictions caused by elevated salinity in groundwater, which affects soil quality and crop productivity. The predictive models were developed using EWQI and IWQI as dependent variables and physicochemical parameters as inputs. The predictive performance of ML models ranked ANN > SVM > LSTM > RF > XGBoost > KNN for EWQI, and XGBoost > RF > KNN > ANN > SVM > LSTM for IWQI. This study enhances the application of ML approaches in groundwater quality assessment and helps the national and local authorities make sustainable water management decisions in arid and semi-arid agricultural-pastoral regions.

Suggested Citation

  • Tian, Jiacong & Yang, Jucai & Liu, Wei & Zhang, Maoliang & Daskalopoulou, Kyriaki & Zou, Yiguang & Xu, Nuo & Liao, Zilong & Huo, Yaoqiang & Zhu, Ying & Cao, Yingnan & Xu, Sheng & Liu, Jianguo, 2025. "Assessing groundwater quality for drinking and irrigation using hydrogeochemistry and machine learning in Northern China," Agricultural Water Management, Elsevier, vol. 322(C).
  • Handle: RePEc:eee:agiwat:v:322:y:2025:i:c:s0378377425006894
    DOI: 10.1016/j.agwat.2025.109975
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S0378377425006894
    Download Restriction: Full text for ScienceDirect subscribers only

    File URL: https://libkey.io/10.1016/j.agwat.2025.109975?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to

    for a different version of it.

    References listed on IDEAS

    as
    1. Jing Jin & Tiejun Liu & Mingxin Wang & Zilong Liao & Jing Zhang, 2023. "Hydrochemical and Isotopic Explanations of the Interaction between Surface Water and Groundwater in a Typical-Desertified Steppe of Northern China," Sustainability, MDPI, vol. 15(14), pages 1-17, July.
    2. Li, Wenhao & Kang, Shaozhong & Du, Taisheng & Ding, Risheng & Zou, Minzhong, 2024. "Optimal groundwater depth and irrigation amount can mitigate secondary salinization in water-saving irrigated areas in arid regions," Agricultural Water Management, Elsevier, vol. 302(C).
    3. Yan, Yan & Shi, Haibin & Miao, Qingfeng & Zhao, Yi & Nie, Xin & Li, Zhengzhong & Pan, Meiling & Feng, Weiying & Gonçalves, José Manuel & Duarte, Isabel Maria, 2025. "Evolution of chemical characteristics and irrigation suitability of groundwater in arid and semi-arid regions," Agricultural Water Management, Elsevier, vol. 311(C).
    4. Docheshmeh Gorgij, A. & Askari, Gh & Taghipour, A.A. & Jami, M. & Mirfardi, M., 2023. "Spatiotemporal Forecasting of the Groundwater Quality for Irrigation Purposes, Using Deep Learning Method: Long Short-Term Memory (LSTM)," Agricultural Water Management, Elsevier, vol. 277(C).
    5. Scott Jasechko & Hansjörg Seybold & Debra Perrone & Ying Fan & Mohammad Shamsudduha & Richard G. Taylor & Othman Fallatah & James W. Kirchner, 2024. "Rapid groundwater decline and some cases of recovery in aquifers globally," Nature, Nature, vol. 625(7996), pages 715-721, January.
    6. Abd-Elaty, Ismail & Ramadan, Elsayed M. & Elbagory, Ibrahim A. & Nosair, Ahmed M. & Kuriqi, Alban & Garrote, Luis & Ahmed, Ashraf A., 2024. "Optimizing Irrigation Systems for Water Efficiency and Groundwater Sustainability in the Coastal Nile Delta," Agricultural Water Management, Elsevier, vol. 304(C).
    7. Jing Zhang & Zilong Liao & Jing Jin & Yanyan Ni & Jian Xu & Mingxin Wang & Zihe Wang & Yiping Zhao & Yuanzheng Zhang, 2024. "Traceability of Phreatic Groundwater Contaminants and the Threat to Human Health: A Case Study in the Tabu River Basin, North China," Sustainability, MDPI, vol. 16(15), pages 1-18, July.
    8. Wang, Sheng-Wei & Chen, Yen-Yu & Hsu, Shu-Han & Kao, Yu-Hsuan & Kimura, Masaomi & Chang, Li-chiu & Pan, Tzi-Wen & Ni, Chuen-Fa, 2025. "A case study on the application of a data-driven (XGBoost) approach on the environmental and socio-economic perspectives of agricultural groundwater management," Agricultural Water Management, Elsevier, vol. 318(C).
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Dahlke, Helen E. & Ganot, Yonatan & Clark, Nicholas & Bali, Khaled & Putnam, Daniel H., 2025. "On the suitability of non-dormant alfalfa to tolerate off-season groundwater recharge during winter and spring periods," Agricultural Water Management, Elsevier, vol. 320(C).
    2. Liu, Fei & Liu, Congli & Zhen, Pinna & Guo, Xiaoshuai & Wang, Shou, 2025. "Groundwater quality variability with inter-basin water transfer and overexploitation control in an agriculture-dominant subregion of North China Plain," Agricultural Water Management, Elsevier, vol. 317(C).
    3. Lyu, Tianxue & Ruan, Chuanxia & Zhang, Tingting & Yi, Lixin & Li, Long, 2025. "Ra and Rn isotopic tracing of faulting and water-rock interaction in carbonate geothermal reservoirs," Energy, Elsevier, vol. 326(C).
    4. Iongel Duran-Llacer & Andrés A. Salazar & Pedro Mondaca & Lien Rodríguez-López & Rebeca Martínez-Retureta & Francisco Zambrano & Fabian Llanos & Frederic Frappart, 2025. "Influence of Avocado Plantations as Driver of Land Use and Land Cover Change in Chile’s Aconcagua Basin," Land, MDPI, vol. 14(4), pages 1-24, April.
    5. Jinchen Yang & Huaina Wu & Xinxin Yang & Suhua Zhou & Desai Guo & Renpeng Chen, 2026. "Land uplift induced by groundwater rise in thick deep soft clay strata and its impact on metro tunnels: a case study from Tianjin in China," Natural Hazards: Journal of the International Society for the Prevention and Mitigation of Natural Hazards, Springer;International Society for the Prevention and Mitigation of Natural Hazards, vol. 122(6), pages 1-32, March.
    6. Lu, Dehao & Liu, Liu & Bai, Yanling & An, Qiang & Cheng, Yongming & Huang, Guanhua, 2025. "Deficit irrigation alleviates the increase in soil salinity content in saline-alkali regions of China and improves irrigation water productivity: A meta-analysis," Agricultural Water Management, Elsevier, vol. 320(C).
    7. José Gescilam S. M. Uchôa & Paulo Tarso S. Oliveira & André S. Ballarin & Antônio A. Meira Neto & Didier Gastmans & Scott Jasechko & Ying Fan & Edson C. Wendland, 2024. "Widespread potential for streamflow leakage across Brazil," Nature Communications, Nature, vol. 15(1), pages 1-11, December.
    8. Christina Caron, 2024. "Eroding Natural Capital: An Alternative Explanation for the Secular Decline in Productivity Growth," International Productivity Monitor, Centre for the Study of Living Standards, vol. 47, pages 109-147, Fall.
    9. Zhou, Hanmi & Su, Yumin & Ma, Linshuang & Li, Jichen & Lu, Sibo & Chen, Cheng & Xiang, Youzhen & Li, Runze & Peng, Zhe & Huang, Ru, 2026. "Optimizing light gradient boosting machine with the slime mould algorithm for reference evapotranspiration estimation," Agricultural Water Management, Elsevier, vol. 324(C).
    10. Soumya Balasubramanya, 2025. "Groundwater Use in Agriculture in South Asia: The Role of Technology," Agricultural Economics, International Association of Agricultural Economists, vol. 56(3), pages 474-484, May.
    11. Nitheshnirmal Sadhasivam & Leonard Ohenhen & Mohammad Khorrami & Susanna Werth & Manoochehr Shirzaei, 2025. "Building damage risk in sinking Indian megacities," Nature Sustainability, Nature, vol. 8(12), pages 1467-1479, December.
    12. Yuan Li & Rui Wang & Hongbo Ma & Jian-Min Zhang, 2025. "Rising groundwater table due to restoration projects amplifies earthquake induced liquefaction risk in Beijing," Nature Communications, Nature, vol. 16(1), pages 1-11, December.
    13. Yu, Jingxin & Qu, Qinglin & Peng, Shuyi & Wei, Xiaoming & Li, Yinkun & Sun, Congcong, 2025. "Deep learning for intelligent irrigation decision-making: A review," Agricultural Water Management, Elsevier, vol. 320(C).
    14. Simon A. Schroeter & Alice May Orme & Katharina Lehmann & Robert Lehmann & Narendrakumar M. Chaudhari & Kirsten Küsel & He Wang & Anke Hildebrandt & Kai Uwe Totsche & Susan Trumbore & Gerd Gleixner, 2025. "Hydroclimatic extremes threaten groundwater quality and stability," Nature Communications, Nature, vol. 16(1), pages 1-9, December.
    15. Zhi-Qiang Yu & Takahiro Hosono & Hiroki Amano & Ronny Berndtsson & Kei Nakagawa, 2024. "Groundwater Resource Assessment by Applying Long-Term Trend Analysis of Spring Discharge, Water Level, and Hydroclimatic Parameters," Water Resources Management: An International Journal, Published for the European Water Resources Association (EWRA), Springer;European Water Resources Association (EWRA), vol. 38(11), pages 4161-4177, September.
    16. Behrer, A.Patrick & Pullabhotla, Hemant, 2025. "Spilling over: The benefits of public works projects for groundwater in India," Journal of Environmental Economics and Management, Elsevier, vol. 133(C).
    17. Qing Zhou & Jiangjiang Zhang & Shuyou Zhang & Qiang Chen & Huifeng Fan & Chenglong Cao & Yanni Zhang & Yadi Yang & Jian Luo & Yijun Yao, 2025. "Groundwater quality evolution across China," Nature Communications, Nature, vol. 16(1), pages 1-14, December.
    18. Eric C. Edwards & Nathan P. Hendricks & Gabriel S. Sampson, 2025. "The capitalization of property rights to groundwater," American Journal of Agricultural Economics, John Wiley & Sons, vol. 107(2), pages 390-410, March.
    19. Mattia Gaiolini & Nicolò Colombani & Valeria Chierici & Laura Montanari & Micòl Mastrocicco, 2025. "Numerical Modelling of Groundwater Level and Salinity Evolution in a Low-Lying Coastal Area Under Intensive Agricultural Activity," Water Resources Management: An International Journal, Published for the European Water Resources Association (EWRA), Springer;European Water Resources Association (EWRA), vol. 39(4), pages 1747-1761, March.
    20. Xiaoqiang Yi & Lang Wang & Hui Ci & Ran Wang & Hui Yang & Zhaojin Yan, 2025. "Monitoring of Land Subsidence and Analysis of Impact Factors in the Tianshan North Slope Urban Agglomeration," Land, MDPI, vol. 14(1), pages 1-24, January.

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:eee:agiwat:v:322:y:2025:i:c:s0378377425006894. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Catherine Liu (email available below). General contact details of provider: http://www.elsevier.com/locate/agwat .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.