As the penetration rate of new energy generation in distributed distribution networks continues to increase, the integration of numerous new energy power plants and associated power electronic devices presents challenges to the power quality of traditional power systems. Therefore, conducting power quality-related research in distribution networks is of significant importance for maintaining power system stability, safeguarding electrical equipment, and enhancing electrical safety. A framework for evaluating the overall power quality of new energy-penetrated distribution network systems based on the analytic hierarchy process (AHP) is proposed. This framework aggregates and calculates the global power quality index (GPQI) through averaging, thereby completing the assessment of power quality situations. By enhancing the computation speed of evaluation metrics through an improved S-transform and considering various disturbances such as diminished illumination, wind power disconnection, and high-current grounding, the GPQI values are used to assess power quality under diverse scenarios. Simulation and experimental results confirm the framework’s close alignment with real scenarios and its effectiveness in evaluating power quality within distribution networks. This method is crucial for maintaining power system stability, protecting electrical equipment, and enhancing overall electrical safety within distribution networks.