Text this: Risk-Based Optimization of Renewable Energy Investment Portfolios