The power-capture of a nearshore, modular, flap-type wave energy converter in regular waves