Energy harvesting from vortex-induced vibrations using a pendulum