Hydraulic modeling