Next Article in Journal
An Image Fusion Method Based on Special Residual Network and Efficient Channel Attention
Previous Article in Journal
Framing Network Flow for Anomaly Detection Using Image Recognition and Federated Learning
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Optimal Selection and Integration of Batteries and Renewable Generators in DC Distribution Systems through a Mixed-Integer Convex Formulation

by
Jerson Daniel Basto-Gil
1,
Angel David Maldonado-Cardenas
1 and
Oscar Danilo Montoya
1,2,*
1
Grupo de Compatibilidad e Interferencia Electromagnética, Facultad de Ingeniería, Universidad Distrital Francisco José de Caldas, Bogotá 110231, Colombia
2
Laboratorio Inteligente de Energía, Facultad de Ingeniería, Universidad Tecnológica de Bolívar, Cartagena 131001, Colombia
*
Author to whom correspondence should be addressed.
Electronics 2022, 11(19), 3139; https://doi.org/10.3390/electronics11193139
Submission received: 27 August 2022 / Revised: 21 September 2022 / Accepted: 27 September 2022 / Published: 30 September 2022
(This article belongs to the Section Power Electronics)

Abstract

:
The problem concerning the optimal placement and sizing of renewable energy resources and battery energy storage systems in electrical DC distribution networks is addressed in this research by proposing a new mathematical formulation. The exact mixed-integer nonlinear programming (MINLP) model is transformed into a mixed-integer convex model using McCormick envelopes regarding the product between two positive variables. Convex theory allows ensuring that the global optimum is found due to the linear equivalent structure of the solution space and the quadratic structure of the objective function when all the binary variables are defined. Numerical results in the 21-bus system demonstrate the effectiveness and robustness of the proposed solution methodology when compared to the solution reached by solving the exact MINLP model. Numerical results showed that the simultaneous allocation of batteries and renewable energy resources allows for the best improvements in the daily operating costs, i.e., about 53.29% with respect to the benchmark case of the 21-bus grid, followed by the scenario where the renewable energy resources are reallocated while considering a fixed location for the batteries, with an improvement of 43.33%. In addition, the main result is that the difference between the exact modeling and the proposed formulation regarding the final objective function was less than 3.90% for all the simulation cases, which demonstrated the effectiveness of the proposed approach for operating distributed energy resources in monopolar DC networks.

1. Introduction

In recent decades, the trend involving the use DC networks in distribution systems has increased significantly due to these networks’ great compatibility with renewable energies, DC loads, and storage devices; in the same way that the investment costs of a DC network at medium voltage levels are much lower than those of an AC network and that its performance remains constant without being affected by the reactive power requirements of the load, unlike AC [1,2,3]. Global warming—and therefore the need to reduce fossil fuels—has triggered a search for renewable energies such as wind, solar, and tidal in order to mitigate the negative effects of greenhouse gas emissions to the atmosphere [1,4,5,6]. Direct current (DC) system technologies can be easily implemented in urban or rural areas, since they can be used in buildings and houses of different sizes. In addition, these distribution systems can be interconnected with the main power system, and they can operate independently [1].
When using renewable sources as the main energy supply, a set of issues comes to light: weather dependence, geographical location, and surface area. Among the most used technologies are solar, wind, tidal, and geothermal, and each one of them has a different dependency on the primary energy resource [7]. For example, solar power depends on the solar radiation produced in the hours between dawn and sunset, which is usually 12 h. As for the wind, it uses turbines that depend on the speed of the wind, which is why they are located at a certain height. In addition, the average wind speed in the area of installation must be taken into account. This means that these technologies are not reliable in some areas with low wind speeds [8,9]. In light of the above, technologies such as battery energy storage systems (BESS) are used, and there are control strategies that can help maximize the power delivered by renewable sources, minimize harmonics, regulate voltage, and increase network efficiency, as can be consulted in [10,11]. This helps reduce the intermittency of renewable sources. The use of BESS enhances the reliability and quality of the energy supply service [12,13,14].
By using BESS, the disadvantages mentioned above are undermined. This is done by storing energy within them at times of low demand and supplying it at times of high demand [15,16]. By making use of batteries within a DC distribution system, energy generation costs can be reduced. This is done by optimally locating BESS within the network through different optimization methods. This can be observed in [17], where the authors proposed particle swarm optimization while using a 30-node IEEE system as an example. They determined the optimal location of the BESS by locating the renewable source (i.e., wind sources) in different nodes of the system. Moreover, while establishing the optimal location of the BESS, they found important information about the generation costs of the nodes. In [18], the authors determined the optimal location of the BESS by formulating a mixed non-integer nonlinear programming (MINLP) model, which was transformed into a convex mixed-integer quadratic equivalent (MIQC) in order to obtain a global optimum instead of a local one. These models were solved via the General Algebraic Modeling System (GAMS) software. The error in the objective function between the MINLP and the proposed model was 4%. To solve these models, the BONMIN solver was used, through which the MINLP model showed an improvement of 10.85% with respect to the base case. However, the MIQC achieved an improvement of 18.55%. This result demonstrated the efficiency of the MIQC model when locating BESS with respect to the exact non-convex formulation (i.e., the MINLP formulation). In [19], the authors proposed a convex quadratic model that allows identifying the best nodes in which the renewable sources can be located within a DC network. In addition, to locate the sources in these nodes, the authors also determined the capacity necessary to achieve optimal results. However, in this research, the authors did not include daily load curves or BESS, which reduces the applicability of their proposal in real DC networks.
Other authors have addressed the problem regarding the optimal placement and sizing of dispersed generators and BESS with different mathematical and combinatorial optimizers. Some of these are the application of the whale optimization algorithm to locate BESS in distribution networks [20], the application of a mixed-integer conic formulation to locate and size BESS and DGs in distribution networks via piece-wise linearization of the power losses [21], the implementation of parallel particle swarm optimization to define the optimal daily operation of BESS in radial DC networks [22], the optimal operation of BESS in DC networks using semi-definite programming [23], and artificial neural networks to determine the size of BESS while considering loss sensitive analysis for microgrids [24].
Considering the aforementioned studies, the main contributions of this research are:
i.
The simultaneous integration of BESS and dispersed generators in monopolar DC networks, since this problem is typically addressed independently by integrating only one of these devices into the DC grid, or both in a sequential fashion, i.e., in the first stage, the dispersed sources are assigned, and batteries are integrated in the second stage.
ii.
The reformulation of the exact MINLP model that represents the optimal placement and sizing of BESS and DG into a mixed-integer convex (MIC) formulation via the application of McCormick envelopes to approximate the product between two continuous variables through a linear equivalent restriction.
This is the procedure followed to compare the exact MINLP model with the proposed MIC formulation: (i) the MINLP model is solved using the BONMIN solver in the GAMS software, (ii) the proposed MIC model is solved using the convex disciplined tool for MATLAB software called CVX with the Gurobi solver; (iii) the optimal sizes of the dispersed generators and batteries provided with the solution of the MIC model are evaluated in the MINLP model in GAMS in order to eliminate the error introduced during the application of McCormick envelopes to approximate the power balance constraint.
Note that our contribution supposes that the irradiance for PV generation and the wind speed remain as constant inputs in the proposed optimization models. This is supported by the fact that the monopolar DC network covers an area of a few hundred square meters, which implies that the variability of the renewable energy resources can be neglected. However, in future works, it will be necessary to conduct studies where partial shading or wind speed variations are directly included in the optimization model.

2. Mathematical Representation

To select and locate the BESS, together with determining the optimal location of renewable sources in DC distribution networks, a mixed-integer nonlinear programming formulation is used which considers the high penetration of renewable sources and can be represented through multi-period economic dispatch formulation. The nonlinear component of the model comprises the products between voltage variables in the power balance constraints, and the binary part corresponds to the variables regarding the location of the renewable energy resources and batteries.

2.1. Objective Function

This section presents the objective function of the exact model for the optimal location and selection of BESS and renewable sources in a DC distribution system, which consists of minimizing the costs of energy losses for a daily operation scenario. This function is defined in Equation (1).
min f 1 = C o E t H i B v i , t j B G i j v j , t Δ t
The objective function is defined as f 1 , which is related to the daily cost of the energy losses, where C o E is the average energy cost of the energy in the electricity market, v i , t and v j , t are the voltage values at nodes i and j for each period of time t, G i j represents the conductive effect that relates nodes i and j and is contained in the conductance matrix of the DC network, and Δ t defines the variation of the period of time (typically 1 h for daily operation). Note that B and H define the sets that contain all the nodes of the monopolar DC network and the number of periods of study, respectively.
f 1 Value of the objective function regarding the cost of the daily energy losses (COP$/day).
C o E Average energy cost of the energy in the electricity market (COP$/Wh-day).
v i , t Voltage value at node i for each period of time t (V).
v j , t Voltage value at node j for each period of time t (V).
G i j Conductive effect that relates nodes i and j (S).
Δ t Variation of the period of time where electrical variables are assumed as constants (h).
H Set that contains all the number of periods of study.
B Set that contains all the nodes of the monopolar DC network.

2.2. Mathematical Formulation for including Batteries

For this model, Equation (1) is used as the objective function. Moreover, this model includes the following set of constraints:
p i , t + p i , t d g + b E p i , t b p i , t d = v i , t j B G i j v j , t , i B t H
S o C i , t b = S o C i , t 1 b φ i b p i , t b Δ t , b E , i B , t H
S o C i , t 0 b = x i b S o C i b , ini , b E , i B
S o C i , t f b = x i b S o C i b , fin , b E , i B
p i , t min p i , t p i , t max , i B , t H
p i , t d g , min p i , t d g p i , t d g , max , i B , t H
x i b p i b , min p i , t b x i b p i b , max , b E , i B , t H
v i min v i , t v i max , i B , t H
x i b S o C i b , min S o C i , t b x i b S o C i b , max , b E , i B , t H
b E i B x i b = N b max
where p i , t represents the power generation in the slack source and p i , t d g the power injection in the renewable energy resource; p i , t b corresponds to the active power injected/absorbed by the BESS connected at node i in period of time t; parameter p i , t d represents the power consumption at node i in the period of time t; S o C i , t b is the state of charge of the BESS; φ i b represents the battery charge/discharge coefficient; x i b is a binary variable that defines whether a BESS is connected at node i or not; S o C i b , i n i and S o C i b , f i n are the initial and final states of charge of the BESS connected at node i; p i , t min and p i , t max correspond to the minimum and maximum power bounds allowed for generation in the slack source; p i , t d g , min and p i , t d g , max are the lower and upper power injection limits of the renewable energy sources; p i b , min and p i b , max are the nominal capabilities of power absorption/injection in the BESS; v i min and v i max represent the minimum and maximum voltage regulation limits allowed for all the nodes in the network; S o C i b , min and S o C i b , max are the lower and upper state-of-charge bounds for the BESS; and N b max represents the maximum number of BESS available for integration in a monopolar DC network. Note that E is the set that contains all the BESS technologies available.
p i , t Power generation in the slack source connected at node i in the period of time t (W).
p i , t d g Power generation in the distributed generator connected at node i in the period of time t (W).
p i , t b Power generation/absorption in the BESS connected at node i in the period of time t (W).
p i , t d Power demand at node i in the period of time t (W).
S o C i , t b State of charge of the BESS at node i in the period of time t (%).
φ i b Battery charge/discharge coefficient (%/Wh).
x i b Binary variable that defines whether a BESS is connected at node i or not.
S o C i b , i n i Initial state of charge of the BESS at node i (%).
S o C i b , f i n Final state of charge of the BESS at node i (%).
p i , t min Minimum power generation in the slack source connected at node i in the period of time t (W).
p i , t max Maximum power generation in the slack source connected at node i in the period of time t (W).
p i , t d g , min Minimum power generation in the distributed generator connected at node i in the period of time t (W).
p i , t d g , max Maximum power generation in the distributed generator connected at node i in the period of time t (W).
p i , t b , min Minimum power bound allowed for the BESS system at node i in the period of time t (W).
p i , t b , max Maximum power bound allowed for the BESS system at node i in the period of time t (W).
v i min Minimum voltage regulation limit allowed for all the nodes in the network (V).
v i max Maximum voltage regulation limit allowed for all the nodes in the network (V).
S o C i b , min Lower state-of-charge bound for the BESS connected at node i (%).
S o C i b , max Upper state-of-charge bound for the BESS connected at node i (%).
N b max Maximum number of BESS available for integration in a monopolar DC network.
E Set that contains all the BESS technologies available.

2.3. Formulation for the Optimal Placement of Renewable Energy Sources

This optimization model also considers the same objective function as the previous one, i.e., the minimization of the total energy losses costs. The complete set of constraints for this model is presented below:
p i , t + p i , t w + p i , t p v + b E p i , t b p i , t d = v i , t j B G i j v j , t , i B t H
S o C i , t b = S o C i , t 1 b φ i b p i , t b Δ t , b E , i B , t H
S o C i , t 0 b = S o C i b , ini , b E , i B
S o C i , t f b = S o C i b , fin , b E , i B
p i , t min p i , t p i , t max , i B , t H
x i w p i , t w , min p i , t w x i w p i , t w , max , i B , t H
x i p v p i , t p v , min p i , t p v x i p v p i , t p v , max , i B , t H
p i b , min p i , t b p i b , max , b E , i B , t H
v i min v i , t v i max , i B , t H
S o C i b , min S o C i , t b S o C i b , max , b E , i B , t H
i B x i w = N w max
i B x i p v = N p v max .
Unlike the one defined in Equations (1)–(11), in this optimization model, the binary variable x i b is set as 1 in the nodes where these BESS will be assigned. Moreover, there are two new binary variables regarding the optimal integration of renewable generators based on photovoltaic and wind technologies, i.e., x i p v and x i w . In addition to these variables, the power injection in both sources is represented by means of p i , t p v and p i , t w , which includes their minimum and maximum generation bounds p i , t p v , min , p i , t p v , max , p i , t w , min , and p i , t w , max , respectively. N p v max and N w max represent the maximum number of distributed generators available for integration in a monopolar DC network.
x i p v Binary variable that defines whether a PV source is connected at node i or not.
x i w Binary variable that defines whether a wind source is connected at node i or not.
p i , t p v Power generation in the PV source connected at node i in the period of time t (W).
p i , t w Power generation in the wind source connected at node i in the period of time t (W).
p i , t p v , min Minimum power generation in the PV source connected at node i in the period of time t (W).
p i , t d g , max Maximum power generation in the PV source connected at node i in the period of time t (W).
p i , t w , min Minimum power generation in the wind source connected at node i in the period of time t (W).
p i , t w , max Maximum power generation in the wind source connected at node i in the period of time t (W).
N p v max Maximum number of PV sources available for integration in a monopolar DC network.
N w max Maximum number of wind sources available for integration in a monopolar DC network.

2.4. Interpretation of the Optimization Models

The general mathematical formulation given from Equations (1)–(23) represents the exact MINLP formulation for two problems. The first problem corresponds to the optimal selection and location of BESS in monopolar DC networks, whereas the second model defines the optimal siting and sizing of renewable generation sources in monopolar DC networks.

2.4.1. BESS Model Interpretation

In this optimization problem, Equation (1) corresponds to the formulation of the objective function, which is entrusted with defining the total grid energy losses costs for a daily operation scenario; Equation (2) corresponds to the power equilibrium constraint at each node of the network for each period of time; Equation (3) defines the linear behavior of the state of charge of the BESS; Equations (4) and (5) represent the initial and final desired states of charge of the BESS; inequality constraints Equations (6)–(8) define the upper and lower bounds for power generation in the slack source, the renewable energy resources, and the BESS, respectively; inequality constraint Equation (9) is known as the voltage regulation constraint, which corresponds to physical bounds for the voltage magnitudes in all nodes of the network in order to ensure the correct operation of all the devices connected to it; and inequality constraints Equations (10) and (11) define the lower and upper operation bounds for the BESS integrated into the monopolar DC network and the maximum number of batteries that can be installed on the grid, respectively.

2.4.2. Renewable Energy Model Interpretation

In the case of the optimization model for optimal integration of renewable energy systems in a monopolar DC network, the minimization of daily energy losses costs is considered as the objective function, as defined in Equation (1). In addition, the power equilibrium is defined via Equation (12). Equation (13) defines the linear behavior of the state of charge for the batteries connected across the DC network. Equations (4) and (5) represent the initial and final desired states of charge of the BESS. The set of inequality constraints (16)–(19) defines the minimum and maximum power injection bounds in the slack source, the renewable energy resources, and the BESS, respectively. Inequality constraints Equations (20) and (21) have the same interpretation as Equations (9) and (10), respectively. Finally, inequality constraints Equations (22) and (23) define the maximum number for photovoltaic and wind generation sources that can be integrated into the monopolar DC network, respectively.

3. Proposed MIC Reformulation

Mathematical Formulations (1)–(11), (1), and (12)–(23) constitute a general MINLP formulation to integrate BESS and renewable energy sources in monopolar DC networks, even if the objective function is convex, since the conductance matrix G is positive semi-definite and most of the equations are linear or linear-integer. However, the nonlinearity of these models lies in the power equilibrium constraints, i.e., Equations (2) and (12), specifically in the product between the voltage variables on their right-hand side [25].
Note that, in order to obtain an equivalent MIC formulation that represents the exact MINLP models for the studied problems, the McCormick equivalent of the product between two positive variables is employed as initially presented in [19]. To illustrate the equivalent representation of the product of two positive variables, consider Equation (24):
f ( w 1 , w 2 ) = w 1 w 2 .
Now, if we apply Taylor’s series expansion around the linearizing point w 10 , w 20 , the following general expansion of the product between two variables is obtained [18]:
f ( w 1 , w 2 ) = w 20 w 1 + w 10 w 2 + w 10 w 20 + f H . O . T ( w 1 , w 2 , w 10 , w 20 ) ,
where f H . O . T ( w 1 , w 2 , w 10 , w 20 ) are known as the high-order-terms of the Taylor’s series expansion. Note that these terms can be neglected for power flow analysis, since the voltage magnitudes exhibit small variations around the 1.0 value when a per-unit representation is used [18]. Now, by changing the generic variables w 1 and w 2 for the voltage variables v i , t and v j , t , the linear equivalent constraint associated with the power balance at each node of the network for both optimization models is obtained.
p i , t + p i , t d g + b E p i , t b p i , t d = j B G i j ( v i , t v j 0 , t + v i 0 , t v j , t v i 0 , t v j 0 , t ) , i B t H
p i , t + p i , t w + p i , t p v + b E p i , t b p i , t d = j B G i j ( v i , t v j 0 , t + v i 0 , t v j , t v i 0 , t v j 0 , t ) , i B t H
f ( w 1 , w 2 ) General nonlinear function of two variables.
w 1 Auxiliary variable number 1.
w 2 Auxiliary variable number 2.
w 10 Initial value of the auxiliary variable number 1.
w 20 Initial value of the auxiliary variable number 2.
f H . O . T · High-order terms of the Taylor series expansion for a general nonlinear function.
v i 0 , t Initial voltage value at node i for each period of time t (V).
v j 0 , t Initial voltage value at node j for each period of time t (V).
Remark 1.
Once the power balance constraint for each optimization model has been linearized using the McCormick equivalent, the MIC models for both studied problems take the following form:
i. 
The MIC model to select and locate BESS in monopolar DC networks is defined by Equation (1) and the set of constraints Equations (3)–(11), as well as by the linear equivalent power flow Equation (26).
ii. 
The MIC model to place and size renewable energy resources in monopolar DC networks is defined by Equation (1) and the set of constraints Equations (12)–(23), as well as by the linear equivalent power flow Equation (27).

4. Solution Methodology

The objective of this research is to propose a general solution methodology for simultaneously integrating BESS and renewable energy resources in monopolar DC networks. To this effect, an algorithm is proposed which solves the mixed-integer models at the same time by setting the location of the renewable energy sources for the BESS model and the renewable generation one. The proposed algorithmic implementation is presented in Algorithm 1.
Algorithm 1 Simultaneous allocation of BESS and renewable energy sources in monopolar DC networks using MIC models and recursive programming.
Electronics 11 03139 i001
Note that the recursive implementation in Algorithm 1 allows for the simultaneous allocation of BESS and renewable energy sources in monopolar DC networks using convex programming, which ensures that the global optimum is found for each optimization model [26,27]. Note that this algorithmic solution corresponds to the main contribution of this research.

5. Monopolar DC Network under Study

To validate the effectiveness of the proposed MIC models in the optimal integration of distributed energy resources for monopolar DC networks, the 21-bus system was employed. This system was originally proposed by [28] to analyze the convergence of the Newton–Raphson power flow method in DC grids. All the electrical parameters of the 21-bus grid, i.e., the resistances of the distribution lines, and the power consumption during peak hours were taken from [18] and are listed in Table 1. In addition, the electrical configuration of this distribution grid is presented in Figure 1.
To evaluate the daily energy performance, Table 2 presents the values for the demand and energy costs, considering that Δ t is defined as a half-hour, which produces 48 values.
Note that the value of the energy costs is set as COP$/kWh 479.3389, just as in [18] for the same test feeder.
The electrical information of the BESS that can be integrated into the 21-bus grid is reported in Table 3. The batteries are classified using letters A and B according to the expected charging/discharging rates while considering nominal operation. Note that the initial location of these batteries was also taken from [18].
For this test feeder, the existence of two renewable energy resources was considered: one of them with wind technology and the other one with photovoltaic generation. The nominal sizes of these renewable generators is presented in Table 4, along with their initial locations. Their expected daily behavior is listed in Table 5.

6. Numerical Implementation and Results

The implementation of the MIC model was prepared and executed on a desktop computer with an AMD Ryzen 5 3600 6-Core 3.56 GHz processor and 16 GB RAM running a 64-bit version of Windows 10. The Matlab R2021b software was used with Gurobi version 9.5.1. The exact MINLP model was solved using the General Algebraic Modeling System (GAMS) software (GAMS Development Corp., Fairfax, VA, USA) (version 23.5) and the BONMIN solver.
Remark 2.
The operation of the batteries for all scenarios was set while considering that these BESS will have maintained 50% of their energy stored at the beginning and the end of a day.
To validate the proposed recursive convex model to locate and size distributed energy resources in monopolar DC networks, four simulation cases were considered as presented below.
  • Case 1: The initial locations of the BESS and renewable energy sources are maintained as indicated in Table 3 and Table 4. The exact MINLP model and the MIC approximation are evaluated with the binary variables fixed. These solutions provide the reference cases for both models.
  • Case 2: This simulation case employs the proposed MIC model to find the optimal location of the BESS. These locations are set in the exact MINLP model in order to determine the exact value of the objective function.
  • Case 3: This simulation case employs the proposed MIC model to optimally allocate the renewable energy resources. These locations are set in the exact MINLP model in order to determine the exact value of the objective function.
  • Case 4: The simultaneous location of the BESS and the renewable energy sources is found via the recursive implementation in Algorithm 1. These locations are set in the exact MINLP model in order to determine the exact value of the objective function.
These cases were proposed to assess the efficiency of the integer-mixed convex model when locating BESS and renewable sources. The results were compared while regarding each problem as independent and considering the BESS and renewable sources to be simultaneously located.

6.1. Numerical Results for Case 1

This simulation scenario provides the reference case for the proposed MIC model and the exact MINLP formulation when the original location of the BESS and renewable sources are maintained (Table 3 and Table 4). The electrical behavior of the BESS for this simulation case is presented in Figure 2.
It can be seen in Figure 2 that the deviations between the convex and the exact models are minimal. Also note that the state of charge and discharge of each battery starts and ends at 50% and the maximum charge value between the three batteries is 77.2%, while the lowest value observed is 49.1%. The batteries at nodes 10 and 15 are charged until period 34, after which the stored energy is supplied to the network, while the battery located at node 7 is charged until period 17, after which it delivers energy to the network. These variations show that the batteries depend on the energy demand connected to the distribution network.
Table 6 presents the optimal solutions obtained with the proposed MIC model and the MINLP one. When comparing our proposal with the MINLP model, the estimation error is about 3.90%, which is indeed a minimum error, taking into account that the MIC model is the first approximation of the exact MINLP model [18].

6.2. Numerical Results for Case 2

In this simulation case, the original location of the renewable energy sources is fixed, and the optimization model in Equations (1), (3)–(11), and (26) is implemented in the CVX environment with the Gurobi solver in order to determine the best possible reallocation sizes for the BESS. The numerical results of this simulation case are listed in Table 7. Note that these locations are also set in the MINLP model in order to find the approximation error of our proposal.
The numerical results in Table 7 show that the proposed convex model finds an objective function value of COP$/day 40,202.20 by reallocating all the batteries to different nodes with respect to the benchmark case. The new locations of the BESS are node 21 for the type A battery and nodes 9 and 16 for the type B batteries. Note that, when these new locations are fixed in the exact MINLP model, the final value of the objective function is COP$/day 41,847.61. The estimation error between both models is about 3.93%, which confirms the effective approximation made by the convex model to the exact optimization model.
Remark 3.
By comparing the solution values for the MINLP model in Cases 1 and 2, it is observed that the improvement of the objective function is about 11,110.31 Colombian pesos (COP) per day of operation, i.e., an improvement of 20.56% with respect to the benchmark case.

6.3. Numerical Results for Case 3

In this simulation case, the locations of the batteries provided by the benchmark case are fixed (Table 3), and the proposed MIC model finds the optimal locations for the renewable energy sources. Once the convex model is solved, the new locations for the generators are set in the MINLP model in order to find the exact value of the objective function. All the numerical results for this scenario are listed in Table 8.
The numerical results in Table 8 show that the MIC model finds node 10 as the best location for the wind generators (originally at node 12) and node 15 for the PV source (originally at node 21), i.e., the generators must be moved to achieve a better performance regarding the objective function value. Note that this value, as approximated with the MIC model, was COP$/day 28,693.60. However, when the new locations of the generation sources were evaluated in the MINLP model, the final objective function value was COP$/day 29,697.73. These results imply an estimation error of 3.38%, thus confirming the efficiency of the proposed MIC model at approximating the exact solution of the studied problem.
Remark 4.
By comparing the solution values for the MINLP model in Cases 1 and 3, it is observed that the improvement of the objective function is about COP$/day 23260.19, i.e., an improvement of 43.33% with respect to the benchmark case. This result confirms that there is a better set of nodes to install all the renewable energy resources, with important contributions to the total costs of the energy losses per day of operation.

6.4. Numerical Results for Case 4

This simulation scenario corresponds to the simultaneous allocation of BESS and renewable energy sources in the monopolar DC network while considering the recursive implementation illustrated in Algorithm 1. This simulation case starts by fixing the location of the renewable energy resources and finding the location of the batteries. Then, the location of the BESS is fixed, and the location of the renewable sources is found. This process is repeated until the location of BESS and the renewables remains unaltered, as this will be the optimal solution of the problem. The search process of the aforementioned methodology is listed in Table 9, along with its numerical results.
The numerical results in Table 9 show that, after four iterations, the location of the BESS and renewable energy sources is not further modified. The wind generator is assigned to node 10, the photovoltaic source to node 16, the type A battery to node 16, and the type B BESS to nodes 9 and 16. Note that the final objective function value at iterations 4 and 5 differs by about COP 5, even though the locations of the generators and the BESS are the same. This behavior is due to the fact that the model for iteration 4 determines the location of the generators by fixing the BESS, while the model for iteration 5 fixes the location of the generators and determines the location of the BESS.
Note that, in order to verify the efficiency of the proposed recursive model at locating renewables and batteries in monopolar DC networks, the final location of both devices (see row with iteration 5 in Table 9) is evaluated in the exact MINLP model to find the final exact value of the objective function. These results are listed in Table 10.
Note that the estimation error between the exact MINLP model and the proposed MIC model is just 3.02% regarding the final objective function values. This result confirms that the proposed convex model is efficient at solving problems regarding distributed energy resource allocation in monopolar DC networks.
Remark 5.
By comparing the solution values for the MINLP model in Cases 1 and 4, it is observed that the improvement of the objective function is about COP 28,222.94 per day of operation, i.e., an improvement of 53.29% with respect to the benchmark case. This result demonstrates that, for the 21-bus grid, there is a better combination of nodes to locate BESS and renewables than the benchmark case reported in [18].
To illustrate the effectiveness of the MIC model at operating all the batteries in the 21-bus system, Figure 3 compares the daily operation of the batteries in nodes 9, 12, and 16. Notice that, as expected, all the batteries begin and end the day with 50% states of charge.
On the other hand, changes in the daily operation of the batteries between Cases 1 and 4 are also observed (compare Figure 2 and Figure 3). Note, for example, that the batteries at nodes 9 and 12 now have state-of-charge peaks of 79.10 and 76.40% in simulation Case 4. In addition, starting at period of time 18, both batteries (Figure 3a,b) begin their discharging process. The most noticeable change is observed in Figure 3c. This battery is located in the same node as the photovoltaic source, and its state of charge and discharge is affected by it (location of the PV source), obtaining the maximum discharge in period 33, which was not observed in any of the graphs for the batteries presented in Figure 3. In addition, these graphs have a more pronounced behavior (higher slopes), which implies that the impact of the batteries on the DC network is even greater. This is why a reduction percentage of 53.29% was observed with respect to Case 1, which, in turn, demonstrates the effectiveness of the proposed model.

6.5. Summary of the Methodology

To illustrate the effect of placing the battery energy storage systems and the renewable energy resources on the objective function value, Figure 4 presents the daily behavior of the objective function for all the cases studied in the previous section.
Figure 4 presents the costs of the energy losses for all the cases considered regarding the location of BESS and renewable generators. Note that the area below each curve shows that the objective function is directly influenced by the position of the batteries and renewable energy sources. The main characteristic of the curves in Figure 4 is that the distributed energy resources can reduce the peak of the energy losses curves and flatten the curve, which is mainly associated with a better redistribution of the energy flow across the DC network due to the better locations of the distributed energy resources.

7. Conclusions and Future Work

This paper presented two MIC models for locating BESS and renewable energy sources in monopolar DC networks, which correspond to the convex approximations of the exact MINLP models for these problems. The main advantage of these formulations is that they ensure that the global optimum is found in MIC models by combining the Branch and Cut method with interior points, given the convexity of the solution space for each combination of binary variables. In addition, when the solution of the proposed MIC models was tested against the exact MINLP formulation, the estimation error of the objective function was lower than 4.0% in all simulation cases, which clearly confirms the effectiveness of the proposed models in solving the location of distributed energy resources for monopolar DC networks.
The following remarks can be made according to the numerical results of the four tested cases: (i) all the simulation cases show that, with respect to the benchmark case, there were improvements in the final expected daily energy losses costs; (ii) the best scenarios for objective function minimization where Cases 3 and 4, where renewable generators are located by fixing battery positions or both devices are simultaneously allocated (these results confirm that the higher impact on the final objective function is provided by the final location of the renewable energy source in the monopolar DC system); and (iii) the charging/discharging behavior of the BESS is highly influenced by their proximity to the renewable energy resources, since, when both devices are at the same node, the charging/discharging procedure does not contribute to additional energy losses because the energy interchange between both devices is performed in the same node without grid interaction.
Possible future works derived from this article can involve the following: (i) integrating the BESS model and the renewable energy location one into a unique mixed-integer convex model in order to non-iteratively solve the problem regarding the location of both devices, and (ii) proposing an improvement of the McCormick model to approximate the voltage profiles, using a recursive programming model that allows minimizing the estimation error of the objective function between the MINLP model and the MIC ones.

Author Contributions

Conceptualization, methodology, software, and writing (review and editing): J.D.B.-G., A.D.M.-C. and O.D.M. All authors have read and agreed to the published version of the manuscript.

Funding

This work was partially supported by the Proyecto Curricular de Ingeniería Eléctrica (Curricular Electrical Engineering Project) attached to the Department of Engineering of Universidad Distrital Franscisco José de Caldas in Bogotá, Colombia.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

No new data were created or analyzed in this study. Data sharing is not applicable to this article.

Acknowledgments

This work derives from the undergraduate project Selección e integración óptima de baterías y fuentes renovables en sistemas de distribución DC a través de una formulación entera-mixta convexa, presented by the students Ángel David Maldonado-Cárdenas and Jerson Daniel Basto-Gil to the Electrical Engineering Program of the Engineering Faculty at Universidad Distrital Francisco José de Caldas as a partial requirement for obtaining a Bachelor’s degree in Electrical Engineering.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Nandini, K.; Jayalakshmi, N.; Jadoun, V.K. An overview of DC Microgrid with DC distribution system for DC loads. Mater. Today Proc. 2022, 51, 635–639. [Google Scholar] [CrossRef]
  2. Stieneker, M.; Doncker, R.W.D. Medium-voltage DC distribution grids in urban areas. In Proceedings of the 2016 IEEE 7th International Symposium on Power Electronics for Distributed Generation Systems (PEDG), Vancouver, BC, Canada, 27–30 June 2016; IEEE: Piscataway, NJ, USA, 2016. [Google Scholar] [CrossRef]
  3. Montoya, O.D.; Serra, F.M.; Angelo, C.H.D. On the Efficiency in Electrical Networks with AC and DC Operation Technologies: A Comparative Study at the Distribution Stage. Electronics 2020, 9, 1352. [Google Scholar] [CrossRef]
  4. Elattar, E.E.; Elsayed, S.K. Optimal Location and Sizing of Distributed Generators Based on Renewable Energy Sources Using Modified Moth Flame Optimization Technique. IEEE Access 2020, 8, 109625–109638. [Google Scholar] [CrossRef]
  5. Paul, S.; Dey, T.; Saha, P.; Dey, S.; Sen, R. Review on the development scenario of renewable energy in different country. In Proceedings of the 2021 Innovations in Energy Management and Renewable Resources (52042), Kolkata, India, 5–7 February 2021; IEEE: Piscataway, NJ, USA, 2021. [Google Scholar] [CrossRef]
  6. kumar Nath, U.; Sen, R. A Comparative Review on Renewable Energy Application, Difficulties and Future Prospect. In Proceedings of the 2021 Innovations in Energy Management and Renewable Resources (52042), Kolkata, India, 5–7 February 2021; IEEE: Piscataway, NJ, USA, 2021. [Google Scholar] [CrossRef]
  7. Staffell, I.; Pfenninger, S. The increasing impact of weather on electricity supply and demand. Energy 2018, 145, 65–78. [Google Scholar] [CrossRef]
  8. Dostál, Z.; Ladányi, L. Demands on energy storage for renewable power sources. J. Energy Storage 2018, 18, 250–255. [Google Scholar] [CrossRef]
  9. Guerrero, J.; Blaabjerg, F.; Zhelev, T.; Hemmes, K.; Monmasson, E.; Jemei, S.; Comech, M.; Granadino, R.; Frau, J. Distributed Generation: Toward a New Energy Paradigm. IEEE Ind. Electron. Mag. 2010, 4, 52–64. [Google Scholar] [CrossRef]
  10. Sibtain, D.; Murtaza, A.F.; Ahmed, N.; Sher, H.A.; Gulzar, M.M. Multi control adaptive fractional order PID control approach for PV/wind connected grid system. Int. Trans. Electr. Energy Syst. 2021, 31, e12809. [Google Scholar] [CrossRef]
  11. Magaldi, G.L.; Serra, F.M.; de Angelo, C.H.; Montoya, O.D.; Giral-Ramírez, D.A. Voltage Regulation of an Isolated DC Microgrid with a Constant Power Load: A Passivity-Based Control Design. Electronics 2021, 10, 2085. [Google Scholar] [CrossRef]
  12. Grisales, L.F.; Grajales, A.; Montoya, O.D.; Hincapie, R.A.; Granada, M.; Castro, C.A. Optimal location, sizing and operation of energy storage in distribution systems using multi-objective approach. IEEE Lat. Am. Trans. 2017, 15, 1084–1090. [Google Scholar] [CrossRef]
  13. Gil-González, W.; Montoya, O.D.; Grisales-Noreña, L.F.; Cruz-Peragón, F.; Alcalá, G. Economic Dispatch of Renewable Generators and BESS in DC Microgrids Using Second-Order Cone Optimization. Energies 2020, 13, 1703. [Google Scholar] [CrossRef]
  14. Akinyele, D.; Rayudu, R. Review of energy storage technologies for sustainable power networks. Sustain. Energy Technol. Assess. 2014, 8, 74–91. [Google Scholar] [CrossRef]
  15. Shaqsi, A.Z.A.; Sopian, K.; Al-Hinai, A. Review of energy storage services, applications, limitations, and benefits. Energy Rep. 2020, 6, 288–306. [Google Scholar] [CrossRef]
  16. Olabi, A.; Onumaegbu, C.; Wilberforce, T.; Ramadan, M.; Abdelkareem, M.A.; Alami, A.H.A. Critical review of energy storage systems. Energy 2021, 214, 118987. [Google Scholar] [CrossRef]
  17. Karanja, J.M.; Hinga, P.K.; Ngoo, L.M.; Muriithi, C.M. Optimal Battery Location for Minimizing the Total Cost of Generation in a Power System. In Proceedings of the 2020 IEEE PES/IAS PowerAfrica, Nairobi, Kenya, 25–28 August 2020; IEEE: Piscataway, NJ, USA, 2020. [Google Scholar] [CrossRef]
  18. Serra, F.M.; Montoya, O.D.; Alvarado-Barrios, L.; Álvarez-Arroyo, C.; Chamorro, H.R. On the Optimal Selection and Integration of Batteries in DC Grids through a Mixed-Integer Quadratic Convex Formulation. Electronics 2021, 10, 2339. [Google Scholar] [CrossRef]
  19. Montoya, O.D. A convex OPF approximation for selecting the best candidate nodes for optimal location of power sources on DC resistive networks. Eng. Sci. Technol. Int. J. 2020, 23, 527–533. [Google Scholar] [CrossRef]
  20. Wong, L.A.; Ramachandaramurthy, V.K. Optimal Allocation of Battery Energy Storage System Using Whale Optimization Algorithm. In Proceedings of the 2021 International Conference on Electrical, Computer, Communications and Mechatronics Engineering (ICECCME), Mauritius, Mauritius, 7–8 October 2021. [Google Scholar]
  21. Home-Ortiz, J.M.; Pourakbari-Kasmaei, M.; Lehtonen, M.; Mantovani, J.R.S. Optimal location-allocation of storage devices and renewable-based DG in distribution systems. Electr. Power Syst. Res. 2019, 172, 11–21. [Google Scholar] [CrossRef]
  22. Grisales-Noreña, L.; Montoya, O.D.; Ramos-Paja, C.A. An energy management system for optimal operation of BSS in DC distributed generation environments based on a parallel PSO algorithm. J. Energy Storage 2020, 29, 101488. [Google Scholar] [CrossRef]
  23. Gil-González, W.; Montoya, O.D.; Holguín, E.; Garces, A.; Grisales-Noreña, L.F. Economic dispatch of energy storage systems in dc microgrids employing a semidefinite programming model. J. Energy Storage 2019, 21, 1–8. [Google Scholar] [CrossRef]
  24. Kerdphol, T.; Tripathi, R.N.; Hanamoto, T.; Qudaih, Y.; Mitani, Y. ANN based optimized battery energy storage system size and loss analysis for distributed energy storage location in PV-microgrid. In Proceedings of the 2015 IEEE Innovative Smart Grid Technologies—Asia (ISGT ASIA), Bangkok, Thailand, 3–6 November 2015; IEEE: Piscataway, NJ, USA, 2015. [Google Scholar] [CrossRef]
  25. Li, J.; Liu, F.; Wang, Z.; Low, S.H.; Mei, S. Optimal Power Flow in Stand-Alone DC Microgrids. IEEE Trans. Power Syst. 2018, 33, 5496–5506. [Google Scholar] [CrossRef]
  26. Ploskas, N.; Sahinidis, N.V. Review and comparison of algorithms and software for mixed-integer derivative-free optimization. J. Glob. Optim. 2021, 82, 433–462. [Google Scholar] [CrossRef]
  27. Torres, J.J.; Li, C.; Apap, R.M.; Grossmann, I.E. A Review on the Performance of Linear and Mixed Integer Two-Stage Stochastic Programming Software. Algorithms 2022, 15, 103. [Google Scholar] [CrossRef]
  28. Garcés, A. On the Convergence of Newton’s Method in Power Flow Studies for DC Microgrids. IEEE Trans. Power Syst. 2018, 33, 5770–5777. [Google Scholar] [CrossRef] [Green Version]
Figure 1. Grid configuration of the 21-bus system.
Figure 1. Grid configuration of the 21-bus system.
Electronics 11 03139 g001
Figure 2. Comparison between exact the MINLP model and the proposed MIC model for Case 1: (a) S o C for battery at node 7, (b) S o C for battery at node 10, and (c) S o C for battery at node 15.
Figure 2. Comparison between exact the MINLP model and the proposed MIC model for Case 1: (a) S o C for battery at node 7, (b) S o C for battery at node 10, and (c) S o C for battery at node 15.
Electronics 11 03139 g002
Figure 3. Comparison between the exact MINLP model and the proposed MIC one for Case 4: (a) S o C for battery at node 9, (b) S o C for battery at node 12, and (c) S o C for battery at node 16.
Figure 3. Comparison between the exact MINLP model and the proposed MIC one for Case 4: (a) S o C for battery at node 9, (b) S o C for battery at node 12, and (c) S o C for battery at node 16.
Electronics 11 03139 g003
Figure 4. Daily behavior of the energy losses costs in the 21-bus grid as a function of the location of the distributed energy resources.
Figure 4. Daily behavior of the energy losses costs in the 21-bus grid as a function of the location of the distributed energy resources.
Electronics 11 03139 g004
Table 1. Parametric information of the 21-bus grid (the power and voltage bases are 1 kV and 100 kW).
Table 1. Parametric information of the 21-bus grid (the power and voltage bases are 1 kV and 100 kW).
Node iNode j R ij (pu) P j (pu)Node iNode j R ij (pu) P j (pu)
1 (slack)20.00530.7011120.00790.68
130.00540.0011130.00780.10
340.00540.3610140.00830.00
450.00630.0414150.00650.20
460.00510.03615160.00640.23
370.00370.0016170.00740.43
780.00790.3216180.00810.34
790.00720.8014190.00780.09
3100.00530.0019200.00840.21
10110.00380.4519210.00810.21
Table 2. Demand and energy cost variations for a typical day of operation.
Table 2. Demand and energy cost variations for a typical day of operation.
Time
(h)
CoE
(pu)
Dem.
(%)
Time
(h)
CoE
(pu)
Dem.
(%)
Time
(h)
CoE
(pu)
Dem.
(%)
0.50.8105348.50.92636216.50.973790
1.00.7789289.00.94216817.0190
1.50.7474229.50.95797217.50.994790
2.00.73682210.00.95797818.00.989590
2.50.72632210.50.95798418.50.973786
3.00.73162011.00.95798619.00.957984
3.50.73681811.50.95799019.50.952692
4.00.74741812.00.95269220.00.9474100
4.50.75791812.50.94749420.50.921198
5.00.80002013.00.94749421.00.894794
5.50.84212213.50.94219021.50.868490
6.00.87892614.00.93688422.00.842184
6.50.91582814.50.94218622.50.794776
7.00.93683415.00.94749023.00.747468
7.50.95794015.50.94749023.50.721158
8.00.94215016.00.94749024.00.694750
Table 3. BESS information.
Table 3. BESS information.
NodeType ϕ b p b , max p b , min
7A0.06254−3.2
10B0.08133.2−2.4616
15B0.08133.2−2.4616
Table 4. Nominal sizes of the renewable energy sources.
Table 4. Nominal sizes of the renewable energy sources.
NodeType P max (pu) P min (pu)
12Wind2.21520
21Photovoltaic2.81580
Table 5. Daily behavior of the renewable energy resources.
Table 5. Daily behavior of the renewable energy resources.
Period
(h)
P w (pu) P pv
(pu)
Period
(h)
P w (pu) P pv
(pu)
Period
(h)
P w
(pu)
P pv
(pu)
0.50.630308.50.82710.040316.50.98920.4193
1.00.619409.00.85230.134417.00.96520.2784
1.50.609809.50.87880.271017.50.92440.1373
2.00.6050010.00.90640.367318.00.86070.0374
2.50.6122010.50.93280.458418.50.77430.0007
3.00.6411011.00.95200.612519.00.72510
3.50.6927011.50.96400.813419.50.71670
4.00.7395012.00.97000.912220.00.71670
4.50.7779012.50.97480.963320.50.72510
5.00.7887013.00.97841.000021.00.72630
5.50.7671013.50.98320.958221.50.71790
6.00.7479014.00.98800.879122.00.70950
6.50.7287014.50.99400.730822.50.69870
7.00.7371015.00.99880.764523.00.69150
7.50.7731015.51.00000.686623.50.68670
8.00.80310.001616.00.99640.589324.00.68310
Table 6. Numerical results for the MIC and MINLP models in Case 1.
Table 6. Numerical results for the MIC and MINLP models in Case 1.
ModelBESS’ LocationGenerators’ LocationCosts (COP$/Day)Error (%)
MINLP7 (A), 10 (B), 15 (B)12 (Wind), 21 (PV)52,957.920
MIC7 (A), 10 (B), 15 (B)12 (Wind), 21 (PV)50,890.103.90
Table 7. Numerical results for the MIC and MINLP models in Case 2.
Table 7. Numerical results for the MIC and MINLP models in Case 2.
ModelBESS’ LocationGenerators’ LocationCosts (COP$/Day)Error (%)
MINLP21 (A), 9 (B), 16 (B)12 (Wind), 21 (PV)41,847.610
MIC21 (A), 9 (B), 16 (B)12 (Wind), 21 (PV)40,202.203.93
Table 8. Numerical results for the MIC and MINLP models in Case 3.
Table 8. Numerical results for the MIC and MINLP models in Case 3.
ModelBESS’ LocationGenerators’ LocationCosts (COP$/Day)Error (%)
MINLP7 (A), 10 (B), 15 (B)10 (Wind), 15 (PV)29,697.730
MIC7 (A), 10 (B), 15 (B)10 (Wind), 15 (PV)28,693.603.38
Table 9. Search process for the simultaneous allocation of BESS and renewables in monopolar DC networks using MIC models and recursive programming.
Table 9. Search process for the simultaneous allocation of BESS and renewables in monopolar DC networks using MIC models and recursive programming.
IterationGen. LocationBESS’ LocationCosts (COP$/Day)Gen. ModelBESS’ Model
1Wind:12, PV:21A:21, B:9, B:1640,202.2
2Wind:11, PV:16A:21, B:9, B:1625,075.0
3Wind:11, PV:16A:16, B:9, B:1224,438.5
4Wind:10, PV:16A:16, B:9, B:1223,993.2
5Wind:10, PV:16A:16, B:9, B:1223,987.3
Table 10. Numerical results for the MIC and the MINLP models in Case 4.
Table 10. Numerical results for the MIC and the MINLP models in Case 4.
ModelBESS’ LocationGenerators’ locationCosts (COP$/Day)Error (%)
MINLP16 (A), 9 (B), 12 (B))10 (PW), 16 (PV)24,734.980
MIC16 (A), 9 (B), 12 (B)10 (PW), 16 (PV)23,987.303.02
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Basto-Gil, J.D.; Maldonado-Cardenas, A.D.; Montoya, O.D. Optimal Selection and Integration of Batteries and Renewable Generators in DC Distribution Systems through a Mixed-Integer Convex Formulation. Electronics 2022, 11, 3139. https://doi.org/10.3390/electronics11193139

AMA Style

Basto-Gil JD, Maldonado-Cardenas AD, Montoya OD. Optimal Selection and Integration of Batteries and Renewable Generators in DC Distribution Systems through a Mixed-Integer Convex Formulation. Electronics. 2022; 11(19):3139. https://doi.org/10.3390/electronics11193139

Chicago/Turabian Style

Basto-Gil, Jerson Daniel, Angel David Maldonado-Cardenas, and Oscar Danilo Montoya. 2022. "Optimal Selection and Integration of Batteries and Renewable Generators in DC Distribution Systems through a Mixed-Integer Convex Formulation" Electronics 11, no. 19: 3139. https://doi.org/10.3390/electronics11193139

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