Waterhammer Analysis