Currently, one of the main focuses of attention in academia is microgrids (MGs) and their ability to maintain stable, resilient, reliable and high–power quality operations. A crucial component in MGs is power converters (PC), which facilitate the decentralization of power generation. This decentralization, however, poses challenges in terms of power quality. This paper presents a microgrid model based on the IEEE 14–bus distribution system and aims to investigate the power quality when the MG operates while connected to the conventional power grid. The MG model has been developed using MATLAB–Simulink®, a specialized tool for electrical engineering simulations. The results obtained are subjected to rigorous analysis and compared with the compatibility levels established by the IEEE–519 standard. This approach allows an accurate assessment of the MGs’ ability to maintain power quality at acceptable levels while interconnected to the conventional power grid. Finally, this study provides a valuable contribution to the MGs’ field of microgrids by providing a detailed and quantitative assessment of power quality, which will aid in the design and optimization of MGs’ for effective implementation in real electric power systems.