Objective: This study aimed to implement a model for detecting and locating leaks in water distribution networks, using artificial intelligence (artificial neural networks). Background: Traditional leak detection methods, such as visual inspections and flow and pressure analysis, are being progressively complemented by solutions based on smart sensors and machine learning techniques. Method: Using the method of characteristics to solve the momentum and continuity equations, along with nodal equations, a hydraulic transient simulator was created for water distribution networks with leaks. For the leak simulation, the orifice law (Torricelli's Law) was used. Results and Discussion: The developed model successfully located the leak with an error of approximately 5.65%, corresponding to a distance of approximately 61.22 m for the studied network. Research Implications: Deteriorated infrastructure in water distribution systems can lead to leakage losses, reduced water transport capacity, component failures, increased maintenance and operating costs, frequent system interruptions, and decreased reliability. Thus, the exploration of rapid leak detection and location methods has increased, aiming to mitigate environmental impacts and the losses of natural and financial resources. Originality/Value: The methodological distinction lies in using pressure wave travel times as input data, rather than absolute pressure values. This approach eliminates the need for detailed hydraulic network calibration, reduces sensitivity to operational noise, and broadens the practical applicability of the model.