Hydraulic analogy