{"id":16101,"date":"2026-08-19T08:40:28","date_gmt":"2026-08-19T08:40:28","guid":{"rendered":"https:\/\/lequia-udg.com\/2026\/08\/19\/linking-drinking-water-quality-to-customer-complaints-a-data-driven-study-in-the-barcelona-metropolitan-area\/"},"modified":"2026-08-19T08:51:04","modified_gmt":"2026-08-19T08:51:04","slug":"linking-drinking-water-quality-to-customer-complaints-a-data-driven-study-in-the-barcelona-metropolitan-area","status":"publish","type":"post","link":"https:\/\/lequia-udg.com\/ca\/2026\/08\/19\/linking-drinking-water-quality-to-customer-complaints-a-data-driven-study-in-the-barcelona-metropolitan-area\/","title":{"rendered":"Linking drinking water quality to customer complaints: a data-driven study in the barcelona metropolitan area"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"16101\" class=\"elementor elementor-16101 elementor-16092\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-360704a1 ts-col-stretched-none ts-bg-color-over-image elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"360704a1\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-6cfc7a88 ts-bg-color-over-image\" data-id=\"6cfc7a88\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-5f72d792 ts-align-left elementor-widget elementor-widget-ts_heading\" data-id=\"5f72d792\" data-element_type=\"widget\" data-widget_type=\"ts_heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t<div class=\"ts-heading-subheading ts-reverse-heading-yes animation-style4\"><h4 class=\"ts-custom-heading ts-custom-subtitle\">\r\n\t\t\t\r\n\t\t\t\tAuthors:  Pol V. Lamolla, Andrea P\u00e1ez-Izquierdo, F\u00e9lix Carrasco, Miquel Paira, Marta Ganzer, Sergio Montes, Federico Botta, Diogo Pacheco, Raziyeh\u00a0 Farmani, Joana Tobella, Eduardo Mart\u00ednez-Gomariz, Narciso Berberana, Manel Poch, Mar\u00eda Molinos-Senante                                                                                                    \r\n\t\t\t\r\n\t\t\t<\/h4>\r\n\t\t<h2 class=\"ts-custom-heading ts-custom-heading-title\">\r\n\t\t\t\r\n\t\t\t\tLinking drinking water quality to customer complaints: a data-driven study in the barcelona metropolitan area\r\n\t\t\t\r\n\t\t\t<\/h2>\r\n\t\t<\/div>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-5cc34da4 ts-col-stretched-none ts-bg-color-over-image elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"5cc34da4\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-7ec9ad6c ts-bg-color-over-image\" data-id=\"7ec9ad6c\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-5690d69d elementor-widget-tablet__width-initial elementor-widget elementor-widget-text-editor\" data-id=\"5690d69d\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>This study addresses the challenge faced by urban water utilities in translating technical water quality parameters into actionable insights on customer perception, using a data science approach in the Barcelona Metropolitan Area. Ten years of customer complaint data (2013\u20132023) from the water utility, Aig\u00fces de Barcelona, were integrated with corresponding water quality measurements. A comprehensive data pipeline prioritised high-coverage parameters for predictive analysis, including residual chlorine, conductivity, pH, and temperature. Exploratory Data Analysis revealed strong correlations among mineral-related parameters and identified residual chlorine and turbidity as the most distinctive variables in complaint-associated cases. Predictive modelling with Random Forest and XGBoost achieved consistent discrimination (AUC\u2013ROC = 0.75 on a temporally held-out test set). Threshold optimisation enabled a recall exceeding 0.90, aligning with the operational objective of early detection of potential customer dissatisfaction. Interpretability analyses using SHapley Additive exPlanations confirmed that residual chlorine and conductivity, in interaction with temperature and pH, were the most influential drivers of complaint probability, exhibiting non-linear effects. These patterns were translated into actionable thresholds for operational improvement through heatmaps and logistic regression on discretised quartiles. Overall, the data-driven machine learning approach successfully links technical water quality variables to consumer dissatisfaction, providing actionable insights for utility management.<\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-27b454ab ts-col-stretched-none ts-bg-color-over-image elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"27b454ab\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-149af3cf ts-bg-color-over-image\" data-id=\"149af3cf\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-73b63df5 elementor-widget elementor-widget-accordion\" data-id=\"73b63df5\" data-element_type=\"widget\" data-widget_type=\"accordion.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-accordion\">\n\t\t\t\t\t\t\t<div class=\"elementor-accordion-item\">\n\t\t\t\t\t<div id=\"elementor-tab-title-1941\" class=\"elementor-tab-title\" data-tab=\"1\" role=\"button\" aria-controls=\"elementor-tab-content-1941\" aria-expanded=\"false\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon elementor-accordion-icon-left\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon-closed\"><i class=\"fas fa-plus\"><\/i><\/span>\n\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon-opened\"><i class=\"fas fa-minus\"><\/i><\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-accordion-title\" tabindex=\"0\">Additional Info<\/a>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div id=\"elementor-tab-content-1941\" class=\"elementor-tab-content elementor-clearfix\" data-tab=\"1\" role=\"region\" aria-labelledby=\"elementor-tab-title-1941\"><table style=\"border: hidden;\">\n<tbody>\n<tr style=\"border-bottom: 1px solid #efefef;\">\n<td align=\"right\" width=\"200\"><strong>Year:<\/strong><\/td>\n<td>2026<\/td>\n<\/tr>\n<tr style=\"border-bottom: 1px solid #efefef;\">\n<td align=\"right\" width=\"200\"><strong>Authors:<\/strong><\/td>\n<td>\n<p>Pol V. Lamolla, Andrea P\u00e1ez-Izquierdo, F\u00e9lix Carrasco, Miquel Paira, Marta Ganzer, Sergio Montes, Federico Botta, Diogo Pacheco, Raziyeh\u00a0 Farmani, Joana Tobella, Eduardo Mart\u00ednez-Gomariz, Narciso Berberana, Manel Poch, Mar\u00eda Molinos-Senante<\/p>\n<\/td>\n<\/tr>\n<tr style=\"border-bottom: 1px solid #efefef;\">\n<td align=\"right\" width=\"200\"><strong>Reference:<\/strong><\/td>\n<td><i>Appl Water Sci<\/i>\u00a016, 234 (2026).<\/td>\n<\/tr>\n<tr style=\"border-bottom: 1px solid #efefef;\">\n<td align=\"right\" width=\"200\"><strong>Link:<\/strong><\/td>\n<td><a href=\"https:\/\/doi.org\/10.1007\/s13201-026-02882-2\" target=\"_blank\" rel=\"noopener\">https:\/\/doi.org\/10.1007\/s13201-026-02882-2<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-285cfdd8 elementor-widget elementor-widget-spacer\" data-id=\"285cfdd8\" data-element_type=\"widget\" data-widget_type=\"spacer.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-spacer\">\n\t\t\t<div class=\"elementor-spacer-inner\"><\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Authors: Pol V. Lamolla, Andrea P\u00e1ez-Izquierdo, F\u00e9lix Carrasco, Miquel Paira, Marta Ganzer, Sergio Montes, Federico Botta, Diogo Pacheco, Raziyeh\u00a0 Farmani, Joana Tobella, Eduardo Mart\u00ednez-Gomariz, Narciso Berberana, Manel Poch, Mar\u00eda Molinos-Senante Linking drinking water quality to customer complaints: a data-driven study in the barcelona metropolitan area This study addresses the challenge faced by urban water utilities &hellip; <a href=\"https:\/\/lequia-udg.com\/ca\/2026\/08\/19\/linking-drinking-water-quality-to-customer-complaints-a-data-driven-study-in-the-barcelona-metropolitan-area\/\" class=\"more-link\" title=\"Continue reading <span class=\"screen-reader-text\">Linking drinking water quality to customer complaints: a data-driven study in the barcelona metropolitan area<\/span>&#8220;>Continue reading <span class=\"screen-reader-text\">Linking drinking water quality to customer complaints: a data-driven study in the barcelona metropolitan area<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"elementor_header_footer","format":"standard","meta":{"footnotes":""},"categories":[64],"tags":[],"class_list":["post-16101","post","type-post","status-publish","format-standard","hentry","category-articles-ca"],"_links":{"self":[{"href":"https:\/\/lequia-udg.com\/ca\/wp-json\/wp\/v2\/posts\/16101","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lequia-udg.com\/ca\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lequia-udg.com\/ca\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lequia-udg.com\/ca\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lequia-udg.com\/ca\/wp-json\/wp\/v2\/comments?post=16101"}],"version-history":[{"count":1,"href":"https:\/\/lequia-udg.com\/ca\/wp-json\/wp\/v2\/posts\/16101\/revisions"}],"predecessor-version":[{"id":16102,"href":"https:\/\/lequia-udg.com\/ca\/wp-json\/wp\/v2\/posts\/16101\/revisions\/16102"}],"wp:attachment":[{"href":"https:\/\/lequia-udg.com\/ca\/wp-json\/wp\/v2\/media?parent=16101"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lequia-udg.com\/ca\/wp-json\/wp\/v2\/categories?post=16101"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lequia-udg.com\/ca\/wp-json\/wp\/v2\/tags?post=16101"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}