Several solutions have been proposed in the literature to maximise the harvested ocean energy, but only a few consider the overall efficiency of the power take-off system. The fundamental problem of incorporating the power take-off system efficiency is that it leads to a nonlinear and non-convex optimal control problem. The main disadvantage of the available solutions is that none solve the optimal control problem in real-time. This paper presents a nonlinear model predictive control (NMPC) approach based on the real-time iteration (RTI) scheme to incorporate the power take-off system's efficiency when solving the optimal control problem at each time step in a control law aimed at maximising the energy extracted. The second contribution of this paper is the derivation of a condensing algorithm for ‘output-only’ cost functions required to improve computational efficiency. Finally, the RTI-NMPC approach is tested using a scaled model of the Wavestar design, demonstrating the benefit of this new control formulation.
Marine renewable energy could support Costa Rica’s decarbonization pathway, but its offshore resource base and enabling conditions remain poorly characterized in the body of knowledge. This study provides the first integrated assessment of marine energy resources, grid integration opportunities, and governance challenges in Costa Rica. A meta-analysis of 76 technical, legal, and policy sources is combined with qualitative doctrinal analysis, GIS-based multi-criteria evaluation for Ocean Thermal Energy Conversion (OTEC), and satellite and reanalysis data for winds, waves, currents, and sea surface temperature to estimate power densities and extractable energy. Results show a contrast between the Pacific and Caribbean coasts. For instance, on the Northern Pacific coast, there are strong Papagayo winds, and persistent swells yield high offshore wind and wave energy potentials, with technical offshore wind resources of around 14.4 GW and Pacific wave power frequently exceeding 20–25 kW/m with relatively low seasonal variability. Furthermore, twelve OTEC-suitable zones are identified with two priority areas in the southern Pacific that combine steep bathymetry and strong thermal gradients with limited environmental conflicts, but they overlap with sensitive conservation and Indigenous territories. Current energy potential is more localized and modest in the Caribbean coast. The analysis highlights major infrastructural, legal, and social barriers but concludes that marine energy can play a pivotal role in diversifying Costa Rica’s renewable-dominated electricity market.