What is the difference between hydraulic transient surge pressure and water hammer?

Hydraulic transient surge pressure and water hammer are often used interchangeably, but they refer to the same phenomenon: a sudden increase in pressure in a pipeline due to a change in flow rate or direction. Water hammer is a specific type of hydraulic transient surge pressure that occurs in water applications.