Financial Optimization in the Renewable Energy Sector