Optimization of renewable energy resources (RERs) For enhancing network performance for distribution systems