Theory of hydraulic models