Portfolio optimization of distributed energy resources and techno-economic optimization analysis of energy storage to address capacity issues and support higher renewable energy levels on the electrical grid