Simulating the water hammer phenomenon in a simple hydraulic installation