WaterGIS
I sense a problem with the valve at 1000m. Is it a flow or pressure control valve? How is it actuated? If hydraulic does it have adjustable opening and closing speed controls?
Some hydraulic valves have special pilots to prevent over reacting on long pipelines. Ultimately a Surge...
Here's a hydraulic version.
http://www.cla-val.com/pdfs/Animation-60-11.exe
Pros: Generally best for surge protection with built-in check valve. These valves also have adjustable opening and closing speed controls.
Con: More pressure drop than actuated ball or butterfly valves.