The increased use of fossil fuels in recent decades has resulted in environmental pollution and the rise of greenhouse gases in the atmosphere, leading to global warming and climate change. Therefore, utilizing renewable energy as a substitute for fossil fuels has become essential. Ocean wave energy is one of the renewable energy sources that has the highest energy density compared to other renewable resources. Different methods have been introduced to convert wave energy into usable energy in industries, and numerous converters have been proposed by researchers. Designing and optimizing a wave energy converter (WEC) is critical to achieving maximum power output. Given Iran’s geographical location, situated between the Caspian Sea, the Oman Sea, and the Persian Gulf, ocean wave energy can serve as a significant energy source for coastal regions near these seas. In this thesis, the geometry of a two-body point absorber wave energy converter will be optimized under the influence of various geometric parameters based on the environmental conditions of the Oman Sea. The goal is to maximize power output while minimizing the wetted surface area of the converter. The long-term sea state of the Oman Gulf will be analyzed using K-means clustering algorithm. Additionally, the importance of each geometrical parameter on the power output will be evaluated. The optimization problem will be solved using the Moth-Flame Optimization (MFO) algorithm based on the defined objective function. The numerical simulations of WECs will be carried out by developing an application programming interface (API) code, in order to reduce the computational and time costs. To investigate the impact of geometric parameters on the power output, a sensitivity analysis will be conducted between the input parameters and output results. Furthermore, the Power Take-Off (PTO) system parameters will be optimized to enhance the overall performance of the converter. According to the obtained results, the two-b