Valve-induced water hammer and column separation in a pipeline apparatus