Water is an essential resource for life, however, due to the constant worldwide population growth, this consumption also increases every time (García-Loor et al., 2020). Previously, civilizations used water from natural sources, such as rivers or lakes, but the pollution generated by globalization has caused the presence of physical, chemical, and microbiological agents in these sources. Water is used in agriculture, industry, and consumption by 70, 19, and 11 %, respectively (Bernabé-Crespo et al., 2021). An alternative to this problem was to provide drinking water, organizing storage and distribution systems for this resource. Guarantee the quality of water for human intake has become a challenge, because it is exposed to harmful substances and microorganisms that affect the health of people if they consume it directly (Simbaña et al., 2022). There are several scenarios related to this problem, such as the discontinuity of the service, and the conditions of the domestic distribution lines, among others.