Optimization of marine coastal resources affected by hydrodynamic waves