Dynamic Effects of a Regulating Valve in the Assessment of Water Leakages in Single Pipelines