Optimizing plant size in the planning of renewable energy portfolios