Topological Analysis of Hydraulic Systems