Check valves
A number of aspects are essential here. Some applications require fast closure to secure components immediately. Other applications, on the other hand, require slow closure to prevent water hammer.
Most piping systems require the use of at least one check valve to maintain flow in one direction. This maintenance is necessary to prevent contamination of mediums in the system and/or damage to critical components.
Pumps, for example, can be protected with a check valve against the backflow of the medium after pump failure. Although it is often thought that this is a standard function that can be performed by simple valves, this often turns out to be a costly underestimation. Dangers such as water hammer, with all its consequences, lurk.