Text this: Power Quality Analysis of a Microgrid-Based on Renewable Energy Sources: A Simulation-Based Approach