In hydropower, the function of a surge tank is:

Explanation:

Surge tank buffers pressure variations.