Optimal geometric description in one-dimensional hydraulic models