Next Article in Journal
Optimizing Energy Consumption in Smart Cities’ Mobility: Electric Vehicles, Algorithms, and Collaborative Economy
Previous Article in Journal
Evolution of Equipment in Electromobility and Autonomous Driving Regarding Safety Issues
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Mathematical Programming Approach for the Optimal Operation of Storage Systems, Photovoltaic and Wind Power Generation

by
Diego Jose da Silva
1,
Edmarcio Antonio Belati
1 and
Jesús M. López-Lezama
2,*
1
Center for Engineering, Modeling and Applied Social Sciences (CECS), Federal University of ABC, Santo André 09210-170, SP, Brazil
2
Research Group in Efficient Energy Management (GIMEL), Departamento de Ingeniería Eléctrica, Universidad de Antioquia, Calle 67 No. 56-108, Medellin 050010, Colombia
*
Author to whom correspondence should be addressed.
Energies 2023, 16(3), 1269; https://doi.org/10.3390/en16031269
Submission received: 27 December 2022 / Revised: 14 January 2023 / Accepted: 17 January 2023 / Published: 25 January 2023

Abstract

:
The ever-growing participation of Renewable Energy Sources (RES) in modern distribution networks is replacing an important portion of Conventional Generation (CG), which brings along new challenges in the planning and operation of distribution grids. As RES such as Photovoltaic Energy (PV) and Wind Power Generation (WPG) increase in distribution networks, studies regarding their integration and coordination become more important. In this context, the purpose of this paper is to propose a Multi-period Optimal Power Flow (MOPF) model for the optimal coordination of Battery Energy Storage Systems (BESSs) with PV, WPG, and CG in modern distribution networks. The model formulation was developed in A Modeling Language for Mathematical Programming (AMPL) and solved through the Knitro solver within a time horizon of 24 h. A distinctive feature and one of the main contributions of the proposed approach is the fact that BESSs can provide both active and reactive power. The proposed optimization model reduces power losses and improves voltage profiles. To show the applicability and effectiveness of the proposed model, several tests were carried out on the 33-bus distribution test system and a real distribution system of 141 buses located in the metropolitan area of Caracas. Power loss reductions of up to 58.4% and 77% for the test systems of 33 and 141 buses were obtained, respectively, when BESSs provided both active and reactive power. The results allow us to conclude that the proposed model for optimal coordination of BESSs with RES is suitable for real-life applications, resulting in important reductions of power losses and flattening of voltage profiles.

1. Introduction

1.1. Motivation

In recent years, distribution networks have evolved from passive to active grids through the incorporation of different types of Distributed Generation (DG) along with Demand Response (DR) and BESSs that enable a more active participation of users [1]. Moreover, DGs such as PV and WPG have increased their acceptance around the world due to higher ecological awareness [2]. Nevertheless, the massive penetration of DG leads to profound technical and economic impacts, especially due to their intermittent nature, which poses new challenges to the grid operation [3].
The evolution of the Smart Grid (SG) paradigm has promoted a more complex management of both transmission and distribution systems integrating Distributed Energy Resources (DER) that include not only generation but also storage of energy [4]. In this sense, some studies rely on BESSs to overcome the limitations of DG units [5]. Above all, single PV and WPG are considered non-controllable resources; nonetheless, their coordination with BESS can guarantee a more controllable source in distribution grids [6]. As reported in [7], the combination of PVs and BESSs brings several complexities and extra costs to modern distribution systems. As stated in [8], the correct application of PVs and BESSs can mitigate power losses, increment the system capacity, and improve the voltage profile. There are a bunch of applications for BESSs in transmission and distribution systems. In [9], BESSs are used for arbitrage purposes within an electricity market. In [10], it is described how BESSs can be used for frequency regulation in power grids. In [11], the authors discuss BESSs with spinning reserve for renewable integration. Other applications of BESSs also include peak shaving [12] and DGs sources [13].
According to [14], energy arbitrage considering BESSs consists of monetizing price fluctuations and charging and discharging BESSs when prices are low and high, respectively. In consonance with [15], BESSs represent an interesting alternative to frequency regulation due to their fast response in the energy supply when compared to natural gas plants. In accordance with [16], BESSs can be used as power sources that contribute to efficiency improvement by temporary storage of braking energy in the event of peak shaving. As a general rule, the proper implementation of BESSs constitutes a significant path for improving modern distribution networks [17].

1.2. Literature Review

To spot the relevant literature, a search and later filtering were carried out in Science Direct and IEEE databases using as keywords “storage systems”, “PV and BESS”, “WPG and BESS”, “MOPF” “power losses”, and “BESS in distribution systems”. Only peer-reviewed and high-impact papers were considered in the filtering. Numerous studies have been carried out regarding the implementation of BESSs, PV, WPG, and other sources in distribution networks [18]. Such studies take into account aspects that include optimization [6], planning [19], operation [20,21], and management of electric distribution networks [22]. In [23], the authors propose a methodology to find the optimal number, location, and size of BESSs, with the objective of avoiding over and under-voltages in distribution grids. A heuristic approach is used to place the storage systems, and a MOPF is applied for the sizing problem. Two distribution systems are used: a 34-bus test system and a real Italian low-voltage power grid. The authors of [24] proposed a Grey Wolf Optimization (GWO) algorithm for optimal placement of energy storage in distribution systems with DG. The storage sizing is designed based on load profiles and convenient peak shaving; simulations are carried out using a 34-bus test system, and a comparison is performed with a Genetic Algorithm (GA) approach. In [22], the authors develop a Modified Imperialist Competitive Algorithm (ICA) that coordinates the operation of BESSs, PV, and diesel generators within a 24-h time horizon. The energy management approach proposed by the authors seeks to optimize the charge and discharge of BESSs to minimize operating costs. The authors carry out several tests in the IEEE 33-bus test system considering power flow constraints as well as voltage and current limits. In [25], the authors propose an optimal reactive power control approach that aims to enhance the PV hosting capacity of distribution networks with BESSs. The main objective consists of determining the optimal size, dispatch, and control setting of the Volt/VAr function of smart inverters for PV and BESS units. For this, the optimal location of such devices is also considered. The maximization of the PV hosting capacity is modeled as a mixed-integer nonlinear programming problem also considering the minimization of voltage deviation in the network. A bio-inspired metaheuristic known as Slime Mould Algorithm (SMA) is implemented to solve the optimization problem.
A GA approach is proposed in [20] to optimize BESS capacity and placement in distribution networks. The authors aim at minimizing power losses while taking into account power quality issues. The proposed approach is tested on the IEEE 33-bus test system.
A mathematical approach, guided by two economic metrics, namely the net present value and the internal rate of return, is also developed in [26] for optimal BESS placement. The proposed methodology takes into account the stochastic behavior of PV generation and load. The authors run several tests on the IEEE 33-bus test system showing that the optimal placement of BESS results in voltage profile improvement and peak shaving. Furthermore, they show that the use of one or the other economic metrics leads to different results.
In [27], the authors presented a Mixed Integer Nonlinear Programming (MINLP) approach for integrated planning expecting BESS, DG, and capacitors on medium-size distribution grids. In the proposed model, cost of energy as well as environmental and PV load are considered in a 135-bus test system under different topologies. An exact method, namely Mixed-Integer Second-Order Cone Programming (MI-SOCP) is introduced in [28] to guarantee global optimal solutions in the optimal placement and sizing of DG units in distribution networks. In this case, simulations in a 33-bus and a 69-bus test system validated that exact methods are better than heuristic techniques in terms of quality of solutions and processing time.
In [29], an operation strategy is developed in AC microgrids. The goal consists of minimizing the power variations imposed by diesel generators coordinated with PV generation. A real-life application regarding the optimal operation of BESSs in AC microgrids is presented in [30]. In this case, storage systems are used to minimize the effects of power cuts; therefore, BESSs supply energy to the loads during electricity cuts.
Table 1 presents a summary of several research works dealing with the optimal operation of storage systems and several types of DG in distribution networks. In general, every approach presents advantages and disadvantages. For example, metaheuristics may be trapped in locally optimal solutions, especially in large-scale applications [31]. These techniques are easy to implement and may work with discrete and continuous variables; however, they require the fine-tuning of different parameters. Moreover, due to the possibility of finding sub-optimal solutions, it is recommended to run the algorithm several times to extract good quality solutions [32].
According to [47], the use of an Optimal Power Flow (OPF) approach is effective in electrical grids since it facilitates the control of variables and adds operational constraints that allow for representation of a more realistic operation. Nevertheless, as reported by [48], a conventional single-period OPF approach is unsuited for today’s requirements, principally by virtue of the advent of BESSs that impose inter-temporal constraints; therefore, a MOPF is a more suitable option. In this line, the authors in [44] proposed a MOPF considering the operation limits of BESS in its formulation and providing a more realistic modelling of modern distribution networks. Furthermore, the massive penetration of alternative sources as well as BESS, added with typical network constraints, require powerful new analysis tools that consider the dynamic nature of the system [45].
Although a lot of studies have been carried out to explore the optimal operation of storage systems in combination with RES, the research on this issue is far from being exhaustive, since only a few studies aim at minimizing total active power losses within a 24-h horizon. Therefore, a knowledge gap is identified: as evidenced in Table 1, there are no studies that combine PV, WPG, and CG with BESSs providing active and reactive power. Thus, the following research question is proposed: “Is it possible to optimize the operation of BESS providing both active and reactive power with renewable and non-renewable generation within a MOPF framework?”

1.3. Article Contributions and Organization

Taking into account the knowledge gap identified in the literature review, this paper proposes a MOPF approach for the optimal operation of BESS in distribution systems integrated with PV, CG, and WPG. The objective function consists of minimizing power losses while improving the voltage profile within a 24-h time horizon; furthermore, reactive power compensation is provided by BESS. The problem formulation was developed in AMPL [49] and solved through the Knitro solver [50]. To sum up, the main features and contributions of this paper are provided below.
  • Apart from conventional generation, the proposed approach also considers the interaction of PV and WPG through their typical production curves.
  • BESS is modelled to provide both active and reactive power depending on grid requirements.
  • The objective function is formulated to reduce active power losses in a 24-h time horizon considering the constraints of the systems as well as the charge/discharge capacities of BESSs.
  • The proposed MOPF was developed in commercially available software (AMPL) and can be applied in real-size systems. Because it is a deterministic methodology with great solution capacity, it is suitable for analysis of real networks.
The organization of this paper is as follows. Section 2 provides a brief introduction to storage systems along with PV and WPG. Section 3 describes the mathematical model formulation based on MINLP. Section 4 describes the methodology implemented to solve the proposed model. Tests and results are presented and discussed in Section 5. Finally, the concluding statements are given in Section 6.

2. Battery Energy Storage Systems, Photovoltaic and Wind Power Generation

As mentioned previously, storage devices have become a well-known topic in distribution grids. They can help reduce greenhouse emissions and alleviate congestion in peak hours [4]. According to [51], diverse types of BESSs can be found in the industry, each with their own established purposes highlighting the lithium-ion (Li-ion) [52] and vanadium redox batteries.
Usually, the configuration of the BESSs is used to provide active power in the electric system [7]; however, they can also be used to deliver reactive power [53]. In [54], a real application is presented in a microgrid to verify the performance of BESSs providing active and reactive power. The results indicate a better performance when both operation modes are implemented. The study conducted by [55] considers smart inverter functions and takes into account the real operation of an electrical system, determining reactive power injection or absorption from the grid. In this sense, this strategy provided reduced losses, alleviated the power curtailment, and improved home profits. In [56], the smart inverter controller is recommended to deal with short-term transients. Most BESSs are adjusted to operate based on the voltage/Var function [25], which means that they provide a certain amount of reactive power depending on voltage limits. In these cases, the smart inverter does not inject any reactive power if the voltage limits stay between 0.95 to 1.05 p.u. If the voltage is below 0.95 p.u., the inverter operates in capacitive mode; otherwise, when the voltage is above 1.05 p.u., it operates in inductive mode. In this work, the smart inverter is adjusted to control the active and reactive power dispatch, considering its limitations, as illustrated in Figure 1. When the inverter operates with a Power Factor (PF) other than one, a part of the active power is cut to supply reactive power. The control is carried out aiming to optimize the operation of the grid.
In [25], the BESS is applied to reduce total active power losses for the best operation of the electrical system. When BESS is charging, the inverter works with a PF equal to 1. When BESS supplies energy to the grid, the power factor can vary within specified limits, allowing both active and reactive power to be injected to the grid.
Photovoltaic energy plays an important role in climate change combat. It can be defined as a distributed energy source that can be used for self-consumption in distribution systems [57] or in large-scale power plants. Besides, PV can be used to improve grid security, reduce energy losses, and favor the local economy. According to [58], PV generation is the most used RES, since solar radiation around the world is abundant. Equally important has been the constant reduction of costs of photovoltaic modules and other required components as pointed out in [59]. Normally, the schematic configuration of PV systems is connected on grid [60] or off grid [61]. The expansion of PV in distribution grids brings operational challenges for management due to uncertain generation, requiring coordination with other devices such as BESSs [5]. Usually, the output power generation of PV is related to solar irradiance [6] and temperature. In this paper, a curve of irradiance of a typical sunny day in Brazil is considered, and temperature variance is not integrated in the model.
WPG is also viewed as friendly to the environment and as a resource that can be used for reducing gas emissions [62]. Similarly, it can be installed in electrical grids as in remote places. In [63], a sensitivity analysis is carried out to evaluate the power system behavior when WPG is inserted into the power grid. Several tests in distribution systems of 34, 70, and 126 buses showed that power losses are reduced and voltage profiles are improved when wind turbines are inserted in the studied systems.
The energy produced by WPG depends on the speed of the wind. Furthermore, random and rapid changes in this resource may cause several technical issues regarding protection, power quality, and generation dispatch control. In [64], the authors classify and analyze several intermittent smoothing approaches used to minimize power fluctuations caused by wind energy. It was found that BESSs are the most effective smoothing approach.
As indicated by [65], WPG is a promising energy source due to its low environmental impact and the reduction of installation costs in the last decade. WPG is considered a variable power source by virtue of wind variation. In accordance with [66], these variations can produce short-term fluctuation, as well as voltage and frequency variations. In this context, from the operation point of view, strategies are needed to support manageability facing the intermittency inherent in WPG; in this sense, storage systems represent an applicable option [67]. CG can be considered resources such as diesel generation, coal, hydro power plants, and gas turbine generators [68]. This type of generation does not depend on the variability of wind or irradiation and provides firm energy to the system.

3. Problem Formulation

The proposed approach for optimal coordination of BESSs with RES and CG uses the forecast of load and generation for the next day as input data. If there is a divergence in forecasts, the quality of the result may be compromised. These uncertainties can be treated by probabilistic methods, which is out of the scope of this research.
The proposed MOPF is a non-linear, non-convex, large-scale problem involving discrete and integer variables. These characteristics make it a challenging problem to solve by conventional iterative methods [69]. Equation (1) represents the objective function that corresponds to the minimization of energy losses in a 24-h period denoted as T
min f ( x ) = t = 1 T i = 1 N L R i I i 2
where:
f ( x ) —Total active power losses (W);
N L —Number of lines of the system;
R i —Branch resistance i;
I i —Electric current circulating in branch i;
T—Period composed of hours t.
The objective function given by Equation (1) is subject to the following constraints.

3.1. Load Flow Constraints

Equations (2) and (3) represent the balance of active and reactive power. Note that generation sources are composed of CG, PV, and WPG. Except for the substation, the generators supply only active power; nonetheless, BESSs can supply both active and reactive power to the grid.
P k t + P C G k t + P P V k t + P W P G k t + P B k t P L k t = V k t m Ω κ V m t ( G k m cos θ k m t + B k m sin θ k m t )
Q k t + Q B k t Q L k t = V k t m Ω κ V m t ( G k m sin θ k m t B k m cos θ k m t )
where:
P k t —Active power generated by substation k in time t;
Q k t — Reactive power generated by substation k in time t;
P C G k t —Active power generated by CG at bus k in time t;
P P V k t —Active power generated by PV generators at bus k in time t;
P W P G k t —Active power generated by WPG at bus k in time t;
P B k t —Active power supplied or absorbed by BESS at bus k in time t;
Q B k t —Reactive power supplied or absorbed by BESS at bus k in time t;
P L k t —Active power load connected to the bus k in time t;
Q k t —Reactive power generated by conventional generators at bus k in time t;
Q L k t —Reactive power load connected to the bus k in time t;
G k m —Real part of the admittance matrix for the branch k m ;
B k m —Imaginary part of the admittance matrix for the branch k m ;
V k t —Voltage on the bus k at time t;
V m t —Voltage on the bus m at time t;
Ω κ —Set of all buses connected to the bus k.

3.2. Charge and Discharge Operation of BESS

The BESS model describes the charging and discharging of the battery. In this case, a linear model is used, where the charging and discharging efficiency values are considered as presented in [20], which is adjusted through the parameters n c and n d , respectively. The BESS model can be expressed by Equation (4)
B S k t + 1 = B S k t + n c P B k t Δ t P B k t 0 B S k t 1 n d P B k t Δ t P B k t < 0
where:
B S k t —Energy stored in the BESS at bus k in time t;
n c ; n d —The charging and discharging efficiencies, respectively.

3.3. Charge and Discharge Capacities of BESS

The capacity of BESSs to supply or absorb energy is given by Equation (5), which is related to the technology of the battery.
P B k m i n P B k P B k m a x
where:
P B k m i n —Minimum value of active power injected into BESS at bus k;
P B k m a x —Maximum value of active power injected into BESS at bus k.

3.4. Storage BESS System

The BESS system has a storage capacity that must be considered throughout the operation period and is given by Equation (6).
B S k m i n B S k B S k m a x
where:
B S k m i n —Minimum BESS storage capacity at bus k;
B S k m a x —Maximum BESS storage capacity at bus k;

3.5. Voltage Constraints

Equation (7) represents the minimum and maximum limits imposed on the voltage profile.
V k m i n V k t V k m a x
where:
V k m i n —Minimum voltage limit at bus k;
V k m a x —Maximum voltage limit at bus k;

3.6. PV Generation Limits

Equation (8) represents the minimum and maximum limits imposed by PV generation.
P P V k m i n P P V k t P P V k m a x
P P V k m i n —Minimum value of active power injected by PV at bus k;
P P V k m a x —Maximum value of active power injected by PV at bus k;

3.7. WPG Generation Limits

Equation (9) represents the minimum and maximum limits imposed by WPG generation.
P W P G k m i n P W P G k t P W P G k m a x
P W P G k m i n —Minimum value of active power injected by CG at bus k;
P W P G k m a x —Maximum value of active power injected by CG at bus k;

3.8. CG Limits

Equation (10) represents the minimum and maximum limits imposed by CG generation.
P C G k m i n P C G k t P C G k m a x
P C G k m i n —Minimum value of active power injected by WPG at bus k;
P C G k m a x —Maximum value of active power injected by WPG at bus k;
In this work, the generations CG, PV, and WPG followed the curves presented in the respective case studies.

4. Solution Approach

An important element of renewable sources and the proliferation of devices such as BESSs bring several operational challenges to modern distribution grids. In most studies, BESSs are predominantly used for ancillary services [53] or integrated with DG [6,20]. Only a few studies recognize the minimization of power losses by means of integrating BESSs with other generation resources [70].
Hence, this paper investigates the operation of CG, PVs, WPG, and BESSs within a 24-h period, specifically when the BESSs are capable of providing both active and reactive power in presence of renewable sources. The proposed model was developed in AMPL. This software is a modelling language for mathematical programming and was designed by [49].
AMPL is an effective and robust tool for solving large-scale mathematical programming problems that works with continuous and discrete variables [71]. The model was formulated considering continuous values of the variables, which means that they can take any value within the ranges defined by their limits. The solver used was Knitro. This solver features three algorithms: interior point algorithm with conjugate gradient, direct interior point algorithm, and active set method, offering different programming strategies options and also allowing the possibility of interaction of these methods during the solution (crossover) [50].
Several studies use AMPL to solve optimization problems considering storage systems. In [72], the authors presented a new method set up on cost–benefit for optimally sizing BESS in microgrids in the presence of PV and WPG. The formulation of the problem was modeled in AMPL and solved by CPLEX solver. In [73], the authors proposed a Mixed Integer Linear Programming (MILP) approach considering RES, BESS, and Electric Vehicle (EV) charging stations using AMPL and solved by CPLEX. Tests were carried out on a 24-bus test system. The paper proposed by [74] shows the coordinated management of RES, BESS, and EVs modeled using AMPL and solved with MINOS solver.
It was found that the application of commercial solvers, such as Knitro, to approach the OPF problem is still little explored. The great advantage lies in being a reliable tool with several solution strategies and the ability to overcome numerical difficulties during the convergence process.

5. Tests and Results

This section presents the results of the proposed approach considering two test systems of 33 and 141 buses. All simulations were performed on an Intel® Core™ i7 CPU @ 1.8 GHz computer with 4 GB of RAM and Windows 10 Home 64 bits.

5.1. Results with the 33-Bus Test System

The 33-bus test system used in this paper is depicted in Figure 2. The operating voltage of the system is 12.66 kV. Voltage limits are considered from 0.90 to 1.05 p.u. in all buses. The network was modified with the addition of three BESSs and seven PVs. Aiming to evaluate the adjustment of the PF of the inverters, the reactive loads were limited to 60%. In accordance with information provided in [75], the BESSs are considered to have a loading and unloading capacity of 1 MWh per hour and storage of 5 MW. The loading and unloading efficiency of BESS is supposed to be 100%.
The optimal operation of BESS is considered within a 24-h time horizon at intervals of 1 h. A typical photovoltaic generation curve ( P P V ) and a typical residential load curve ( P l o a d ) were adopted in the analyses. Figure 3 shows the total P P V generation and active load in the system as well as the net active power expressed as ( P l o a d ) ( P P V ) . Note that the injection of active power by the PV generation is greater than the load at noon, resulting in a negative net power from 11:00 to 13:00, which may cause reverse power flows.
Seven test cases were carried out considering the operational modes of BESS (providing only active power or active and reactive power combined). In the base case, the grid has no distributed energy resources. In the other cases, in addition to the PV generation, the insertion of 1, 2, and 3 BESSs was considered. When BESS provides only active power, it is identified as B E S S P , and if it provides both active and reactive power, it is identified as B E S S P Q . The 7 cases are summarized in Table 2.

5.1.1. Analysis of BESS Operation in the 33-Bus Test System

Figure 4 depicts the total active power losses for the 7 cases under study. Note that power losses for the Base Case (without DG and BESSs) are 4.1139 MWh. Nonetheless, Case a, which only considers PV, has 3.0282 MWh of power losses. This represents a reduction of 26.3% compared to the Base Case, which shows that PV alone is able to provide important savings on power losses.
Case b, which considers a single BESS providing active power (plus PV generation) presents power losses of 2.3466 MWh, which represents a further reduction of 21.7% with respect to Case a, and a total power loss reduction of 42.9% with respect to the Base Case. In Case c, when active and reactive power are provided by a single BESS unit, power losses are further reduced by 26.0% with respect to Case a and 46.0% with respect to the Base Case. This shows that greater power loss reductions are achieved when BESSs provide both active and reactive power. This is observed as well for the rest of the cases; every time the BESS units were allowed to provide active and reactive power, the impact on power loss reduction was greater. Note that the smallest amount of power loss is achieved in Case g when three BESSs provide active and reactive power. In this case, total power losses are 1.7083 MWh, representing a reduction of 58.4% with respect to the Base Case and 43.5% with respect to Case a when only PV generation is considered. The results obtained in this system show that, although PV generation allows for reducing power losses, its combination and proper coordination with BESSs results in greater power losses along with other positive impacts that are presented and discussed in the next subsections.

5.1.2. Analysis of Voltage Profile

Figure 5 shows the voltage profile for the seven cases under study. For the sake of simplicity, the displayed value is the average of the voltage magnitudes at all buses. In the Base Case, the voltage profile is barely over the minimum allowed, especially in peak hours; nonetheless, when PV generation is introduced (Case a), the voltage profile significantly improves. This happens basically from 8:00 to 16:00, which is when PV generation is providing energy to the network; nonetheless, in peak hours, there is still a significant drop in the voltage profile since there is no coincidence with PV generation. In this sense, it can be seen that when the participation of BESS increases, the voltage profile flattens; that is to say, voltage magnitudes tend to reduce around noon and increase their magnitude at night, thus avoiding voltage peaks. This is due to the fact that BESSs charge when PV presents its generation peak (which surpasses the total demand) and discharges when most needed (at load pick hours when there is no PV generation).

5.1.3. Analysis of the Slack Bus Generation

Figure 6 shows the slack bus generation (the substation bus) for the time horizon under study. Note that in Case a there is a negative net power injection from 11:00 to 13:00. This is due to the fact that total PV generation is greater than the system demand at these hours, which leads to the presence of reverse power flows in the distribution system. The main issue of concern lies in the fact that reverse power flows may require a protection coordination re-adjustment as pointed out in [76,77]. This undesired situation is avoided when BESSs are properly integrated and coordinated with PV generation through the proposed MOPF approach. Also note that in Case f and Case g, when a maximum of three BESSs are integrated in the distribution system, the power supplied by the substation diminishes its variability over time.

5.1.4. Energy Management Analysis of BESSs

Figure 7 depicts the energy stored by BESS 1 in Case c for active power management as well as active and reactive power management. As can be seen in Figure 7a, from 7:00 to 17:00, the energy stored (labelled as ESB1p) increases progressively from 0 to 5 MW every hour. Afterwards, the energy stored steadily decreases to 0 MW in hour 23:00. Note that the BESS unit begins to supply active power (labelled as PB1) in hour 8:00 until hour 15:00; then it takes power from the grid from hour 18:00 (peak hour) to hour 23:00. In Figure 7b, it can be seen that the BESS supplies both active and reactive power in different periods of the day. From hour 0:00 to 8:00, the BESS unit barely provides any power and stores a small amount of energy; then from hour 8:00 to 18:00, the energy stored (labelled as ESB1pq) increases steadily to then decrease and reach 0 MW at hour 23:00. Note also that the BESS takes both active and reactive power from the network from hour 18:00 to hour 23:00.
Figure 8 illustrates the energy management when two BESS units are considered in the system and provide either active or both active and reactive power. When only active power is considered as shown in Figure 8a,c, BESS 1 stores energy to full capacity while BESS 2 does not; furthermore; the active power injection follows the same pattern for both BESS units form hour 8:00 to hour 23:00. When both BESS units manage active and reactive power, their patterns are slightly different, with BESS 2 being the unit with lower charging and discharging.
Figure 9 depicts the energy management when three BESS units are considered. It can be seen that BESS 1 and BESS 3 store more energy than BESS 2 and follow a quite similar pattern. The difference in energy management of these units with respect to BESS 2 can be attributed to their location in the network; it is also worth mentioning that introducing three BESS units resulted in the highest reduction of power losses as already indicated.
Table 3 shows the adjustment of PF at each hour of the day, taking into account the number of BESS units considered in the system. Note that at peak demand, the power factor is different from the unity, which means that the BESS manages reactive power. When the BESSs are charging, the power factor is 1.0.

5.2. Results with the 141-Bus Test System

To show the applicability of the proposed approach, several tests were also carried out with a real test system of 141 buses. This network, depicted in Figure 10, is located in the metropolitan region of Caracas in Venezuela [78]. It presents a nominal voltage of 12.47 kV and a load of 11.9029 MW and 7.375 MVAr. On average, the loads present a lagging power factor of 0.85. In this case PV, WPG, and CG were integrated in the network to supply active power to the load. For the sake of simplicity, it is assumed that all generators have a capacity of 1 MW and are located as indicated below:
  • 5 PV units at buses 50, 60, 70, 80, and 90;
  • 2 WPG units at buses 106 and 118;
  • 1 CG unit at bus 136.
Furthermore, 5 BESS units are considered at buses 10, 20, 45, 55, and 65. The storage capacity of each BESS unit is assumed to be 5 MW with a maximum charge/discharge power of 1 MWh. The sizing and location of these units, as with the previous test system, were chosen empirically. For the 141-bus test system, 4 cases were analysed:
  • Base case without DGs (all power is supplied through the substation);
  • Considering all types of DGs: PV, WPG, and CG;
  • Considering all DGs and BESS units only supplying active power;
  • Considering all DGs and BESS units supplying active and reactive power.
Figure 11 shows the load curve of the system (labelled as P L o a d ). Note that the maximum load is presented at 21:00. The generation profiles of PV, WPG, CG and all units combined are also depicted.

5.2.1. Analysis of the BESS Operation

Figure 12 illustrates the total energy losses for the cases under study. Note that the Base Case presents 16.5347 MWh of power losses. However, when DGs are included in the system (the combination of PV, WPG, and CG) in the locations and quantities previously described, the losses drop to 6.1720 MWh, which represents a reduction of 62% with respect to the Base Case. Initially, the DGs in the system are not coordinated with BESS; nonetheless the amount of losses is further reduced another 12% when BESSs are integrated into the systems providing only active power. Finally, when BESSs provide both active and reactive power, the power losses are 3.7928 MWh, which represents a reduction of 77% with respect to the base case. This shows the positive impact of the optimal coordination of resources carried out by the proposed MOPF.

5.2.2. Voltage Profile Analysis

Figure 13 illustrates the voltage profile of the 141-bus test system for all the cases under study. The average voltage magnitudes of all buses are indicated for each hour. Note that in the Base Case, several buses present voltages below 0.95 p.u., especially from hour 18:00 to 23:00, which indicates the peak load of the grid. When DGs are introduced into the system, the voltage profile presents a significant improvement, while keeping essentially the same pattern. Nonetheless, when BESSs are also integrated and properly coordinated with the DG units, the voltage profile improves and gets flatter. It was also observed that the best voltage profile was achieved when BESS units provide both active and reactive power.

5.2.3. Analysis of Slack Bus Generation

Figure 14 illustrates the power provided by the substation at every hour of the time horizon. Note that when only DGs are introduced, there are reverse power flows in hours 4:00 and 5:00. Nonetheless, this is corrected as BESS units are introduced into the system. Also note that the energy provided through the substation remains almost constant when BESSs are coordinated with the DGs.

5.2.4. Energy Management of BESSs

Figure 15 illustrates the energy management of the 5 BESS units allocated in the system when they provide both only active power as well as active and reactive power. Note that BESS 1 (Figure 15a) stores energy from 1:00 to 8:00, reaching its full capacity to later provide energy until hour 14:00, when it begins to charge again until hour 18:00; from this hour on (peak load), BESS 1 provides active power to the network until hour 23:00. The other BESS units present a similar pattern to match the intermittency characteristics of PV and WPG (see left column of Figure 15). When BESS units are capable of handling both active and reactive power, the charging and discharging pattern is more dynamic, as can be seen in the right column of Figure 15. In this case, the greatest power loss reduction and flattest voltage profile are obtained; furthermore, there are no reverse power flows. Figure 16 illustrates the sum of all power delivered to the network by the 5 BESS units in both operational modes. Note that the pattern of each mode remains similar to those of the individual cases, presenting a more dynamic operation when both active and reactive power are delivered to the network. In Figure 16a, it can be seen that the BESS units store energy from around 1:00 to 8:00; then they provide some energy to the network from 9:00 to 14:00 to later recharge from 15:00 to 17:00 and finally deliver all the energy stored during the peak hours. A similar pattern is seen in Figure 16b, with a more intense discharge from hours 9:00 to 14:00.

5.2.5. Methodology Analysis

The tests carried out showed that the methodology can be used for the management of BESSs in networks with conventional and intermittent DGs, such as solar and wind power. The MOPF, in all tests performed, responded satisfactorily, even with several BESSs and DGs. It was evident that, when adding one more BESS to the network, the operation of the grid is changed. The possibility of the BESSs supplying reactive power has added another possibility of control to the network, helping in the reduction of power losses and control of voltage levels.
The solver Knitro uses a precision of 1.0 × 10 8 in the iterative convergence process. Unlike metaheuristic algorithms, the proposed approach is deterministic, always guaranteeing the same solution to the problem. The convergence process can be changed if some internal parameter of Knitro is modified. However, seeking to generalize the application, we leave all the parameter adjustments automatically, performed by the solver, which makes the adjustments consider the type of problem, number of variables, and constraints.
Figure 17 presents an analysis of the convergence process in p.u. (base of 10 MVA) for two cases: (a) with DGs and BESSs providing active power; and (b) with DGs and BESSs providing both active and reactive power. For case “a”, the number of iterations was 866 and the algorithm spent 51.18 s. For case “b”, the algorithm converged in 1038 iterations in 67.35 s. In both cases, the number of variables and constraints exceeded 7000. Due to the deterministic nature of the model, even with many variables and constraints, the results obtained can be considered of good quality, since the MOPF guarantees the enforcement of all network constraints and the accuracy of results.

6. Conclusions

This paper presented a model and implementation of a MOPF for the optimal management of BESSs in distribution networks that also integrate CG, PV, and WPG. The proposed model was solved in AMPL through the commercial solver Knitro. Several tests were carried out in a distribution network of 33 buses and a real system comprising 141 buses. The benefits of integrating BESSs were analysed, considering two operational modes: when managing only active power and when managing active and reactive power.
The first analyses were carried out considering 7 PV generations plus up to 3 BESS units within a 24-h horizon. When only PV is considered in the 33-bus test system, a power loss reduction of 26.3% is achieved with respect to the base case. When a single BESS provides active power, such losses further decrease by 21.7%. When 3 BESSs are considered in the system providing active and reactive power, power losses reduce to 58.4%. As regards voltage magnitudes, these are improved due to the presence of BESSs. Furthermore, the voltage profile is flattened, avoiding voltage peaks.
In the second test system, the optimal management of BESSs was explored considering five BESSs units in the presence of CG, PV, and WPG generation. This resulted in a reduction of energy losses of up to 77% (when all generation units are used and BESSs deliver both active and reactive power) followed by an important flattening and improvement of the voltage profile. It was also shown in both test systems that the proper management of BESSs prevents reverse power flows in distribution networks that otherwise appear at noon due to the presence of PV generation. Furthermore, the solution of the MOPF problem demanded low computation time (in the range of a few seconds).
The main limitation of the proposed model lies in the dependence of a proper prediction of generation through PV and WPG. For further increasing the integration of RES with BESS in modern power grids, it is recommended to adopt new strategies to properly size and locate renewable resources, paying special attention to the emergence of reverse power flows that may cause technical problems. This can be carried out through proper RES–BESS coordination strategies. It is also important to choose the correct placement of storage systems, which can be considered in future studies. Finally, other objectives and constraints related to the use of BESSs in distribution networks such as arbitration and frequency control can be modeled.

Author Contributions

Conceptualization, D.J.d.S. and E.A.B.; Data curation, D.J.d.S. and E.A.B.; Formal analysis, D.J.d.S., E.A.B. and J.M.L.-L.; Funding acquisition, J.M.L.-L.; Investigation, D.J.d.S., E.A.B. and J.M.L.-L.; Methodology, D.J.d.S. and E.A.B.; Project administration, D.J.d.S., E.A.B. and J.M.L.-L.; Resources, D.J.d.S., E.A.B. and J.M.L.-L.; Software, D.J.d.S. and E.A.B.; Supervision, D.J.d.S., E.A.B. and J.M.L.-L.; Validation, D.J.d.S. and E.A.B.; Visualization, D.J.d.S. and E.A.B.; Writing—original draft, D.J.d.S.; Writing—review and editing, D.J.d.S., E.A.B. and J.M.L.-L. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Colombia Scientific Program within the framework of the so-called Ecosistema Científico (Contract No. FP44842- 218-2018).

Data Availability Statement

Not applicable.

Acknowledgments

This work was supported by the Brazilian National Council for Scientific and Technological Development (CNPq), grant 408898/2021-6. The authors would also like to thank FAPEMIG-APQ-03609-17, CAPES-Brazil under Grant 001 and INERGE and the Colombia Scientific Program within the framework of the so-called Ecosistema Científico (Contract No. FP44842- 218-2018).

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
AMPLModeling Language for Mathematical Programming
ALOAint Lion Optimizer
BESSBattery Energy Storage System
CGConventional Generation
DGDistributed Generation
DPDynamic Programming
EVElectrical Vehicle
GAGenetic Algorithm
GWOGrey Wolf Optimization
HOAHybrid Optimisation Algorithm (PSO-GA)
HGSOModified Henry Gas Solubility Optimization Algorithm
ICAModified Imperialist Competitive Algorithm
JAJaya Algorithm
kVkilo-Volt
MILPMixed Integer Linear Programming
MINLPMixed Integer Nonlinear Programming
MI-SOCPMixed-Integer Second-Order Cone Programming
MOPFOptimal Multi-period Power Flow
OPFOptimal Power Flow
PFPower Factor
PVPhotovoltaic Energy
SGSmart Grid
SMASlime Mould Algorithm
SMILPStochastic Mixed Integer Linear Programming
WPGWind Power Generation

References

  1. Sandeep, K.; Ganesh, K.; Jaydev, S. A MINLP technique for optimal placement of multiple DG units in distribution systems. Int. J. Electr. Power Energy Syst. 2014, 63, 609–617. [Google Scholar] [CrossRef]
  2. Hossein, Y.; Hamed, H.; Amin, Y. Spatial site selection for solar power plants using a gis-based boolean-fuzzy logic model: A case study of Markazi Province, Iran. Energies 2018, 11, 1648. [Google Scholar] [CrossRef] [Green Version]
  3. Bo, L.Y.F.; Junjian, L.G.Q.; Yunfei, Z.D.M. Optimal distributed generation planning in active distribution networks considering integration of energy storage. Appl. Energy 2018, 210, 1073–1081. [Google Scholar] [CrossRef] [Green Version]
  4. Osama, M.B.; Muhammad, Z.; Tallal, M.B. Recent advancement in smart grid technology: Future prospects in the electrical power network. Ain Shams Eng. J. 2021, 12, 687–695. [Google Scholar] [CrossRef]
  5. Thango, B.A.; Bokoro, P.N. Battery Energy Storage for Photovoltaic Application in South Africa: A Review. Energies 2022, 15, 5962. [Google Scholar] [CrossRef]
  6. Abdel-Mawgoud, H.; Kamel, K.M.; Khurshaid, T. A strategy for PV and BESS allocation considering uncertainty based on a modified Henry gas solubility optimizer. Electr. Power Syst. Res. 2021, 191, 1–12. [Google Scholar] [CrossRef]
  7. Adetunji, K.E.; Hofsajer, I.W.; Abu-Mahfouz, A.M.; Cheng, L. Category-based multiobjective approach for optimal integration of distributed generation and energy storage systems in distribution networks. IEEE Access 2021, 9, 28237–28250. [Google Scholar] [CrossRef]
  8. Hussein, A.-B.; Salah, K.; Hegazy, R.; Tahir, K.; Sang-Bong, R. Optimal Implementation of Photovoltaic and Battery Energy Storage in Distribution Networks. Comput. Mater. Contin. 2021, 69, 1463–1481. [Google Scholar] [CrossRef]
  9. Peñaranda, A.F.; Romero-Quete, C.; Camilo, A. Grid-scale battery energy storage for arbitrage purposes: A colombian case. Batteries 2021, 7, 59. [Google Scholar] [CrossRef]
  10. U.S. Energy Information Administration. Available online: https://www.eia.gov/todayinenergy/detail.php?id=50176 (accessed on 19 August 2022).
  11. Usama, M.U.; Kelle, D.; Baldwin, T. Utilizing spinning reserves as energy storage for renewable energy integration. In Proceedings of the Clemson University Power Systems Conference, Clemson, SC, USA, 13 March 2014. [Google Scholar] [CrossRef]
  12. Kucevic, D.; Semmelmann, L.; Collath, N.; Jossen, A.; Hesse, H. Peak Shaving with Battery Energy Storage Systems in Distribution Grids: A Novel Approach to Reduce Local and Global Peak Loads. Electricity 2021, 2, 573–589. [Google Scholar] [CrossRef]
  13. Alberto, O.; Antonio, B.; Javier, R. Modeling storage systems in electricity markets with high shares of renewable generation: A daily clustering approach. Int. J. Electr. Power Energy Syst. 2021, 137, 1–16. [Google Scholar] [CrossRef]
  14. Kumtepeli, V.; Hesse, H.C.; Schimpe, M.; Tripathi, A.; Wang, Y.; Jossen, A. Energy arbitrage optimization with battery storage: 3D-MILP for electro-thermal performance and semi-empirical aging models. IEEE Access 2020, 8, 204325–204341. [Google Scholar] [CrossRef]
  15. Pareis, E.; Hittinger, E. Emissions effects of energy storage for frequency regulation: Comparing battery and flywheel storage to natural gas. Energies 2021, 14, 549. [Google Scholar] [CrossRef]
  16. ABB. Available online: https://new.abb.com/marine/energy-efficiency/energy-handbook/energy-storage-solutions (accessed on 19 August 2022).
  17. Thien, T.; Axelsen, H.; Merten, M.; Sauer, D.U. Energy management of stationary hybrid battery energy storage systems using the example of a real-world 5 MW hybrid battery storage project in Germany. J. Energy Storage 2022, 51, 1–26. [Google Scholar] [CrossRef]
  18. Mojtaba, M.-O.; Turaj, A.; Saleh, S.G. Deep Learning Based Hurricane Resilient Coplanning of Transmission Lines, Battery Energy Storages, and Wind Farms. IEEE Trans. Ind. Inform. 2022, 18, 2120–2131. [Google Scholar] [CrossRef]
  19. Atwa, Y.M.; El-Saadany, E.F. Optimal allocation of ESS in distribution systems with a high penetration of wind energy. IEEE Trans. Power Syst. 2010, 25, 1815–1822. [Google Scholar] [CrossRef]
  20. Ahmed, A.; Hussain, A.; Muhammad, K. Minimization of power losses through optimal battery placement in a distributed network with high penetration of photovoltaics. Energies 2019, 13, 140. [Google Scholar] [CrossRef] [Green Version]
  21. Korpaas, M.H.; Arne, T.; Hildrum, R. Operation and sizing of energy storage for wind power plants in a market system. Int. J. Electr. Power Energy Syst. 2003, 25, 599–606. [Google Scholar] [CrossRef]
  22. Azizivahed, A.; Ghadi, S.G.M.J.; Li, L.; Zhang, J. New energy management approach in distribution systems considering energy storages. In Proceedings of the 20th International Conference on Electrical Machines and Systems (ICEMS), Sydney, Australia, 11–14 August 2017. [Google Scholar] [CrossRef]
  23. Giannitrapani, A.; Paoletti, S.; Vicino, A.; Zarrilli, D. New Optimal Allocation of Energy Storage Systems for Voltage Control in LV Distribution Networks. IEEE Trans. Smart Grid 2017, 8, 2859–2870. [Google Scholar] [CrossRef]
  24. Vaiju, K.; Rohit, K.B. Energy loss minimization through peak shaving using energy storage. Perspect. Sci. 2016, 8, 162–165. [Google Scholar] [CrossRef] [Green Version]
  25. Teke, G.; Hwan, K.C.; Samuel, A.; Soo, K.J.; Sol, S.J. Optimal Smart Inverter Control for PV and BESS to Improve PV Hosting Capacity of Distribution Networks Using Slime Mould Algorithm. IEEE Access 2021, 9, 52164–52176. [Google Scholar] [CrossRef]
  26. Martinez, N.; Tabares, A.; Franco, J.F. Generation of alternative battery allocation proposals in distribution systems by the optimization of different economic metrics within a mathematical model. Energies 2021, 14, 1726. [Google Scholar] [CrossRef]
  27. Melgar Dominguez, O.D.; Kasmaei, P.M.; Lavorato, M.; Mantovani, J.R.S. Optimal siting and sizing of renewable energy sources, storage devices, and reactive support devices to obtain a sustainable electrical distribution systems. Energy Syst. 2017, 9, 529–550. [Google Scholar] [CrossRef] [Green Version]
  28. Gil-González, W.; Garces, A.; Montoya, O.D.; Hernández, J.C. A mixed-integer convex model for the optimal placement and sizing of distributed generators in power distribution networks. Appl. Sci. 2021, 11, 627. [Google Scholar] [CrossRef]
  29. Felipe, R.; Aline, P.; Rafaela, N.; Washington de Araujo, S.J.; Mohamed, A.M.; Andres, A.; Marinho, M.H.N. Development of Operation Strategy for Battery Energy Storage System into Hybrid AC Microgrids. Sustainability 2022, 14, 13765. [Google Scholar] [CrossRef]
  30. Rafaela, N.; Felipe, R.; Aline, P.; Washington de Araujo, S.J.; Ayrlw, M.C.A.; Dias Filho, R.F.; Mohamed, A.M.; Manoel, H.N.M. Case Study of Backup Application with Energy Storage in Microgrids. Energies 2022, 15, 9514. [Google Scholar] [CrossRef]
  31. Kaur, A.; Pal, S.K.; Singh, A.P. Hybridization of Chaos and Flower Pollination Algorithm over K-Means for data clustering. Appl. Soft Comput. 2020, 97, 105523. [Google Scholar] [CrossRef]
  32. José da Silva, D.; Belati, A.E.; Werley Silva dos Angelos, E. FPAES: A Hybrid Approach for the Optimal Placement and Sizing of Reactive Compensation in Distribution Grids. Energies 2020, 13, 6409. [Google Scholar] [CrossRef]
  33. Zheng, Y.; Dong, Z.; Huang, S.; Meng, K.; Luo, F.; Huang, J.; Hill, D. Optimal integration of mobile battery energy storage in distribution system with renewable. J. Mod. Power Syst. Clean Energy 2015, 3, 589–596. [Google Scholar] [CrossRef] [Green Version]
  34. Deeba, S.R.; Sharma, R.; Saha, T.K.; Chakraborty, D.; Thomas, A. Evaluation of technical and financial benefits of battery-based energy storage systems in distribution networks. IET Renew. Power Gener. 2016, 10, 1149–1160. [Google Scholar] [CrossRef]
  35. Bizuayehu, A.W.; Sánchez de la Nieta, A.A.; Contreras, J.C. Impacts of Stochastic Wind Power and Storage Participation on Economic Dispatch in Distribution Systems. IEEE Trans. Sustain. Energy 2016, 7, 1336–1345. [Google Scholar] [CrossRef]
  36. Wang, S.; Wang, K.; Teng, F.; Strbac, G.; Wu, L. Optimal Allocation of ESSs for Mitigating Fluctuation in Active Distribution Network. In Proceedings of the 9th International Conference on Applied Energy, Cardiff, UK, 21–24 August 2017; pp. 3572–3577. [Google Scholar] [CrossRef]
  37. Fortenbacher, P.; Mathieu, J.L.; Andersson, G. Modeling and Optimal Operation of Distributed Battery Storage in Low Voltage Grids. IEEE Trans. Power Syst. 2017, 32, 4340–4350. [Google Scholar] [CrossRef] [Green Version]
  38. Cabrane, Z.; Ouassaid, M.; Maaroufi, M. Battery and supercapacitor for photovoltaic energy storage: A fuzzy logic management. IET Renew. Power Gener. 2017, 11, 1157–1165. [Google Scholar] [CrossRef]
  39. Lei, J.; Gong, Q.; Liu, J.; Qiao, H.; Wang, B. Optimal allocation of a VRB energy storage system for wind power applications considering the dynamic efficiency and life of VRB in active distribution networks. IET Renew. Power Gener. 2019, 13, 563–571. [Google Scholar] [CrossRef]
  40. Sperstad, I.B.; Korpås, M. Energy storage scheduling in distribution systems considering wind and photovoltaic generation uncertainties. Energies 2019, 12, 1231. [Google Scholar] [CrossRef] [Green Version]
  41. Mohagheghi, E.; Alramlawi, M.; Gabash, A.; Blaabjerg, F. Real-Time Active-Reactive Optimal Power Flow with Flexible Operation of Battery Storage Systems. Energies 2020, 13, 1697. [Google Scholar] [CrossRef] [Green Version]
  42. Alturki, F.A.; Awwad, E.M. Sizing and cost minimization of standalone hybrid wt/pv/biomass/pump-hydro storage-based energy systems. Energies 2021, 14, 489. [Google Scholar] [CrossRef]
  43. Held, L.; Mueller, F.; Steinle, S.; Barakat, M.; Suriyah, M.R.; Leibfried, T. An optimal power flow algorithm for the simulation of energy storage systems in unbalanced three-phase distribution grids. Energies 2021, 14, 1623. [Google Scholar] [CrossRef]
  44. Agarwal, A.; Pileggi, L. Large Scale Multi-Period Optimal Power Flow With Energy Storage Systems Using Differential Dynamic Programming. IEEE Trans. Power Syst. 2022, 37, 1750–1759. [Google Scholar] [CrossRef]
  45. Blasi, T.M.; Piazza Fernandes, T.S.; Aoki, A.R.; Tabarro, F.H. Multiperiod Optimum Power Flow for Optimization of an Active Distribution Network with Battery Energy Storage Systems. Braz. Arch. Biol. Technol. 2022, 65, 1–12. [Google Scholar] [CrossRef]
  46. Wang, M.; Abdalla, M.A.A. Optimal Energy Scheduling Based on Jaya Algorithm for Integration of Vehicle-to-Home and Energy Storage System with Photovoltaic Generation in Smart Home. Sensors 2022, 22, 1306. [Google Scholar] [CrossRef] [PubMed]
  47. Risi, B.G.; Riganti-Fulginei, F.; Laudani, A. Modern Techniques for the Optimal Power Flow Problem: State of the Art. Energies 2022, 15, 6387. [Google Scholar] [CrossRef]
  48. Jabr, R.A.; Karaki, S.; Korbane, J.A. Robust Multi-Period OPF with Storage and Renewables. IEEE Trans. Power Syst. 2015, 30, 2790–2799. [Google Scholar] [CrossRef]
  49. Fourer, R.; Gay, D.M.; Kernighan, B.W. AMPL: A Modeling Language for Mathematical Programming; THOMSON; Cengage Learning: Boston, MA, USA, 2003; pp. 1–526. [Google Scholar]
  50. Byrd, R.H.; Nocedal, J.; Waltz, R.A. Knitro: An Integrated Package for Nonlinear Optimization; Springer US Publishing House: Boston, MA, USA, 2006; pp. 35–59. [Google Scholar]
  51. Olabi, A.G.; Tabbi, W.; Taha, S.E.; Abo-Khalil, A.G.; Maghrabie, H.M.; Elsaid, K.; Abdelkareem, M. Battery energy storage systems and SWOT (strengths, weakness, opportunities, and threats) analysis of batteries in power transmission. Energy 2022, 254, 123987. [Google Scholar] [CrossRef]
  52. Maxime, B.; Ilhan, K.; Farantatos, E.; Haddadi, A. Modeling of Li-ion battery energy storage systems (BESSs) for grid fault analysis. Electr. Power Syst. Res. 2021, 196, 1–6. [Google Scholar] [CrossRef]
  53. Gao, J.T.; Shih, C.H.; Lee, C.W.i.; Lo, K.Y. An Active and Reactive Power Controller for Battery Energy Storage System in Microgrids. IEEE Access 2022, 10, 10490–10499. [Google Scholar] [CrossRef]
  54. Sbordone, D.A.; Martirano, L.; Falvo, M.C.; Chiavaroli, L.; Di Pietra, B.; Bertini, I.; Genovese, A. Reactive power control for an energy storage system: A real implementation in a Micro-Grid. J. Netw. Comput. Appl. 2015, 59, 250–263. [Google Scholar] [CrossRef]
  55. Dao, V.T.; Ishii, H.; Takenobu, Y.; Yoshizawa, S.; Hayashi, Y. Home Energy Management Systems under Effects of Solar-Battery Smart Inverter Functions. IEEJ Trans. Electr. Electron. Eng. 2020, 15, 692–703. [Google Scholar] [CrossRef]
  56. Pilehvar, M.S.; Mirafzal, B. Frequency and voltage supports by battery-fed smart inverters in mixed-inertia microgrids. Electronics 2020, 9, 1755. [Google Scholar] [CrossRef]
  57. Pereira da Silva, P.; Dantas, G.; Pereira, G.I.; Câmara, L.; De Castro, N.J. Photovoltaic distributed generation—An international review on diffusion, support policies, and electricity sector regulatory adaptation. Renew. Sustain. Energy Rev. 2019, 103, 30–39. [Google Scholar] [CrossRef]
  58. Hariri, M.H.M.; Mat Desa, M.K.; Masri, S.; Zainuri, M.A.; Atiqi, M. Grid-connected PV generation system-components and challenges: A review. Energies 2020, 13, 4279. [Google Scholar] [CrossRef]
  59. Benda, V.; Černá, L. PV cells and modules—State of the art, limits and trends. Heliyon 2020, 6, 1–8. [Google Scholar] [CrossRef] [PubMed]
  60. Al-shetwi, A.Q.; Issa, W.K.; Aqeil, R.F.; Ustun, T.S.; Al-masri, H.M.K.; Alzaareer, K.; Abdolrasol, M.G.M.; Abdullah, M.A. Active Power Control to Mitigate Frequency Deviations in Large-Scale Grid-Connected PV System Using Grid-Forming Single-Stage Inverters. Energies 2022, 15, 2035. [Google Scholar] [CrossRef]
  61. Cho, D.; Valenzuela, J. Optimization of residential off-grid PV-battery systems. Sol. Energy 2020, 208, 766–777. [Google Scholar] [CrossRef]
  62. Chen, S.; Xiang, Y.; Sun, W.; Liu, J. Evaluating Connectable Capacity of Distributed Wind Generation in Distribution Networks Through a Bayesian Integrated Optimization Method. IEEE Syst. J. 2022, 16, 2110–2120. [Google Scholar] [CrossRef]
  63. Da Rosa, W.M.; Rossoni, P.; Teixeira, J.C.; Belati, E.A. Insertion of wind generators in electrical power systems aimed at active losses reduction using sensitivity analysis. Int. J. Electr. Power Energy Syst. 2016, 80, 306–311. [Google Scholar] [CrossRef]
  64. Jabir, M.; Illias, H.A.; Raza, S.; Mokhlis, H. Intermittent smoothing approaches for wind power output: A review. Energies 2017, 10, 1572. [Google Scholar] [CrossRef] [Green Version]
  65. Osman, A.M.; Alsokhiry, F. Sliding Mode Control for Grid Integration of Wind Power System Based on Direct Drive PMSG. IEEE Access 2022, 10, 26567–26579. [Google Scholar] [CrossRef]
  66. Barra, P.H.A.; de Carvalho, W.C.; Menezes, T.S.; Fernandes, R.A.S.; Coury, D.V. A review on wind power smoothing using high-power energy storage systems. Renew. Sustain. Energy Rev. 2021, 137, 1–18. [Google Scholar] [CrossRef]
  67. Teixeira, T.P.; Borges, C.L.T. Operation Strategies for Coordinating Battery Energy Storage with Wind Power Generation and Their Effects on System Reliability. J. Mod. Power Syst. Clean Energy 2021, 9, 190–198. [Google Scholar] [CrossRef]
  68. Pulendran, S.; Tate, J.E. Capacity Scheduling of Energy Storage and Conventional Generation for Frequency Regulation Based on CPS1. J. Mod. Power Syst. Clean Energy 2021, 9, 405–414. [Google Scholar] [CrossRef]
  69. Rosa, W.M.; Rossoni, P.; Teixeira, J.C.; Belati, E.A.; Asano, P.T.L. Optimal Allocation of Capacitor Banks using Genetic Algorithm and Sensitivity Analysis. IEEE Lat. Am. Trans. 2016, 14, 3702–3707. [Google Scholar] [CrossRef]
  70. Ton, T.N.; Nguyen, T.T.; Truong, V.A.; Vu, P.T. Optimal location and operation of battery energy storage system in the distribution system for reducing energy cost in 24-hour period. Int. Trans. Electr. Energy Syst. 2021, 31, 1–17. [Google Scholar] [CrossRef]
  71. Olszak, A.; Karbowski, A. Parampl: A simple tool for parallel and distributed execution of AMPL programs. IEEE Access 2018, 6, 49282–49291. [Google Scholar] [CrossRef]
  72. Chen, S.X.; Gooi, H.B.; Wang, M.Q. Sizing of energy storage for microgrids. IEEE Access 2012, 3, 142–151. [Google Scholar] [CrossRef]
  73. De Lima, T.D.; Franco, J.F.; Lezama, F.; Soares, J. A Specialized Long-Term Distribution System Expansion Planning Method with the Integration of Distributed Energy Resources. IEEE Access 2022, 10, 19133–19148. [Google Scholar] [CrossRef]
  74. Zhang, M.; Gan, M.; Lezama, L.L. Sizing and siting of distributed generators and energy storage in a microgrid considering plug-in electric vehicles. Energies 2019, 12, 2293. [Google Scholar] [CrossRef] [Green Version]
  75. Wenge, C.; Pietracho, R.; Balischewski, S.; Arendarski, B.; Lombardi, P.; Komarnicki, P.; Kasprzyk, L. Multi usage applications of li-ion battery storage in a large photovoltaic plant: A practical experience. Energies 2020, 13, 4590. [Google Scholar] [CrossRef]
  76. Saldarriaga-Zuluaga, S.D.; López-Lezama, J.M.; Muñoz-Galeano, N. Adaptive protection coordination scheme in microgrids using directional over-current relays with non-standard characteristics. Heliyon 2021, 7, 1–13. [Google Scholar] [CrossRef] [PubMed]
  77. Saldarriaga-Zuluaga, S.D.; López-Lezama, J.M.; Muñoz-Galeano, N. An approach for optimal coordination of over-current relays in microgrids with distributed generation. Electronics 2020, 9, 1740. [Google Scholar] [CrossRef]
  78. Khodr, H.M.; Olsina, F.G.; Jesus, P.M.D.O.-D.; Yusta, J.M. Maximum savings approach for location and sizing of capacitors in distribution systems. Electr. Power Syst. Res. 2008, 78, 1192–1203. [Google Scholar] [CrossRef] [Green Version]
Figure 1. Inverter operative region.
Figure 1. Inverter operative region.
Energies 16 01269 g001
Figure 2. The 33-bus test system with 3 BESSs and 7 PV generators.
Figure 2. The 33-bus test system with 3 BESSs and 7 PV generators.
Energies 16 01269 g002
Figure 3. Generationand load curve of the 33-bus test system.
Figure 3. Generationand load curve of the 33-bus test system.
Energies 16 01269 g003
Figure 4. Active losses in the tested cases.
Figure 4. Active losses in the tested cases.
Energies 16 01269 g004
Figure 5. Voltage profile average for all cases.
Figure 5. Voltage profile average for all cases.
Energies 16 01269 g005
Figure 6. Slack bus generation for all cases.
Figure 6. Slack bus generation for all cases.
Energies 16 01269 g006
Figure 7. Power management for one BESS unit: (a) active power; (b) active and reactive power.
Figure 7. Power management for one BESS unit: (a) active power; (b) active and reactive power.
Energies 16 01269 g007
Figure 8. Power management for two BESS units: (a) active power BESS 1; (b) active and reactive power BESS 1; (c) active power BESS 2; (d) active and reactive power BESS 2.
Figure 8. Power management for two BESS units: (a) active power BESS 1; (b) active and reactive power BESS 1; (c) active power BESS 2; (d) active and reactive power BESS 2.
Energies 16 01269 g008
Figure 9. Power management for three BESS units: (a) active power BESS 1; (b) active and reactive power BESS 1; (c) active power BESS 2; (d) active and reactive power BESS 2; (e) active power BESS 3; (f) active and reactive power BESS 3.
Figure 9. Power management for three BESS units: (a) active power BESS 1; (b) active and reactive power BESS 1; (c) active power BESS 2; (d) active and reactive power BESS 2; (e) active power BESS 3; (f) active and reactive power BESS 3.
Energies 16 01269 g009
Figure 10. Single-line diagram of the 141-bus test system.
Figure 10. Single-line diagram of the 141-bus test system.
Energies 16 01269 g010
Figure 11. Active power for 141-bus system: PV, WPG, CG, load curve, and DG sum.
Figure 11. Active power for 141-bus system: PV, WPG, CG, load curve, and DG sum.
Energies 16 01269 g011
Figure 12. 141-bus system losses.
Figure 12. 141-bus system losses.
Energies 16 01269 g012
Figure 13. 141-bus system voltages performance during the day.
Figure 13. 141-bus system voltages performance during the day.
Energies 16 01269 g013
Figure 14. Slack bus generation of the 141-bus test system.
Figure 14. Slack bus generation of the 141-bus test system.
Energies 16 01269 g014
Figure 15. Power management for five BESS units: (a) active power BESS 1; (b) active and reactive power BESS 1; (c) active power BESS 2; (d) active and reactive power BESS 2; (e) active power BESS 3; (f) active and reactive power BESS 3, (g) active power BESS 4; (h) active and reactive power BESS 4; (i) active power BESS 5; (j) active and reactive power BESS 5.
Figure 15. Power management for five BESS units: (a) active power BESS 1; (b) active and reactive power BESS 1; (c) active power BESS 2; (d) active and reactive power BESS 2; (e) active power BESS 3; (f) active and reactive power BESS 3, (g) active power BESS 4; (h) active and reactive power BESS 4; (i) active power BESS 5; (j) active and reactive power BESS 5.
Energies 16 01269 g015
Figure 16. Energy management of the five BESS units in the 141-bus test system.
Figure 16. Energy management of the five BESS units in the 141-bus test system.
Energies 16 01269 g016
Figure 17. Convergence analysis to the 141-bus test system.
Figure 17. Convergence analysis to the 141-bus test system.
Energies 16 01269 g017
Table 1. Integration of BESS with RES.
Table 1. Integration of BESS with RES.
Ref.Resources ConsideredSolutionObjective Function
BESS PowerPVWPGCGApproach
[3]active/reactivexx ALOMin power losses
[6]activex HGSOMin power losses
[20]activex GAMin power losses
[26]activex MINLPMin power losses
[33]active x MarkovMin cost energy
[34]activex MOPFMax net profit
[35]activex SMILPMin cost operation
[36]activexx GAMin cost operation
[37]activex MOPFMin battery degradation
[38]activex FuzzyMin fluctuation of PV
[39]active x HOAMin power losses
[40]activexx MOPFMin cost operation
[41]active/reactive x OPFMin cost energy
[42]activexx PSOMin cost energy
[43]activex OPFMin cost energy
[44]active/reactive xMOPFMin cost generation
[45]activex MOPFMin power losses
[46]activex JAMin cost energy
Authorsactive/reactivexxxMOPFMin power losses
Table 2. Cases analyzed in the 33-bus test system.
Table 2. Cases analyzed in the 33-bus test system.
Cases PV BESS 1 P BESS 1 PQ BESS 2 P BESS 2 PQ BESS 3 P BESS 3 PQ
Base case
Case aX
Case bXX
Case cX X
Case dXX X
Case eX X X
Case fXX X X
Case gX X X X
Table 3. Adjustment of power factor according to number of BESSs.
Table 3. Adjustment of power factor according to number of BESSs.
Hours(1) BESS PQ (2) BESS PQ (3) BESS PQ
0:001.01.0; 1.01.0; 1.0; 1.0
1:001.01.0; 1.01.0; 1.0; 0.95
2:000.930.93; 0.950.94; 0.95; 1.0
3:001.01.0; 1.01.0; 0.95; 1.0
4:001.01.0; 1.00.96; 1.0; 1.0
5:001.01.0; 1.01.0; 1.0; 0.92
6:000.900.90; 0.930.90; 0.93; 0.90
7:000.900.90; 1.00.90; 1.0; 1.0
8:001.01.0; 1.01.0; 1.0; 1.0
9:001.01.0; 1.01.0; 1.0; 1.0
10:001.01.0; 1.01.0; 1.0; 1.0
11:001.01.0; 1.01.0; 1.0; 1.0
12:001.01.0; 1.01.0; 1.0; 1.0
13:001.01.0; 1.01.0; 1.0; 1.0
14:001.01.0; 1.01.0; 1.0; 1.0
15:001.01.0; 1.01.0; 1.0; 1.0
16:001.01.0; 1.01.0; 1.0; 1.0
17:001.01.0; 1.00.90; 0.93; 0.90
18:000.930.93; 0.930.93; 0.95; 0.90
19:000.930.93; 0.950.94; 0.95; 0.90
20:000.930.93; 0.950.94; 0.95; 0.90
21:000.930.93; 0.950.94; 0.95; 0.90
22:000.930.93; 0.950.94; 0.95; 0.90
23:000.930.93; 0.950.93; 0.95; 0.90
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

da Silva, D.J.; Belati, E.A.; López-Lezama, J.M. A Mathematical Programming Approach for the Optimal Operation of Storage Systems, Photovoltaic and Wind Power Generation. Energies 2023, 16, 1269. https://doi.org/10.3390/en16031269

AMA Style

da Silva DJ, Belati EA, López-Lezama JM. A Mathematical Programming Approach for the Optimal Operation of Storage Systems, Photovoltaic and Wind Power Generation. Energies. 2023; 16(3):1269. https://doi.org/10.3390/en16031269

Chicago/Turabian Style

da Silva, Diego Jose, Edmarcio Antonio Belati, and Jesús M. López-Lezama. 2023. "A Mathematical Programming Approach for the Optimal Operation of Storage Systems, Photovoltaic and Wind Power Generation" Energies 16, no. 3: 1269. https://doi.org/10.3390/en16031269

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop