원시데이터 수집 시스템
선정목록으로

Optimal sizing and energy scheduling of isolated microgrid considering the battery lifetime degradation

관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)

기본 정보

저자
  1. Muhammad Sufyan — Iqra University, Main Campus, Karachi, Pakistan|||Higher Institution Centre of Excellence (HICoE), UM Power Energy Dedicated Advanced Centre (UMPEDAC) Wisma R & D, University of Malaya, Kuala Lumpur, Malaysia
  2. Nasrudin Abd Rahim — Higher Institution Centre of Excellence (HICoE), UM Power Energy Dedicated Advanced Centre (UMPEDAC) Wisma R & D, University of Malaya, Kuala Lumpur, Malaysia
  3. ChiaKwang Tan — Higher Institution Centre of Excellence (HICoE), UM Power Energy Dedicated Advanced Centre (UMPEDAC) Wisma R & D, University of Malaya, Kuala Lumpur, Malaysia
  4. Munir Azam Muhammad — Iqra University, Main Campus, Karachi, Pakistan|||Department of Electrical Engineering, University of Malaya, Kuala Lumpur, Malaysia
  5. Siti Rohani Sheikh Raihan — Higher Institution Centre of Excellence (HICoE), UM Power Energy Dedicated Advanced Centre (UMPEDAC) Wisma R & D, University of Malaya, Kuala Lumpur, Malaysia
DOI
10.1371/journal.pone.0211642
저널
PLoS ONE
발행년도
2019
발행기관
Public Library of Science
피인용수
100
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1371/journal.pone.0211642
토픽
Hybrid Renewable Energy Systems
OpenAlex ID
W2913207199

평가 내용

관련도
관련
사업분야
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

The incessantly growing demand for electricity in today's world claims an efficient and reliable system of energy supply. Distributed energy resources such as diesel generators, wind energy and solar energy can be combined within a microgrid to provide energy to the consumers in a sustainable manner. In order to ensure more reliable and economical energy supply, battery storage system is integrated within the microgrid. In this article, operating cost of isolated microgrid is reduced by economic scheduling considering the optimal size of the battery. However, deep discharge shortens the lifetime of battery operation. Therefore, the real time battery operation cost is modeled considering the depth of discharge at each time interval. Moreover, the proposed economic scheduling with battery sizing is optimized using firefly algorithm (FA). The efficacy of FA is compared with other metaheuristic techniques in terms of performance measurement indices, which are cost of electricity and loss of power supply probability. The results show that the proposed technique reduces the cost of microgrid and attain optimal size of the battery.

본문 72,862자

본문 펼치기
~~<u>[a1111111111](http://crossmark.crossref.org/dialog/?doi=10.1371/journal.pone.0211642&domain=pdf&date_stamp=2019-02-14)</u>~~ ~~<u>[a1111111111](http://crossmark.crossref.org/dialog/?doi=10.1371/journal.pone.0211642&domain=pdf&date_stamp=2019-02-14)</u>~~ ~~<u>[a1111111111](http://crossmark.crossref.org/dialog/?doi=10.1371/journal.pone.0211642&domain=pdf&date_stamp=2019-02-14)</u>~~ ~~<u>[a1111111111](http://crossmark.crossref.org/dialog/?doi=10.1371/journal.pone.0211642&domain=pdf&date_stamp=2019-02-14)</u>~~ ~~<u>[a1111111111](http://crossmark.crossref.org/dialog/?doi=10.1371/journal.pone.0211642&domain=pdf&date_stamp=2019-02-14)</u>~~ OPEN ACCESS Citation: Sufyan M, Abd Rahim N, Tan C, Muhammad MA, Sheikh Raihan SR (2019) Optimal sizing and energy scheduling of isolated microgrid considering the battery lifetime degradation. PLoS [ONE 14(2): e0211642. https://doi.org/10.1371/](https://doi.org/10.1371/journal.pone.0211642) [journal.pone.0211642](https://doi.org/10.1371/journal.pone.0211642) Editor: Yang Li, Northeast Electric Power University, CHINA Received: October 9, 2018 Accepted: January 17, 2019 Published: February 14, 2019 Copyright: © 2019 Sufyan et al. This is an open access article distributed under the terms of the [Creative Commons Attribution License, which](http://creativecommons.org/licenses/by/4.0/) permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited. Data Availability Statement: All relevant data are within the manuscript and its Supporting Information files. Funding: The authors would like to acknowledge the support by the Ministry of Higher Education through FRGS (FP052-2017A). The authors thank the technical and financial assistance of UM Power Energy Dedicated Advanced Centre (UMPEDAC), the Higher Institution Centre of Excellence (HICoE) Program Research Grant, UMPEDAC - 2018 (MOHE HICOE – UMPEDAC) and RU007-2018.The RESEARCH ARTICLE # Optimal sizing and energy scheduling of isolated microgrid considering the battery lifetime degradation [Muhammad SufyanID](http://orcid.org/0000-0001-7029-2262) <sup>1,2</sup> , Nasrudin Abd Rahim <sup>1</sup> *, ChiaKwang Tan <sup>1</sup> , Munir Azam Muhammad <sup>2,3</sup> , Siti Rohani Sheikh Raihan <sup>1</sup> 1 Higher Institution Centre of Excellence (HICoE), UM Power Energy Dedicated Advanced Centre (UMPEDAC) Wisma R & D, University of Malaya, Kuala Lumpur, Malaysia, 2 Iqra University, Main Campus, Karachi, Pakistan, 3 Department of Electrical Engineering, University of Malaya, Kuala Lumpur, Malaysia - nasrudin@um.edu.my ## Abstract The incessantly growing demand for electricity in today’s world claims an efficient and reli able system of energy supply. Distributed energy resources such as diesel generators, wind energy and solar energy can be combined within a microgrid to provide energy to the con sumers in a sustainable manner. In order to ensure more reliable and economical energy supply, battery storage system is integrated within the microgrid. In this article, operating cost of isolated microgrid is reduced by economic scheduling considering the optimal size of the battery. However, deep discharge shortens the lifetime of battery operation. Therefore, the real time battery operation cost is modeled considering the depth of discharge at each time interval. Moreover, the proposed economic scheduling with battery sizing is optimized using firefly algorithm (FA). The efficacy of FA is compared with other metaheuristic tech niques in terms of performance measurement indices, which are cost of electricity and loss of power supply probability. The results show that the proposed technique reduces the cost of microgrid and attain optimal size of the battery. 1. Introduction In the last few decades, the world is seeing an unprecedented rise in its population with the resultant subsequent excessive power demand, both of which are the main operative factors behind global warming and carbon emissions. Unfortunately, we are still adamantly depending on the usage of fossil fuels which incidentally are still playing the major role in supplying energy for the power generation and transportation system. However, continual and inevitable depletion of fossil fuel resources in the recent years has put a serious pressure to bear on the governments and energy entrepreneurs to be responsible enough to move towards replenishment of energy through RES [1]. Greenhouse gas emission is reduced by replacing fossil fuels with renewable energy and leads to a growth in the industrial sector. However, the intermittent nature of RES is thwarting the stability of the power system in the economic sense of the word, hence, efficiently controlled methods have become the order of the day to overcome the issues [PLOS ONE | https://doi org/10 1371/journal pone 0211642](https://doi.org/10.1371/journal.pone.0211642) February 14 2019 1 / 28 funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript. Competing interests: The authors have declared that no competing interests exist. Battery sizing and economic scheduling of microgrid of voltage disturbances, frequency regulations and network security during the high penetration of the RES to meet the growing demand of the population at large [2]. Table 1 shows all the nomenclature that would be used in this paper. Microgrids have emerged as a platform to integrate DER, such as diesel generators (DG), wind turbine (WT), microturbine (MT), fuel cell (FC), solar photovoltaic (PV) panels and energy storage system (ESS) within a network to feed into the utility grid in a more orderly and manageable network. Microgrids can be operated in the islanded mode as well as gridconnected mode, depending on the load conditions and electricity market price [3, 4], providing the potential to solve the existing power system problems of stability, reliability and demand response. Because of the limited reach of utility grid, microgrids in islanded mode are more intended for the power balance as compared to the grid-connected mode. Therefore, reliable power sources like synchronous generator and energy storage are the crucial elements to regulate voltage and frequency and improve the stability of the system [5, 6]. Over the past few years, ESS has become an essential component of microgrid. The voltage and frequency regulation in an islanded microgrid can be performed by ESS in the absence of synchronous generators. Moreover, the power fluctuations caused by RES can also be reduced by ESS. In addition, ESS is capable of storing the energy during the periods of high-power generation and releasing it when the load exceeds the power generation capacity. ESS with high energy density and longer discharge time are utilized for the applications related to economic energy dispatch and peak shaving. On the other hand, a high power density ESS with a fast response capability is employed for the voltage control and frequency regulation applications [7, 8]. Battery energy storage systems are best suited for power system applications due to their technical benefits and ability to provide both the power and the energy density. In order to ensure the reliability, security and economic benefits of the microgrid, ascertaining an optimal size of a BESS is very much essential. Economic scheduling together with an optimal battery size is also significant for rural electrification schemes in small towns where the electrical grid is not available. The operation and the scheduling of the BESS have been addressed by many researchers but the design and estimate of its optimal size to achieve a cost-effective system with minimum power losses is still in progress. In [9], the energy storage size is determined for the frequency regulation services in an islanded microgrid. The overloading characteristic of BESS is implemented for a short time duration to control frequency, resulting in a quick response of battery to overcome a power mismatch. However, the authors did not consider the impact of lifetime degradation and economic drawbacks by overloading the BESS. A load shedding scheme for ascertaining an optimal battery size is considered in [10]. The proposed method has made use of a metaheuristic optimization algorithm to control the frequency and minimize the operating cost of the microgrid. A unit commitment approach for the sizing of energy storage system in grid-connected and islanded mode is analyzed in [11]. A typical load profile and renewable energy data have been considered for the BESS sizing to reduce the total cost and increase the economic benefits of the microgrid. The effect of uncertainty of renewable energy on BESS and scheduling of DER are optimized by here and now approach. A multi-objective optimization problem for the optimal location and sizing of BESS is considered in [12] for the purpose of voltage regulation of the microgrid. The authors observed that total losses of the distribution system along with the BESS installation cost and investment cost of the DER are minimized. The voltage profiles of the distribution system were improved and the battery lifetime was extended, thereby saving the replacement cost. A reliability index known as loss of load expectation has been discussed in [13] that helps to curtail the microgrid operating cost by optimizing the battery size. The economic benefits of [PLOS ONE | https://doi org/10 1371/journal pone 0211642](https://doi.org/10.1371/journal.pone.0211642) February 14 2019 2 / 28 Battery sizing and economic scheduling of microgrid Table 1. Nomenclature table. <u>Indices</u> <u>Variables</u> _<u>t</u>_ <u>time period (h)</u> _<u>Pw</u>_ <u>,</u> _<u>h</u>_ <u>output power of wind turbine at hour h (kW)</u> _<u>i</u>_ <u>diesel generator</u> _<u>ICWT</u>_ <u>initial cost of wind turbine ($/kW)</u> _<u>CWT</u>_ <u>cost of wind turbine power ($)</u> <u>Parameters</u> _<u>PPV</u>_ <u>,</u> _<u>out</u>_ <u>output power of the solar panel (kW)</u> _<u>pw</u>_ <u>,max</u> <u>maximum power output of WT (kW)</u> _<u>ICPV</u>_ <u>initial cost of photovoltaic ($/kW)</u> _<u>vh</u>_ <u>speed of wind at hour h (m/s)</u> _<u>CPV</u>_ <u>cost of solar photovoltaic power ($)</u> _<u>vrt</u>_ <u>rated wind speed (m/s)</u> _<u>Cd</u>_ <u>.</u> _<u>gen</u>_ <u>cost of diesel generator ($)</u> _<u>vc</u>_ <u>,</u> _<u>i</u>_ <u>cut-in wind speed (m/s)</u> _<u>CBATT</u>_ <u>cost of energy storage ($)</u> _<u>vc</u>_ <u>,</u> _<u>o</u>_ <u>cut-out wind speed (m/s)</u> _<u>PL</u>_ <u>microgrid load (kW)</u> _<u>ir</u>_ <u>interest rate</u> _<u>SCD</u>_ <u>daily scheduling cost ($)</u> _<u>Ly</u>_ <u>projected lifetime</u> <u>MC</u> <u>maintenance cost ($/kWh)</u> _<u>PPV</u>_ <u>,</u> _<u>rated</u>_ <u>maximum power of PV (kW)</u> <u>TCPD</u> <u>total cost per day ($)</u> _<u>I</u>_ <u>solar radiation at particular day(W/m</u> <sup>2</sup> <u>)</u> <u>Acronyms</u> _<u>Iref</u>_ <u>solar radiation at standard temperature</u> <u>RES</u> <u>Renewable Energy Sources</u> _<u>Tref</u>_ <u>standard temperature</u> <u>DER</u> <u>distributed energy resources</u> _<u>Tamb</u>_ <u>ambient temperature of the solar panel</u> <u>ESS</u> <u>energy storage system</u> _<u>kt</u>_ <u>coefficient of solar power</u> <u>PV</u> <u>photovoltaic</u> _<u>Pd</u>_ <u>.</u> _<u>gen</u>_ <u>,</u> _<u>i</u>_ <u>power generated by</u> _<u>i</u>_ <sup>th</sup> <u>generator at time</u> _<u>t</u>_ <u>(kW)</u> <u>WT</u> <u>wind turbine</u> _<u>ai</u>_ <u>,</u> _<u>bi</u>_ <u>,</u> _<u>ci</u>_ <u>cost coefficients of the</u> _<u>i</u>_ <sup>th</sup> <u>generators</u> <u>BESS</u> <u>battery energy storage system</u> _<u>Cbatt</u>_ <u>,</u> _<u>cap</u>_ <u>capital cost of energy storage ($)</u> <u>LOLE</u> <u>loss of load expectation</u> _<u>Pbatt</u>_ <u>amount of power charged/discharged by battery</u> <u>TOU</u> <u>time of use</u> _<u>Ebatt</u>_ <u>,</u> _<u>t</u>_ <u>battery energy storage total capacity</u> <u>VRB</u> <u>vanadium redox battery</u> _<u>lc</u>_ <u>(</u> _<u>DODbatt</u>_ <u>)</u> <u>number of cycles of energy storage at particular DOD</u> <u>MILP</u> <u>mixed integer linear programming</u> _<u>ηbatt</u>_ <u>efficiency of the energy storage</u> <u>DOD</u> <u>depth of discharge</u> _<u>Pbatt</u>_ <u>,</u> _<u>ch</u>_ <u>amount of power charged by energy storage</u> <u>CRF</u> <u>capital recovery factor</u> _<u>Pbatt</u>_ <u>,</u> _<u>dch</u>_ <u>amount of power discharged by energy storage</u> <u>SOC</u> <u>state of charge</u> <u>Z</u> <sup>_ch_</sup> <sup>_ch_</sup> _<u>batt</u>_ <sup><u>/Z</u></sup> <sup>_dch_</sup> _<u>batt</u>_ <sup>min</sup> _<u>batt</u>_ <sup><u>/</u></sup> <sup>_<u>E</u>_</sup> <sup>max</sup> _<u>batt</u>_ <sup>_dch_</sup> _<u>batt</u>_ <u>battery charging /discharging efficiency</u> <u>COE</u> <u>cost of electricity</u> _<u>E</u>_ <sup>min</sup> _<u>batt</u>_ <sup>max</sup> _<u>batt</u>_ <u>minimum /maximum battery capacity level</u> <u>LPSP</u> <u>loss of power supply probability</u> _<u>μbatt</u>_ <u>,</u> _<u>st</u>_ <u>binary status of battery operation</u> <u>OC</u> <u>operating cost</u> _<u>Pd</u>_ <sup>min</sup> _<u>:gen</u>_ _<u>d</u>_ <sup>min</sup> _<u>:gen;i</u>_ <sup>/</sup> <sup>_<u>P</u>_</sup> _<u>d</u>_ <sup>max</sup> _<u>:gen</u>_ _<u>d</u>_ <sup>max</sup> _<u>:gen;i</u>_ minimum and maximum generator limit [https://doi.org/10.1371/journal.pone.0211642.t001](https://doi.org/10.1371/journal.pone.0211642.t001) the microgrid are justified by providing power from ESS to local loads at a low price during peak periods and controlling excessive power generations. A new approach for an optimal energy management using an Alternating Direction Method of the Multiplier (ADMM) has been proposed in [14]. The authors proposed a centralized controller to avoid congestion in the communication network for the data exchange between the customer and the control center. The ADMM algorithm manages the DER of the microgrid for the optimal energy scheduling. The optimal location and size of energy storage was calculated in [15] to reduce the operation cost and LOLE of microgrid. The bi-objective optimization incorporates the demand response program for peak shaving and economic scheduling of the microgrid. A trade-off between the total cost and LOLE yields the optimal size of BESS. Nguyen in [16] claimed that the vanadium redox battery in microgrid system could be effective in both the islanded and the grid-connected modes. The dynamic programming-based unit commitment method is implemented to find the optimum size of the VRB. Furthermore, the authors consider nonlinear charge/discharge efficiencies as a function of voltage, stack efficiency and temperature. A probabilistic approach for optimal battery sizing was analyzed by using the Monte Carlo simulation in [17]. The time of use tariff and the bidirectional energy transfer with the [PLOS ONE | https://doi org/10 1371/journal pone 0211642](https://doi.org/10.1371/journal.pone.0211642) February 14 2019 3 / 28 Battery sizing and economic scheduling of microgrid grid has been taken into consideration for an effective battery sizing. However, the profit of installing BESS decreases with the increase in tariff. A hybrid approach comprising a heuristic and analytical optimization is proposed in [18] to schedule the charge/discharge cycle of BESS in isolated microgrid. The dynamic response is implemented under a real time pricing scheme to maintain a balance between the supply and demand in the microgrid and the BESS. The results report the effective participation of BESS in economic scheduling of isolated microgrid. In [19] the uncertainties of load and renewable power generation are mitigated by scheduling the microgrid such that the BESS provides the spinning reserves service. The proposed discretized step transformation method handles the spinning reserve requirement to obtain a balanced tradeoff between the operation cost and the reliability of the microgrid. The energy scheduling and the cost minimization method in a real time electricity pricing environment are presented in [20]. The energy flow is coordinated in a model predictive control framework considering the TOU with different renewable energy data for the summer and winter periods. The authors suggested the proposed scheme as a benchmark for the real time electricity pricing to minimize the cost consumption with low and high demand periods. The pricing mechanism under a fixed rate, time of use and a real time pricing are compared in a microgrid environment [21, 22]. The results support the real time pricing scheme for the energy selling by distributed generators and energy storage. The information gap decision theory and an interval optimization approach are analyzed to evaluate the risk criteria. In [23], a grey wolf optimization technique has been implemented to determine the optimal BESS size and minimize the microgrid operating cost. The BESS with an initial charge equivalent to its optimal size increases the net profit as compared to the BESS with no charge. A heuristic method incorporating particle swarm optimization (PSO) is used to find the optimal size of the BESS in [24]. The mix-mode energy management strategy is applied to operate the microgrid at the minimum operating cost by integrating three different strategies. Linear programming and MILP methods are used to minimize the cost of the microgrid under these strategies. The genetic algorithm (GA) based method to determine the optimal battery size has been presented in [25]. The proposed method uses the fuzzy expert system to regulate the power flow of the energy storage. A lifetime aging model predicts the lifetime and operating cost of the microgrid. The lifetime (Ly) of the battery is an essential factor in calculating the annualized cost of BESS, which controls the microgrid operating cost. The lifetime of the battery is affected by two main factors, namely,1) the lifecycle stating the number of charge and discharge cycles a BESS can sustain, and 2) the depth of discharge representing the amount of capacity used by a BESS. In the above literatures, the estimated value of Ly is predicted to calculate the annualized cost of BESS, whereas [25] has used a lifetime prediction model to determine the battery lifetime. However, the calculated lifetime of an optimal battery size is considered to be very short due to deep discharge cycles. In this paper, a new approach has been presented to schedule the energy resources in the microgrid considering optimal battery size. The addition of energy storage in the microgrid increases capital cost, but also reduces the operating cost of system. Moreover, optimal size of the battery prolongs the lifetime of the storage system and it is significantly affected by the DOD. In this research, to maximize the economic benefit and minimizes the operational cost, microgrid is incorporated with diesel generator, renewable energy and optimal size of energy storage. Therefore, firefly algorithm has been considered to attain the optimal dispatch which minimizes the generation cost. The main goal of the paper is to formulate the battery cost equation for real time analysis considering depth of discharge at each time interval. In addition to that, this research proposes the battery operational cost in term of DOD. Hence optimal [PLOS ONE | https://doi org/10 1371/journal pone 0211642](https://doi.org/10.1371/journal.pone.0211642) February 14 2019 4 / 28 Battery sizing and economic scheduling of microgrid DOD, prolongs the life span of BESS. The efficacy of the proposed method has been verified by comparing it with other techniques proposed in the literature. The proposed method manages to attain lower operating cost without the loss of power supply at any interval of time. The rest of the paper is organized as follows. Section 2 describes the modelling of microgrid and its components. Section 3 presents the power management strategies for the economic scheduling of microgrid and section 4 focuses on the performance measurement indices to evaluate the results. The objective function and the constraints of the system are formulated in section 5. Section 6 describes the methodology of the proposed model to implement the strategies discussed in section 3 with minimal operating cost of microgrid. Section 7 discusses the optimization algorithm whereas simulation results are illustrated in section 8. 2. Hybrid microgrid system A hybrid isolated microgrid system contains three subsystems: the power demand, the power generation, and the power distribution subsystem. These subsystems have major impact on the cost of the microgrid system. They are dependent on the climatic conditions and the consumer services. This section presents the power and cost models for the wind, solar, diesel generator and energy storage as the DERs of the power generation subsystem, load profile of the residential area as the demand subsystem and the microgrid itself is configured as the power distribution subsystem. The combination of different RESs improves the system efficiency and reduces the requirements of energy storage as compared to a single RES. The general schematic of the microgrid system containing the three systems is as shown in Fig 1. 2.1. Wind turbine model The power model of a wind turbine (WT) measures the power as a function of the hourly wind speed. The relation between the output power and the speed is given by the relationship below [12]: _pw;_ max _vrt_ - _vh_ - _vc;o_ 0 _vh_ - _vc;i_ _or vh_ - _vc;o_ _Pw;h_ ¼ 8 >>>< >>>: _pw;_ max� <sup>_<u>vh</u>_</sup> <sup>�</sup> <sup>_<u>vc;i</u>_</sup> _vrt_ - _vc;i_ _vc;i_ - _vh_ - _vrt_ ð1Þ <u>Fig 1.</u> <u>General schematic of hybrid microgrid.</u> [https://doi.org/10.1371/journal.pone.0211642.g001](https://doi.org/10.1371/journal.pone.0211642.g001) [PLOS ONE | https://doi org/10 1371/journal pone 0211642](https://doi.org/10.1371/journal.pone.0211642) February 14 2019 5 / 28 Battery sizing and economic scheduling of microgrid The cost of power dissipated by wind turbine in a particular day is the product of power dispatched and the initial cost of wind turbine. The capital recovery factor calculates the present value for the 24-hour analysis taking interest rate and projected lifetime into consideration. ! _CWT_ ¼ X _T_ _t_ ¼1 _Pw;h_ ð _t_ Þ - _ICWT_ - _CRF_ ð2Þ <sup><u>1</u></sup> _<u>ir</u>_ <u>ð1 þ</u> _<u>ir</u>_ <u>Þ</u> 365 <sup>�</sup> ð1 þ _ir_ Þ _ly_ _ly_ _CRF_ ¼ <sup><u>1</u></sup> ð1 þ _ir_ Þ ð3Þ _ly_ - 1 2.2. Solar PV model The power measured by solar photovoltaic array is dependent on the solar irradiation and the ambient temperature at each hour. The PV power is given by [26] _PPV;out_ ¼ _PPV;rated_ - <sup>_<u>I</u>_</sup> _Iref_ �½1 þ _kt_ fð _Tamb_ þ ð0 _:_ 0256� _I_ ÞÞ � _Tref_ g� ð4Þ The cost of power dispatched by solar photovoltaic is dependent on the initial cost and power output defined as ! _CPV_ ¼ X _T_ _t_ ¼1 _PPV;out_ ð _t_ Þ - _ICPV_ - _CRF_ ð5Þ 2.3. Diesel generator A diesel generator and energy storage are the secondary power generation sources for the microgrid when the renewable energy cannot fulfill the required electricity demand. The conventional generator serves as a backup energy source and improves the system reliability by smoothing the power generation from the renewable energy source. The high cost of energy storage has captivated the attention of utility providers to utilize diesel generators in the microgrid. There are a total of three generators considered in this study. The cost of the generator in terms of power dispatch is expressed by [27] _Cd:gen_ ¼ _Fi_ ð _Pd:gen;i_ ð _t_ ÞÞ ¼ _aiPd_ <sup>2</sup> _:gen;i_ <sup>ð</sup> <sup>_t_</sup> <sup>Þ þ</sup> <sup>_b_</sup> _i_ <sup>_P_</sup> _d:gen;i_ <sup>ð</sup> <sup>_t_</sup> <sup>Þ þ</sup> <sup>_c_</sup> _i_ ð6Þ 2.4. Battery energy storage model The BESS in a microgrid is used to avoid any power mismatch between the demand and generation. The selection of different battery energy storage units, each having its own distinguished characteristics in power and energy, depends on the nature of the power required and the power delivered. Lithium-ion battery is used in this paper as they are currently mainly used for storing wind and solar energy due to its high energy density among other battery technologies, long life cycle and high efficiency [11, 28]. The energy storage cost analysis is shown in Fig 2 for different values of power discharge and depth of discharge. The figure depicts that the cost of the energy storage increases when the DOD is high and similarly the cost is increased when the battery discharges more power. The increase in the discharge power results in decreasing the capacity of the energy storage and causes the DOD to be high. However, the continuous discharge of high power from the energy storage at maximum DOD increases the cost of the energy storage to the maximum value. The cost of charging/discharging battery at any time interval as a function of battery power and DOD is formulated in Eq (7) [29, 30]. The lifecycle of the lithium-ion battery is represented by an exponential function taken from [31]. The cost [PLOS ONE | https://doi org/10 1371/journal pone 0211642](https://doi.org/10.1371/journal.pone.0211642) February 14 2019 6 / 28 Battery sizing and economic scheduling of microgrid function of the battery storage during charge/discharge event is modelled as _<u>Cbatt;cap</u>_ - _<u>Pbatt</u>_ ð _<u>t</u>_ Þ�D _<u>t</u>_ _CBATT_ ð _t_ Þ ¼ _Ebatt;t_ - _lc_ ð _DODbatt_ ð _t_ ÞÞ�Z _batt_ ð7Þ 2 _lc_ ð _DODbatt_ ð _t_ ÞÞ ¼ 694�ð _DODbatt_ ð _t_ ÞÞ - 0 _:_ 795 ð8Þ _DODbatt_ ð _t_ Þ ¼ 1 � _SOCbatt_ ð _t_ Þ ð9Þ The state of charge (SOC) represents the status of battery capacity given by _<u>batt</u>_ _SOCbatt_ ð _t_ þ 1Þ ¼ _SOCbatt_ ð _t_ Þ � <sup>_<u>Pbatt;ch</u>_</sup> <sup>ð</sup> <sup>_<u>t</u>_</sup> <sup>Þ�D</sup> <sup>_<u>t</u>_</sup> <sup>�Z</sup> <sup>_ch_</sup> _Ebatt;t_ - <sup>_<u>Pbatt;dch</u>_</sup> <sup>ð</sup> <sup>_<u>t</u>_</sup> <sup>Þ�D</sup> <sup>_<u>t</u>_</sup> _Ebatt;t_ �Z _batt_ <sup>_dch_</sup> ð10Þ where Δ _t_ is the time interval taken as 1 hour. The battery charging Z <sup>_ch_</sup> <sup>_ch_</sup> _batt_ <sup>and discharging Z</sup> _batt_ <sup>_dch_</sup> _batt_ efficiency is considered same in this paper and is equal to efficiency of battery. 3. Power management strategy The power management strategy of the microgrid has a direct impact on the operational behavior of the system regardless of grid-connected or isolated mode of operation. However, in the isolated mode the power generated from the distributed resources must satisfy the load demand for a secure and reliable operation; otherwise, the system will face load shedding which will increase the cost in term of power losses. The unavailability of DERs at certain times of the day will force the diesel generator and battery storage to operate and dispatch optimal power. Moreover, an excess power generation by renewable resources necessitates the charging of the battery. The extra energy after charging is dissipated into dump load to avoid overcharging of batteries. Thus, an efficient power management strategy is required to dispatch the power at the lowest cost to reliably serve the load considering the technical constraints of the microgrid. The power strategy for economic scheduling in this paper has been summarized into the following scenarios: Scenario 1: Renewable energy sources are capable to provide sufficient energy to meet the load demand and the battery is charged by the excess energy. Scenario 2: This scenario is identical to scenario 1 with the exception that the battery is fully charged and the extra energy generated by renewable sources is dissipated as a dump load. Scenario 3: Renewable energy resources cannot satisfy the required load of the system. The algorithm will decide to run the diesel generators or discharge the battery depending on the required load and the cost accumulated in two distributed sources. Scenario 4: The renewable sources energy generation is insufficient to satisfy the required load and depth of discharge of battery storage is high, with the result that the generator will dispatch the remaining power and also to charge the battery to reduce the depth of discharge. 4. Performance measurement models 4.1 Cost of electricity The cost of electricity is calculated as an indicator of the economic profitability of hybrid microgrid. The electricity cost is the ratio of the sum of the costs associated with solar photovoltaic ( _CPV_ ), wind turbine ( _CWT_ ), diesel generators ( _Cd_ . _gen_ ) and the energy storage ( _CBATT_ ) to the total load of the day. The electricity cost is measured between all the power generation [PLOS ONE | https://doi org/10 1371/journal pone 0211642](https://doi.org/10.1371/journal.pone.0211642) February 14 2019 7 / 28 <u>Fig 2.</u> <u>Cost of energy storage for different DOD and power discharge.</u> [https://doi.org/10.1371/journal.pone.0211642.g002](https://doi.org/10.1371/journal.pone.0211642.g002) resources and load for the 24-hour analysis. Battery sizing and economic scheduling of microgrid X _T_ ð _Cd:gen_ þ _CBATT_ Þ _PL_ Cost of Electricity ¼ 4.2 Reliability analysis _CPV_ þ _CWT_ þ _<u>t</u>_ <u>¼1</u> X _T_ _t_ ¼1 ð11Þ The reliability of the microgrid is measured by the statistical parameter loss of power supply probability. The reliability parameter signifies the probability over the time horizon when the generation fails to satisfy the demand. This failure can be either due to the improper designing of the distributed energy resources, immediate drop in renewable energy or increase in power demand. LPSP can be calculated by either using time series data or by determining the energy accumulative effect over the total load. The latter technique has been used in this paper, as shown by the expression X _T_ ð _PL_ - _PPV;out_ - _Pw;h_ - _Pbatt;dch_ - _Pd:gen_ Þ _LPSP_ ¼ _<u>t</u>_ <u>¼1</u> X _T_ _PL_ _t_ ¼1 ð12Þ 5. Problem formulation The above-mentioned power management strategy is implemented to obtain an optimal battery size and daily economic scheduling of microgrid. The capital cost of battery constitutes a major factor in calculating the battery size. The optimal BESS sizing is obtained by minimizing [PLOS ONE | https://doi org/10 1371/journal pone 0211642](https://doi.org/10.1371/journal.pone.0211642) February 14 2019 8 / 28 Battery sizing and economic scheduling of microgrid the daily scheduling cost of the microgrid and BESS total cost per day. Hence, the objective function of the microgrid is the total operating cost given by the expression _OC_ ¼ _SCD_ þ _TCPDBESS_ ð13Þ X _T_ _SCD_ ¼ _Min_ _t_ ¼1 X _N_ _i_ ¼1 ! _Fi_ ð _Pd:gen;i_ ð _t_ ÞÞ þ _CBATT_ ð14Þ - _CRF_ - _Cbatt;cap_ þ <sup>_<u>MC</u>_</sup> - _Ebatt;t_ ð15Þ _TCPDBESS_ ¼ _CRF_ - _Cbatt;cap_ þ <sup>_<u>MC</u>_</sup> 365 365 The scheduling cost for the day is the sum of the cost of three diesel generators dispatching power to fulfil the load demand and the cost of charging/discharging the battery storage. In this study, _N_ is taken as three while the time period _T_ is formulated as 24 hours. The TCPD of battery storage is the function of battery capital cost and yearly maintenance cost accounted for the lifetime of battery. The optimal battery size will minimize the total cost of microgrid. 5.1 Constraints The energy management operation of the microgrid has been optimized by meeting the following constraints: 5.1.1 ESS constraints. The battery charging and discharging energy is expressed in Eq (16) [11]. The battery discharges when _Pbatt_ is positive whereas negative _Pbatt_ indicates charging status of BESS. The associated constraint (17) limits the battery power to minimum and maximum value. The charging and discharging of battery depends on the status of the battery power itself, wherein the battery power will be positive in discharging mode and negative in the charging mode. The binary variable _μbatt_, _st_ states the operating status of the battery. The battery discharges only when _μbatt_, _st_ is 1 and charges when _μbatt_, _st_ is 0 avoiding the simultaneous charge and discharge event at any interval. The maximum amount of power charged and discharged by the battery storage during the time _t_ is shown by _Pbatt_ <sup>max</sup> _;ch_ <sup>and</sup> <sup>_P_</sup> _batt_ <sup>max</sup> _;dch_ <sup>respec-</sup> _batt_ <sup>max</sup> _;ch_ <sup>and</sup> <sup>_P_</sup> _batt_ <sup>max</sup> _;_ and discharged by the battery storage during the time _t_ is shown by _Pbatt_ <sup>max</sup> _;ch_ <sup>and</sup> <sup>_P_</sup> _batt_ <sup>max</sup> _;dch_ <sup>respec-</sup> tively. The battery capacity at each interval is within the minimum _E_ <sup>min</sup> _batt_ <sup>and maximum</sup> <sup>_E_</sup> _batt_ <sup>max</sup> <sup>min</sup> _batt_ <sup>and maximum</sup> <sup>_E_</sup> _batt_ <sup>max</sup> _batt_ level. The maximum and minimum energy storage capacity in this paper is set as 90% and 15% respectively. _Ebatt_ ð _t_ Þ � _Pbatt;ch_ ð _t_ Þ�D _t_ �Z <sup>_ch_</sup> _batt_ ð _Pbatt_ ð _t_ Þ _<_ 0Þ ð _Pbatt_ ð _t_ Þ _>_ 0Þ ð16Þ _Ebatt_ ð _t_ þ 1Þ ¼ 8 >< >: _Ebatt_ ð _t_ Þ � <sup>_<u>Pbatt;dch</u>_</sup> <sup>ð</sup> <sup>_<u>t</u>_</sup> <sup>Þ�D</sup> <sup>_<u>t</u>_</sup> Z <sup>_dch_</sup> Z <sup>_dch_</sup> _batt_ _batt_ _Pbatt_ <sup>_min_</sup> _batt_ <sup>_min_</sup> <sup>�</sup> <sup>_P_</sup> _batt_ <sup>ð</sup> <sup>_t_</sup> <sup>Þ �</sup> <sup>_P_</sup> _batt_ <sup>_max_</sup> _batt_ <sup>_max_</sup> ð17Þ 0 � _Pbatt;dch_ ð _t_ Þ � _Pbatt_ �m _batt;st_ ð18Þ - _Pbatt_ �ð1 � m _batt;st_ Þ � _Pbatt;ch_ ð _t_ Þ � 0 ð19Þ _E_ <sup>min</sup> _batt_ <sup>min</sup> _batt_ <sup>�</sup> <sup>_E_</sup> _batt_ <sup>ð</sup> <sup>_t_</sup> <sup>Þ �</sup> <sup>_E_</sup> _batt_ <sup>max</sup> _batt_ <sup>max</sup> ð20Þ 5.1.2 Diesel generator constraint. The power generated from the diesel generators must be within the upper and lower limits of each generator. [PLOS ONE | https://doi org/10 1371/journal pone 0211642](https://doi.org/10.1371/journal.pone.0211642) February 14 2019 9 / 28 Battery sizing and economic scheduling of microgrid _Pd_ <sup>min</sup> _:gen_ _d_ <sup>min</sup> _:gen;i_ <sup>�</sup> <sup>_P_</sup> _d:gen;i_ <sup>ð</sup> <sup>_t_</sup> <sup>Þ �</sup> <sup>_P_</sup> _d_ <sup>max</sup> _:gen_ _d_ <sup>max</sup> _:gen;i_ ð21Þ 5.1.3 Power balance constraint. The primary constraint in the power system is the balance of demand and supply. The microgrid must balance the power flow each time step expressed by Eq (22) _PPV;out_ ð _t_ Þ þ _Pw;h_ ð _t_ Þ þ _Pbatt_ ð _t_ Þ þ _Pd:gen_ ð _t_ Þ � _PL_ ð _t_ Þ ¼ 0 ð22Þ 6. Proposed method The proposed method calculates the optimal battery size and performs economic scheduling of the distributed generators as per load demand at each hour. The economic scheduling is based on the power management strategies discussed above and is similar to the conventional method when there is an excess of energy through the renewable sources than that required by loads such as in scenarios 1 and 2 of the power management strategies. However, when the load power is greater than the renewable energy generation, the proposed algorithm will dispatch the power from diesel generators or the energy storage. The decision is based on the depth of discharge of the energy storage, which affects the operational cost of storage. The algorithm reads the DOD value at the start of the interval and then transforms the cost function given in Eq (7) from 3-dimensional to 2-dimensional plot. The proposed optimization algorithm dispatches the optimal power from the three diesel generators and the energy storage, depending on the cost equations of the respective distributed power resources and the load demand at the specific hour. In addition, the proposed method also directs the diesel generators to charge the energy storage when the cost of the BESS per unit of energy is higher than the generator cost. At this stage, the battery DOD is high which may account for the power supply loss during the hours when the battery is required to dispatch power. The battery SOC is computed at the end of each hour after the algorithm takes the decision to charge or discharge the battery. The battery optimal size is calculated for the defined strategies so that the cost is minimum for the scheduling of the power resources which will reduce the overall cost of the microgrid. The battery optimal size is selected from a range such that the lower value _El;t_ corresponds to the battery size in which there is no mismatch between the generation and load whereas the upper value _Eu;t_ sustains the maximum charge at each interval. The battery size range in this paper is taken from 100kWh to 250 kWh. The flowchart of the proposed method is shown in Fig 3. 7. Firefly algorithm The firefly algorithm (FA) analyzes the social behavior of flies and is similar to other meta-heuristic techniques. The algorithm was originally developed by Yang [32] based on three main ideas: 1. The fireflies attract their mating partners. 2. The bright firefly gets attracted towards brighter fireflies. 3. If the firefly cannot find brighter fireflies, then it will move randomly in the search space. Like other optimization techniques such as artificial bee colony (ABC), PSO and harmony search algorithm (HSA), which are based on the population of search space, FA is also a population-based optimization algorithm. However, FA is distinguished from the other [PLOS ONE | https://doi org/10 1371/journal pone 0211642](https://doi.org/10.1371/journal.pone.0211642) February 14 2019 10 / 28 Battery sizing and economic scheduling of microgrid <u>Fig 3.</u> <u>Flow chart of the proposed method.</u> [https://doi.org/10.1371/journal.pone.0211642.g003](https://doi.org/10.1371/journal.pone.0211642.g003) optimization techniques by adjusting the parameters, which have low dependency on the algorithm and appropriately identifying the search space. The above mentioned three ideas of firefly algorithm are explained in the mathematical form below: 7.1 Separation between fireflies The distance between two mating fireflies in the search space is calculated as vector operation performed in Cartesian framework between _i_ <sup>th</sup> and _j_ <sup>th</sup> firefly given by the expression: ð23Þ f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f iffi X _s_ _rij_ ¼ j _Yi_ - _Yj_ j ¼ sf f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f iffi X _s_ 2 ð _Yi;D_ - _Yj;D_ Þ _D_ ¼1 where _r_ is the distance between two fireflies, _S_ is the dimension of control vector, _Yi_, _D_ / _Yj_, _D_ are the D <sup>th</sup> dimensions of _Yi_ / _Yj_ fireflies respectively. [PLOS ONE | https://doi org/10 1371/journal pone 0211642](https://doi.org/10.1371/journal.pone.0211642) February 14 2019 11 / 28 Battery sizing and economic scheduling of microgrid 7.2 Attraction between firefly The attraction of the fireflies decreases when the two mating fireflies moves in opposite direction and the separation between them increases. The attraction of the flies can be represented by the following expression: bð _r_ Þ ¼ b0 � expð� g _r_ <sup>_m_</sup> Þ; _m_ - 1 ð24Þ where _β_ ( _r_ ) and _β_ 0 represents the attractiveness when the fireflies are at the distance _r_ and 0. _γ_ is the coefficient of light absorbed by firefly and _m_ is the number of fireflies taken as 2. 7.3 Movement of the fireflies The fireflies move towards brighter fireflies. The movement between the two fireflies, _j_ <sup>th</sup> firefly (low intensity) towards the _i_ <sup>th</sup> firefly (high intensity) is given by mathematical expression: _Yj_ ð _t_ Þ ¼ _Yj_ þ b0 � expð� g _r_ <sup>_m_</sup> Þ �ð _Yi_ - _Yj_ Þ þ _vj_ ð25Þ _vj_ ¼ dð _rand_ - 0 _:_ 5Þ ð26Þ The first term of the Eq (25) shows the present position of _j_ <sup>th</sup> firefly. The second term represents intensity of brightness by which the _j_ <sup>th</sup> firefly is attracted towards _i_ <sup>th</sup> firefly. However, the last term _vj_ represents the movement of _j_ <sup>th</sup> firefly in the entire search space when it cannot find fireflies with more intensity. The randomization parameter _δ_ is a constant value in the range of 0–0.5. The pseudo code of the firefly algorithm is shown in Fig 4. 8. Results and discussion A typical low voltage microgrid with three diesel generators and a lithium-ion battery is analyzed in this study to illustrate the performance of the proposed energy management strategies. The microgrid consists of 68 kW photovoltaic and 37 kW wind turbine system. The data for the diesel generators are taken from [33] and is shown in Table 2. The battery capital cost, <u>Fig 4.</u> <u>Pseudo code of firefly algorithm.</u> [https://doi.org/10.1371/journal.pone.0211642.g004](https://doi.org/10.1371/journal.pone.0211642.g004) [PLOS ONE | https://doi org/10 1371/journal pone 0211642](https://doi.org/10.1371/journal.pone.0211642) February 14 2019 12 / 28 Battery sizing and economic scheduling of microgrid Table 2. Parameters of diesel generators. <u>DG</u> _<u>ai</u>_ <u>($/kW</u> <sup>2</sup> <u>)</u> _<u>bi</u>_ <u>($/kW)</u> _<u>ci</u>_ <u>($)</u> _<u>Pmin</u>_ <u>(kW)</u> _<u>Pmax</u>_ <u>(kW)</u> <u>Diesel 1</u> <u>0.0001</u> <u>0.0438</u> <u>0.3</u> <u>0</u> <u>40</u> <u>Diesel 2</u> <u>0.0001</u> <u>0.0479</u> <u>0.5</u> <u>0</u> <u>20</u> <u>Diesel 3</u> <u>0.0001</u> <u>0.0490</u> <u>0.4</u> <u>0</u> <u>10</u> [https://doi.org/10.1371/journal.pone.0211642.t002](https://doi.org/10.1371/journal.pone.0211642.t002) Table 3. Parameters of wind turbine. <u>Component Parameter</u> <u>Value</u> <u>Rated Power (kW)</u> <u>37</u> <u>Cut-in speed (m/s)</u> <u>2.5</u> <u>Cut-out Speed (m/s)</u> <u>16</u> <u>Rated speed (m/s)</u> <u>7</u> <u>Initial Capital cost ($/kW)</u> <u>2000</u> <u>Lifetime (year)</u> <u>10</u> <u>Interest rate (%)</u> <u>6</u> [https://doi.org/10.1371/journal.pone.0211642.t003](https://doi.org/10.1371/journal.pone.0211642.t003) Table 4. Parameters of solar PV. <u>Component Parameter</u> <u>Value</u> <u>Rated Power (kW)</u> <u>68</u> <u>Initial Capital cost ($/kW)</u> <u>3000</u> <u>Lifetime (year)</u> <u>10</u> <u>Interest rate (%)</u> <u>6</u> [https://doi.org/10.1371/journal.pone.0211642.t004](https://doi.org/10.1371/journal.pone.0211642.t004) Table 5. Parameters of energy storage. <u>Component Parameter</u> <u>Value</u> <u>Initial SOC (%)</u> <u>75</u> _<u>SOCbatt</u>_ <sup>max</sup> <sup><u>(%)</u></sup> <u>90</u> _<u>SOCbatt</u>_ <sup>min</sup> <sup><u>(%)</u></sup> <u>15</u> <u>Initial capital cost ($/kWh)</u> <u>625</u> <u>Maintenance cost ($/kWh)/year</u> <u>25</u> <u>Round-trip Efficiency (%)</u> <u>90</u> <u>Lifetime (years)</u> <u>3</u> _<u>Pbatt</u>_ <sup>_min_</sup> <sup><u>(kW)</u></sup> <u>10</u> _<u>Pbatt</u>_ <sup>_max_</sup> <sup><u>(kW)</u></sup> <u>25</u> <u>Interest rate (%)</u> <u>6</u> [https://doi.org/10.1371/journal.pone.0211642.t005](https://doi.org/10.1371/journal.pone.0211642.t005) maintenance cost, interest rate and lifetime had been taken from [34]. The parameters for the wind turbine, solar photovoltaic, energy storage and optimization algorithm are represented in Tables 3–6 respectively. The proposed method is formulated in MATLAB (R2016b) and run on the personal computer 2.6 GHz core i5 processor with 6 GB RAM. The computational time involved in the simulation is about 3 min 15 sec. The generation subsystem is designed to meet the peak load. However, intermittency of RESs and consumers’ behaviors may affect the electricity cost and system reliability. A typical [PLOS ONE | https://doi org/10 1371/journal pone 0211642](https://doi.org/10.1371/journal.pone.0211642) February 14 2019 13 / 28 Battery sizing and economic scheduling of microgrid Table 6. Parameters of optimization algorithm. <u>Parameter</u> <u>Value</u> <u>Size of population</u> <u>150</u> <u>Number of iterations</u> <u>1000</u> _<u>β</u>_ <u>0</u> <u>2</u> _<u>δ</u>_ <u>0.2</u> _<u>γ</u>_ <u>1</u> _<u>m</u>_ <u>2</u> [https://doi.org/10.1371/journal.pone.0211642.t006](https://doi.org/10.1371/journal.pone.0211642.t006) load profile of small residential area with the peak load of 163 kW has been taken in this study. The microgrid load profile and renewable energy generation graphs are shown in Fig 5. The load demand at most of the instances are higher than the combined wind and solar power generation. Thus, the generator and battery storage will be operated at these instances. However, there are certain instances when the renewable power generation is slightly higher than the load demand. Hence, the surplus power will charge the energy storage and the generators remains in the rest state during these time intervals. The diesel generator will charge the battery storage when the cost of battery storage becomes higher than the diesel generator cost. This increase in BESS cost is due to the continuous discharge of battery, which raises its DOD value. The battery must also be charged to avoid any load shedding or power failure in the next hours due to uncertain nature of RESs. This will increase the lifetime of the battery as the <u>Fig 5.</u> <u>Renewable energy and load data for a day.</u> [https://doi.org/10.1371/journal.pone.0211642.g005](https://doi.org/10.1371/journal.pone.0211642.g005) [PLOS ONE | https://doi org/10 1371/journal pone 0211642](https://doi.org/10.1371/journal.pone.0211642) February 14 2019 14 / 28 Battery sizing and economic scheduling of microgrid <u>Fig 6.</u> <u>Microgrid operation without the battery storage.</u> [https://doi.org/10.1371/journal.pone.0211642.g006](https://doi.org/10.1371/journal.pone.0211642.g006) battery will operate at lower DOD values. The battery storage used in the microgrid operation is assumed to be initially charged at 75% SOC. The proposed strategy is implemented based on the three cases below and the operating cost is computed in each case. 8.1 Case A: System is running without the battery storage The microgrid is operated without the energy storage. Thus, there will be no cost for the TCPD and the objective function is restricted to the daily economic scheduling of the microgrid. The RESs and diesel generators have to satisfy the load demand at all instances. However, there are some instances where the renewable and diesel generators cannot fulfil the required load, thus, there will be power mismatch between the generation and demand. This power mismatch will imbalance the system and will result in a power loss due to load shedding. The load shedding accounts for the penalty to be imposed increasing the scheduling cost of the microgrid. However, when the RES power is higher than the loads, the surplus power from the renewable energy sources will be dissipated as a dump load. Fig 6 shows the generation curve of the distributed sources and the load profile. 8.2 Case B: Battery size of 100 kWh is added to system The renewable sources and diesel generator cannot meet the load demand at all instances, hence, the battery storage must be installed in the microgrid system. In this case, a battery size [PLOS ONE | https://doi org/10 1371/journal pone 0211642](https://doi.org/10.1371/journal.pone.0211642) February 14 2019 15 / 28 Battery sizing and economic scheduling of microgrid <u>Fig 7.</u> <u>The depth of discharge status of battery for case B.</u> [https://doi.org/10.1371/journal.pone.0211642.g007](https://doi.org/10.1371/journal.pone.0211642.g007) of 100 kWh is added to the system. The battery size is selected such that there is no mismatch between the generation and the load at any time of the day. The battery is discharged when the cost of battery is lower than generator cost and charged when the battery cost becomes higher. The scheduling cost of the microgrid for the day in this case is calculated as $281.37 whereas the battery TCPD is $ 70.90. The cost of electricity of a day for this load profile is 18.44 (cents/ kWh). Fig 7 shows the battery DOD for this case and it can be seen from the figure that during the certain instance, the DOD becomes higher than 70%, which will greatly impact the cost of energy storage during charge/discharge. Also, the battery charge at the end of the day is low which may impact the operation of the next day. The operation of all the distributed resources in the microgrid with battery size of 100 kWh is represented in Fig 8. In this figure, diesel is the accumulative sum of all the three diesel generators power dispatch. 8.3 Case C: Optimal battery size is added to the system The optimal battery size for the microgrid operation is determined to produce a cost-effective system. The proposed algorithm computes the optimal battery size to minimize the OC of microgrid. The proposed method calculates the battery size to be 145.5 kWh. The operating cost for the optimal size is found to be $ 325.62. To validate the result of the proposed method, the microgrid OC has been computed for the battery size within the range of 100kWh 250kWh with a step size of 15kWh, considering all the constraints of the distributed energy resources and the battery. Fig 9 shows the scheduling cost, TCPD and the overall OC for the different battery sizes. The optimum battery capacity for this system is recorded to be [PLOS ONE | https://doi org/10 1371/journal pone 0211642](https://doi.org/10.1371/journal.pone.0211642) February 14 2019 16 / 28 Battery sizing and economic scheduling of microgrid <u>Fig 8.</u> <u>Operation of microgrid with all power generations and load for battery size of 100kWh.</u> [https://doi.org/10.1371/journal.pone.0211642.g008](https://doi.org/10.1371/journal.pone.0211642.g008) <u>Fig 9.</u> <u>Microgrid operating cost for different battery sizes.</u> [https://doi.org/10.1371/journal.pone.0211642.g009](https://doi.org/10.1371/journal.pone.0211642.g009) [PLOS ONE | https://doi org/10 1371/journal pone 0211642](https://doi.org/10.1371/journal.pone.0211642) February 14 2019 17 / 28 Battery sizing and economic scheduling of microgrid <u>Fig 10.</u> <u>The depth of discharge status of battery for case C.</u> [https://doi.org/10.1371/journal.pone.0211642.g010](https://doi.org/10.1371/journal.pone.0211642.g010) 145kWh, similar to that by the proposed method. The results show that the scheduling cost is high for smaller battery sizes, and as the size is increased the cost slightly reduces. This trend is followed until the battery size reaches up to 145kWh after which the scheduling cost increases again. The TCPD of battery is a linear curve which increases with the size of the battery. The OC for the microgrid shows a very small change in the cost until the battery size reaches 145kWh and gradually increases thereafter. The battery DOD for the entire time period is shown in Fig 10. It can be seen from the figure that during the initial hours, the battery is discharging with an increasing DOD value. At 06:00 the battery DOD has raised to 38% at which level it upsurges the battery cost while the generator discharges more power and simultaneously charges the battery. After 09:00, the generator alone cannot fulfil the load demand, hence, the battery has to discharge in these instances to avoid load shedding. The DOD value at these instances increases and the battery discharges irrespective of the high cost. As soon as the high load period ends, the generator charges the battery again, to ensure sufficient charge during the critical hours. The critical hours are considered as those hours when the renewable energy and diesel generator working together cannot meet the load demand; despite the high cost of the battery storage, it discharges power to fulfil the load demand. Thus, the battery is never depleted completely and avoids deep discharges which prolongs the battery lifetime. The battery charging and discharging power analysis is shown in Fig 11. The battery discharging power is represented by a positive value whereas the negative value shows the [PLOS ONE | https://doi org/10 1371/journal pone 0211642](https://doi.org/10.1371/journal.pone.0211642) February 14 2019 18 / 28 Battery sizing and economic scheduling of microgrid <u>Fig 11.</u> <u>The battery charging and discharging power analysis.</u> [https://doi.org/10.1371/journal.pone.0211642.g011](https://doi.org/10.1371/journal.pone.0211642.g011) charging process. The figure shows that most of the time the battery is discharging. The discharged power varies during these instants. The maximum discharge power in a one-time sequence is set to 25kW. This is to avoid complete discharge of the battery storage in one interval so that the battery can be utilized during critical hours. The renewable power generation is high during the hours 00:00–02:00 and 15:00–17:00 and the excess energy is stored in the battery. The generation from all the distributed resources and the load demand are plotted in Fig 12. Diesel generator 1 has the lowest cost among the other diesel generators and it also dispatches maximum power. Generator 3 is given the least priority among the three generators due to its high cost. The generation and load are balanced at all the instances which restricts any penalty to be imposed thus reducing the overall operating cost. The results for the above cases are tabulated in Table 7. The renewable power generation in all the cases is identical, and the economic dispatch is performed for the power difference between the load and the renewable energy. The negative values in the BESS shows the charging schedule while the positive values represent the discharging schedule. Generator 1 dispatches more power due to it being the cheapest among the three generators, whereas generator 3 dispatches minimal power. The battery DOD curves for the different battery sizes are shown in Fig 13. The figure shows that DOD values for the optimal battery size of 145 kWh is lowest at most of the instances as compared to other battery sizes. The lifecycle and lifespan of the different battery sizes are tabulated in Table 8 by [PLOS ONE | https://doi org/10 1371/journal pone 0211642](https://doi.org/10.1371/journal.pone.0211642) February 14 2019 19 / 28 Battery sizing and economic scheduling of microgrid <u>Fig 12.</u> <u>Operation of microgrid with all generations and load.</u> [https://doi.org/10.1371/journal.pone.0211642.g012](https://doi.org/10.1371/journal.pone.0211642.g012) taking the average of the DOD. The optimal battery capacity results in longer lifetime in comparison to other battery capacities and the conventional method [26]. Thus, the optimal size and the economic scheduling may prolong the battery lifetime and reduce the microgrid cost. 8.4 Comparison of proposed technique with the conventional technique The effectiveness of the proposed method is verified by comparing it with other conventional methods [26, 35] in which the battery storage discharges when the renewable resources fail to provide sufficient energy to meet the load. When the battery reaches minimum energy level, the diesel generator is turned on to charge the battery storage. This method reduces the lifetime of battery storage by continuously discharging to the minimum level. The authors in [26] have used PSO to get the optimal power dispatch. The comparison is done by implementing the conventional method using the above-mentioned parameters, and the results are shown in Table 9. It is apparent from the table that the proposed method reduces the operating cost by 50% as compared to the conventional method. The battery depth of discharge status for the conventional method is shown in Fig 14 which depicts that the DOD is higher at most of the instances over 24 hours due to complete power discharge from the energy storage. Thus, the operating cost of the microgrid by using the conventional method is high as compared to the proposed method. The overall power generations and load for all the time intervals are plotted in Fig 15. [PLOS ONE | https://doi org/10 1371/journal pone 0211642](https://doi.org/10.1371/journal.pone.0211642) February 14 2019 20 / 28 Battery sizing and economic scheduling of microgrid [PLOS ONE | https://doi org/10 1371/journal pone 0211642](https://doi.org/10.1371/journal.pone.0211642) February 14 2019 21 / 28 Battery sizing and economic scheduling of microgrid <u>Fig 13.</u> <u>DOD curves of different battery sizes.</u> [https://doi.org/10.1371/journal.pone.0211642.g013](https://doi.org/10.1371/journal.pone.0211642.g013) Table 8. Lifetime analysis for different battery capacities. <u>Battery capacities (kWh)</u> <u>Average DOD value (%)</u> <u>Lifecycles (cycle)</u> <u>Lifetime (year)</u> <u>115</u> <u>51.15</u> <u>1183</u> <u>3.2</u> <u>130</u> <u>51.30</u> <u>1180</u> <u>3.2</u> <u>145</u> <u>40.08</u> <u>1435</u> <u>3.9</u> <u>160</u> <u>45.24</u> <u>1303</u> <u>3.5</u> <u>175</u> <u>43.47</u> <u>1346</u> <u>3.7</u> <u>190</u> <u>45.58</u> <u>1296</u> <u>3.6</u> <u>205</u> <u>44.71</u> <u>1316</u> <u>3.5</u> <u>215</u> <u>46.92</u> <u>1266</u> <u>3.5</u> <u>235</u> <u>47.67</u> <u>1250</u> <u>3.4</u> <u>145 (method proposed in [26])</u> <u>54.55</u> <u>1123</u> <u>3.0</u> [https://doi.org/10.1371/journal.pone.0211642.t008](https://doi.org/10.1371/journal.pone.0211642.t008) Table 9. Comparison of proposed method with the conventional method. <u>Method</u> <u>Scheduling Cost ($)</u> <u>Microgrid Operating Cost ($)</u> <u>Average COE (cents/kWh)</u> <u>Conventional method</u> <u>557.09</u> <u>659.90</u> <u>31.65</u> <u>Proposed Method</u> <u>222.87</u> <u>325.68</u> <u>15.63</u> [https://doi.org/10.1371/journal.pone.0211642.t009](https://doi.org/10.1371/journal.pone.0211642.t009) [PLOS ONE | https://doi org/10 1371/journal pone 0211642](https://doi.org/10.1371/journal.pone.0211642) February 14 2019 22 / 28 Battery sizing and economic scheduling of microgrid <u>Fig 14.</u> <u>Battery depth of discharge status for the conventional method.</u> [https://doi.org/10.1371/journal.pone.0211642.g014](https://doi.org/10.1371/journal.pone.0211642.g014) 8.5 Comparison of proposed optimization algorithm with other algorithms The robustness of the FA is analyzed by implementing ABC, HSA and PSO for the proposed method and the results are reported in Table 10. The table shows that FA has the minimum operating cost with 0% LPSP. However, PSO and HSA are not capable to meet the load demand at all the instances resulting in the load shedding and has a higher LPSP ratio. The battery discharging cost is the ratio of the accumulated battery cost at all the instances in which the BESS is discharged to the sum of the power discharged by the BESS. The battery discharging cost of FA is the minimum of all the other algorithms and depicts that the BESS does not discharge more power at high DOD values thus reducing the scheduling cost of the microgrid. The battery DOD has been compared for all the algorithms and the results are shown in Fig 16. The results illustrate that FA has been capable of limiting the battery DOD to a low value to minimize the battery operational cost. The scheduling cost for the hourly analysis with the battery size of 145kWh had been compared with the above-mentioned algorithms as in Fig 17. The figure clearly depicts that the cost at each hour by FA is comparatively lower than other algorithms which reduces the overall operating cost of the microgrid. 9. Conclusion As more energy supplies are predicted to utilize renewable sources, the economic and battery sizing aspects of the energy storage in the isolated microgrid has to be taken into [PLOS ONE | https://doi org/10 1371/journal pone 0211642](https://doi.org/10.1371/journal.pone.0211642) February 14 2019 23 / 28 Battery sizing and economic scheduling of microgrid <u>Fig 15.</u> <u>Microgrid operation with all the generations and load.</u> [https://doi.org/10.1371/journal.pone.0211642.g015](https://doi.org/10.1371/journal.pone.0211642.g015) consideration to ensure a reliable service. The present study has solved the economic scheduling problem between the diesel generators and the battery storage considering real time battery degradation cost. One of the strengths of the proposed method is to charge the battery when the DOD value is high so that the battery is not depleted during critical hours. Firefly optimization algorithm was implemented to solve the economic dispatch and the battery sizing problem. The simulation results reveal that the microgrid faces the load shedding without the battery storage resulting in high operating cost and instability. Furthermore, a large BESS size does not minimize the operating cost, but there exists an optimal point, which should be considered when designing a microgrid system. The lifespan of the battery is also extended when optimal size is selected for economic scheduling saving cost of Table 10. Comparison of different algorithms for the proposed method. Method Microgrid Operating Cost <u>($)</u> Average COE (cents/ <u>kWh)</u> Average Battery Discharging Cost (cents/ <u>kWh)</u> LPSP (%) Computational time <u>(sec)</u> <u>Artificial Bee Colony</u> <u>393.10</u> <u>18.86</u> <u>39.24</u> <u>0</u> <u>265</u> Harmony Search <u>Algorithm</u> Particle Swarm <u>Optimization</u> 383.34 18.40 37.00 37.5 225 404.46 19.41 38.02 25 250 <u>Firefly Algorithm</u> <u>325.68</u> <u>15.63</u> <u>22.13</u> <u>0</u> <u>195</u> [https://doi.org/10.1371/journal.pone.0211642.t010](https://doi.org/10.1371/journal.pone.0211642.t010) [PLOS ONE | https://doi org/10 1371/journal pone 0211642](https://doi.org/10.1371/journal.pone.0211642) February 14 2019 24 / 28 Battery sizing and economic scheduling of microgrid <u>Fig 16.</u> <u>Depth of discharge status.</u> [https://doi.org/10.1371/journal.pone.0211642.g016](https://doi.org/10.1371/journal.pone.0211642.g016) replacing BESS. The proposed method has been compared with other existing methods and 50% reduction in operating cost has been recorded. Thus, the obtained results show that ignoring the depth of discharge and lifetime of the BESS in an economic scheduling will <u>Fig 17.</u> <u>Hourly scheduling cost.</u> [https://doi.org/10.1371/journal.pone.0211642.g017](https://doi.org/10.1371/journal.pone.0211642.g017) [PLOS ONE | https://doi org/10 1371/journal pone 0211642](https://doi.org/10.1371/journal.pone.0211642) February 14 2019 25 / 28 Battery sizing and economic scheduling of microgrid inflate the operating cost of the microgrid. The energy scheduling approach presented will help the independent power plant operators to perform the rural electrification efficiently and prolong the battery lifetime. Supporting information [S1 File. Microgrid data.](http://www.plosone.org/article/fetchSingleRepresentation.action?uri=info:doi/10.1371/journal.pone.0211642.s001) (PDF) Acknowledgments The authors would like to acknowledge the support by the Ministry of Higher Education through FRGS (FP052-2017A). The authors thank the technical and financial assistance of UM Power Energy Dedicated Advanced Centre (UMPEDAC), the Higher Institution Centre of Excellence (HICoE) Program Research Grant UMPEDAC—2018(MOHE HICOE–UMPEDAC) and RU007-2018. Author Contributions Conceptualization: Muhammad Sufyan, ChiaKwang Tan. Data curation: Muhammad Sufyan, Munir Azam Muhammad. Formal analysis: Muhammad Sufyan, ChiaKwang Tan. Investigation: Muhammad Sufyan, Munir Azam Muhammad. Methodology: Muhammad Sufyan, ChiaKwang Tan, Siti Rohani Sheikh Raihan. Project administration: Nasrudin Abd Rahim. Software: Nasrudin Abd Rahim. Supervision: Nasrudin Abd Rahim, Siti Rohani Sheikh Raihan. Validation: ChiaKwang Tan. Visualization: Nasrudin Abd Rahim, ChiaKwang Tan, Munir Azam Muhammad. Writing – original draft: Muhammad Sufyan, Munir Azam Muhammad. Writing – review & editing: Nasrudin Abd Rahim, ChiaKwang Tan, Siti Rohani Sheikh Raihan. References 1. M. Jamshidi and A. Askarzadeh, "Techno-economic analysis and size optimization of an off-grid hybrid photovoltaic, fuel cell and diesel generator system," Sustainable Cities and Society, 2018/10/15/ 2018. 2. H. Kuang, S. Li, and Z. Wu, "Discussion on advantages and disadvantages of distributed generation connected to the grid," in Electrical and Control Engineering (ICECE), 2011 International Conference on, 2011, pp. 170–173. 3. Alsaidan I., Khodaei A., and Gao W., "A Comprehensive Battery Energy Storage Optimal Sizing Model for Microgrid Applications," _IEEE Transactions on Power Systems_, pp. 1–1, 2017. 4. Robert F. C., Sisodia G. S., and Gopalan S., "A critical review on the utilization of storage and demand response for the implementation of renewable energy microgrids," _Sustainable Cities and Society_, vol. 40, pp. 735–745, 2018/07/01/ 2018. 5. Carta J. A. and Vela´zquez S., "A new probabilistic method to estimate the long-term wind speed characteristics at a potential wind energy conversion site," _Energy_, vol. 36, pp. 2671–2685, 2011. 6. Castronuovo E. D. and Lopes J. P., "On the optimization of the daily operation of a wind-hydro power plant," _IEEE Transactions on Power Systems_, vol. 19, pp. 1599–1606, 2004. [PLOS ONE | https://doi org/10 1371/journal pone 0211642](https://doi.org/10.1371/journal.pone.0211642) February 14 2019 26 / 28 Battery sizing and economic scheduling of microgrid 7. Eyer J. and Corey G., "Energy storage for the electricity grid: Benefits and market potential assessment guide," _Sandia National Laboratories_, vol. 20, p. 5, 2010. 8. Fu Q., Hamidi A., Nasiri A., Bhavaraju V., Krstic S. B., and Theisen P., "The Role of Energy Storage in a Microgrid Concept: Examining the opportunities and promise of microgrids," _IEEE Electrification Maga-_ _zine_, vol. 1, pp. 21–29, 2013. 9. Aghamohammadi M. R. and Abdolahinia H., "A new approach for optimal sizing of battery energy storage system for primary frequency control of islanded microgrid," International Journal of Electrical Power & Energy Systems, vol. 54, pp. 325–333, 2014. 10. T. Kerdphol, Y. Qudaih, and Y. Mitani, "Battery energy storage system size optimization in microgrid using particle swarm optimization," in Innovative Smart Grid Technologies Conference Europe (ISGTEurope), 2014 IEEE PES, 2014, pp. 1–6. 11. Khorramdel H., Aghaei J., Khorramdel B., and Siano P., "Optimal Battery Sizing in Microgrids Using Probabilistic Unit Commitment," _IEEE Trans_ . _Industrial Informatics_, vol. 12, pp. 834–843, 2016. 12. Mehmood K. K., Khan S. U., Lee S.-J., Haider Z. M., Rafique M. K., and Kim C.-H., "Optimal sizing and allocation of battery energy storage systems with wind and solar power DGs in a distribution network for voltage regulation considering the lifespan of batteries," _IET Renewable Power Generation_, vol. 11, pp. 1305–1315, 2017. 13. Bahramirad S., Reder W., and Khodaei A., "Reliability-Constrained Optimal Sizing of Energy Storage System in a Microgrid," _IEEE Transactions on Smart Grid_, vol. 3, pp. 2056–2062, 2012. 14. Rokni S. G. M., Radmehr M., and Zakariazadeh A., "Optimum energy resource scheduling in a microgrid using a distributed algorithm framework," _Sustainable Cities and Society_, vol. 37, pp. 222–231, 2018/02/01/ 2018. 15. Nojavan S., Majidi M., and Esfetanaj N. N., "An efficient cost-reliability optimization model for optimal siting and sizing of energy storage system in a microgrid in the presence of responsible load management," _Energy_, vol. 139, pp. 89–97, 2017. 16. Nguyen T. A., Crow M. L., and Elmore A. C., "Optimal sizing of a vanadium redox battery system for microgrid systems," _IEEE Transactions on Sustainable Energy_, vol. 6, pp. 729–737, 2015. 17. Carpinelli G., Mottola F., and Proto D., "Probabilistic sizing of battery energy storage when time-of-use pricing is applied," _Electric Power Systems Research_, vol. 141, pp. 73–83, 2016. 18. Li Y., Yang Z., Li G., Mu Y., Zhao D., Chen C., et al., "Optimal scheduling of isolated microgrid with an electric vehicle battery swapping station in multi-stakeholder scenarios: A bi-level programming approach via real-time pricing," _Applied Energy_, vol. 232, pp. 54–68, 2018. 19. Li Y., Yang Z., Li G., Zhao D., and Tian W., "Optimal scheduling of an isolated microgrid with battery storage considering load and renewable generation uncertainties," _IEEE Transactions on Industrial_ _Electronics_, vol. 66, pp. 1565–1575, 2019. 20. Mbungu N. T., Bansal R. C., Naidoo R., Miranda V., and Bipath M., "An optimal energy management system for a commercial building with renewable energy generation under real-time electricity prices," _Sustainable Cities and Society_, vol. 41, pp. 392–404, 2018/08/01/ 2018. 21. Nojavan S., Zare K., and Mohammadi-Ivatloo B., "Risk-based framework for supplying electricity from renewable generation-owning retailers to price-sensitive customers using information gap decision theory," International Journal of Electrical Power & Energy Systems, vol. 93, pp. 156–170, 2017. 22. Nojavan S. and Zare K., "Interval optimization based performance of photovoltaic/wind/FC/electrolyzer/ electric vehicles in energy price determination for customers by electricity retailer," _Solar Energy_, vol. 171, pp. 580–592, 2018. 23. Sharma S., Bhattacharjee S., and Bhattacharya A., "Grey wolf optimisation for optimal sizing of battery energy storage device to minimise operation cost of microgrid," _IET Generation_, _Transmission & Distri-_ _bution_, vol. 10, pp. 625–637, 2016. 24. Sukumar S., Mokhlis H., Mekhilef S., Naidu K., and Karimi M., "Mix-mode energy management strategy and battery sizing for economic operation of grid-tied microgrid," _Energy_, vol. 118, pp. 1322–1333, 2017. 25. Fossati J. P., Galarza A., Martı´n-Villate A., and Fonta´n L., "A method for optimal sizing energy storage systems for microgrids," _Renewable Energy_, vol. 77, pp. 539–549, 2015. 26. Borhanazad H., Mekhilef S., Ganapathy V. G., Modiri-Delshad M., and Mirtaheri A., "Optimization of micro-grid system using MOPSO," _Renewable Energy_, vol. 71, pp. 295–306, 2014. 27. Modiri-Delshad M., Kaboli S. H. A., Taslimi-Renani E., and Rahim N. A., "Backtracking search algorithm for solving economic dispatch problems with valve-point effects and multiple fuel options," _Energy_, vol. 116, pp. 637–649, 2016. [PLOS ONE | https://doi org/10 1371/journal pone 0211642](https://doi.org/10.1371/journal.pone.0211642) February 14 2019 27 / 28 Battery sizing and economic scheduling of microgrid 28. Torreglosa J. P., Garcia P., Fernandez L. M., and Jurado F., "Predictive control for the energy management of a fuel-cell–battery–supercapacitor tramway," _IEEE Transactions on Industrial Informatics_, vol. 10, pp. 276–285, 2014. 29. C. Ju and P. Wang, "Energy management system for microgrids including batteries with degradation costs," in Power System Technology (POWERCON), 2016 IEEE International Conference on, 2016, pp. 1–6. 30. Han S., Han S., and Aki H., "A practical battery wear model for electric vehicle charging applications," _Applied Energy_, vol. 113, pp. 1100–1108, 2014. 31. Zhou C., Qian K., Allan M., and Zhou W., "Modeling of the cost of EV battery wear due to V2G application in power systems," _IEEE Transactions on Energy Conversion_, vol. 26, pp. 1041–1050, 2011. 32. Yang X.-S., Nature-inspired metaheuristic algorithms: Luniver press, 2010. 33. Li Z., Zang C., Zeng P., Yu H., and Li S., "Agent-based distributed and economic automatic generation control for droop-controlled AC microgrids," _IET Generation_, _Transmission & Distribution_, vol. 10, pp. 3622–3630, 2016. 34. Chen S., Gooi H. B., and Wang M., "Sizing of energy storage for microgrids," _IEEE Transactions on_ _Smart Grid_, vol. 3, pp. 142–151, 2012. 35. Ismail M., Moghavvemi M., and Mahlia T., "Techno-economic analysis of an optimized photovoltaic and diesel generator hybrid power system for remote houses in a tropical climate," _Energy Conversion and_ _Management_, vol. 69, pp. 163–173, 2013. [PLOS ONE | https://doi org/10 1371/journal pone 0211642](https://doi.org/10.1371/journal.pone.0211642) February 14 2019 28 / 28

섹션 본문 54문단 · 39,823자

(제목 없음)

1The incessantly growing demand for electricity in today's world claims an efficient and reliable system of energy supply. Distributed energy resources such as diesel generators, wind energy and solar energy can be combined within a microgrid to provide energy to the consumers in a sustainable manner. In order to ensure more reliable and economical energy supply, battery storage system is integrated within the microgrid. In this article, operating cost of isolated microgrid is reduced by economic scheduling considering the optimal size of the battery. However, deep discharge shortens the lifetime of battery operation. Therefore, the real time battery operation cost is modeled considering the depth of discharge at each time interval. Moreover, the proposed economic scheduling with battery sizing is optimized using firefly algorithm (FA). The efficacy of FA is compared with other metaheuristic techniques in terms of performance measurement indices, which are cost of electricity and loss of power supply probability. The results show that the proposed technique reduces the cost of microgrid and attain optimal size of the battery. OPEN ACCESS Citation: Sufyan M, Abd Rahim N, Tan C, Muhammad MA, Sheikh Raihan SR (2019) Optimal sizing and energy scheduling of isolated microgrid considering the battery lifetime degradation. PLoS ONE 14(2): e0211642. https://doi.org/10.

Introduction

2In the last few decades, the world is seeing an unprecedented rise in its population with the resultant subsequent excessive power demand, both of which are the main operative factors behind global warming and carbon emissions. Unfortunately, we are still adamantly depending on the usage of fossil fuels which incidentally are still playing the major role in supplying energy for the power generation and transportation system. However, continual and inevitable depletion of fossil fuel resources in the recent years has put a serious pressure to bear on the governments and energy entrepreneurs to be responsible enough to move towards replenishment of energy through RES [1]. Greenhouse gas emission is reduced by replacing fossil fuels with renewable energy and leads to a growth in the industrial sector. However, the intermittent nature of RES is thwarting the stability of the power system in the economic sense of the word, hence, efficiently controlled methods have become the order of the day to overcome the issues PLOS of voltage disturbances, frequency regulations and network security during the high penetration of the RES to meet the growing demand of the population at large [2]. Table 1 shows all the nomenclature that would be used in this paper.

3Microgrids have emerged as a platform to integrate DER, such as diesel generators (DG), wind turbine (WT), microturbine (MT), fuel cell (FC), solar photovoltaic (PV) panels and energy storage system (ESS) within a network to feed into the utility grid in a more orderly and manageable network. Microgrids can be operated in the islanded mode as well as gridconnected mode, depending on the load conditions and electricity market price [3,4], providing the potential to solve the existing power system problems of stability, reliability and demand response.

4Because of the limited reach of utility grid, microgrids in islanded mode are more intended for the power balance as compared to the grid-connected mode. Therefore, reliable power sources like synchronous generator and energy storage are the crucial elements to regulate voltage and frequency and improve the stability of the system [5,6]. Over the past few years, ESS has become an essential component of microgrid. The voltage and frequency regulation in an islanded microgrid can be performed by ESS in the absence of synchronous generators. Moreover, the power fluctuations caused by RES can also be reduced by ESS. In addition, ESS is capable of storing the energy during the periods of high-power generation and releasing it when the load exceeds the power generation capacity. ESS with high energy density and longer discharge time are utilized for the applications related to economic energy dispatch and peak shaving. On the other hand, a high power density ESS with a fast response capability is employed for the voltage control and frequency regulation applications [7,8].

5Battery energy storage systems are best suited for power system applications due to their technical benefits and ability to provide both the power and the energy density. In order to ensure the reliability, security and economic benefits of the microgrid, ascertaining an optimal size of a BESS is very much essential. Economic scheduling together with an optimal battery size is also significant for rural electrification schemes in small towns where the electrical grid is not available. The operation and the scheduling of the BESS have been addressed by many researchers but the design and estimate of its optimal size to achieve a cost-effective system with minimum power losses is still in progress.

6In [9], the energy storage size is determined for the frequency regulation services in an islanded microgrid. The overloading characteristic of BESS is implemented for a short time duration to control frequency, resulting in a quick response of battery to overcome a power mismatch. However, the authors did not consider the impact of lifetime degradation and economic drawbacks by overloading the BESS.

7A load shedding scheme for ascertaining an optimal battery size is considered in [10]. The proposed method has made use of a metaheuristic optimization algorithm to control the frequency and minimize the operating cost of the microgrid. A unit commitment approach for the sizing of energy storage system in grid-connected and islanded mode is analyzed in [11]. A typical load profile and renewable energy data have been considered for the BESS sizing to reduce the total cost and increase the economic benefits of the microgrid. The effect of uncertainty of renewable energy on BESS and scheduling of DER are optimized by here and now approach. A multi-objective optimization problem for the optimal location and sizing of BESS is considered in [12] for the purpose of voltage regulation of the microgrid. The authors observed that total losses of the distribution system along with the BESS installation cost and investment cost of the DER are minimized. The voltage profiles of the distribution system were improved and the battery lifetime was extended, thereby saving the replacement cost.

8A reliability index known as loss of load expectation has been discussed in [13] that helps to curtail the microgrid operating cost by optimizing the battery size. The economic benefits of the microgrid are justified by providing power from ESS to local loads at a low price during peak periods and controlling excessive power generations. A new approach for an optimal energy management using an Alternating Direction Method of the Multiplier (ADMM) has been proposed in [14]. The authors proposed a centralized controller to avoid congestion in the communication network for the data exchange between the customer and the control center. The ADMM algorithm manages the DER of the microgrid for the optimal energy scheduling. The optimal location and size of energy storage was calculated in [15] to reduce the operation cost and LOLE of microgrid. The bi-objective optimization incorporates the demand response program for peak shaving and economic scheduling of the microgrid. A trade-off between the total cost and LOLE yields the optimal size of BESS. Nguyen in [16] claimed that the vanadium redox battery in microgrid system could be effective in both the islanded and the grid-connected modes. The dynamic programming-based unit commitment method is implemented to find the optimum size of the VRB. Furthermore, the authors consider nonlinear charge/discharge efficiencies as a function of voltage, stack efficiency and temperature. A probabilistic approach for optimal battery sizing was analyzed by using the Monte Carlo simulation in [17]. The time of use tariff and the bidirectional energy transfer with the grid has been taken into consideration for an effective battery sizing. However, the profit of installing BESS decreases with the increase in tariff. A hybrid approach comprising a heuristic and analytical optimization is proposed in [18] to schedule the charge/discharge cycle of BESS in isolated microgrid. The dynamic response is implemented under a real time pricing scheme to maintain a balance between the supply and demand in the microgrid and the BESS. The results report the effective participation of BESS in economic scheduling of isolated microgrid. In [19] the uncertainties of load and renewable power generation are mitigated by scheduling the microgrid such that the BESS provides the spinning reserves service. The proposed discretized step transformation method handles the spinning reserve requirement to obtain a balanced tradeoff between the operation cost and the reliability of the microgrid.

9The energy scheduling and the cost minimization method in a real time electricity pricing environment are presented in [20]. The energy flow is coordinated in a model predictive control framework considering the TOU with different renewable energy data for the summer and winter periods. The authors suggested the proposed scheme as a benchmark for the real time electricity pricing to minimize the cost consumption with low and high demand periods. The pricing mechanism under a fixed rate, time of use and a real time pricing are compared in a microgrid environment [21,22]. The results support the real time pricing scheme for the energy selling by distributed generators and energy storage. The information gap decision theory and an interval optimization approach are analyzed to evaluate the risk criteria. In [23], a grey wolf optimization technique has been implemented to determine the optimal BESS size and minimize the microgrid operating cost. The BESS with an initial charge equivalent to its optimal size increases the net profit as compared to the BESS with no charge. A heuristic method incorporating particle swarm optimization (PSO) is used to find the optimal size of the BESS in [24]. The mix-mode energy management strategy is applied to operate the microgrid at the minimum operating cost by integrating three different strategies. Linear programming and MILP methods are used to minimize the cost of the microgrid under these strategies. The genetic algorithm (GA) based method to determine the optimal battery size has been presented in [25]. The proposed method uses the fuzzy expert system to regulate the power flow of the energy storage. A lifetime aging model predicts the lifetime and operating cost of the microgrid.

10The lifetime (Ly) of the battery is an essential factor in calculating the annualized cost of BESS, which controls the microgrid operating cost. The lifetime of the battery is affected by two main factors, namely,1) the lifecycle stating the number of charge and discharge cycles a BESS can sustain, and 2) the depth of discharge representing the amount of capacity used by a BESS. In the above literatures, the estimated value of Ly is predicted to calculate the annualized cost of BESS, whereas [25] has used a lifetime prediction model to determine the battery lifetime. However, the calculated lifetime of an optimal battery size is considered to be very short due to deep discharge cycles.

11In this paper, a new approach has been presented to schedule the energy resources in the microgrid considering optimal battery size. The addition of energy storage in the microgrid increases capital cost, but also reduces the operating cost of system. Moreover, optimal size of the battery prolongs the lifetime of the storage system and it is significantly affected by the DOD. In this research, to maximize the economic benefit and minimizes the operational cost, microgrid is incorporated with diesel generator, renewable energy and optimal size of energy storage. Therefore, firefly algorithm has been considered to attain the optimal dispatch which minimizes the generation cost. The main goal of the paper is to formulate the battery cost equation for real time analysis considering depth of discharge at each time interval. In addition to that, this research proposes the battery operational cost in term of DOD. Hence optimal DOD, prolongs the life span of BESS. The efficacy of the proposed method has been verified by comparing it with other techniques proposed in the literature. The proposed method manages to attain lower operating cost without the loss of power supply at any interval of time.

12The rest of the paper is organized as follows. Section 2 describes the modelling of microgrid and its components. Section 3 presents the power management strategies for the economic scheduling of microgrid and section 4 focuses on the performance measurement indices to evaluate the results. The objective function and the constraints of the system are formulated in section 5. Section 6 describes the methodology of the proposed model to implement the strategies discussed in section 3 with minimal operating cost of microgrid. Section 7 discusses the optimization algorithm whereas simulation results are illustrated in section 8.

Hybrid microgrid system

13A hybrid isolated microgrid system contains three subsystems: the power demand, the power generation, and the power distribution subsystem. These subsystems have major impact on the cost of the microgrid system. They are dependent on the climatic conditions and the consumer services. This section presents the power and cost models for the wind, solar, diesel generator and energy storage as the DERs of the power generation subsystem, load profile of the residential area as the demand subsystem and the microgrid itself is configured as the power distribution subsystem. The combination of different RESs improves the system efficiency and reduces the requirements of energy storage as compared to a single RES. The general schematic of the microgrid system containing the three systems is as shown in Fig 1.

Wind turbine model

14The power model of a wind turbine (WT) measures the power as a function of the hourly wind speed. The relation between the output power and the speed is given by the relationship below [12]: The cost of power dissipated by wind turbine in a particular day is the product of power dispatched and the initial cost of wind turbine. The capital recovery factor calculates the present value for the 24-hour analysis taking interest rate and projected lifetime into consideration.

Solar PV model

15The power measured by solar photovoltaic array is dependent on the solar irradiation and the ambient temperature at each hour. The PV power is given by [26]

16The cost of power dispatched by solar photovoltaic is dependent on the initial cost and power output defined as

Diesel generator

17A diesel generator and energy storage are the secondary power generation sources for the microgrid when the renewable energy cannot fulfill the required electricity demand. The conventional generator serves as a backup energy source and improves the system reliability by smoothing the power generation from the renewable energy source. The high cost of energy storage has captivated the attention of utility providers to utilize diesel generators in the microgrid. There are a total of three generators considered in this study. The cost of the generator in terms of power dispatch is expressed by [27]

Battery energy storage model

18The BESS in a microgrid is used to avoid any power mismatch between the demand and generation. The selection of different battery energy storage units, each having its own distinguished characteristics in power and energy, depends on the nature of the power required and the power delivered. Lithium-ion battery is used in this paper as they are currently mainly used for storing wind and solar energy due to its high energy density among other battery technologies, long life cycle and high efficiency [11,28]. The energy storage cost analysis is shown in Fig 2 for different values of power discharge and depth of discharge. The figure depicts that the cost of the energy storage increases when the DOD is high and similarly the cost is increased when the battery discharges more power. The increase in the discharge power results in decreasing the capacity of the energy storage and causes the DOD to be high. However, the continuous discharge of high power from the energy storage at maximum DOD increases the cost of the energy storage to the maximum value. The cost of charging/discharging battery at any time interval as a function of battery power and DOD is formulated in Eq (7) [29,30]. The lifecycle of the lithium-ion battery is represented by an exponential function taken from [31]. The cost function of the battery storage during charge/discharge event is modelled as

19The state of charge (SOC) represents the status of battery capacity given by

20where Δt is the time interval taken as 1 hour. The battery charging Z ch batt and discharging Z dch batt efficiency is considered same in this paper and is equal to efficiency of battery.

Power management strategy

21The power management strategy of the microgrid has a direct impact on the operational behavior of the system regardless of grid-connected or isolated mode of operation. However, in the isolated mode the power generated from the distributed resources must satisfy the load demand for a secure and reliable operation; otherwise, the system will face load shedding which will increase the cost in term of power losses. The unavailability of DERs at certain times of the day will force the diesel generator and battery storage to operate and dispatch optimal power. Moreover, an excess power generation by renewable resources necessitates the charging of the battery. The extra energy after charging is dissipated into dump load to avoid overcharging of batteries. Thus, an efficient power management strategy is required to dispatch the power at the lowest cost to reliably serve the load considering the technical constraints of the microgrid. The power strategy for economic scheduling in this paper has been summarized into the following scenarios: Scenario 1: Renewable energy sources are capable to provide sufficient energy to meet the load demand and the battery is charged by the excess energy.

22Scenario 2: This scenario is identical to scenario 1 with the exception that the battery is fully charged and the extra energy generated by renewable sources is dissipated as a dump load.

23Scenario 3: Renewable energy resources cannot satisfy the required load of the system. The algorithm will decide to run the diesel generators or discharge the battery depending on the required load and the cost accumulated in two distributed sources. Scenario 4: The renewable sources energy generation is insufficient to satisfy the required load and depth of discharge of battery storage is high, with the result that the generator will dispatch the remaining power and also to charge the battery to reduce the depth of discharge.

Cost of electricity

24The cost of electricity is calculated as an indicator of the economic profitability of hybrid microgrid. The electricity cost is the ratio of the sum of the costs associated with solar photovoltaic (C PV ), wind turbine (C WT ), diesel generators (C d.gen ) and the energy storage (C BATT ) to the total load of the day. The electricity cost is measured between all the power generation resources and load for the 24-hour analysis.

Reliability analysis

25The reliability of the microgrid is measured by the statistical parameter loss of power supply probability. The reliability parameter signifies the probability over the time horizon when the generation fails to satisfy the demand. This failure can be either due to the improper designing of the distributed energy resources, immediate drop in renewable energy or increase in power demand. LPSP can be calculated by either using time series data or by determining the energy accumulative effect over the total load. The latter technique has been used in this paper, as shown by the expression

26ðP L À P PV;out À P w;h À P batt;dch À P d:gen Þ

Problem formulation

27The above-mentioned power management strategy is implemented to obtain an optimal battery size and daily economic scheduling of microgrid. The capital cost of battery constitutes a major factor in calculating the battery size. The optimal BESS sizing is obtained by minimizing the daily scheduling cost of the microgrid and BESS total cost per day. Hence, the objective function of the microgrid is the total operating cost given by the expression

28The scheduling cost for the day is the sum of the cost of three diesel generators dispatching power to fulfil the load demand and the cost of charging/discharging the battery storage. In this study, N is taken as three while the time period T is formulated as 24 hours. The TCPD of battery storage is the function of battery capital cost and yearly maintenance cost accounted for the lifetime of battery. The optimal battery size will minimize the total cost of microgrid.

Constraints

29The energy management operation of the microgrid has been optimized by meeting the following constraints: 5.1.1 ESS constraints. The battery charging and discharging energy is expressed in Eq (16) [11]. The battery discharges when P batt is positive whereas negative P batt indicates charging status of BESS. The associated constraint (17) limits the battery power to minimum and maximum value. The charging and discharging of battery depends on the status of the battery power itself, wherein the battery power will be positive in discharging mode and negative in the charging mode. The binary variable μ batt,st states the operating status of the battery. The battery discharges only when μ batt,st is 1 and charges when μ batt,st is 0 avoiding the simultaneous charge and discharge event at any interval. The maximum amount of power charged and discharged by the battery storage during the time t is shown by P max batt;ch and P max batt;dch respectively. The battery capacity at each interval is within the minimum E min batt and maximum E max batt level. The maximum and minimum energy storage capacity in this paper is set as 90% and 15% respectively.

Power balance constraint.

30The primary constraint in the power system is the balance of demand and supply. The microgrid must balance the power flow each time step expressed by Eq (22) P PV;out ðtÞ þ P w;h ðtÞ þ P batt ðtÞ þ P d:gen ðtÞ À P L ðtÞ ¼ 0 ð22Þ

Proposed method

31The proposed method calculates the optimal battery size and performs economic scheduling of the distributed generators as per load demand at each hour. The economic scheduling is based on the power management strategies discussed above and is similar to the conventional method when there is an excess of energy through the renewable sources than that required by loads such as in scenarios 1 and 2 of the power management strategies. However, when the load power is greater than the renewable energy generation, the proposed algorithm will dispatch the power from diesel generators or the energy storage. The decision is based on the depth of discharge of the energy storage, which affects the operational cost of storage. The algorithm reads the DOD value at the start of the interval and then transforms the cost function given in Eq (7) from 3-dimensional to 2-dimensional plot. The proposed optimization algorithm dispatches the optimal power from the three diesel generators and the energy storage, depending on the cost equations of the respective distributed power resources and the load demand at the specific hour. In addition, the proposed method also directs the diesel generators to charge the energy storage when the cost of the BESS per unit of energy is higher than the generator cost. At this stage, the battery DOD is high which may account for the power supply loss during the hours when the battery is required to dispatch power. The battery SOC is computed at the end of each hour after the algorithm takes the decision to charge or discharge the battery. The battery optimal size is calculated for the defined strategies so that the cost is minimum for the scheduling of the power resources which will reduce the overall cost of the microgrid. The battery optimal size is selected from a range such that the lower value E l;t corresponds to the battery size in which there is no mismatch between the generation and load whereas the upper value E u;t sustains the maximum charge at each interval. The battery size range in this paper is taken from 100kWh to 250 kWh. The flowchart of the proposed method is shown in Fig 3.

Firefly algorithm

32The firefly algorithm (FA) analyzes the social behavior of flies and is similar to other meta-heuristic techniques. The algorithm was originally developed by Yang [32] based on three main ideas:

331. The fireflies attract their mating partners.

The bright firefly gets attracted towards brighter fireflies.

343. If the firefly cannot find brighter fireflies, then it will move randomly in the search space.

35Like other optimization techniques such as artificial bee colony (ABC), PSO and harmony search algorithm (HSA), which are based on the population of search space, FA is also a population-based optimization algorithm. However, FA is distinguished from the other optimization techniques by adjusting the parameters, which have low dependency on the algorithm and appropriately identifying the search space. The above mentioned three ideas of firefly algorithm are explained in the mathematical form below:

Separation between fireflies

36The distance between two mating fireflies in the search space is calculated as vector operation performed in Cartesian framework between i th and j th firefly given by the expression:

37where r is the distance between two fireflies, S is the dimension of control vector, Y i,D /Y j,D are the D th dimensions of Y i /Y j fireflies respectively.

Attraction between firefly

38The attraction of the fireflies decreases when the two mating fireflies moves in opposite direction and the separation between them increases. The attraction of the flies can be represented by the following expression:

39where β(r) and β 0 represents the attractiveness when the fireflies are at the distance r and 0. γ is the coefficient of light absorbed by firefly and m is the number of fireflies taken as 2.

Movement of the fireflies

40The fireflies move towards brighter fireflies. The movement between the two fireflies, j th firefly (low intensity) towards the i th firefly (high intensity) is given by mathematical expression:

41The first term of the Eq (25) shows the present position of j th firefly. The second term represents intensity of brightness by which the j th firefly is attracted towards i th firefly. However, the last term v j represents the movement of j th firefly in the entire search space when it cannot find fireflies with more intensity. The randomization parameter δ is a constant value in the range of 0-0.5. The pseudo code of the firefly algorithm is shown in Fig 4.

Results and discussion

42A typical low voltage microgrid with three diesel generators and a lithium-ion battery is analyzed in this study to illustrate the performance of the proposed energy management strategies. The microgrid consists of 68 kW photovoltaic and 37 kW wind turbine system. The data for the diesel generators are taken from [33] and is shown in Table 2. The battery capital cost, maintenance cost, interest rate and lifetime had been taken from [34]. The parameters for the wind turbine, solar photovoltaic, energy storage and optimization algorithm are represented in Tables 3-6 respectively. The proposed method is formulated in MATLAB (R2016b) and run on the personal computer 2.6 GHz core i5 processor with 6 GB RAM. The computational time involved in the simulation is about 3 min 15 sec. The generation subsystem is designed to meet the peak load. However, intermittency of RESs and consumers' behaviors may affect the electricity cost and system reliability. A typical load profile of small residential area with the peak load of 163 kW has been taken in this study. The microgrid load profile and renewable energy generation graphs are shown in Fig 5. The load demand at most of the instances are higher than the combined wind and solar power generation. Thus, the generator and battery storage will be operated at these instances. However, there are certain instances when the renewable power generation is slightly higher than the load demand. Hence, the surplus power will charge the energy storage and the generators remains in the rest state during these time intervals. The diesel generator will charge the battery storage when the cost of battery storage becomes higher than the diesel generator cost. This increase in BESS cost is due to the continuous discharge of battery, which raises its DOD value. The battery must also be charged to avoid any load shedding or power failure in the next hours due to uncertain nature of RESs. This will increase the lifetime of the battery as the battery will operate at lower DOD values. The battery storage used in the microgrid operation is assumed to be initially charged at 75% SOC. The proposed strategy is implemented based on the three cases below and the operating cost is computed in each case.

Case A: System is running without the battery storage

43The microgrid is operated without the energy storage. Thus, there will be no cost for the TCPD and the objective function is restricted to the daily economic scheduling of the microgrid. The RESs and diesel generators have to satisfy the load demand at all instances. However, there are some instances where the renewable and diesel generators cannot fulfil the required load, thus, there will be power mismatch between the generation and demand. This power mismatch will imbalance the system and will result in a power loss due to load shedding. The load shedding accounts for the penalty to be imposed increasing the scheduling cost of the microgrid. However, when the RES power is higher than the loads, the surplus power from the renewable energy sources will be dissipated as a dump load. Fig 6 shows the generation curve of the distributed sources and the load profile.

Case B: Battery size of 100 kWh is added to system

44The renewable sources and diesel generator cannot meet the load demand at all instances, hence, the battery storage must be installed in the microgrid system. In this case, a battery size of 100 kWh is added to the system. The battery size is selected such that there is no mismatch between the generation and the load at any time of the day. The battery is discharged when the cost of battery is lower than generator cost and charged when the battery cost becomes higher. The scheduling cost of the microgrid for the day in this case is calculated as $281.37 whereas the battery TCPD is $ 70.90. The cost of electricity of a day for this load profile is 18.44 (cents/ kWh). Fig 7 shows the battery DOD for this case and it can be seen from the figure that during the certain instance, the DOD becomes higher than 70%, which will greatly impact the cost of energy storage during charge/discharge. Also, the battery charge at the end of the day is low which may impact the operation of the next day. The operation of all the distributed resources in the microgrid with battery size of 100 kWh is represented in Fig 8. In this figure, diesel is the accumulative sum of all the three diesel generators power dispatch.

Case C: Optimal battery size is added to the system

45The optimal battery size for the microgrid operation is determined to produce a cost-effective system. The proposed algorithm computes the optimal battery size to minimize the OC of microgrid. The proposed method calculates the battery size to be 145.5 kWh. The operating cost for the optimal size is found to be $ 325.62. To validate the result of the proposed method, the microgrid OC has been computed for the battery size within the range of 100kWh -250kWh with a step size of 15kWh, considering all the constraints of the distributed energy resources and the battery. Fig 9 shows the scheduling cost, TCPD and the overall OC for the different battery sizes. The optimum battery capacity for this system is recorded to be 145kWh, similar to that by the proposed method. The results show that the scheduling cost is high for smaller battery sizes, and as the size is increased the cost slightly reduces. This trend is followed until the battery size reaches up to 145kWh after which the scheduling cost increases again. The TCPD of battery is a linear curve which increases with the size of the battery. The OC for the microgrid shows a very small change in the cost until the battery size reaches 145kWh and gradually increases thereafter.

46The battery DOD for the entire time period is shown in Fig 10. It can be seen from the figure that during the initial hours, the battery is discharging with an increasing DOD value. At 06:00 the battery DOD has raised to 38% at which level it upsurges the battery cost while the generator discharges more power and simultaneously charges the battery. After 09:00, the generator alone cannot fulfil the load demand, hence, the battery has to discharge in these instances to avoid load shedding. The DOD value at these instances increases and the battery discharges irrespective of the high cost. As soon as the high load period ends, the generator charges the battery again, to ensure sufficient charge during the critical hours. The critical hours are considered as those hours when the renewable energy and diesel generator working together cannot meet the load demand; despite the high cost of the battery storage, it discharges power to fulfil the load demand. Thus, the battery is never depleted completely and avoids deep discharges which prolongs the battery lifetime.

47The battery charging and discharging power analysis is shown in Fig 11. The battery discharging power is represented by a positive value whereas the negative value shows the charging process. The figure shows that most of the time the battery is discharging. The discharged power varies during these instants. The maximum discharge power in a one-time sequence is set to 25kW. This is to avoid complete discharge of the battery storage in one interval so that the battery can be utilized during critical hours. The renewable power generation is high during the hours 00:00-02:00 and 15:00-17:00 and the excess energy is stored in the battery.

48The generation from all the distributed resources and the load demand are plotted in Fig 12. Diesel generator 1 has the lowest cost among the other diesel generators and it also dispatches maximum power. Generator 3 is given the least priority among the three generators due to its high cost. The generation and load are balanced at all the instances which restricts any penalty to be imposed thus reducing the overall operating cost.

49The results for the above cases are tabulated in Table 7. The renewable power generation in all the cases is identical, and the economic dispatch is performed for the power difference between the load and the renewable energy. The negative values in the BESS shows the charging schedule while the positive values represent the discharging schedule. Generator 1 dispatches more power due to it being the cheapest among the three generators, whereas generator 3 dispatches minimal power. The battery DOD curves for the different battery sizes are shown in Fig 13. The figure shows that DOD values for the optimal battery size of 145 kWh is lowest at most of the instances as compared to other battery sizes. The lifecycle and lifespan of the different battery sizes are tabulated in Table 8 by Battery sizing and economic scheduling of microgrid taking the average of the DOD. The optimal battery capacity results in longer lifetime in comparison to other battery capacities and the conventional method [26]. Thus, the optimal size and the economic scheduling may prolong the battery lifetime and reduce the microgrid cost.

Comparison of proposed technique with the conventional technique

50The effectiveness of the proposed method is verified by comparing it with other conventional methods [26,35] in which the battery storage discharges when the renewable resources fail to provide sufficient energy to meet the load. When the battery reaches minimum energy level, the diesel generator is turned on to charge the battery storage. This method reduces the lifetime of battery storage by continuously discharging to the minimum level. The authors in [26] have used PSO to get the optimal power dispatch. The comparison is done by implementing the conventional method using the above-mentioned parameters, and the results are shown in Table 9. It is apparent from the table that the proposed method reduces the operating cost by 50% as compared to the conventional method. The battery depth of discharge status for the conventional method is shown in Fig 14 which depicts that the DOD is higher at most of the instances over 24 hours due to complete power discharge from the energy storage. Thus, the operating cost of the microgrid by using the conventional method is high as compared to the proposed method. The overall power generations and load for all the time intervals are plotted in Fig 15. Battery sizing and economic scheduling of microgrid

Comparison of proposed optimization algorithm with other algorithms

51The robustness of the FA is analyzed by implementing ABC, HSA and PSO for the proposed method and the results are reported in Table 10. The table shows that FA has the minimum operating cost with 0% LPSP. However, PSO and HSA are not capable to meet the load demand at all the instances resulting in the load shedding and has a higher LPSP ratio. The battery discharging cost is the ratio of the accumulated battery cost at all the instances in which the BESS is discharged to the sum of the power discharged by the BESS. The battery discharging cost of FA is the minimum of all the other algorithms and depicts that the BESS does not discharge more power at high DOD values thus reducing the scheduling cost of the microgrid. The battery DOD has been compared for all the algorithms and the results are shown in Fig 16. The results illustrate that FA has been capable of limiting the battery DOD to a low value to minimize the battery operational cost. The scheduling cost for the hourly analysis with the battery size of 145kWh had been compared with the above-mentioned algorithms as in Fig 17. The figure clearly depicts that the cost at each hour by FA is comparatively lower than other algorithms which reduces the overall operating cost of the microgrid.

Conclusion

52As more energy supplies are predicted to utilize renewable sources, the economic and battery sizing aspects of the energy storage in the isolated microgrid has to be taken into consideration to ensure a reliable service. The present study has solved the economic scheduling problem between the diesel generators and the battery storage considering real time battery degradation cost. One of the strengths of the proposed method is to charge the battery when the DOD value is high so that the battery is not depleted during critical hours. Firefly optimization algorithm was implemented to solve the economic dispatch and the battery sizing problem. The simulation results reveal that the microgrid faces the load shedding without the battery storage resulting in high operating cost and instability. Furthermore, a large BESS size does not minimize the operating cost, but there exists an optimal point, which should be considered when designing a microgrid system. The lifespan of the battery is also extended when optimal size is selected for economic scheduling saving cost of Battery sizing and economic scheduling of microgrid replacing BESS. The proposed method has been compared with other existing methods and 50% reduction in operating cost has been recorded. Thus, the obtained results show that ignoring the depth of discharge and lifetime of the BESS in an economic scheduling will inflate the operating cost of the microgrid. The energy scheduling approach presented will help the independent power plant operators to perform the rural electrification efficiently and prolong the battery lifetime.

53Supporting information S1 File. Microgrid data.

54(PDF)

참고문헌 35건

  1. Nature-Inspired Metaheuristic Algorithms 2008
  2. The Role of Energy Storage in a Microgrid Concept: Examining the opportunities and promise of microgrids IEEE Electrification Magazine · IEEE Power & Energy Society · 2013 10.1109/mele.2013.2294736
  3. Discussion on advantages and disadvantages of distributed generation connected to the grid International Conference on Electrical and Control Engineering · 2011 10.1109/iceceng.2011.6057500
  4. Sizing of Energy Storage for Microgrids IEEE Transactions on Smart Grid · Institute of Electrical and Electronics Engineers · 2011 10.1109/tsg.2011.2160745
  5. A method for optimal sizing energy storage systems for microgrids Renewable Energy · Elsevier BV · 2015 10.1016/j.renene.2014.12.039
  6. Reliability-Constrained Optimal Sizing of Energy Storage System in a Microgrid IEEE Transactions on Smart Grid · Institute of Electrical and Electronics Engineers · 2012 10.1109/tsg.2012.2217991
  7. Predictive Control for the Energy Management of a Fuel-Cell–Battery–Supercapacitor Tramway IEEE Transactions on Industrial Informatics · Institute of Electrical and Electronics Engineers · 2013 10.1109/tii.2013.2245140
  8. Techno-economic analysis of an optimized photovoltaic and diesel generator hybrid power system for remote houses in a tropical climate Energy Conversion and Management · Elsevier BV · 2013 10.1016/j.enconman.2013.02.005
  9. Optimal Sizing of a Vanadium Redox Battery System for Microgrid Systems IEEE Transactions on Sustainable Energy · Institute of Electrical and Electronics Engineers · 2015 10.1109/tste.2015.2404780
  10. A practical battery wear model for electric vehicle charging applications Applied Energy · Elsevier BV · 2013 10.1016/j.apenergy.2013.08.062
  11. A new probabilistic method to estimate the long-term wind speed characteristics at a potential wind energy conversion site Energy · Elsevier BV · 2011 10.1016/j.energy.2011.02.008
  12. A new approach for optimal sizing of battery energy storage system for primary frequency control of islanded Microgrid International Journal of Electrical Power & Energy Systems · Elsevier BV · 2013 10.1016/j.ijepes.2013.07.005
  13. Battery energy storage system size optimization in microgrid using particle swarm optimization IEEE PES Innovative Smart Grid Technologies Europe · 2014 10.1109/isgteurope.2014.7028895
  14. Optimization of micro-grid system using MOPSO Renewable Energy · Elsevier BV · 2014 10.1016/j.renene.2014.05.006
  15. Energy storage for the electricity grid : benefits and market potential assessment guide : a study for the DOE Energy Storage Systems Program. 2010 10.2172/1031895
  16. Modeling of the Cost of EV Battery Wear Due to V2G Application in Power Systems IEEE Transactions on Energy Conversion · Institute of Electrical and Electronics Engineers · 2011 10.1109/tec.2011.2159977
  17. On the Optimization of the Daily Operation of a Wind-Hydro Power Plant IEEE Transactions on Power Systems · Institute of Electrical and Electronics Engineers · 2004 10.1109/tpwrs.2004.831707
  18. Grey wolf optimisation for optimal sizing of battery energy storage device to minimise operation cost of microgrid IET Generation Transmission & Distribution · Institution of Engineering and Technology · 2016 10.1049/iet-gtd.2015.0429
  19. Optimal Battery Sizing in Microgrids Using Probabilistic Unit Commitment IEEE Transactions on Industrial Informatics · Institute of Electrical and Electronics Engineers · 2015 10.1109/tii.2015.2509424
  20. Agent‐based distributed and economic automatic generation control for droop‐controlled AC microgrids IET Generation Transmission & Distribution · Institution of Engineering and Technology · 2016 10.1049/iet-gtd.2016.0418
  21. Probabilistic sizing of battery energy storage when time-of-use pricing is applied Electric Power Systems Research · Elsevier BV · 2016 10.1016/j.epsr.2016.07.013
  22. Backtracking search algorithm for solving economic dispatch problems with valve-point effects and multiple fuel options Energy · Elsevier BV · 2016 10.1016/j.energy.2016.09.140
  23. Mix-mode energy management strategy and battery sizing for economic operation of grid-tied microgrid Energy · Elsevier BV · 2016 10.1016/j.energy.2016.11.018
  24. Energy management system for microgrids including batteries with degradation costs 2016 10.1109/powercon.2016.7754011
  25. Optimal sizing and allocation of battery energy storage systems with wind and solar power DGs in a distribution network for voltage regulation considering the lifespan of batteries IET Renewable Power Generation · Institution of Engineering and Technology · 2017 10.1049/iet-rpg.2016.0938
  26. Risk-based framework for supplying electricity from renewable generation-owning retailers to price-sensitive customers using information gap decision theory International Journal of Electrical Power & Energy Systems · Elsevier BV · 2017 10.1016/j.ijepes.2017.05.023
  27. An efficient cost-reliability optimization model for optimal siting and sizing of energy storage system in a microgrid in the presence of responsible load management Energy · Elsevier BV · 2017 10.1016/j.energy.2017.07.148
  28. A Comprehensive Battery Energy Storage Optimal Sizing Model for Microgrid Applications IEEE Transactions on Power Systems · Institute of Electrical and Electronics Engineers · 2017 10.1109/tpwrs.2017.2769639
  29. Optimum energy resource scheduling in a microgrid using a distributed algorithm framework Sustainable Cities and Society · Elsevier BV · 2017 10.1016/j.scs.2017.11.016
  30. A critical review on the utilization of storage and demand response for the implementation of renewable energy microgrids Sustainable Cities and Society · Elsevier BV · 2018 10.1016/j.scs.2018.04.008
  31. An optimal energy management system for a commercial building with renewable energy generation under real-time electricity prices Sustainable Cities and Society · Elsevier BV · 2018 10.1016/j.scs.2018.05.049
  32. RETRACTED: Interval optimization based performance of photovoltaic/wind/FC/electrolyzer/electric vehicles in energy price determination for customers by electricity retailer Solar Energy · Elsevier BV · 2018 10.1016/j.solener.2018.07.004
  33. Optimal scheduling of isolated microgrid with an electric vehicle battery swapping station in multi-stakeholder scenarios: A bi-level programming approach via real-time pricing Applied Energy · Elsevier BV · 2018 10.1016/j.apenergy.2018.09.211
  34. Techno-economic analysis and size optimization of an off-grid hybrid photovoltaic, fuel cell and diesel generator system Sustainable Cities and Society · Elsevier BV · 2018 10.1016/j.scs.2018.10.021
  35. Optimal Scheduling of an Isolated Microgrid With Battery Storage Considering Load and Renewable Generation Uncertainties IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2018 10.1109/tie.2018.2840498