1. Introduction
With the increase in energy demand, it is necessary to make full use of distributed generation units (DGUs) because of their numerous advantages, such as the reduction of both energy losses and greenhouse gas emissions, voltage regulation, maximum load reduction, a greater supply reliability compared with traditional centralized generations and improvements in power quality [
1]. These DGUs are an important part of the electrical microgrid (MG), which is defined as a set of loads, DGUs and Energy Storage Systems (ESSs) with clearly defined electrical boundaries that have the capacity to operate autonomously and independently of the conventional distribution grid, thus ensuring the continuity of the electricity supply with a high level of reliability and to provide effective support for the large electrical grid [
2,
3,
4,
5]. MGs are easily affected by the load, however, mainly if it is unbalanced or nonlinear loads because of the high penetration of DGUs such as a photovoltaic (PV) system and wind power, as well as by the devices based on power electronics, which will significantly affect the power quality of the entire MG and potentially cause the collapse of the MG system itself [
6].
This condition creates voltage issues such as distortion, fluctuations, and variations in a weak grid [
7]. On the other hand, MGs can operate in two operating modes: islanding mode and grid–connected mode. When operating in islanding mode, the probability of disturbances such as distortion or voltage unbalance is high because of the impedance levels of the system. For the MG operating in a mode connected to the electrical grid, the most frequent problems are harmonic distortion and grid unbalances [
8]. These events cause a series of complications, including poor performance of protection relays, the overheating of motors and transformers, as well as failure of capacitors that improve power factor [
9,
10]. Therefore, an important task is to provide a good power quality to supply both basic and commercial end users [
11].
Research on power quality in MGs is not sufficiently addressed in scientific articles since the vast majority of researchers have focused their studies on large electrical grids [
12]. Only a few studies of MGs are available in the literature; for example, in [
13] the authors analyzed the power quality of a hybrid MG composed of a PV system, battery based ESSs and capacitive loads. The study was performed using DSS® software. The result of that study concluded that the total harmonic distortion (THD) values of voltage and current were high when PV system penetration increased in the MG. In [
14], the authors examined the voltage stability limit in a distribution grid based on the IEEE 30-bus grid model for power flow studies. The design of the MG was performed using MATLAB–Simulink® software. The study concluded that voltage stability is robust in bus 30, while voltage stability weakened in bus 26. Power quality problems were analyzed in [
15] in a typical MG by considering different levels of renewable energy penetration (33.3%, 66.6% and 99.9%), as well as different meteorological conditions. The design of the MG was carried out in MATLAB–Simulink®, and it was concluded that power quality problems occur with greater severity as renewable penetration increases. In [
16], the authors analyze the power quality problems of an alternating current (AC) MG composed of a PV system using the PSS–SINCAL® software as a tool for MG modeling. The study determined the power flow variation and voltage at the local bus under solar disturbance conditions where the highest voltage THD index was found at the bus where the nonlinear load was connected. In [
17] the authors examined three power quality problems: voltage imbalances, waveform distortion and voltage THD. Regarding the latter, it was concluded that as solar penetration varies the impact is greater in the nonlinear load than in the linear loads. In addition, it was determined that the voltage THD in non-linear loads was above the IEEE–519 standard limit (greater than 50%). In [
18], the authors examined the performance of an AC–MG, through experimental evaluation, to determine the voltage THD of the MG buses that are within the limit established by IEEE–519. However, the current THD increased as solar generation decreased because of disturbances caused by shading or cloud effect. Finally, it was concluded that the current THD never exceeded the 5% limit permissible by the IEEE–519 standard when solar generation is above 60%.
In summary, most of the research studies available in the literature exhibit particular features determined by the configuration, topology, and the particular components used. Each study addresses challenges such as the dynamics and limited capacity of ESSs, the diversity of DGUs, power converters (PC), and the significant presence of nonlinear phenomena. Some approaches choose to model each DGU, simplifying the model to a linear and time-invariant system, characterized by a constant and a gain factor, without considering the dynamics of the grid. Other studies focus on PC-based DGUs, considering the full dynamic model of the grid instead of the PC, dividing the MG into three elements: PC, power grid, and loads. The design and modeling of the MGs proposed in these studies, however, do not consider the dynamic and steady-state behavior of the DGUs, as well as the imbalance and nonlinearity of the loads and the dynamics of the ESSs. They also do not face the problem of accidental or scheduled disconnection from the electrical grid, nor the minimum or maximum demand to which are subject to in their operation. Therefore, the motivation of this paper focuses on analyzing the most important aspects of the power quality of a 14–bus hybrid MG based on the original IEEE 14–bus distribution system, which operates in a mode connected to the electrical grid while considering the dynamics, the characteristics of the DGUs in steady-state, voltage variations, the nature of the loads, the dynamics of the ESSs, the disconnections of the electrical grids and the maximum demand scenario. Finally, the results obtained are compared and discussed considering the IEEE–519 standard to verify the effectiveness of the proposed model. The most important contributions of this document are listed below.
A fully detailed 14–bus MG system is designed and modeled, which operates in grid-connected mode for power quality studies. In this MG, DGUs, such as solar and wind power, as well as balanced and imbalanced loads that include both linear and nonlinear devices, battery-based ESSs, power transformers and distribution lines, are considered. In addition, some PCs are considered to which open-loop control strategies and other closed-loop control strategies have been implemented. It is worth mentioning that these rectifiers or inverters use pulse width modulation (PWM) techniques of different carrier frequencies.
This study provides information about the conflicts that arise related to the bidirectionality of power flows and the insertion of DGUs such as PV systems and wind power. Note that the proposed MG has a capacity of 4 MW and that 75% of that power is supplied by conventional generation based on a 3–MW diesel generator. Therefore, the most notable conflicts in this study are as follows: voltage variations, variations in the power factor (PF) in each bus of the MG and variations in the voltage and current THD index in each bus of the MG. Therefore, the study and analysis are relevant when compared with the IEEE–519 standard in this document.
Finally, this work is a starting point for the analysis of many current topics regarding MGs, optimization techniques, fault diagnosis, system identification and fault-tolerant control, among others, which will be detailed and expanded in future research.
As follows is how the document is organized.
Section 2 addresses the generalities of MGs, including composition, structure, operation modes, classification and current challenges.
Section 3 describes in detail the design and modeling of the proposed hybrid MG for power quality studies. The hybrid MG model is performed MATLAB–Simulink® software.
Section 4, the results obtained from the hybrid MG operating in the electrical grid-connected mode are analyzed, discussed and compared with the IEEE–519 standard to verify the effectiveness of the proposed model. Finally,
Section 5 summarizes the most important conclusions of the research.