Integrating wave energy into the power grid: Simulation and forecasting