Numerical model of a U-OWC caisson: energy balance analysis