Text this: Numerical Simulations and Control of Offshore Energy Harvesting Using Piezoelectric Materials in a Portal Frame Structure