Hydraulic and energy grade lines