Semi-activated oscillating hydrofoil as a nearshore biomimetic energy system in waves and currents