Parametric design methodology for maximizing energy capture of a bottom-hinged flap-type WEC with medium wave resources