1. Introduction
Monopolar DC networks are efficient electrical systems that utilize DC technology at all voltage levels [
1,
2]. These grids can be constructed for high voltage levels, i.e., transmission lines to interconnect large-scale power systems with different frequencies, as well as extra-large transmission lines to transfer thousands of megawatts for distances larger than 1000 km [
3,
4]. In addition, DC networks can also be constructed for medium- and low-voltage levels to distribute energy to all end users while improving voltage quality and reducing the total grid energy losses [
5,
6]. The main advantage of using DC instead of AC technology to provide the electrical service at medium- and low-voltage levels is the fact that there is no reactive power and frequency in these systems [
7], which makes these grids efficient in terms of energy losses, as well as easy to control, because power flows and voltages are the only variables of interest in these grids [
8,
9].
One of the greatest challenges in the operation of monopolar DC networks is the efficient integration of distributed energy resources, given that, as in the case of AC networks, these devices must be effectively coordinated in order to extract their greatest benefit [
10]. This research aims to propose an efficient energy management system (EMS) for batteries interconnected in monopolar DC networks with a high penetration of renewable energy resources based on photovoltaic (PV) generation technology. The main goal to obtain the best generation outputs and energy-storage profiles to minimize the expected grid energy losses. Note that, even though the daily energy losses can be a secondary optimization objective in electrical networks with multiple distributed energy resources, the nonlinear structure of this optimization problem can be used to propose new solution methodologies that include economic and environmental analyses, in which PV plants and battery energy storage systems (BESS) can play an essential role in their efficient operation. In the current literature, there are many studies on the optimal integration and operation of dispersed generation units in monopolar DC networks [
11], some of which are presented below.
The authors of [
12] proposed a mixed-integer quadratic convex formulation to locate dispersed generation sources and select BESS systems in monopolar DC distribution networks. The nonconvex equations regarding power balance were relaxed by using the McCormick approximation of the product of two variables. Numerical results in the 21-bus grid demonstrated the effectiveness of the proposed mixed-integer convex model to locate distributed energy resources in comparison with the exact mixed-integer nonlinear programming model solved in the GAMS software. However, the authors did not propose any alternative to minimize the errors introduced by the McCormick approximation in the final calculation of the objective function. The study by [
11] provided a detailed analysis of the possibility of supplying a part of the electrical energy consumption of residential users in Bogotá, Colombia based on the benefits granted by Law 1715 of 2014. It studied two different residential consumers (strata 2 and 3 of the Colombian socioeconomic scale, with 1 being the lowest level), considering a PV penetration between 10 and 100% of their self-consumption. Numerical results demonstrated positive profits perceived by the users during the first year of operating their PV residential systems. In [
13], the authors presented a semidefinite programming model by which to operate distributed energy resources in monopolar DC networks. The main advantage of semi-definite programming is that it belongs to the family of the convex optimization techniques, which ensures that the optimum global for the studied problem is found. Numerical results in the 21-node grid demonstrated the effectiveness of the proposed convex formulation in comparison with the solution of the exact NLP model in the GAMS software. However, the main flaw of semidefinite programming corresponds to the quadratic increment of the model variables, as it works in the space of the semidefinite matrices. The authors of [
14] proposed a convex approximation methodology to operate wind power and PV generation in medium-voltage DC distribution grids. Numerical results in two test feeders composed of 10 and 39 buses confirmed the effectiveness of the proposed convex model in comparison with their solution via specialized commercial tools. However, the authors focused on the stability analysis of the system while considering uncertainties in renewable energy resources. They did not resolve an optimization problem for an operation horizon because their interest was in observing the stability of the distribution network when it undergoes sudden variations in renewable generation.
In light of the reviewed state of the art, the main contributions of this research are as follows:
- i.
The reformulation of the NLP model that describes the EMS system for PV generation units and BESS in monopolar DC networks as a quadratic convex approximation by using the McCormick approximation of the product of two variables.
- ii.
The application of an iterative solution of the proposed convex model to minimize/eliminate the error induced by the McCormick approximation by using a recursive solution approach.
Note that the scope of this research does not include the possible uncertainties in PV generation and demand, which are considered to be well-known inputs for the NLP model that represents the EMS system. Nevertheless, more research is required regarding the stochastic nature of the demand profile and generation input as a function of the weather conditions and the type of the day under analysis (working day or weekend). In addition, the main difference of the current proposal with respect to the convex approximation proposed by the authors of [
12] is that, in this research, the McCormick approximation is recursively evaluated to minimize the error induced by the approximation of the product of two variables while using a linear equivalent approximation, which was not implemented by the mixed-integer quadratic approximation employed in [
12] for the efficient integration of dispersed generation sources and BESS systems in monopolar DC networks.
The rest of this paper is organized as follows.
Section 2 presents the exact nonlinear programming (NLP) model to represent the optimal dispatch of PV generation units and BESS in monopolar distribution systems with the purpose of minimizing daily energy losses.
Section 3 describes the proposed McCormick approximation to transform the product of two variables into an affine plane that allows one to turn the exact NLP model into a convex approximated one. In addition, a recursive procedure is implemented to minimize/eliminate the estimation errors introduced by the linear approximation.
Section 4 presents the general characterization of the test feeder, which corresponds to the DC version of the IEEE 33-node grid adapted for operating with information regarding PV generation and demand consumption in the city of Medellín (Colombia).
Section 5 describes all the numerical validations, including four different simulation scenarios and some comparative analyses with combinatorial optimization methods. Finally,
Section 6 presents the main conclusions from this research and possible future developments.
2. Exact NLP Formulation
The problem regarding the optimal operation of BESS in monopolar DC distribution networks with a high presence of renewable generation systems can be represented as an NLP formulation, in which the objective function corresponds to the minimization of the expected costs of the daily energy losses, and the main constraints (i.e., the nonlinear constraints) include the power balance equation at each node of the grid. The complete mathematical formulation of the studied problem is presented from (
1) to (
10):
This NLP model has the following interpretation. The objective function in (
1) corresponds to the expected energy loss costs caused by all the resistive effects of the distribution lines that compose the monopolar DC network. The equality constraint (
2) is the application of Tellegen’s second theorem to each node of the grid. This constraint corresponds to the power equilibrium at each node of the network (a combination of Kirchhoff’s first and second laws) [
15,
16]. Equality constraint (
3) corresponds to the relationship between the state of charge in a battery and its power consumption/generation, which is modeled linearly, as proposed by the authors of [
17] through a charge/discharge coefficient. Equality constraints (
4) and (
5) refer to the initial and final states of charge assigned to the batteries by the distribution company at the beginning and end of the operation horizon. Box-type constraints (
6)–(
8) are associated with the minimum and maximum operation bounds regarding power injection in the slack node, dispersed generators, and batteries, respectively. Inequality constraint (
9) is related to the voltage regulation bounds assigned by the regulating bodies in order to ensure that the energy service received by the end users is adequate in terms of quality and waveform. Finally, box-type constraint (
10) is associated with the energy-storage capabilities of the BESS systems, which are defined as a function of the state-of-charge indicator.
The main characteristics of the geometrical structure of the NLP model (
1)–(
10), which represents the EMS for operating BESS and renewable energy resources in distribution systems, are the following:
- i.
The objective function in (
1) corresponds to a nonlinear function belonging to the family of convex functions, given the properties of the conductance matrix
G, which is a semidefinite matrix [
7]. Note that this matrix fulfills the semidefinite condition if and only if all the nodes are connected at least in radial form, i.e., if the distribution system has no isolated nodes or areas [
7].
- ii.
The set of constraints (
3)–(
10) corresponds to affine and box-type constraints that pertain to the family of convex constraints.
- iii.
The power balance constraint in (
2) is a set of nonlinear equations that are nonconvex given the product between voltage variables. This nonlinearity turns the optimization model (
1)–(
10) into a nonconvex optimization problem.
Remark 1. To address the nonconvex structure of the problem pertaining the optimal of PV generation and BESS in monopolar DC networks, this work proposes a recursive approximation model that employs the McCormick approximation of the product of two positive variables, as presented in the next section.
5. Computational Validation
This section presents all the computation validations of the proposed convex model for operating BESS and PV sources in monopolar DC networks, as well as some numerical comparisons with combinatorial optimization methods.
5.1. Software and Simulation Scenarios
For the computational validation, the MATLAB software (version
) was used on a PC with an AMD Ryzen 7 3700
GHz processor and 16.0 GB RAM running a 64-bit version of Microsoft Windows 10 Single Language. The solution of the recursive convex approximation (
13) was obtained via the convex disciplined tool environment (CVX) of MATLAB, using the SEDUMI and SDPT3 solvers. Note that, in these simulation scenarios, the value of the energy losses was evaluated, i.e.,
, in order to make comparisons with some literature reports that use energy losses instead of their costs as a performance indicator.
Different scenarios were considered for operating BESS and PV generation units in monopolar DC networks, as shown below:
- i.
S1: The operation of the monopolar DC network, considering that the PV sources and the BESS are not connected to the grid.
- ii.
S2: The operation of the monopolar DC network, only considering the optimal dispatch of the BESS.
- iii.
S3: The operation of the monopolar DC network, only considering that the PV generation units are dispatched.
- iv.
S4: The operation of the monopolar DC network, considering that the PV generation units and the BESS are simultaneously dispatched.
5.2. Evaluation of the Proposed Simulation Scenarios
Table 3 presents the comparative analysis of all the proposed simulation scenarios.
From these results, the following remarks can be made. (i) When the batteries are dispatched without considering the injection of power by dispersed sources, the energy loss reduction is about
, which is a small value. However, this implies that these batteries store energy for the slack source when the demand curve is low, and they return this energy when the demand is high in order to help the slack source to compensate the total grid energy losses. (ii) When the PV sources are dispatched in
S3, an important reduction in the total grid energy losses can be noted (about
, i.e., 961.4251 kWh/day). This is an expected result, as the PV sources are dispatched under the optimal power flow concept, i.e., the definition of the power outputs in all the generation systems with the aim to minimize the total grid power losses of each period [
25]. (iii) When the PV generation sources and the BESS have been simultaneously dispatched in
S4, there is a positive effect of using batteries for storing the energy surplus of PV generation, to later inject this energy in the grid when the demand is high and the renewable generation is null. When comparing
S3 and
S4, an additional reduction in the energy losses can be noted (about
, i.e.,
kWh/day). (iv) Regarding processing times, as expected,
S4 spends significant processing time resources (about
s), as it combines the highest number of variables in the studied problem by defining the PV generation output in each of the generation sources and the batteries’ power injection with its corresponding state-of-charge variables. Nevertheless, this time is minimal when it comes to defining the expected day-ahead operation of the monopolar DC grid (i.e., 24 h), which implies that multiple simulations can be done prior to the utility company’s definition of the final operation plan.
Now, to illustrate the effect of the recursive approximation on the minimization of the error induced by the McCormick approximation in the power balance constraints, as presented in
Figure 1, the logarithmic value of the error in (
14) is presented in
Figure 5.
The behavior of the convergence error in
Figure 5 allows one to note that (i) in S1 the convergence is quadratic, which is expected behavior, as this simulation scenario solves the classical power flow problem by using the McCormick approximation, a Taylor-based numerical method from the family of the Newton–Raphson approaches [
26]; (ii) in
S2, a linear convergence behavior is observed, which can be attributed to the fact that the optimal dispatch of the BESS without dispersed generation has small effects on the final objective function value, i.e., small variations in the grid voltage profiles, which allows the proposed recursive convex approximation to deal with the solution in a linear way; and (iii) in
S3 and
S4, the behaviors of the convergence error do not evidence a clear tendency, which is due to their variations. In some interactions, it increases with respect to the value of the previous iteration, but these oscillations in the convergence error can be attributed to the higher degrees of freedom when the PV sources and batteries are dispatched, given that the number of variables increase considerably with respect to S1 and S2. However, more research is required regarding the convergence properties of recursive optimization models. To confirm that all the numerical results reached in each one of the proposed simulation scenarios, the NLP model of the problem under study was implemented with the GAMS software with its BONMIN solver (see [
17]), and these evaluations confirm the effectiveness of the proposed RCA model by reaching the same results reported in
Table 3.
5.3. Comparative Analysis with EMS for PV Sources
To validate the effectiveness of the recursive convex formulation to dispatch PV generators and batteries, this section presents the comparative results of
S3 against multiple combinatorial optimizers reported in [
20]. These combinatorial optimizers are the multiverse optimization (MVO) approach, the particle swarm optimizer (PSO), the crow search algorithm (CSA), and the salp swarm algorithm (SSA). This comparative analysis is reported in
Table 4. Note that the metric associated with the average processing time corresponds to the mean time obtained after 100 consecutive evaluations of all the solution methodologies, including the proposed iterative convex approximation method.
The results in
Table 4 show the following.
- i.
The best combinatorial optimization methodology to define the optimal dispatch of the PV generation sources in the DC monopolar network is the SSA approach, which allowed for a reduction of about concerning the benchmark case.
- ii.
The remaining metaheuristic optimizers are stuck in local optima, with the CSA and PSO approaches being the worst (with reductions of and regarding to the benchmark case). The MVO approach found a near-optimal solution compared to the SSA approach, with a difference of about kWh/day.
- iii.
Even though the SSA approach is the best combinatorial optimization method, it is also stuck in a local optimum when compared to the proposed recursive convex approximation, as the best possible solution regarding the energy losses value at the end of the day is kWh/day, which implies that the SSA approach has a small difference in favor of the proposed approach (about kWh/day).
Regarding processing times, it was observed that the proposed approach requires about s to find the optimal global solution, while the time spent by the combinatorial optimizers oscillates between s and s. These simulation times confirm that the best optimization method is indeed the proposed convex approximation, as it finds the global optimum in a time similar to that of the SSA approach, which is the best combinatorial optimizer.
Remark 4. The main advantage of the proposed recursive convex approximation is that, due to the convex nature of the solution space (see the mathematical model (13)), each solution via interior-point methods with a logarithmic barrier always reaches the same numerical solution (global optimum). In contrast, the combinatorial optimization methods require statistical evaluations in order to ensure their average behavior [20]. 5.4. Complementary Analysis
This subsection presents two complementary analyses to confirm the effectiveness and robustness of the convex optimization model for designing efficient EMS while including renewables, conventional sources, and BESS. The first analysis compares the proposed convex model with three combinatorial optimization methods, and the second one includes modifying the DC version of the IEEE 33-node grid, including a diesel generator and a wind power source.
5.4.1. Comparative Results with Combinatorial Optimization Methods
Three combinatorial optimization methods with paralleled processes were implemented in order to demonstrate the effectiveness of the convex approximation method based on the McCormick approximation: the parallel antlion optimizer (PALO), the parallel vortex search algorithm (PVSA), and the parallel particle swarm optimizer (PPSO). In addition, this analysis considered that the PV generation units were reallocated at nodes 13, 25, and 30, with nominal power rates of 1125, 1320, and 999 kW, respectively. The main characteristic of this comparative analysis is that all the PV plants were dispatched by using maximum power point tracking (MPPT), i.e., they perfectly follow the expected generation curve in
Figure 2.
Table 5 shows the comparative analysis between the combinatorial optimizers and the proposed convex recursive formulation.
The results in
Table 5 allow one to state the following.
- i.
All the combinatorial optimization methods with paralleled processes are stuck in local optima solutions. The PALO approach is the best option, with an expected reduction of , followed by the PVSA approach, with an expected reduction of 7.6457%. In the case of the PPSO approach, the difference with respect to the PALO approach is only , i.e., 3.50 kWh per day of operation. These results confirm that, in general, the three combinatorial optimizers have a good performance and a small number of differences. However, no one of them ensures that the global optimum is found.
- ii.
The proposed recursive convex approximation finds a reduction concerning the benchmark case of about , which is at least better than the PALO approach, which implies that the proposed approach allows for the reaching of an additional daily reduction of 48.3328 kWh/day in comparison with the PALO approach (the best combinatorial optimizer). In addition, the most important characteristic of the proposed convex approximation is that its solution is the global optimum. This was corroborated by the global nonlinear programming solvers available in the GAMS software.
- iii.
The proposed optimization approach reaches the optimal solution, with a processing time of about 45.6878 s, whereas the best combinatorial optimizer (i.e., the PALO approach) requires approximately 110.2476 s to solve the studied problem. However, due to the random nature of the PALO approach, it is not possible to ensure that the same solution is reached in every execution, which implies that, although the processing time can be considered low for daily economic dispatch studies, the main complication is that the solution reported by this approach can vary for each evaluation, which implies that it is not reproducible. At the same time, the proposed convex approach will always find the exact solution for the same input parameters.
5.4.2. Analysis with Wind and Diesel Generation Sources
To validate the effectiveness and robustness of the proposed optimization methodology for operating BESS in the presence of renewable and conventional energy sources, a modification of the DC version of the IEEE 33-bus system was proposed, including a wind turbine and a diesel generator, as depicted in
Figure 6. For this test system, the PV generators at nodes 12 and 15 have been substituted by a diesel source with a generation capacity of 800 kW and a wind power source with 1750 kW of generation capacity. The remaining PV generator has a nominal generation capacity of 2400 kW. To guarantee that future works can validate the numerical results reported in this proposed simulation,
Table 6 presents the daily demand and renewable generation curves.
In this numerical evaluation, two cases of analysis were considered.
- i.
C1: The evaluation of the proposed convex model, including all the renewable generation sources and a continuous generation of the 600 kW diesel source, i.e., 75% of its nominal capacity for all 24 h of the day.
- ii.
C2: The possibility of dispatching the dispersed generation source between 0 and its nominal capacity at any hour of the day.
Note that, for both simulation cases, the renewable generation sources are optimally dispatched as a function of the grid requirements. Moreover, all the numerical results reported were validated in the GAMS software, and no comparison with metaheuristics was included, because the previous subsection demonstrated that the proposed recursive convex model is the only methodology with the ability to reach the optimal global solution.
Table 7 shows the numerical results for both proposed simulation cases. The benchmark cases correspond to the optimal dispatch of renewables under the conditions imposed for diesel generation without connecting batteries.
The results in
Table 7 allow us to state that (i) the proposed convex optimization methodology can work with multiple generation sources (renewables and diesel) while ensuring that the global optimal solution is found (these results were validated in the GAMS software). In the case of fixed generation in the diesel source, the daily energy losses are approximately
kWh/day, which are reduced by about
kWh/day when this source is optimally dispatched during the day without any generation restriction. Moreover, (ii) batteries allow for additional reductions in the objective functions under analysis (between
and
) when they are optimally dispatched considering fixed and free generation scenarios in the diesel source.
The main result in
Table 7 is that it validates the proposed convex approximation methodology based on a recursive solution approach, which can analyze multiple distributed energy resources in monopolar DC grids with small computational effort (less than 40 s for all the C1 and C2 simulations) in order to ensure their optimal operation while considering different operating conditions, with the main advantage that the convex nature of the solution space allows ensuring that the final solution reported for each case is indeed the global optimum.
6. Conclusions and Future Works
The problem regarding an efficient EMS design for distributed energy resources in monopolar DC distribution grids was solved in this research by transforming the exact NLP model that represents it into a convex approximated model by using the McCormick approximation for the product of two variables. To reduce/eliminate the estimation error in the final objective function value (i.e., the daily energy losses), a recursive solution methodology was introduced, which iteratively updated the value of the voltage profiles until the desired convergence was reached. To confirm the effectiveness of the proposed recursive convex approximation, the DC version of the IEEE 33-bus grid was adapted with information regarding PV generation and demand in the city of Medellín, Antioquia, Colombia. Numerical results considering four simulation scenarios confirmed that (i) when the BESS are operated without considering renewable generation, their effect on the total grid power losses reduction is minimal (reductions of less than ), which is an expected result because these systems must be charged from the substation in periods with low demand, in order to inject power when demand increases, and (ii) when they are optimally dispatched while considering PV generation, the expected reductions in the total energy losses were higher than 50%, thus confirming that the efficient coordination between energy-storage systems and renewable energy resources is a perfect combination to improve the electrical grid performance with regard to the minimization of the total grid energy losses during the operation horizon.
A comparative analysis with different combinatorial optimizers for the optimal operation of PV generation units demonstrated that the proposed recursive convex model could indeed find the global optimum. In contrast, all the combinatorial optimization methods (i.e., MVO, PSO, CSA, and SSA) were stuck in local optima. Regarding the objective function value, the proposed recursive convex approximation found a reduction of approximately
with respect to the benchmark case (optimal solution), only followed by the SSA approach with a similar reduction of approximately
. Nevertheless, the main advantage of our proposal is that, due to the convex nature of the solution space, every time that the optimization model (
13) is solved by using convex tools, the optimal solution will be the same, which is not possible to ensure with combinatorial optimization methods, given their random nature.
Numerical results considering wind-based renewable generation and diesel-based conventional generation confirmed that the proposed RCA allows finding better generation outputs and energy storage profiles as a function of the desired grid operating conditions while considering fixed and variable power generation. The system’s operation, which included batteries, allowed for reductions in the daily energy losses higher than 10% for both simulation cases with respect to the benchmark, confirming that these devices are optimally managed as a function of the grid operating consigns.
In future works, it will be possible to conduct the following studies: (i) extending the proposed recursive convex model to the problem regarding the optimal integration of distributed energy resources, i.e., developing a mixed-integer convex formulation to locate and size PV sources and BESS in monopolar DC networks; (ii) evaluating additional recursive convex models to operate PV generation units and batteries in DC networks, considering generation and demand uncertainties and different kinds of users (i.e., residential, industrial, and commercial); and (iii) including uncertainties in PV generation and demand profiles into the exact NLP model to make the proposed EMS system more realistic in monopolar DC networks by considering the stochastic nature of these parameters.