How a wave machine is making energy