This chapter discusses the significance of real-time water quality monitoring utilizing AI sensors and algorithms, emphasizing water as a renewable yet finite resource. With freshwater representing only 2.5% of Earth's water supply, its uneven distribution among continents necessitates efficient management. The increasing global population exacerbates pressure on these limited resources, particularly through leaks that contribute significantly to water loss during transportation. Advanced monitoring systems employing various sensor technologies—such as differential pressure, ultrasonic, and electromagnetic sensors—facilitate continuous tracking of essential water quality parameters. Algorithms, particularly neural networks and decision trees, enhance predictive modeling, enabling timely detection of contaminants. These innovations not only optimize resource management but also promote sustainability, ultimately protecting public health and the environment by facilitating informed decision-making in water treatment and agricultural practices.
The electricity consumption habits of residential users are variable and unpredictable. The supplier needs to know the consumption pattern in order to plan the generation of energy and guarantee the supply of electricity to the population. Currently in Mexico, bimonthly bills are issued for the cumulative consumption of residential users during the period, and the generation of energy is planned in estimates. This chapter describes a proposed solution for demand management through the implementation of several simulated advanced metering infrastructures that correct the power factor of a single-phase service to minimize consumption billing. The instantaneous parameters are transmitted over a private wireless network, processed, and sent to a database in the cloud. In addition, the modeling of residential electricity consumption trends on a normal day is proposed through least squares polynomial regression.