Implementation and optimization of hydraulic wave energy generation system