Abstract
Battery energy storage system (BESS) has already been studied to deal with uncertain parameters of the electrical systems such as loads and renewable energies. However, the BESS have not been properly studied under unbalanced operation of power grids. This paper aims to study the modelling and operation of BESS under unbalanced-uncertain conditions in the power grids. The proposed model manages the BESS to optimize energy cost, deal with load uncertainties, and settle the unbalanced loading at the same time. The three-phase unbalanced-uncertain loads are modelled and the BESSs are utilized to produce separate charging/discharging pattern on each phase to remove the unbalanced condition. The IEEE 69-bus grid is considered as case study. The load uncertainty is developed by Gaussian probability function and the stochastic programming is adopted to tackle the uncertainties. The model is formulated as mixed-integer linear programming and solved by GAMS/CPLEX. The results demonstrate that the model is able to deal with the unbalanced-uncertain conditions at the same time. The model also minimizes the operation cost and satisfies all security constraints of power grid.
ELECTRIC power systems and specifically electric distribution networks often operate under unbalanced condition due to the installation of many single-phase loads as well as the unsymmetrical distribution of three-phase loads on the feeders [
The unbalanced condition is related to the concept of power quality, and several methods have been proposed to reduce the unbalanced level or remove the unbalanced condition. The voltage source inverters are the main technologies to deal with power quality issues. The proper control and operation of the inverters can successfully reduce the unsymmetrical loading level in power grid [
As stated, the voltage source inverters are one of the main technologies to cope with the unbalanced voltages in power grids [
One of the abilities of BESS is to operate in unbalanced state [
In the offered technique, BESSs are utilized in order to achieve various benefits including removing the unbalanced condition, smoothing the uncertainty, and improving energy management. In order to realize these objectives, the model is expressed as standard optimization programming and solved by general algebraic modeling system (GAMS). The programming finds the best level for power, capacity, location, and hourly operation of the batteries. The highlights of the proposed problem are summarized as follows:
1) The BESS are planned under the unbalanced loading condition. The loading on different phases of three-phase system is modeled as unbalanced. A charging/discharging pattern is optimized for each phase of battery storage system to cope with the unbalanced loading on the phases. The batteries under the unbalanced condition provide different charging/discharging pattern on each phase of the system.
2) The loading uncertainty is modeled by normal probability distribution function. The battery planning tackles the uncertainty and balances the loading at the same time.
3) The stochastic programming is applied to solve the problem with the uncertainty.
4) The objective function of the optimization programming is to minimize the energy cost, handle the uncertainty, and balance the unsymmetrical loading all together.
5) The plan determines optimal place, capacity, power, and charging/discharging regime of the batteries.
6) The problem models IEEE 69-bus feeder and it is solved by GAMS software.
7) A number of analyses and comparative studies show the practicality and proficiency of the introduced paradigm. It is demonstrated that the proposed technique can successfully balance the unsymmetrical loading, damp out the uncertainty, and minimize the cost of consumed energy.
BESS are connected to the network through the interfacing inverter as depicted in

Fig. 1 Battery connected to power grid by three-phase interfacing inverter.

Fig. 2 Battery connected to power grid and unbalanced load.
The objective function of the optimization programming is defined by (1). The first term of (1) shows the energy cost of the loads on all three phases. This term is multiplied by Tpl in order to elaborate the daily cost to the annual cost. The second term of (1) denotes the capital cost of inverter between the battery and the grid. This term is recognized as investment cost on the power of BESS. This cost is also defined per equivalent annual cost. The third term of (1) indicates the equivalent annual cost of BESS capacity and the last term is the annual operation cost of BESS.
(1) |
where s is the index for scenarios; S is the set of scenarios; n is the index of buses; N is the set of buses; t and T are the index and set of time intervals, respectively; , and are the loads on phases a, b and c, respectively;, and are the charging power of storage unit on phases a, b and c, respectively; , and are the discharging power of storage unit on phases a, b and c, respectively; is the expense of electrical energy; is the probability of occurrence for scenarios; is the conversion factor; is the nominal power of the storage system; is the investment cost for the power of the battery; is the nominal capacity of the storage unit; is the investment cost for the battery capacity; is the daily operational cost of the battery; y is the asset life-time; r is the discount rate; and is the objective function of the problem.
The constraints on the operation of phase a of the interfacing inverter are given by (2)-(8). The constraints (2)-(4) confirm that the interfacing inverter can only operate on charging state or discharging state at each hour. The constraints (5) and (6) verify that the decision making binary variables can get only zero and one, and the constraints (7) and (8) introduce the allowed range of the variables.
(2) |
(3) |
(4) |
(5) |
(6) |
(7) |
(8) |
where is the binary variable indicating the charging state of phase a; is the binary variable indicating the discharging state of phase a; and BM is a big number equal to 1000.
The similar constraints on the operation of phase b of the inverter are presented. These constraints are given through (9) to (15). The operation constraints in (9) to (11) verify that the inverter can only charge energy or discharge energy in each time interval. In other words, the inverter cannot operate on both the charging and discharging states at the same time. As well, the permitted range of the binary and positive variables are defined through (12)-(15).
(9) |
(10) |
(11) |
(12) |
(13) |
(14) |
(15) |
where is the binary variable indicating the charging state of phase b; and is the binary variable indicating the discharging state of phase b.
The operation of phase c is modeled by (16) to (22). The constraints (16) to (18) demonstrate that the inverter cannot operate on both the charging and discharging states at the same time and (19) to (22) introduce the permitted range of the binary and positive variables.
(16) |
(17) |
(18) |
(19) |
(20) |
(21) |
(22) |
where is the binary variable indicating the charging state of phase c; and is the binary variable indicating the discharging state of phase c.
The nominal power of the interfacing inverter is calculated by (23) and (24). It is clear that the charging and discharging power is less than or equal to the nominal power, and the nominal power is a positive variable as defined by (25).
(23) |
(24) |
(25) |
The constraints for removing the unbalanced loading condition are given in (26) and (27). These constraints confirm the equilibrium of net power (the generated power minus the consumed power) on all three phases. The total net power on phase a must be equal to the total net power on phases b and c in order to remove the unbalanced condition in power grid.
(26) |
(27) |
The operation of battery storage unit is modeled through (28)-(35). The efficiency of the battery is given in (28). The energy stored inside the battery is modeled by (29) and (30). The constraints (31) and (32) verify that the initial energy and the stored energy are positive variables. The saved energy inside the BESS is limited by the nominal capacity of the battery as given by (33). The maximum permitted capacity and power of the storage units are restricted by (34) and (35).
(28) |
(29) |
(30) |
(31) |
(32) |
(33) |
(34) |
(35) |
where is the efficiency of battery unit; is the maximum permitted capacity of storage unit; is the maximum permitted power of storage unit; is the energy of battery storage unit; and is the initial energy of battery storage unit.
The security constraints are given through (36)-(40). The transmitted power is computed by (36). The constraint (37) sets the reference voltage angle on the slack bus. The flow in each line is limited by (38) and (39). The balance of power on all buses for all three phases is achieved by (40).
(36) |
(37) |
(38) |
(39) |
(40) |
where is the power in the line from bus n to m; is the maximum power in the line from bus n to m; m is the index of buses; is the capacitance of the line; is the voltage angle on bus n; is the voltage angle on bus m; and is the voltage angle on swing bus.
In this paper, DC power flow is adopted to model the network. However, the DC power flow is not able to consider the voltage changes and limits. In order to overcome such an issue and present the real outputs, the proposed model is implemented in two stages as follows.
Stage 1: DC power flow is applied and the problem is expressed as a linear optimization programming. The linear programming is solved by GAMS and the achieved output is the global optimal solution.
Stage 2: The final plan (output of the optimization programming) is modelled on power grid, and AC power flow is run to evaluate the impacts of the plan on power grid. The voltage profile and the voltage limit on all buses are checked, evaluated, and confirmed.
As a result, the proposed model utilizes both AC and DC power flows to achieve the minimum simulation time, real and accurate model, and global optimal solution. The minimum and maximum permitted levels for voltage magnitude on all buses are 0.9 p.u. and 1.1 p.u., respectively.
The IEEE 69-bus network is simulated as the test case. This network is depicted in

Fig. 3 Single line diagram of IEEE 69-bus network [

Fig. 4 24-hour loading profile of network.

Fig. 5 24-hour three-level electricity price in power grid.
The lithium-ion (Li-ion) battery is adopted. The battery expense for power is 250 $/kW, its expense for capacity is 230 $/kWh, and the maintenance expense is set on 230 $/kWh. The efficiency of BESS is 95% and the life-expectancy is 10 years. The maximum permitted capacity and power of the storage units are 1.0 p.u. and 0.2 p.u., respectively. The discount rate is 10%. Four loads are unbalanced as shown in

Fig. 6 Unbalanced loads installed in power grid.
The loading uncertainty is developed by Gaussian probability function [
The uncertain parameters of the problem are modelled through stochastic programming. The scenario-generation and scenario-reduction techniques are applied to make the stochastic model [
The results under both the balanced and unbalanced loading conditions are presented. Tables I and II show the outputs of the planning under unbalanced and balanced loading conditions, respectively. It is clear that the unbalanced loading increases the planning cost by about $0.2 million per year. In addition, the total capacity and power installed with both the balanced and unbalanced loading are approximately similar. The total power installed with the balanced and unbalanced loadings are 0.82 p.u. and 0.83 p.u., respectively. The total installed capacities are also 4.86 p.u. and 4.93 p.u., respectively. As a result, the unbalanced loading condition does not need extra storage units to cope with the unsymmetrical loading condition, but it changes the location and capacities of the storage units in order to make the balanced condition. It is obvious that the unbalanced loading enforces the planning to install four storage units next to the unbalanced loads on buses 12, 50, 61, 64.
The charging/discharging regime of the storage units installed with the balanced loading are depicted in

Fig. 7 Charging/discharging pattern of storage units installed with balanced loading. (a) Bus 1. (b) Bus 19. (c) Bus 20. (d) Bus 24. (e) Bus 26. (f) Bus 32.

Fig. 8 Energy of storage units installed with balanced loading.
The charging/discharging pattern of the storage units installed with the unbalanced loading are listed in
In order to provide more details,

Fig. 9 Energy of storage units installed with unbalanced loading.
The total power received from the upstream grid is depicted in

Fig. 10 Total power received from upstream grid.
The proposed programming is a stochastic planning which can tackle the load uncertainty. In order to demonstrate the capability of the planning to deal with the uncertainty of the parameters, the loading of power grid is modeled by Gaussian probability function, and the results of stochastic planning are listed in

Fig. 11 Charging/discharging power on three phases of storage unit installed on bus 12. (a) Phase a. (b) Phase b. (c) Phase c.
A sensitivity analysis is also carried out on the different parameters of the planning and the results are listed in
The first part of the table shows the sensitivity analysis on the uncertainty level. It is clear that increment of the uncertainty level increases the planning cost with a linear trend. The proposed model utilizes the BESS to deal with the uncertainty of power grid. When the uncertainty level is increased, the plan installs more energy storage units with larger capacities to deal with the uncertainty. The investment cost therefore increases, which result in more planning cost. In this regard,
In order to verify the applicability of the proposed model, it is simulated on another test case. In this regard, the IEEE 33-bus test system is considered as second case study. The data of power grid can be found in [
This paper presents an advanced planning on energy storage units to minimize the operation cost of power grid, handle the uncertainties, and remove the unbalanced loading condition simultaneously. The results verify that the unbalanced loading increases the planning cost by about $0.2 million per year. The total capacity and power of the storage units installed with both the balanced and unbalanced loadings are approximately equivalent. However, the unbalanced loading changes the location and charging/discharging patterns of the storage units to relive the unbalanced loading condition. The charging/discharging patterns indicate that the storage units under balanced loading condition follow a similar pattern on all three phases, while the units installed together with the unbalanced loads present different patterns on each phase of the three-phase system. The equilibrium of energy at all hours, energy losses in the battery, and the equality of energy at initial and final hours are also verified by the simulations. The transferred power between the power grid and the upstream grid signifies that the power grid sends power to the upstream grid at hours 11, 13 and 14 in order to reduce the energy cost. The results show that the planning cost increases with the unbalanced loading. Moreover, the proposed planning is simulated with loading uncertainty and the results are compared to the deterministic planning. It is confirmed that the uncertainty increases the planning cost and installs more storage units on power grid.
REFERENCES
J. Yaghoobi, M. Islam, and N. Mithulananthan, “Analytical approach to assess the loadability of unbalanced distribution grid with rooftop PV units,” Applied Energy, vol. 211, pp. 358-367, Feb. 2018. [百度学术]
J. L. Gonzalez-Cordoba, R. A. Osornio-Rios, D. Granados-Lieberman et al., “Correlation model between voltage unbalance and mechanical overload based on thermal effect at the induction motor stator,” IEEE Transactions on Energy Conversion, vol. 32, no. 4, pp. 1602-1610, Dec. 2017. [百度学术]
M. Sarkar, J. Jia, and G. Yang, “Distance relay performance in future converter dominated power systems,” in Proceedings of 2017 12th IEEE PowerTech Conference, Manchester, UK, Jun. 2017, pp. 1-6. [百度学术]
V. Huchche, N. R. Patne, and A. Junghare, “Computation of energy loss in an induction motor during unsymmetrical voltage sags‒a graphical method,” IEEE Transactions on Industrial Informatics, vol. 14, no. 5, pp. 2023-2030, May 2018. [百度学术]
M. Al-Badri, P. Pillay, and P. Angers, “A novel in situ efficiency estimation algorithm for three-phase induction motors operating with distorted unbalanced voltages,” IEEE Transactions on Industry Applications, vol. 53, no. 6, pp. 5338-5347, Nov.-Dec. 2017. [百度学术]
E. Prieto-Araujo, A. Junyent-Ferré, G. Clariana-Colet et al., “Control of modular multilevel converters under singular unbalanced voltage conditions with equal positive and negative sequence components,” IEEE Transactions on Power Systems, vol. 32, no. 3, pp. 2131-2141, May 2017. [百度学术]
A. K. Panda and N. Patnaik, “Management of reactive power sharing & power quality improvement with SRF-PAC based UPQC under unbalanced source voltage condition,” International Journal of Electrical Power & Energy Systems, vol. 84, pp. 182-194, Jan. 2017. [百度学术]
H. M. Basri and S. Mekhilef, “Digital predictive current control of multi-level four-leg voltage-source inverter under balanced and unbalanced load conditions,” IET Electric Power Applications, vol. 11, no. 8, pp. 1499-1508, Sept. 2017. [百度学术]
P. Monica, M. Kowsalya, and P. Tejaswi, “Load sharing control of parallel operated single phase inverters,” Energy Procedia, vol. 117, pp. 600-606, Jun. 2017. [百度学术]
H. Mehrjerdi and E. Rakhshani, “Vehicle-to-grid technology for cost reduction and uncertainty management integrated with solar power,” Journal of Cleaner Production, vol. 229, pp. 463-469, Aug. 2019. [百度学术]
H. Mehrjerdi and R. Hemmati, “Modeling and optimal scheduling of battery energy storage systems in electric power distribution networks,” Journal of Cleaner Production, vol. 234, pp. 810-821, Oct. 2019. [百度学术]
H. Mehrjerdi, “Simultaneous load leveling and voltage profile improvement in distribution networks by optimal battery storage planning,” Energy, vol. 181, pp. 916-926, Aug. 2019. [百度学术]
H. Mehrjerdi, R. Hemmati, and E. Farrokhi, “Nonlinear stochastic modeling for optimal dispatch of distributed energy resources in active distribution grids including reactive power,” Simulation Modelling Practice and Theory, vol. 94, pp. 1-13, Jul. 2019. [百度学术]
H. Mehrjerdi and R. Hemmati, “Coordination of vehicle-to-home and renewable capacity resources for energy management in resilience and self-healing building,” Renewable Energy, vol. 146, pp. 568-579, Feb. 2020. [百度学术]
G. Carpinelli, F. Mottola, D. Proto et al., “Minimizing unbalances in low-voltage microgrids: optimal scheduling of distributed resources,” Applied Energy, vol. 191, pp. 170-182, Apr. 2017. [百度学术]
R. Hemmati and N. Azizi, “Optimal control strategy on battery storage systems for decoupled active-reactive power control and damping oscillations,” Journal of Energy Storage, vol. 13, no. Supplement C, pp. 24-34, Oct. 2017. [百度学术]
S. A. Taher and S. A. Afsari, “Optimal location and sizing of UPQC in distribution networks using differential evolution algorithm,” Mathematical Problems in Engineering, vol. 2012, no. 1, pp. 1-20, Jun. 2012. [百度学术]
R. Hemmati and H. Saboori, “Stochastic optimal battery storage sizing and scheduling in home energy management systems equipped with solar photovoltaic panels,” Energy and Buildings, vol. 152, pp. 290-300, Oct. 2017. [百度学术]
M. Bornapour, R. A. Hooshmand, A. Khodabakhshian et al., “Optimal stochastic coordinated scheduling of proton exchange membrane fuel cell-combined heat and power, wind and photovoltaic units in micro grids considering hydrogen storage,” Applied Energy, vol. 202, no. Supplement C, pp. 308-322, Sept. 2017. [百度学术]
K. N. Hasan, R. Preece, and J. V. Milanović, “Existing approaches and trends in uncertainty modelling and probabilistic stability analysis of power systems with renewable generation,” Renewable and Sustainable Energy Reviews, vol. 101, pp. 168-180, Mar. 2019. [百度学术]
R. Hemmati, H. Saboori, and M. A. Jirdehi, “Stochastic planning and scheduling of energy storage systems for congestion management in electric power systems including renewable energy resources,” Energy, vol. 133, pp. 380-387, Aug. 2019. [百度学术]
M. Bornapour, R.-A. Hooshmand, A. Khodabakhshian et al., “Optimal stochastic scheduling of CHP-PEMFC, WT, PV units and hydrogen storage in reconfigurable micro grids considering reliability enhancement,” Energy Conversion and Management, vol. 150, pp. 725-741, Oct. 2017. [百度学术]
F. Lezama, J. Soares, Z. Vale et al., “2017 IEEE competition on modern heuristic optimizers for smart grid operation: testbeds and results,” Swarm and Evolutionary Computation, vol. 44, pp. 420-427, Feb. 2019. [百度学术]