Generalized Systematic Approach to Assess Distribution System Reliability With Renewable Distributed Generators and Microgrids