Distribution systems have been significantly impacted in the present scenario by incorporating solar and wind power electronic devices. This work designs the synchronous reference frame theory (SRFT) based fivelevel cascade H-bridge unified power quality conditioner (UPQC) by optimizing the weights and bias values of the neural network controller (NNC) and the filter parameters using the Fennec fox optimization algorithm (FFOA). The primary goal is to efficiently tackle the power quality difficulties, including voltage distortions, direct current (DC) link capacitor voltage (DLCV) balancing, and to reduce the source current total harmonic distortion (THD) of the system connected to the grid that integrates wind energy system (WES) and solar system, including electric vehicle (EVs) along with battery energy storage system (BESS) which is denoted as (5LU-SWBEV). The study also intends to use a Fuzzy logic controller (FLC) regulation to control the flow of power between the grid, battery storage, EV and renewable sources. However, this facilitates the management of power transfer between solar/wind/battery and the grid and between EVs and consumer loads. Additionally, this integration contributes to a consistent electricity supply, effective demand fulfillment, and efficient use of generated power. The study shows that the optimal UPQC combined with FLC-based power flow management can handle power quality (PQ) issues and accomplish suitable and efficient power sharing.OPEN ACCESS Received: 13/04/2025 Accepted: 09/06/2025 Published: 15/08/2025
Published on 15/08/25
Accepted on 09/06/25
Submitted on 13/04/25
Volume 41, Issue 3, 2025
DOI: 10.23967/j.rimni.2025.10.66625
Licence: CC BY-NC-SA license
Are you one of the authors of this document?