Text this: Array Optimization for a Wave Energy Converter with Adaptive Resonance Using Dual Bayesian Optimization