Review on Energy Resilience

profileharsh55
CVaR-based-energy-management-scheme-for-optimal_2018_International-Journal-o.pdf

Contents lists available at ScienceDirect

Electrical Power and Energy Systems

journal homepage: www.elsevier.com/locate/ijepes

CVaR-based energy management scheme for optimal resilience and operational cost in commercial building microgrids

Mehdi Tavakolia, Fatemeh Shokridehakia, Mudathir Funsho Akoredeb, Mousa Marzbandc, Ionel Vechiud, Edris Pouresmaeile,⁎

a Faculty of Electrical and Computer Engineering, Babol (Noshirvani) University of Technology, Babol, Iran b Department of Electrical & Electronics Engineering, University of Ilorin, 240003 Ilorin, Nigeria c Faculty of Engineering and Environment, Department of Physics and Electrical Engineering, Northumbria University Newcastle, Newcastle, UK d ESTIA Institute of Technology, ESTIA, F-64210 Bidart, France e Department of Electrical Engineering and Automation, Aalto University, 02150 Espoo, Finland

A R T I C L E I N F O

Keywords: Commercial buildings Resilience Conditional Value at Risk (CVaR) Energy management Microgrid

A B S T R A C T

This paper aims at enhancing the resilience of a photovoltaic-based microgrid equipped with battery storage, supplying a typical commercial building. When extreme weather conditions such as hurricane, tsunami and similar events occur, leading to islanding of the microgrid from the main power grid, it is not expected that the microgrid would be taken out of service for a long time. At the same time, it is not cost effective to make the electrical system to be absolutely reliable to provide service for the customers. The main contribution of this paper lies in its ability to determine the optimal point between the operational cost and grid resilience. In other words, this work proposes an optimal management system of battery energy storage in a way to enhance the resilience of the proposed microgrid while maintaining its operational cost at a minimum level. The optimization is achieved by solving a linear optimization programming problem while the Conditional Value at Risk (CVaR) is incorporated in the objective function. The CVaR is used to account for the uncertainty in the intermittent PV system generated power and that in the electricity price. Simulation analyses are carried out in MATLAB to evaluate the performance of the proposed method. Results reveal that the commercial building microgrid re- silience is improved remarkably at a slight increase in the operational cost.

1. Introduction

Nowadays, the number of events related to severe weather condi- tions such as hurricanes, sandy storms, tsunami, blizzards and similar incidents which affect the operation of the power grid has increased significantly. This problem is linked to power systems resilience, which simply means the capability of the grid to resist, recover and minimize the undesirable effects from unfavorable accidents, attacks, or natural events that occur erratically [1]. It should be noted that the concept of power system resilience is different from reliability. A reliable system is essentially one that functions as desired and expected to, while resi- lience is the ability of the system to withstand certain types of failure and yet remains functional from the customer’s point of view. In other words, reliability is the outcome and resilience is the way to achieve it. While reliability generally affected by events with high possibility but a fairly small effect e.g., different faults in power system, resilience is associated to low probability events with large influence such as thunderstorm, hurricanes, floods, blizzards, etc.

The main features and differences between resilience and reliability as applied to power grid are shown in Table 1 [2]. The benefits of re- silience as it applies to power grids have been investigated in [3]. The coordination approach proposed by the authors demonstrate that it is capable of exchanging power once a microgrid experiences a power shortage and at the same time keep their frequency and voltage at the rated values. In [4], a design and configuration for a resilience power grid is presented and discussed. Nevertheless, there are some physical limitations such as voltage and power generation limits that must be considered in resilience studies.

Traditional power grids were designed in a way to allow only uni- directional power flow from the generation units to the load centers. However, in recent years, the need for a flexible power system which could be expanded and that is able to use renewable energy resources (RERs) in an effective way, has necessitated the development of mi- crogrids to enable a bi-directional power flow between generation and consumers [5]. Microgrids are usually operated in a small geographical zone and may be integrated to the main grid. Because it is more stable

https://doi.org/10.1016/j.ijepes.2018.02.022 Received 21 August 2017; Received in revised form 16 January 2018; Accepted 16 February 2018

⁎ Corresponding author at: Department of Electrical Engineering and Automation, Aalto University, 02150 Espoo, Finland. E-mail address: [email protected] (E. Pouresmaeil).

Electrical Power and Energy Systems 100 (2018) 1–9

Available online 21 February 2018 0142-0615/ © 2018 Elsevier Ltd. All rights reserved.

T

and resilient, it usually decreases the power outages or demand cur- tailments remarkably. For this reason, using microgrids where the power generation units are close to the customers is one of the most practical options to enhance the resilience of the power grid [6]. In [7], a policy based on managing the accessible resources in an effective way is suggested in order to reduce load shedding during islanded mode. The study uses mixed integer linear programming to model the normal and resilient modes. Similarly, the merits of hierarchical DC control system in microgrids to enhance resilience and economic performance compared to AC microgrids are investigated in [8]. Three types of control including primary, secondary and tertiary are used and studied for DC microgrids. In addition, it is demonstrated that when there are outages, the operation of a power grid is improved by using a number of microgrids located in places precisely calculated. A novel restoration service plan for the distribution power system is presented in [9] while there is a big insertion of dispersed generation. It is shown that the requirement for more equipment of remotely controlled switches which is contingent on the dispersed generation capacity and its location will be beneficial in reconfiguration and restoration of service after a sig- nificant incident in the main grid.

In [10], a two-stage algorithm which models predictive control in the first stage with the aim of planning the existing resources and power from unexploited capacities of microgrids is exchanged among different microgrids in the second stage to supply the rest of the demands, is

proposed. In the same vein, ref [11], a self-healing strategy is used to improve the resilience of overloading microgrids using centralized and decentralized method. The frequency of each migrogrid is used in the decentralized stage in order to specify the requirement or probability for interconnection of different microgrids. Generation of power by all microgrids is also calculated in the centralized stage. To describe the behavior of the PV generation, joint predictive distributions based on marginal densities was proposed in [12] and space-time trajectories of the PV generation assessment was modelled. It is verified in the work that when historical data is not available, it is possible to regard cov- ariance matrix recursively as an alternative approach to determine the PV generation.

In [13], the wind power generation is explained at several locations from space-time trajectories including paths sampled from high-di- mensional joint predictive densities. In [14], a multi-objective optimi- zation programming is employed in an integrated building and micro- grid system. The proposed control scheme in the study is able to preserve energy in sustainable homes and microgrid system in order to reduce operational costs and satisfy consumers. In [15], networked microgrids are considered for a study and the optimal planning ap- proach is examined with respect to the unpredictable nature of the generating units and load demand. In [16], in order to minimize the system risk against incident occasions, new hybrid market framework involving emergency transactions and a bilateral contract is suggested

Nomenclature

Indices

t index of time step

Abbreviations

SOC state of charge VaR value at risk CVaR conditional value at risk RERs renewable energy resources SARIMA seasonal autoregressive integrated moving average

Variables

St the charging level of battery at the t th step time

Ct GD cost of energy transferred from grid to load

Ct GS cost of energy transferred from grid to battery at the tth

step time Ct

SG cost of energy transferred from battery to grid at the tth

step time Ct

PVG cost of energy transferred from PV to grid at the tth step time

t X CCos ( , )t t ij

t total operational cost of the commerial bulding mi- crogrid

Β confidence level

PPV the output power of PV module at irradiance GING Tc cell temperature Dt the load of commercial building microgrid at the t

th step time

Pt PV total generated power by PV at the tth step time

Pt ij the power transfered from unit i to unit j at the tth step

time

Parameters

ΔSC maximum amount for charging rate ΔSD maximum amount for discharging rate SOCmin minimum SOC of battery SOCmax maximum SOC of a battery SBattery battery capacity ηC charging efficiency of the battery ηD discharging efficiency of the battery w weighting factor for the price risk consideration Smin minimum allowable charge level of the battery storage Smax maximum allowable charge level of the battery storage PSTG the maximum power of module at standard test condition GSTG irradiance at STC 1000 W/m

2

GING incident irradiance k temperature coefficient of PV power Tr reference temperature TN number of step time

Table 1 Main features of resilience compared to reliability.

Resilience Reliability

Reaction to unfavorable events which affect the system Response to frequency and duration of faults Affected by power grid design, operational circumstances and control actions Capability of distribution systems to supply the load demand Has no evaluation metrics yet It is generally measured by interruption indices such as SAIFI, SAIDI, ENS, CAIDI and

CAIFI Usually calculated before or after an event Often calculated over a specified length of time Focuses mainly on critical loads All load demands are regarded All power outages, regardless of time and duration, is necessary to study resilience

assessment Small interval of power outages (usually lasting less than 5 min) are ignored

M. Tavakoli et al. Electrical Power and Energy Systems 100 (2018) 1–9

2

in a multi-microgrid system to parameterize the emergency energy transactions.

In [17], a comprehensive operational approach is proposed for op- timal self-restoration via assignment of energy storage devices and distributed reactive sources to a distribution system split into several microgrids. The interaction of microgrids is presented in some literature to improve the resilience of microgrids [18,19]. In [18], an agreement is reached to transmit power from operating microgrids so as to back-up for the microgrids having problems to operate due to unforeseen events. This is usually done while the privacy of each microgrid is preserved. In [19], an innovative coordinated control of interconnected microgrids is offered in a way that each microgrid and distribution system operator establishes a separate unit with different objective to reduce the working costs. It is equally proposed that either the dispatchable or non-dispatchable distributed generators be present in the inter- connected microgrids.

Although using microgrid technology to increase resilience in power systems is a reasonable solution as proposed by different researches, some of which were mentioned in the previous paragraphs, none of these works considered the uncertainty in the renewable generation units. The only uncertainty considered is that of electricity price as it supplies the microgrids. Recently, risk-based management methods such as value at risk (VaR) was presented in some literature. Nevertheless, VaR is a non-coherent risk measure that has some drawbacks such as lack of convexity and coherency which makes it undesirable in practice [20]. In contrast, Conditional Value at Risk (CVaR) is a coherent risk measure that was recently applied to some problems related to the power grid for optimum energy control.

Robust optimization is a field focusing on the traditional optimiza- tion concepts, particularly algorithms, geometry, and tractability, in addition to modeling of power and structural results which are more generically prevalent for robustness. In contrast to robust optimization, CVaR assumes that there is distribution data for the uncertain

parameter. CVaR is a risk assessment technique often used to reduce the probability that a portfolio will incur large losses. This is performed by assessing the likelihood (at a specific confidence level β) that a specific loss will exceed the value at risk. Mathematically speaking, CVaR is derived by taking a weighted average between the value at risk and losses exceeding the value at risk. In addition, CVaR is capable of choosing the objective function more flexibly than the traditional ro- bust optimization.

A CVaR based optimal offering approach is presented in power market for a hybrid power system including wind farm and demand response in [21]. Again, Ref. [22] presents an optimal management of day-ahead planning under risk measurement where a stochastic pro- gramming approach is applied in the management. A domestic case study comprising electric vehicle, electric water heater, clothes dryer, air conditioner, photovoltaic system and battery is considered for a real- time planning in [23] where CVaR is proposed to compromise between the operational cost and uncertainty in electricity price.

However, none of the aforementioned works considered the fact that an islanded microgrid should able to supply its load demand for a long time in the event of a transient event. It should be noted that when a microgrid is islanded for a long time due to adverse weather condi- tions such as hurricanes or faults, it may take a long time for the power system operator to remove the problem and reconnect the microgrid to the main gird. In this situation, the microgrid should be controlled in a way to supply itself as long as possible, especially as most microgrids today, comprise renewable energy resources (RERs) such as PV or wind as the main power sources. Because RERs suffer from uncertainty and unpredictability, they aggravate the situation whenever an incident occurs in the system. For this reason, a real-time optimal energy man- agement for a finite time horizon is proposed in this paper for a PV- based microgrid equipped with battery storage so as to extend the time that the microgrid can survive without support from the main grid. The microgrid considered in this paper is a small-to-medium size commer- cial building. Such a microgrid typically use low voltage distribution system and has approximately 1 MW under its peak demand. This type of microgrid is typical in commercial building sector [24].

The first contribution of this work is consideration of uncertainty in PV power generation and electricity price as it manages the battery storage in such a way to increase the resilience of the commercial building microgrid while minimizing its operational costs. Accordingly, CVaR is introduced for risk consideration in the objective function of the optimal management procedure. In addition, the operational con- straints of the battery energy storage system such as the storage level limitation so as not to exceed the up and down limit of the storage level, as well as maximizing the rate of charging and discharging, are con- sidered in this paper.

Consider the system depicted in Fig. 1, which comprises a com- mercial building, PV system and battery energy storage system con- nected to the power grid where there is a bidirectional flow of power. The PV system, battery energy storage and power grid are responsible for the power supply of the commercial building load demand. The time horizon considered for the simulation in this study is one week (i.e. 168 h). Each hour is regarded as one step time. Priority to supply power to the commercial building is given to the PV system and battery energy storage system. In addition, they are legally empowered to sell excess power to the grid. Otherwise, if the generated power from PV and storage power in battery are not sufficient for the commercial building demand, the grid injects the shortage power into the commercial building. This problem is formulated in a linear programming in- corporated with the CVaR to manage the energy in order to minimize its operational cost and uncertainty related to PV power generation and electricity price. This way, the battery storage level is increased re- markably while the operational cost shows a trivial rise (see Figs. 5–8 and Tables 3–6). Therefore, when the commercial building microgrid is isolated from the main grid, the battery can power the load for an ex- tended time and this means the system’s resilience has improved.

PV System

Commercial Building

Power System

Battery Storage

Energy Management System

Telecomunication Link

Energy Flow

Fig. 1. The proposed PV-based model for commercial buildings.

M. Tavakoli et al. Electrical Power and Energy Systems 100 (2018) 1–9

3

The rest of this paper is organized as follows. System description of the case study is presented in Section 2. Risk measurement and scenario generation description are explained in Section 3. Section Section 4 describes the proposed management of a commercial building micro- grid considering risk. Simulation results are presented and discussed in Section Section 5 to evaluate the performance of the proposed ap- proach. Finally, the paper is concluded in Section Section 6.

2. The description of the proposed scheme

Commercial building microgrids are typically small microgrids with approximately 1 MW for its peak load which use low voltage distribu- tion system. In most metropolises or even in the medium size cities, commercial buildings are increasing, which constitute a major share of the load demand. A few examples of this setting are a hyper market, an institutional building, a shopping center, and so on. Using RERs like solar PV and wind is a desirable solution for supplying these microgrids. However, the power generated from these kinds of energy is

Fig. 2. Power demand over the time horizon.

Fig. 3. Photovoltaic power generation (average of 500 paths).

Fig. 4. Electricity price over time.

Fig. 5. Battery storage level.

Fig. 6. Battery storage level.

Fig. 7. Battery storage level.

M. Tavakoli et al. Electrical Power and Energy Systems 100 (2018) 1–9

4

unpredictable and oscillates greatly. Therefore, they need energy sto- rage devices for this purpose to flatten their fluctuated power genera- tion.

The case study considered in this paper is a PV-based commercial

building with battery energy storage as shown in Fig. 1. It has a power system which provides support for a bidirectional flow of power for economic, reliability and stability purposes. The hypothetical microgrid considered for the commercial building, such as a hyper market having about 100 stores, has approximately 450 kW peak load demand. The voltage of operation is considered as three-phase 400 V.

The PV system contains many cells connected in parallel and series configuration to provide the desired voltage and current. The re- lationship between the voltage and current of a PV module is non-linear naturally. The power generated by PV array depends on three factors: temperature, irradiation and output voltage (or current). Simply, the output power delivered by the PV system can be expressed by:

= × × + −P P G G

k T T(1 . ( ) )PV STG ING

STG C r

(1)

3. Risk measurement and scenario generation

3.1. Risk measurement

Assuming that f x y( , ) is the loss associated with a set of decision variablesx, to be chosen from a certain subset X of Rn and the random variable y in Rm. The vector x can be interpreted as the set of available portfolios, while vector y indicates the uncertainty set. The target is to reach a value for the decision vector x which could minimize the cost function subject to the uncertainty in vector y. One of the most com- monly used risk measurement is VaR, which is especially suitable for loss distributions function with fat tail manners [25]. For a specified confidence level β, the VaR has the smallest loss over the rolling hor- izon time which is exceeded with probability 1-β according to following

Fig. 8. Battery storage level.

Table 2 Parameters for battery energy storage.

SΔ D = 0.15 SΔ C = 0.1 ηC = 0.95 ηD = 0.9

Smin = 0.15 Smax = 0.85 SBattery = 350 (KW h) S0 = 0.85

Table 3 Comparison of the operational cost and resilience in neutral risk and risk averse policy with B = 0.9.

Index Policy

Neutral risk Risk averse −Risk Averse Neutral Risk Neutral Risk

Cost (for 7 days) 1,178,900,000 1,181,200,000 + 0.19 (%) Resilience Neutral Risk Risk Averse −RiskAverse NeutralRisk

NeutralRisk Day 1 0.41 0.70 +70.7 (%) Day 2 0.38 0.70 +84.2 (%) Day 3 0.37 0.70 +89.2 (%) Day 4 0.37 0.85 +129.7 (%) Day 5 0.36 0.75 +108.3 (%) Day 6 0.35 0.85 +142.8 (%) Day 7 0.30 0.85 +183.3 (%) Average for 7 days 0.4768 0.6726 +41.1 (%)

Table 4 Operational cost and resilience comparison in neutral risk and risk averse policy with B = 0.95.

Index Policy

Neutral Risk Risk Averse −RiskAverse NeutralRisk NeutralRisk

Cost (for 7 days) 1,178,900,000 1,181,400,000 +0.21 (%) Resilience Neutral Risk Risk Averse −RiskAverse NeutralRisk

NeutralRisk Day 1 0.41 0.70 +70.7 (%) Day 2 0.38 0.85 +123.7 (%) Day 3 0.37 0.70 +89.2 (%) Day 4 0.37 0.85 +129.7 (%) Day 5 0.36 0.75 +108.3 (%) Day 6 0.35 0.85 +142.8 (%) Day 7 0.30 0.85 +183.3 (%) Average for 7 days 0.4768 0.6865 +44 (%)

Table 5 Operational cost and resilience comparison between neutral risk and risk averse policy with B = 0.99.

Index Policy

Neutral Risk Risk Averse −RiskAverse NeutralRisk NeutralRisk

Cost (for 7 days) 1,178,900,000 1,182,200,000 + 0.28 (%) Resilience Neutral Risk Risk Averse −RiskAverse NeutralRisk

NeutralRisk Day 1 0.41 0.85 +107.3 (%) Day 2 0.38 0.66 +73.7 (%) Day 3 0.37 0.76 +105.4 (%) Day 4 0.37 0.85 +129.7 (%) Day 5 0.36 0.85 +136.1 (%) Day 6 0.35 0.85 +142.8 (%) Day 7 0.30 0.85 +183.3 (%) Average for 7 days 0.4768 0.7004 +46.9 (%)

Table 6 Operational cost and resilience comparison between neutral risk and risk averse policy with B = 0.99.

Index Policy

Neutral Risk Risk Averse −RiskAverse NeutralRisk NeutralRisk

Cost (for 7 days) 1,178,900,000 1,182,700,000 +0.32 (%) Resilience Neutral Risk Risk Averse −RiskAverse NeutralRisk

NeutralRisk Day 1 0.71 0.85 +19.7 (%) Day 2 0.68 0.85 +25.0 (%) Day 3 0.67 0.85 +26.8 (%) Day 4 0.66 0.85 +28.8 (%) Day 5 0.66 0.85 +28.8 (%) Day 6 0.65 0.85 +30.8 (%) Day 7 0.60 0.85 +41.7 (%) Average for 7 days 0.6024 0.4768 +26.34 (%)

M. Tavakoli et al. Electrical Power and Energy Systems 100 (2018) 1–9

5

equation:

= ∈ ⩽ ⩾ ⩽ ⩽VaR α R P f x y α β βmin { : { ( , ) } } for 0 1β (2)

Although VaR is a well-known risk measure used in economic problems, it is a non-coherent risk measure suffering from non-convexity, non- smoothness, subadditivity, etc., which makes it undesirable in optimi- zation programming. To avoid this problem, there is an attractive al- ternative risk measure identified as CVaR also known as average value at risk or mean shortfall. For a given confidence level β, CVaR is defined as [26,28]:

− = ⩾ −β CVaR E f x y f x y β VaR( ( , ) | ( , ) )y (3)

Eq. (3) indicates the expected conditional value of the cost function, subject to its value greater than β-percentile. On the contrary to tra- ditional robust optimization methods, minimization of CVaR is a flex- ible option for choosing the objective function. It is capable of enhan- cing the optimization performance considerably because distributional data on the parameter of y is uncertain. Indeed, the risk of system being exposed to high losses will be minimized when the CVaR of the cost is minimized [26]. In addition, for linear cost function problems, mini- mizing CVaR can be formulated as a linear programming problem which is an attractive choice in practical applications [27]. Using sample generated from distribution of the uncertain parameter y, the CVaR can be approximated by:

∑= ⎛ ⎝ ⎜ + −

− ⎞

⎠ ⎟

=

+CVaR α M β

f x y αmin 1

. (1 ) [ ( , ) ]β

i

M

i 1 (4)

where +z indicates the positive elements of z α, is the β-VaR, M is the number of Monte Carlo paths to estimate the expected value of β-CVaR in the cost function, and yi indicates the i

th generated path of the un- certain variable. To solve this problem, it is normally suggested to re- place +0 with a set of constraints. So the corresponding equation for minimizing CVaR is formulated as follows:

∑= ⎛ ⎝ ⎜ +

⎠ ⎟

⩾ ⩾ −

− =

CVaR α z

z z f x y α

min

Subject to: 0, ( , )

β M β i

M

i

i i i

1 . (1 )

1

(5)

3.2. Scenario generation using seasonal ARIMA model

The probabilistic arrangement of stochastic process Y can be de- fined by finding the joint distribution of its random variables that de- scribes both the probabilistic manner of each random variable on its marginal distributions and the interrelations which exists among all variables (statistical dependencies). In real conditions, the definition of joint distribution is often a difficult and cumbersome work. However, this can be done under the following assumptions [28]:

(1) The joint distribution considered is a multivariate Gaussian dis- tribution and hence it is determined by specifying the mean vector and the variance-covariance matrix of the random variables which generate the stochastic process.

(2) The stochastic process is a stationary means that neither the mean vector nor the variance-covariance matrix is contingent on time t.

The autoregressive moving average (ARMA) model relies on these two principles. However, these properties do not hold in some sto- chastic processes. Hence it is needed to create some changes to the process in order to achieve the desired characteristics. In addition, numerous time series events periodically (e.g., monthly) show a sea- sonal trend, which means there is a relationship between observations made during the similar period in successive periods. Besides the sea- sonal link, there is also a relationship between the observations made during sequential periods. This fact can be observed, for example, in

load demand in a month which shows a similar behavior every day and every week, thereby establishing an instance of both daily and weekly seasonality.

In this example, the daily seasonality indicates that a seasonal

Fig. 9. Load demand profile.

Fig. 10. PV power generation.

Fig. 11. Battery storage level.

M. Tavakoli et al. Electrical Power and Energy Systems 100 (2018) 1–9

6

pattern of order equal to 24 can be recognized as the series of hourly load demand. This means that the load at hour h on day d is approxi- mately similar to the demand at hour h on day d-1. This matter can also be explained for weekly seasonality, where the seasonality order is equal to × =24 7 168. In these situations, seasonal autoregressive in- tegrated moving average model, also known as SARIMA, which con- siders seasonality and potential seasonal unit roots, an extension of the ARMA model, is required [29].

Let us consider a stochastic process with seasonality of order S. The general expression of a seasonal ARIMA model with parameters

×p d q P D Q( , , ) ( , , )S can be expressed as:

∑ ∑

∑ ∑

⎝ ⎜ −

⎠ ⎟

⎝ ⎜ −

⎠ ⎟ − −

= ⎛

⎝ ⎜ −

⎠ ⎟

⎝ ⎜ −

⎠ ⎟

= =

= =

ϕ B φ B B B y

θ B B ε

1 . 1 . . (1 ) . (1 ) .

1 . . 1 ϑ . .

j

p

j j

j

P

j jS d S D

t

j

q

j j

j

Q

j jS

t

1 1

1 1 (6)

with a seasonal component of P autoregressive parameters …φ φ φ, , , P1 2 , Q moving average parameters …ϑ ,ϑ , ,ϑQ1 2 and a differentiation order D. In this paper, photovoltaic system power generation and load power de- mand which have a time-varying nature are characterized by seasonal ARIMA model. The forecasted value for commercial building load de- mand, PV generated power and electricity price are predicted by SARIMA model which is accurate in describing the tail fatness and seasonality effects.

4. CVaR based energy management to maximize resilience and minimize operational cost

Consider the case study system depicted in Fig. 1 where the PV system, battery energy storage and power grid are responsible to supply the commercial building for a finite time horizon. The time horizon considered could be discretized into N interval of length tΔ and the power demand of commercial building is met by either the PV, battery

or from the grid at each step time. The time horizon for simulation in this study is considered for one week equal to 168 h, as reported pre- viously. Each hour is regarded as one step time. For = …t T1,2, , N , there are eight decision variables as follows:

=P P P P P P P P s( , , , , , , , )t t GD

t GS

t PVD

t PVS

t PVG

t SG

t SD

t (7)

where Pt ij indicates the amount of power transferred from unit i to unit j

in the specified time step t. The superscripts G, PV, S, and D denote grid, Photovoltaic, battery storage and the load demand of the commercial building respectively. Consider St as the proportion of battery storage at the tth step time, St+1 which is equal to:

= + + − +

+S s η P P P P

S . ( ) ( )

t t

C t GS

t PVS

t SD

t SG

Battery 1

(8)

Taking into account the stated assumptions and the fact that PV and battery belong to the commercial building, the cost in each time step, imposed on the commercial building owner while exchanging power with the power grid is equal to:

= + − +t P C P C P C η P C P CCos ( , ) ( · · ) ( · · · )t t t t GD

t GD

t GS

t GS D

t SG

t SG

t PVG

t PVG (9)

For the sake of simplicity, identical values are considered for prices i.e. = = = =C C C C Ct

GD t GS

t SG

t PVG

t, which is acceptable in most energy markets. So the cost function will be equal to:

= + − +t P C P P η P P CCos ( , ) [ ( ) ( · ) ]·t t t t GD

t GS D

t SG

t PVG

t (10)

In fact, the operational cost of the commercial building owner is equal to the profit obtained from the power sent to the grid by the battery and RER minus the cost of power that supplies the commercial building from the power grid. At each time step, a simple policy for optimal operation is to minimize the t th stage cost by solving the following linear programming:

t P CMin Cos ( , )t t t (11)

This strategy is known afterwards by a simple policy in this paper. Although this policy is direct, it does not consider the impacts of de- cisions on the future conditions of the battery storage level. In addition, the uncertainty in electricity price and PV power generation is not considered. So it cannot be an interesting method practically. An al- ternative to the above strategy is risk neutral policy which considers the overall cost over the planning time horizon and it is obtained by solving the following problem:

∑ =

t P CMin Cos ( , ) T

N

t t t 1 (12)

Due to volatility and unpredictable nature of electricity price and PV generated power; neutral policy cannot also be a suitable approach for optimal management of energy. This is because it ignores the un- certainty in the electricity price and PV power generation. For this reason, it is essential to consider risk and uncertainty while seeking an optimal approach for energy management. Additionally, there is an- other alternative for neutral and simple policy known as risk averse policy which is made in this paper by incorporating the cost function represented in Eq. (9) into the minimization of conditional value at risk formulation in Eq. (4). Consideration of risk averse policy without considering battery limitations and constraints, leads to a linear pro- gramming problem as follows:

∑⎡ ⎣ ⎢ +

⎦ ⎥

=

t P C w CVaRMin (Cos ( , ) ) ( . ) T

N

t t t β 1 (13)

Subject to:

+ − + ⩽ +P P η P P C z α[ ( ) ( · ) ].t GD

t GS D

t SG

t PVG

t i (14)

⩾z 0,i (15)

=P D Pmin { , },t PVD

t t PV (16)

Fig. 12. Battery storage level.

Table 7 The operational cost for the two policies.

Index Policy

Neutral Risk Risk Averse −RiskAverse NeutralRisk NeutralRisk

Cost (for 7 days) 5,159,700,000 5,139,800,000 + 0.19 (%) Resilience Neutral Risk Risk Averse −RiskAverse NeutralRisk

NeutralRisk Average for 7 days 0.5001 0.6460 +29.2 (%)

M. Tavakoli et al. Electrical Power and Energy Systems 100 (2018) 1–9

7

= + +P P P P ,t PV

t PVS

t PVD

t PVG (17)

= + +D P η P P· ,t t GD D

t SD

t PVD (18)

+ − + ⩽ −P P η P P S S S( ) ·( ) [ ]. ,t SD

t SG C

t GS

t PVS

t Batterymin (19)

+ − + ⩽ −η P P P P S S S·( ) ( ) [ ]· ,C t GS

t PVS

t SD

t SG

t Batterymax (20)

+ ⩽η P P S S·( ) Δ · ,C t GS

t PVS C

Battery (21)

+ ⩽P P S S( ) Δ · ,t SD

t SG D

Battery (22)

where w which indicates the weighting factor for the price risk con- sideration is considered 50 in this paper. Constraint (16) indicates that the whole power generated by the PV is sent to the load demand when the PV power is less than the need of the commercial building. When the power generated by the PV is more than the commercial building demand, the excess power will be sent to the battery energy storage or power grid. Constraint (18) shows that the power demand of the commercial building is completely supplied by the grid, battery storage or PV power generation. Constraints (19) and (20) imply that the sto- rage level of the battery in the next step time remains greater than Smin but less than Smax respectively. Moreover, constraints (21) and (22) prevent the battery to charge or discharge faster than the acceptable rates during each time step. The simulation is done in MATLAB.

5. Results and discussions

In order to examine the accuracy of the proposed method, simula- tion results are provided in this section. For this reason, a case study introduced in Section 2 (Fig. 1) is used to investigate the suggested strategy. The data of electricity prices are available in [30] and the data related to irradiation of PV systems is also provided from National Renewable Energy Laboratory (NREL) [31]. In addition, the assumed load demand is typical of commercial buildings. The parameters of the battery energy storage are shown in Table 2. In order to have a rea- sonable approximation for the commercial building load demand, electricity price and PV power generation, SARIMA model are used for the forecasting to consider seasonality effect in their modeling. We consider two scenarios for the load demand and PV power generation.

In the first scenario, we assume that we have a PV system with a rated power of 1000 kW. The power demand of commercial building, power generation from PV and electricity price are shown over the time horizon of 168 h in Figs. 2–4 respectively. The simulation is carried out under two situations. In the first situation, the uncertainty in electricity price is considered while the second situation considers the uncertainty in the PV power generation.

5.1. Uncertainty in electricity price

SARIMA model is used in order to predict the electricity price based on historical data. However, day-ahead electricity price is generally accompanied with some uncertainty which causes a large effect on the energy management strategy and makes it more complex. Disregarding this uncertainty may lead to a non-optimal management. For this reason, in order to increase the resilience of the system and reduce the risk associated with day-ahead electricity price, CVaR is introduced in this paper. Figs. 5–7 illustrate the battery storage level for different kinds of energy management strategy (risk averse, neutral risk and simple policy) and under 3 confidence level β = 0.9, 0.95 and 0.99.

It is obvious from these figures that a simple policy makes the battery discharge to the minimum level as fast as possible and main- tains it in this condition for the rest of time horizon. On the other hand, risk neutral policy charges and discharges the battery when the ex- pected price is increasing and decreasing respectively and it does not consider the fluctuations in the electricity price. This switching between minimum and maximum charge level depends on ΔSC and ΔSD. In

contrast, risk averse policy does not have a similar pattern for all hor- izon time as it considers the uncertainty in electricity price in the op- timal planning. This policy is dependent on the confidence level β such that higher amount for β results in more different behavior than neutral risk policy in order to yield an optimal management for battery energy storage. This is due to the risk related to electricity price.

Tables 3–5 indicate the total operational cost and battery energy storage level of the commercial building for neutral risk and risk averse policy for different confidence levels. Here, the battery storage level could be interpreted as resilience of the commercial building microgrid. Because when a severe event occurs in the system, which isolates the commercial building from the main power grid, the only stable source which supplies the commercial building load demand is the battery energy storage. The average battery storage in both policies is provided in the Tables 3–5. In addition, the battery level at 1P.M. every day is considered in these tables. It is the time when PV generates its max- imum power and the difference between the battery storage level risk averse and neutral risk policy is maximum. According to Tables 3–5, as the confidence level increases, the operational cost of the commercial grid rises a little bit but the resilience of the commercial building mi- crogrid increases significantly.

According to Table 3, the whole operational cost of the commercial building in 168 h is increased by only 0.19% when the risk averse policy with confidence level of 0.90 is used rather than neutral risk policy. However, the resilience of the commercial building microgrid has im- proved to about 41.1% on the average and 183.3%, maximum (on day 7). In Tables 4 and 5, for the confidence level of 0.95 and 0.99, the operational cost is increased by 0.21% and 0.28% respectively using risk averse policy instead of neutral risk strategy. However, the

resilience of the commercial building microgrid has improved to about 44% on the average and 183.3% maximum (day 7) for confidence level equal to 0.95. Similarly, it is 46.9 on the average and 183.3% maximum (day 7) for the confidence level equal to 0.99. Consequently, using the risk averse policy may impose a little bit higher operational cost on the commercial building rather than neutral risk management, but it enhances the resilience of the system when an extreme incident, which leads to islanding of the commercial building from the power grid, occurs.

5.2. Uncertainty in PV power generation

SARIMA model is used to forecast PV power generation for one week based on historical data. However, the forecasted power genera- tion may have variations according to the weather conditions. Because RERs, like PV, are uncertain in power generation, it causes a great impact on power management for the day-ahead scheduling. Ignoring this uncertainty may cause some errors in the management, which could render the decision non-optimal. Therefore, to increase the resi- lience of the commercial building considered in this paper, CVaR is introduced to account for uncertainty in the PV power generation.

Fig. 8 shows the battery storage level for different kinds of energy management strategy (risk Averse only for confidence level of 0.99, neutral risk and simple policy). In simple policy, battery is discharged to the minimum level immediately and stays in that situation for the next few hours. On the other hand, in risk neutral policy, the battery is charged and discharged when the expected price is increasing and de- creasing respectively and does not depend on the uncertainty in the PV generation unit. This switching between minimum and maximum charge level is contingent on ΔSC and ΔSD. Finally in the risk averse policy, the energy management is done under risk consideration in PV generated power. The confidence level here is considered equal to 0.99. As it is evident from Fig. 8, the peak and the average level of the battery storage is at a higher level using risk averse policy rather than neutral risk strategy due to the uncertainty in the PV generation power. This causes improvement in the commercial building microgrid resilience while an extreme event causes the commercial building to be isolated

M. Tavakoli et al. Electrical Power and Energy Systems 100 (2018) 1–9

8

from the main power grid. Table 6 shows the total operational cost for 7 days and battery en-

ergy storage level of the commercial building for neutral risk and risk averse policy. Similar to the previous section, the battery storage level is taken as an index to show the resilience of the commercial building microgrid. Because the only stable source for commercial building after isolation from the power grid is battery storage, the average level of battery storage and the battery level at 5 P.M. every day is considered in these tables. Within the time period when the differences between battery storage level in risk averse and in neutral risk policy is max- imum, the average level of battery storage in 168 h is about 0.6024 using risk averse strategy compared to 0.4768 in neutral risk policy which shows a 26.34% increase.

Accordingly, it is reasonable to mention that the resilience of the commercial building microgrid is improved by about 26.34% on average and 41.7% maximum (in day 7) as presented in Table 6. On the other hand, the total operational cost of the commercial building during the 7-day period has increased slightly by about 0.32%. As a result, using the risk averse policy, the resilience of the commercial building microgrid during extreme events and with uncertainty in PV power generation has improved significantly whereas the increase in system operational cost in the neutral risk policy is negligible.

In the second scenario, a new case study with new load demand (3.5 times scenario 1) and PV power generation (2 times scenario 1) is considered. The value of load demand and PV power generation com- paring to scenario 1 are depicted in the Figs. 9 and 10.

According to Fig. 11, there is no change in the battery storage level when using simple policy and neutral risk policy. However, the battery storage level has changed due to variability in the load demand and PV power generation as shown in Fig. 12. This means that the proposed energy management based on CVaR is working properly. Table 7 il- lustrates the operational cost for the two policies. Here, only the average level of battery storage in 7 days is considered for the com- parison. As evident from this table, not only the average level of battery storage level has increased by about 29.2% (which indicates improve- ment in the system resilience), the operational cost has also reduced by about 0.4%. It should be noted that, these two scenarios are just taken as examples of the many possible scenarios that could be defined for the proposed approach.

6. Conclusion

Severe events such as thunderstorms, blizzards, floods, hurricanes and other incidents, which could impose big challenges on the power grid resilience, are increasingly widespread all over the world. Microgrids are generally a desirable solution in power system to im- prove resilience. This paper has presented an optimal management of battery energy storage in a PV-based commercial building to increase its resilience as it minimizes its operational cost. CVaR was used to account for the uncertainties in both the day-ahead electricity price and PV power generation. Simulation results revealed that the commercial building microgrid resilience was improved remarkably with a slight increase in the commercial building operational cost, though. For ex- ample, considering the uncertainty in the day-ahead electricity price of the case study, the risk averse policy with confidence levels of 0.90, 0.95 and 0.99 had a slight increase in the operational cost by about 0.19%, 0.21% and 0.28% respectively, whereas the resilience of the commercial building microgrid increased by about 41.1%, 44% and 46.9% respectively.

Considering the uncertainty in the PV power generation, the resi- lience of the commercial building microgrid using the risk averse policy with the confidence level of 0.99 increased by about 26.34% while its operational cost was just about 0.32% higher compared to the neutral risk strategy. For the battery storage level, at 5 P.M. daily for example, when the difference between the battery storage level in the risk averse

and neutral risk policy is maximum, the average battery storage level in 168 h, which is about 0.6024 using risk averse strategy compared to 0.4768 in neutral risk policy, which is about 26.34% increase.

References

[1] Critical infrastructure security and resilience. United States Presidential Policy Directive-21; 2013. 12.

[2] Chanda S, Srivastava AK. Defining and enabling resiliency of electric distribution systems with multiple microgrids. IEEE Trans Smart Grid 2016;7(6):2859–68.

[3] Che L, Shahidehpour M, Alabdulwahab A, Al-Turki Y. Hierarchical coordination of a community microgrid with AC and DC microgrids. IEEE Trans Smart Grid 2015;6(6):3042–51.

[4] Nguyen DT, Shen Y, Thai MT. Detecting critical nodes in interdependent power networks for vulnerability assessment. IEEE Trans Smart Grid 2013;4(1):151–9.

[5] Chaouachi A, Kamel RM, Andoulsi R, Nagasaka K. Multiobjective intelligent energy management for a microgrid. IEEE Trans Indus Electr 2013;60(4):1688–99.

[6] Gholami A, Shekari T, Aminifar F, Shahidehpour M. Microgrid scheduling with uncertainty: the quest for resilience. IEEE Trans Smart Grid 2016;7(6):2849–58.

[7] Khodaei A. Resiliency-oriented microgrid optimal scheduling. IEEE Trans Smart Grid 2014;5(4):1584–91.

[8] Che L, Shahidehpour M. DC microgrids: economic operation and enhancement of resilience by hierarchical control. IEEE Trans Smart Grid 2014;5(5):2517–26.

[9] Pham TTH, Besanger Y, Hadjsaid N. New challenges in power system restoration with large scale of dispersed generation insertion. IEEE Trans Power Syst 2009;24(1):398–406.

[10] Farzin H, Firuzabad MF, Moein-Aghtaie M. Enhancing power system resilience through hierarchical outage management in multi-microgrids. IEEE Trans Smart Grid 2016;7(6):2869–79.

[11] Pashajavid E, Shahnia F, Ghosh A. Development of a self-healing strategy to en- hance the overloading resilience of islanded microgrids. IEEE Trans Smart Grid 2017;8(2):868–80.

[12] Golestaneh F, Gooi HB, Pinson P. Generation and evaluation of space–time trajec- tories of photovoltaic power. Appl Energy 2016;176:80–91.

[13] Tastu J, Pinson P, Madsen H. Space-time trajectories of wind power generation: Parameterized precision matrices under a Gaussian copula approach. Modeling and stochastic learning for forecasting in high dimensions. Springer; 2015. p. 267–96.

[14] Anvari-Moghaddam A, Guerrero JM, Vasquez JC, Monsef H, Rahimi-Kian A. Efficient energy management for a grid-tied residential microgrid. IET Gener Transm Distrib 2017;11(11):2752–61.

[15] Nikmehr N, Najafi-Ravadanegh S, Khodaei A. Probabilistic optimal scheduling of networked microgrids considering time-based demand response programs under uncertainty. Appl Energy 2017;198:267–79.

[16] Farzin H, Ghorani R, Fotuhi-Firuzabad M, Moeini-Aghtaie M. A market mechanism to quantify emergency energy transactions value in a multi-microgrid system. IEEE Trans Sustainable Energy 2017;99:1–12.

[17] Wang Z, Chen B, Wang J, Chen C. Networked microgrids for self-healing power systems. IEEE Trans Smart Grid 2016;7(1):310–9.

[18] Chen C, Wang J, Qiu F, Zhao D. Resilient distribution system by microgrids for- mation after natural disasters. IEEE Trans Smart Grid 2016;7(2):958–66.

[19] Arefifar SA, Mohamed YARI, EL-Fouly THM. Comprehensive operational planning framework for self-healing control actions in smart distribution grids. IEEE Trans Power Syst 2013;28(4):4192–200.

[20] Artzner P, Delbaen F, Eber JM, Heath D. Coherent measures of risk. Math. Finance 1999;9(3):203–28.

[21] Aghaei JJ, Barani M, Shafie-khah M, Sánchez de la Nieta AA, Catalãossss JPS. Risk- constrained offering strategy for aggregated hybrid power plant including wind power producer and demand response provider. IEEE Trans Sustain Energy 2016;7(2):513–25.

[22] Farzan F, Jafari MA, Masiello R, Lu Y. Toward optimal day-ahead scheduling and operation control of microgrids under uncertainty. IEEE Trans Smart Grid 2015;6(2):499–507.

[23] Wu Z, Zhou S, Li J, Zhang XP. Real-time scheduling of residential appliances via conditional risk at value. IEEE Trans Smart Grid 2014;5(3):1282–91.

[24] Meegahapola LG, Robinson D, Agalgaonkar AP, Perera S, Ciufo P. Microgrids of commercial buildings: strategies to manage mode transfer from grid connected to islanded mode. IEEE Trans Sustain. Energy 2014;5(4):1337–47.

[25] Rockafellar RT, Uryasev S. Optimization of conditional value at risk. Journal of risk 2000;2(3):21–42.

[26] Rockafellar RT, Uryasev S. Conditional Value-at-risk for general loss distributions. J Bank Finance 2002;26:1443–71.

[27] Khodabakhsh R, Sirouspour S. Optimal control of energy storage in a microgrid by minimizing conditional value-at-risk. IEEE Trans Sustain Energy 2016;7(3):1264–73.

[28] Conejo AJ, Carrion M, Morales JM. Decision making under uncertainty in electricity markets. New York: Springer; 2010.

[29] Box GEP, Jenkins GM, Reinsel GC. Time series analysis: forecasting and control. 3rd ed. NJ, Prentice Hall: Wiley; 1994.

[30] Available: < http://www.nyiso.com/public/markets_operations /market_data/ load_data/index.jsp > .

[31] Solar Data. Available: < http://www.nrel.gosolar_data.html > .

M. Tavakoli et al. Electrical Power and Energy Systems 100 (2018) 1–9

9

  • CVaR-based energy management scheme for optimal resilience and operational cost in commercial building microgrids
    • Introduction
    • The description of the proposed scheme
    • Risk measurement and scenario generation
      • Risk measurement
      • Scenario generation using seasonal ARIMA model
    • CVaR based energy management to maximize resilience and minimize operational cost
    • Results and discussions
      • Uncertainty in electricity price
      • Uncertainty in PV power generation
    • Conclusion
    • References