Palma Behnke2013
Palma Behnke2013
Abstract—A novel energy management system (EMS) based on for electric power system management. Smart grids are under-
a rolling horizon (RH) strategy for a renewable-based microgrid stood to be the key enabling technology for renewable energy
is proposed. For each decision step, a mixed integer optimization development, electric vehicle adoption and energy efficiency
problem based on forecasting models is solved. The EMS provides improvements [2]. Smart grids represent a vision for digital op-
online set points for each generation unit and signals for consumers
based on a demand-side management (DSM) mechanism. The pro- timization of electric power distribution and transmission grids
posed EMS is implemented for a microgrid composed of photo- as applied to current operations, enhancing the grid security and
voltaic panels, two wind turbines, a diesel generator and an en- opening up new ways of tapping alternative energy sources.
ergy storage system. A coherent forecast information scheme and By using the Internet protocol on home devices, the smart grid
an economic comparison framework between the RH and the stan- would be able to shuttle information back and forth between the
dard unit commitment (UC) are proposed. Solar and wind energy distributed electric utilities and customers.
forecasting are based on phenomenological models with updated In the specialized literature, there are works related to en-
data. A neural network for two-day-ahead electric consumption
forecasting is also designed. The system is tested using real data
ergy management system (EMS) for microgrids. In [3], an on-
sets from an existent microgrid in Chile (ESUSCON). The results line power energy management for a hybrid fuel cell/battery dis-
based on different operation conditions show the economic sense tributed generation system is presented. The online architecture
of the proposal. A full practical implementation of the system for consists of three layers: the first one captures the possible op-
ESUSCON is envisioned. erations modes, the second is based on a fuzzy controller for
power splitting between batteries and fuel cells, and the last one
Index Terms—Demand-side management, energy management
system, microgrid, photovoltaic, rolling horizon, wind turbine. regulates each subsystem.
In [4], an EMS for controlling a virtual power plant (VPP)
is presented. In this case, the objective is to manage the power
flows to minimize the electricity generation costs and to avoid
I. INTRODUCTION
the loss of energy produced by renewable energy sources. The
VPP is composed of combined heat and power plants, wind
PALMA-BEHNKE et al.: A MICROGRID ENERGY MANAGEMENT SYSTEM BASED ON THE ROLLING HORIZON STRATEGY 3
in the system. For the ESS the opportunity cost of the stored 2) Wind Generator: Generally, wind power may be obtained
energy is considered. An economic load dispatch (ELD) is using the wind turbine profile given by the manufacturer. In
used for this purpose. The update period of the ELD can this case, a piecewise linear approximation of the profile was
be flexible, selected between 1 and 5 minutes. incorporated into the wind generator model.
6) Update . When this is not possible, the wind power maybe calculated
7) Return to step 1. based on the wind speed and the wind turbine power coefficient
obtained from the basic model expression [18].
B. Objective Function
The objective function of EMS is to minimize the operational E. Forecasting Models
costs of the microgrid in a time scope . The objective func- 1) Solar Irradiance: For horizontal solar irradiance fore-
tion is formulated as casting based on the persistency methodology, the clear-sky
index is used [19], which is an approximate measurement
for cloudy conditions right above the sensor location:
(5)
(1)
is the measured irradiance and is the irradiance
where is the duration of time period , is the cost func- calculated with a phenomenological clear-sky model. With this
tion of the diesel generator, is the start-up cost function model, measured errors increase during the sunset and at dawn.
of diesel generator, is the unserved power in the system, Hence, (5) is used in cases in which the solar altitude is greater
is the price for unserved energy, is the unserved than 20 , as recommended in [19].
water, is the cost of unserved water and is the Then, for the predicted irradiance , is assumed to be an
cost of using the LABB. The first term of the objective function average of the past indices, as shown in (6).
(1) represents the diesel costs, the second term the start-up diesel
cost and the next two terms penalize the unsupplied electric en-
ergy and the unserved water supply, respectively. The last term (6)
represents the cost penalty of using the LABB and affecting its
lifetime in different ways. where n is the number of model autoregressors. The proposed
approach currently has detractors because of the RMSE values
C. Power Balance for the Microgrid obtained in field measurements [19]. Nevertheless, given the
The power balance in the microgrid must be satisfied: special conditions in the north eastern part of the country (At-
acama Desert), the proposed model is suitable for a two-day-
ahead prediction.
(2) 2) Wind Speed: For forecasting the wind speed, this work
considers a global forecast system (GFS) for the bounded con-
where is the electrical load, is the rated pump power, ditions of a weather research and forecast (WRF) model [20],
is the unused power from the energy sources (storage [21].
was not possible). Additional constraints for the problem are The GFS model is used for determining the border conditions
and . of the wind speed that the WRF model used as an initial condi-
tion. Finally, the results of the WRF model are adjusted using
D. Modeling of Renewable Energy Units statistical methods for a 12- or a 48-hour-ahead prediction.
3) Electrical and Water Consumption: For load forecasting,
1) Photovoltaic Panels: In the model proposed, the solar
neural networks have been widely used. Recently, wavelets
power is controlled by the east-to-west inclination angle of the
have been used for characterizing the load, and then, they are
panels . The maximum power is obtained by the
used as inputs for the neural network models [22]. In addition,
optimal orientation of the PV panels. Sometimes, it is not fea-
evolutionary algorithms have been used for determining the
sible to use the maximum solar power because, for example,
inputs for a load model based on fuzzy logic [23]. In this work,
the ESS is completely charged. To prevent this problem, the
the electrical consumption is predicted based on neural network
minimum power is obtained when the photovoltaic
modeling using empirical data. The multilayer architecture
panels are oriented to the minimum irradiance subject to the
is considered with one hidden layer. Backpropagation for
panel structure physical constraints. Therefore, the solar power
determining the weights and a structural optimization process
will be a value between these bounds, which are as fol-
for determining the relevant inputs are used [24]. The same
lows:
procedure for the water consumption can be used.
(3)
F. Modeling of Conventional Generation Units
(4)
1) Diesel Generator: The fuel consumption of a diesel gen-
where is the solar panel efficiency, is the total plant sur- erator can be represented as a non convex function. For the
face and is the irradiance perpendicular to the panel’s MIP formulation, a non convex function can be approximated
plane. by piecewise linear segments. Fig. 4 shows an example for
This article has been accepted for inclusion in a future issue of this journal. Content is final as presented, with the exception of pagination.
PALMA-BEHNKE et al.: A MICROGRID ENERGY MANAGEMENT SYSTEM BASED ON THE ROLLING HORIZON STRATEGY 5
(17)
(19)
(7)
Additionally, a minimum volume for the diesel tank at the end
of the prediction horizon is included as:
where is the slope and is the Y-intercept of segment .
The following constraint is added for imposing that only one (20)
variable takes the value 1 in period t:
2) Energy Storage System: A simplified dynamic model of
the ESS:
(8)
(21)
Then, when means the diesel unit is where is the DC power of the LABB, assuming a positive
turned-on, otherwise the unit is turned-off. value if it injects power to the microgrid and a negative value
The generated diesel power is given by: for the charging mode.
The inverter model is:
(9)
(22)
(10)
where is the internal consumption of the inverter. The con-
As shown in Fig. 4, if the unit is turned-on the dispatched stants and are used to represent the losses of the inverter.
power at instant takes a value between and The corresponding MIP formulation for the inverter model de-
, and in the (8), the corresponding binary variables are: scribed in (21) is:
(12) (23)
(26)
(14)
The MIP formulation of the LABB energy model described
in (20) is represented by:
(15)
(27)
(16) (28)
This article has been accepted for inclusion in a future issue of this journal. Content is final as presented, with the exception of pagination.
(36)
(29) (38)
The minimum admissible power of the LABB (negative value
in the model) is related to the maximum charge current that where are experimental parameters. The
depends on the end of the charge voltage trigger [25]. This saturation, overload, and load zones are defined based on the
charging constraint is shown in Fig. 5. The maximum LABB voltage; and the discharge, over-discharge and depletion zones
power (positive value in the model) is determined by are based on the energy of the ESS. It is important to note that
the current limit of the inverter. is ten times greater than and is nearly two times greater
For the MIP formulation of (29), a non convex function to than
represent the minimum admissible power of the LABB
can be approximated by piecewise linear segments as (see G. Water Supply Management
Fig. 5):
For the management of the water supply system, the tank
system volume is modeled as:
(30)
(39)
Each piecewise linear segment introduces the binary vari- where represents the water consumption. The water in-
ables and the continuous variable . is the slope flow into the tank is given by:
of segment ( ).
(40)
(31)
(32) where is a constant coefficient, is the pump efficiency,
and is the pump power.
where , and and are Adding a fictitious volume to the tank model, the
the upper and lower bounds of segment . unserved water consumption is incorporated into the balance.
Thus, the maximum charging power is expressed by: Therefore, the volume of the tank is modeled by:
(33) (41)
(42)
The energy balance is represented by:
where is a reference value of the tank level.
For the optimizer, the water consumption can be predicted
(34) using historical data of the village.
The cost penalty of the LABB is given by the decline in the H. Demand-Side Management
state of health (SoH) of the ESS at the end of the evaluation From [1], [27], it was supposed that online signals are sent to
period. the consumers in order to modify their consumption behaviors,
leaving daily energy constant. This modification is modeled by
(35) shifting coefficients that are provided by the EMS. There-
fore, the electric load is given by:
is a factor associated with the investment cost of the LABB.
The SoH is directly related to the ESS lifetime. The lifetime of (43)
This article has been accepted for inclusion in a future issue of this journal. Content is final as presented, with the exception of pagination.
PALMA-BEHNKE et al.: A MICROGRID ENERGY MANAGEMENT SYSTEM BASED ON THE ROLLING HORIZON STRATEGY 7
where is the expected load. To take into account the max- TABLE I
imum expected consumer response to the signals (empirical PREDICTION ERRORS
value), the shifting factor is bounded as:
(44)
(45)
TABLE II
SUMMER SEASON (PV/DIESEL/ESS)
TABLE III
WINTER SEASON (PV/DIESEL/ESS)
Tables II and III show that the UC-RH reduces the expected
total cost (18% for summer and 27% for winter) because of the
lower start-up and operation diesel costs.
For the lower solar radiation in winter (see Fig. 8), the ESS
operates close to its minimum energy capacity. Thus, if there is
a forecasting error, it would be possible to reach values below
the minimum. Consequently, the diesel generator starts up off
schedule. Because the input forecasts considered by the UC-RH
are updated at each step, this problem is reduced, and a lower
start-up diesel cost is observed in comparison to the UC. For the
summer season, the energy value is similar for both methods. In
contrast, for the winter season, the UC generates positive energy
Fig. 7. Average water consumption for the summer and winter seasons. values, meaning that the stored level of ESS energy is greater
than the reference value . When using the UC-RH, a greater
value than the energy level is achieved, and therefore, a sig-
nificant energy saving is obtained. This phenomenon happens
because the UC-RH looks further into the future than the UC,
saving more energy for the limited energy of future winter con-
ditions.
PALMA-BEHNKE et al.: A MICROGRID ENERGY MANAGEMENT SYSTEM BASED ON THE ROLLING HORIZON STRATEGY 9
TABLE VI
LABB INVESTMENT COSTS
TABLE V
WINTER SEASON (PV/DIESEL/ESS/WIND)
C. Overall Analysis
For evaluating the overall performance of the two microgrid
configurations, the investment and operational costs of the main
units are analyzed over a period of 20 years (This period corre-
sponds to the wind turbine lifetime). Specifically, the investment
is calculated for the LABB and the wind turbine units.
• The expected operational diesel costs are higher in the The operational costs presented here are obtained from the
case of UC-RH. This can be explained by seeing the cor- results shown in Sections V-A and V-B. We assume a constant
responding energy deficit costs that also impose “future demand pattern over the evaluation period.
operational costs” for the system. In fact, taking into ac- The LABB costs are detailed in Table VI. It includes the ini-
count the sum of these two costs, it can be concluded that tial investment costs of the battery bank (first row) and the re-
the UC-RH approach shows lower operational costs (op- placement costs based on the life cycles over 20 years obtained
erational diesel plus energy deficit costs) for the period. from the EMS operation results (ex-post evaluation).
For example, from Table IV, these operational costs are Finally, the total cost of the LABB is summarized for the two
for the UC ap- optimization approaches (UC and UC-RH). 850 rated life cycles
proach and using at 80% discharge depth are considered in the evaluation based
the UC-RH. on the manufacturer data. The net present value is calculated
• During the summer, there is unserved energy, which was with a discount rate of 10%, which is a common value used in
not present in the previous case. The reason for this could the Chilean energy sector.
be the uncertainties associated to the forecasted wind The difference in investment and operational costs for the
speed. two microgrid configurations are summarized in Table VII. This
• The UC-RH reduces the energy deficit. This phenomenon table shows a lower total cost for the PV/Diesel/ESS/WIND so-
grows in the winter because there is less available energy lution for both the UC and UC-RH approaches. Additionally,
(Figs. 8 and 9) and the diesel generator is used intensively. for both configurations, a cost reduction using UC-RH over UC
is observed.
This article has been accepted for inclusion in a future issue of this journal. Content is final as presented, with the exception of pagination.
PALMA-BEHNKE et al.: A MICROGRID ENERGY MANAGEMENT SYSTEM BASED ON THE ROLLING HORIZON STRATEGY 11
[8] A. Gupta, R. Saini, and M. Sharma, “Steady-state modelling of hybrid Carlos Benavides received his B.Sc. and M.Sc. de-
energy system,” in Proc. 3rd Int. Conf. Electr. Eng. (ICEE), 2009. grees in electrical engineering from the University of
[9] D. Westermann and A. John, “Demand matching wind power gen- Chile. His research field is the planning and operation
eration with wide-area measurement and demand-side management,” of electrical systems in power markets.
IEEE Trans. Energy Convers., vol. 22, no. 1, pp. 145–149, 2007.
[10] V. Hamidi and F. Robinson, “Responsive demand in networks with
high penetration of wind power,” in Proc. IEEE Power Energy Soc.
Gen. Meet.—Convers. Del. Electr. Energy 21st Century, 2008.
[11] J. Lagorse and M. Somoes, “A multiagent fuzzy-logic-based energy
management of hybrid systems,” in Proc. IEEE Ind. Appl. Soc. Annu.
Meet. (IAS), 2009.
[12] T. Logenthiran and D. Srinivasan, “Short term generation scheduling
of a microgrid,” in Proc. IEEE Region 10 Conf. (TENCON 2009).
[13] A. Tsikalakis and N. Haatziargyriou, “Centralized control for opti- Fernando Lanas received his B.Sc. degree in
mizing microgrids operation,” IEEE Trans. Energy Convers., vol. 23, electrical engineering from the University of Chile
no. 1, pp. 241–248, 2008. in 2011. His main research interest is the planning
[14] H. Dagdougui, R. Minciardi, A. Ouammi, M. Robba, and R. Sacile, “A and operation of hybrid energy systems based on
dynamic decision model for the real-time control of hybrid renewable renewable resources.
energy production systems,” IEEE Syst. J., vol. 4, no. 3, pp. 323–333,
Sep. 2010.
[15] H. Morais, P. Kádár, P. Faria, Z. Vale, and H. Khodr, “Optimal sched-
uling of a renewable micro-grid in an isolated load area using mixed-
integer linear programming,” Renewable Energy, vol. 35, no. 1, pp.
151–156, Jan. 2010.
[16] M. Korpas and A. Holen, “Operation planning of hydrogen storage
connected to wind power operating in a power market,” IEEE Trans. Bernardo Severino received his B.Sc. degree in electrical engineering from
Energy Convers., vol. 21, no. 3, pp. 742–749, 2006. the University of Chile in 2011. His main research interest is modeling energy
[17] Matrikon OPC [Online]. Available: http://www.matrikonopc.com/ storage systems for microgrids.
[18] R. Teodorescu, M. Liserre, and P. Rodríguez, Grid Converters for Pho-
tovoltaic and Wind Power Systems. New York: Wiley-IEEE, 2011.
[19] H. Beyer, J. Martínez, M. Suri, J. Torres, E. Lorenz, S. Müller, C. Lorenzo Reyes received his B.Sc. degree in elec-
Hoyer-Klick, and P. Ineichen, “Report on benchmarking of radiation trical engineering from the University of Chile
products,” Sixth Framework Programme MESOR, Management and in 2009. His main research interest is microgrid
Exploitation of Solar Resource Knowledge, 2009 [Online]. Avail- development.
able: http://www.mesor.org/docs/MESoR_Benchmarking_of_radia-
tion_products.pdf
[20] V. Zavala, E. Constantinescu, and M. Anitescu, “Economic impacts of
advanced weather forecasting on energy system operations,” in Proc.
Innov. Smart Grid Technol. (ISGT), 2010.
[21] W. Skamarock, J. Klemo, J. Dudhia, D. Gill, D. Barker, M. Duda, X.
Huang, W. Wang, and J. Powera, “A description of the Advanced Re-
search WRF Version 3,” Tech Rep. 475+STR, NCAR, 2008.
[22] Z. Bashir and M. El-Hawary, “Applying wavelets to short-term load
forecasting using PSO-based neural networks,” IEEE Trans. Power Jacqueline Llanos received her electronic engi-
Syst., vol. 24, no. 1, pp. 20–27, 2009. neering degree from the Escuela Politécnica del
[23] V. Hinojosa and A. Hoese, “Short-term forecasting using fuzzy induc- Ejercito, Ecuador, and her M.Sc. in electrical engi-
tive reasoning an evolutionary algorithms,” IEEE Trans. Power Syst., neering from the University of Chile. Her research
vol. 25, no. 1, pp. 565–574, 2010. fields are predictive control, forecasting of electricity
[24] M. Norgaard, O. Ravn, N. Poulsen, and L. Hansen, Neural Networks demand, and renewable resources.
for Modelling and Control of Dynamic Systems. New York: Springer-
Verlag, 2000.
[25] H. Bergveld, Battery Management Systems Design by Modelling.
Eindhoven, The Netherlands: Univ. Press Facilities, 2001.
[26] D. Guasch and S. Silvestre, “Dynamic battery model for photovoltaic
applications,” Progr. Photovoltaics: Res. Appl., vol. 11, pp. 193–206,
2003. Doris Sáez received her M.Sc. and Ph.D. degrees
[27] R. Palma-Behnke, D. Ortiz, L. Reyes, G. Jiménez-Estévez, N. Garrido, in electrical engineering from the Pontificia Univer-
and N. , “A social SCADA approach for a renewable based microgrid,” sidad Católica de Chile.
in The Huatacondo Project, 2011 IEEE Power Energy Soc. Gen. Meet., She is currently an Associate Professor in the Elec-
Detroit, MI, Jul. 24–28, 2011. trical Engineering Department at the University of
[28] CPLEX [Online]. Available: http://www-01.ibm.com/software/inte- Chile. Her research fields are fuzzy systems control
gration/optimization/cplex-optimizer/ design, fuzzy identification, predictive control, con-
trol of power generation plants, and control of trans-
Rodrigo Palma-Behnke received his B.Sc. and port systems.
M.Sc. degrees in electrical engineering from the Pon-
tificia Universidad Católica de Chile and a Dr.-Ing.
from the University of Dortmund, Germany.
He is currently an Associate Professor in the Elec-
trical Engineering Department at the University of
Chile. His research field is the planning and opera-
tion of electrical systems in competitive power mar-
kets and new technologies.