Optimal parameters of protection devices for controlling hydraulic transient using genetic algorithms | Synapse