The water analogy is perfectly fine to use to talk about the bulk AC transmission grid (which is low-frequency alternating current).
photochemsyn speaks about how the hydraulic phenomena is not adequate to describe some electronic aspects (e.g., modeling p-n silicon junctions). These issues are irrelevant to how well the hydraulic analogy works to describe the workings of the AC transmission grid.