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

An Optimal Energy Hub Management Integrated EVs and RES Based on Three-Stage Model Considering Various Uncertainties

관련 필름·전자재료 · (18) VENT(방수통기 부품)

기본 정보

저자
  1. Elham Mokaramian — Energy Management Research Center, University of Mohaghegh Ardabili, Ardabil, Iran|||ORCiD
  2. Hossein Shayeghi — Energy Management Research Center, University of Mohaghegh Ardabili, Ardabil, Iran|||ORCiD
  3. Farzad Sedaghati — Energy Management Research Center, University of Mohaghegh Ardabili, Ardabil, Iran
  4. Amin Safari — Department of Electrical Engineering, Azarbaijan Shahid Madani University, Tabriz, Iran
  5. Hassan Haes Alhelou — Department of Electrical Power Engineering, Faculty of Mechanical and Electrical Engineering, Tishreen University, Latakia, Syria|||ORCiD
DOI
10.1109/access.2022.3146447
저널
IEEE Access
발행년도
2022
발행기관
Institute of Electrical and Electronics Engineers
피인용수
70
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1109/access.2022.3146447
토픽
Hybrid Renewable Energy Systems
OpenAlex ID
W4210245981

평가 내용

관련도
관련
사업분야
필름·전자재료 · (18) VENT(방수통기 부품)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '필름·전자재료 > VENT(방수통기 부품)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

In order to make significant progress in the operation of power systems and minimizing cost and air pollution, multi-carrier energy systems based on the economic and emission problem have been proposed by implementing various solutions and using different sources. In this study, an energy hub (EH) system includes a wind turbine (WT), photovoltaic (PV), and EVs that are exchanged energy with energy and reserve market considering energy, thermal, and gas demand response program is proposed. But these units due to uncertain behavior create a big problem in balancing between the demand and generated energy. Thus, the uncertainty of WT, PV, load, and electricity market price are modeled with Mont-Carlo method. Besides that, all parameters of the EVs with uncertainty behavior are modeled using a new method that classified EVs based on the capacity of the battery and other features. This method is employed a stochastic optimization approach to simplify the uncertainty modeling for increasing the system reliability. Hence, two objective functions, namely economic cost, and environmental cost are considered. Finally, a three-step strategy is introduced to solve the multi-objective problem as a single objective function. Finally, EH management performance is investigated by implementing the proposed method and elements.

본문 87,308자

본문 펼치기
Received December 27, 2021, accepted January 16, 2022, date of publication January 26, 2022, date of current version February 16, 2022. _Digital Object Identifier 10.1109/ACCESS.2022.3146447_ # An Optimal Energy Hub Management Integrated EVs and RES Based on Three-Stage Model Considering Various Uncertainties ELHAM MOKARAMIAN 1, HOSSEIN SHAYEGHI 1, (Senior Member, IEEE), FARZAD SEDAGHATI1, AMIN SAFARI <sup>2</sup>, AND HASSAN HAES ALHELOU 3, (Senior Member, IEEE) 1Energy Management Research Center, University of Mohaghegh Ardabili, Ardabil 56199-11367, Iran 2Department of Electrical Engineering, Azarbaijan Shahid Madani University, Tabriz 53751-71379, Iran 3Department of Electrical Power Engineering, Faculty of Mechanical and Electrical Engineering, Tishreen University, Latakia 2230, Syria Corresponding author: Hossein Shayeghi (hshayeghi@gmail.com) ABSTRACT In order to make significant progress in the operation of power systems and minimizing cost and air pollution, multi-carrier energy systems based on the economic and emission problem have been proposed by implementing various solutions and using different sources. In this study, an energy hub (EH) system includes a wind turbine (WT), photovoltaic (PV), and EVs that are exchanged energy with energy and reserve market considering energy, thermal, and gas demand response program is proposed. But these units due to uncertain behavior create a big problem in balancing between the demand and generated energy. Thus, the uncertainty of WT, PV, load, and electricity market price are modeled with Mont-Carlo method. Besides that, all parameters of the EVs with uncertainty behavior are modeled using a new method that classified EVs based on the capacity of the battery and other features. This method is employed a stochastic optimization approach to simplify the uncertainty modeling for increasing the system reliability. Hence, two objective functions, namely economic cost, and environmental cost are considered. Finally, a three-step strategy is introduced to solve the multi-objective problem as a single objective function. Finally, EH management performance is investigated by implementing the proposed method and elements. INDEX TERMS Demand response program, electric vehicle, energy hub, renewable energy sources, uncertainty. NOMENCLATURES EH Energy hub. CHP Combined heat and power. DRP Demand response program. GDRP Gas demand response program. EDRP Electric demand response program. TDRP Thermal demand response program. ESS Energy storage system. GAMS General algebraic modeling system. RES Renewable energy storage. TDRP Thermal demand response program. TSS Thermal storage system. UP Upstream grid. WT Wind turbine. PV Photovoltaic. The associate editor coordinating the review of this manuscript and approving it for publication was Cheng Chin . _Indices_ t Time index. n The number of scenarios. e Economic index. m Emission index. _Parameters_ _Vco, Vci_ & _VR_ Cut off, cut in, and rated speed. _v_ ( _t_ ) Wind speed. _g_ <sup>_grid_</sup> min <sup>&</sup> <sup>_g_</sup> max <sup>_grid_</sup> Min and max <sup>_l_</sup> _t_ Gas demand in residential area. <sup>_grid_</sup> min <sup>&</sup> <sup>_g_</sup> max <sup>_grid_</sup> _g_ <sup>_grid_</sup> min <sup>&</sup> <sup>_g_</sup> max <sup>_grid_</sup> Min and max capacity of gas grid. _αe_ <sup>min</sup> & _αe_ <sup>max</sup> Min and max _e_ <sup>min</sup> & _αe_ <sup>max</sup> _αe_ <sup>min</sup> & _αe_ <sup>max</sup> Min and max capacity of ESS. _αh_ <sup>min</sup> & _αh_ <sup>max</sup> Min and max capacity of TSS. _η_ <sup>_C/L_</sup> Efficiency of fc. _g_ <sup>_l_</sup> _t_ Gas demand in _h_ <sup>min</sup> & _αh_ <sup>max</sup> a1, a2, b1, b2, c, d Cost coefficient of CHP unit [$/kwh]. _Px_ | _X_ ∈{ _A,_ _B,_ _D,_ _F,_ _G,_ _H_ _,_ _I_ } Power of corner points in CHP unit in operation zones [kwh]. _Hx_ | _X_ ∈{ _A,_ _B,_ _D,_ _F,_ _G,_ _H_ _,_ _I_ } Heat of corner points in CHP unit in operation zones [kwh]. _M_ ¯ _x_ | _X_ ∈{ _A,_ _B,_ _D,_ _F,_ _G,_ _H_ _,_ _I_ } Max coefficients of Big-M method [kwh]. _Mx_ | _X_ ∈{ _A,_ _B,_ _D,_ _F,_ _G,_ _H_ _,_ _I_ } Min coefficients of Big-M approach [kwh]. LPF <sup>up</sup> <sup>_,_</sup> <sup>e</sup>, LPF <sup>dn</sup> <sup>_,_</sup> <sup>e</sup> Up and down level of electricity load coefficient. LPF <sup>up</sup> <sup>_,_</sup> <sup>t</sup>, LPF <sup>dn</sup> <sup>_,_</sup> <sup>t</sup> Up and down level of electricity load coefficient. LPF <sup>up</sup> <sup>_,_</sup> <sup>g</sup>, LPF <sup>dn</sup> <sup>_,_</sup> <sup>g</sup> Increased and decreased gas load coefficient. _ςe_ <sup>_ch_</sup> <sup>&</sup> <sup>_ς_</sup> _e_ <sup>_dis_</sup> Electricity storage _CO_ <sup>_chp_</sup> 2 <sup>_, SOchp_</sup> 2 <sup>_, NO_</sup> 2 <sup>_chp_</sup> Emission coefficient of CHP unit. _ϕ_ Shape parameter. _ϑ_ Scale parameter. _ω, ψ_ Shape parameter of Beta Distribution. _σ_, _τ_ Expectation and standard deviation of load. _ςe_ <sup>_RM_</sup> Reserve market efficiency. _ςgh_ <sup>_CHP_</sup> Gas to heat _κ_ <sup>_ESS_</sup> Cost of generated energy by ESS. _κ_ <sup>_S_</sup> Cost of generated energy by evs. Pj _,_ 0 Initial power of EV. _CO_ <sup>_bo_</sup> 2 <sup>_, SObo_</sup> 2 <sup>_, NO_</sup> 2 <sup>_bo_</sup> Emission coefficient _CO_ <sup>_bo_</sup> 2 <sup>_, SObo_</sup> 2 <sup>_, NO_</sup> 2 <sup>_bo_</sup> Emission coefficient of thermal produced by boiler. _CO_ <sup>_grid_</sup> 2 _, SO_ <sup>_grid_</sup> 2 _, NO_ <sup>_grid_</sup> 2 Emission coefficient of bought energy by upstream network. _CO_ <sup>_rl_</sup> 2 <sup>_, SOrl_</sup> 2 <sup>_NO_</sup> 2 <sup>_rl_</sup> Emission coefficient <sup>_grid_</sup> 2 _, SO_ <sup>_grid_</sup> 2 <sup>_grid_</sup> 2 _, NO_ <sup>_grid_</sup> 2 _CO_ <sup>_rl_</sup> 2 <sup>_, SOrl_</sup> 2 <sup>_NO_</sup> 2 <sup>_rl_</sup> Emission coefficient of produced electricity by residential area. _CO_ <sup>_rl_</sup> 2 <sup>_, SOrl_</sup> 2 <sup>_NO_</sup> 2 <sup>_rl_</sup> Emission coefficient _CO_ <sup>_rl_</sup> 2 <sup>_, SOrl_</sup> 2 <sup>_NO_</sup> 2 <sup>_rl_</sup> Emission coefficient of bought energy by reserve market. _CO_ <sup>_chp_</sup> 2 <sup>_, SOchp_</sup> 2 <sup>_, NO_</sup> 2 <sup>_chp_</sup> Emission coefficient _e_ <sup>_ch_</sup> <sup>&</sup> <sup>_ς_</sup> _e_ <sup>_dis_</sup> _ςe_ <sup>_ch_</sup> <sup>&</sup> <sup>_ς_</sup> _e_ <sup>_dis_</sup> Electricity storage Charge and discharge efficiency. _ςh_ <sup>_ch_</sup> <sup>&</sup> <sup>_ς_</sup> _h_ <sup>_dis_</sup> Thermal storage Charge and discharge efficiency. _ςEV_ <sup>_ch_</sup> <sup>&</sup> <sup>_ς_</sup> _EV_ <sup>_dis_</sup> Charge and discharge efficiency of evs. _P_ <sup>_boiler_</sup> _c_ & _P_ <sup>_CHP_</sup> _c_ Nominal capacity of _ςge_ <sup>_boiler_</sup> Gas exchange to heat efficiency of the boiler. _ρ_ <sup>_CHP_</sup> CHP obtainability. _ρ_ <sup>_grid_</sup> Upper network obtainability. _ρ_ <sup>_wind_</sup> WT obtainability. _ρ_ <sup>_RM_</sup> Reserve market obtainability. _ςe_ <sup>_grid_</sup> Transformer efficiency. _h_ <sup>_ch_</sup> <sup>&</sup> <sup>_ς_</sup> _h_ <sup>_dis_</sup> _EV_ <sup>_ch_</sup> <sup>&</sup> <sup>_ς_</sup> _EV_ <sup>_dis_</sup> _ςgh_ <sup>_CHP_</sup> Gas to heat transformer efficiency of CHP. _ςe_ <sup>_CHP_</sup> Gas to electricity transformer efficiency of CHP. _ςge_ <sup>_boiler_</sup> Gas exchange to heat <sup>_boiler_</sup> _c_ & _P_ <sup>_CHP_</sup> _c_ _P_ <sup>_boiler_</sup> _c_ & _P_ <sup>_CHP_</sup> _c_ Nominal capacity of boiler & CHP. _P_ <sup>_RM_</sup> _c_ Nominal capacity of reserve market. _κ_ <sup>_FC_</sup> Production price of FC. _κt_ <sup>_e_</sup> Price of supplied _ςe_ <sup>_wind_</sup> Converter of wind to electricity efficiency. _ςe_ <sup>_pv_</sup> Converter of PV to electricity _κt_ <sup>_e_</sup> Price of supplied power via upstream grid. _κt_ <sup>_gas_</sup> Natural gas price. _ςe_ <sup>_grid_</sup> Transformer efficiency. _ςe_ <sup>_wind_</sup> Converter of wind to electricity _κt_ <sup>_gas_</sup> Natural gas price. _κ_ <sup>_WT_</sup> Generated power cost of WT. _κ_ <sup>_PV_</sup> Generated power cost of PV. _κ_ <sup>_EDRP_</sup> Electricity demand response price. _κ_ <sup>_TDRP_</sup> Thermal demand response price. _κ_ <sup>_GDRP_</sup> Gas demand response price. _κ_ <sup>_TSS_</sup> Cost of generated thermal by TSS. _ςe_ <sup>_pv_</sup> Converter of PV to electricity efficiency. _ςe_ <sup>_FC_</sup> Converter of FC to electricity efficiency. _D_ <sup>_thermal_</sup> _IL_ Heat demand. _p_ <sup>_RM_</sup> _t_ Imported power from reserve market. _Ht_ <sup>_bo_</sup> Thermal generated by boiler. _p_ <sup>_wi_</sup> _t_ Produced power by WT. <sup>_wi_</sup> _t_ Produced power by WT. _D_ <sup>_thermal_</sup> _IL_ Heat demand. _D_ <sup>_EL_</sup> _IL_ Electricity demand. _D_ <sup>_EL_</sup> _IL_ Electricity demand. _Variable_ _p_ <sup>_fc_</sup> _t_ Generated power by FC. _p_ <sup>_fc_</sup> _t_ Generated power by FC. _p_ <sup>_e_</sup> _t_ Imported power from upstream _p_ <sup>_e_</sup> _t_ Imported power from upstream grid. _p_ <sup>_RM_</sup> _t_ Imported power from reserve _P_ <sup>_PV_</sup> _t_ _It_ <sup>_up,t_</sup> & _It_ <sup>_dn,t_</sup> Up and down level of thermal load. _It_ <sup>_up,g_</sup> & _It_ <sup>_dn,g_</sup> Up and down level of gas load. _P_ <sup>_PV_</sup> _t_ Produced power by PV. _P_ <sup>_FC_</sup> _t_ Produced power by FC. _p_ <sup>_CHP_</sup> _t_ Electrical power generated _It_ <sup>_up,t_</sup> _It_ <sup>_CHP_</sup> Active and disactivate mode of CHP. _Zt_ <sup>1</sup> <sup>_,_</sup> <sup>_Z_</sup> _t_ <sup>2</sup> <sup>_,_</sup> <sup>_Z_</sup> _t_ <sup>3</sup> zone activity. _p_ <sup>_CHP_</sup> _t_ Electrical power generated by CHP. _Ht_ <sup>_CHP_</sup> Heat generated by CHP. _It_ <sup>_up,g_</sup> & _It_ <sup>_dn,g_</sup> Up and down level of gas load. _It_ <sup>_CHP_</sup> Active and disactivate mode of CHP. _t_ <sup>_up,t_</sup> & _It_ <sup>_dn,t_</sup> _t_ <sup>_up,g_</sup> & _It_ <sup>_dn,g_</sup> _Ht_ <sup>_CHP_</sup> Heat generated by CHP. _p_ <sup>_ch_</sup> _t_ <sup>_,e_</sup> & _p_ <sup>_dis_</sup> _t_ <sup>_,e_</sup> Charge & discharge electricity _t_ <sup>1</sup> <sup>_,_</sup> <sup>_Z_</sup> _t_ <sup>2</sup> _t_ <sup>2</sup> <sup>_,_</sup> <sup>_Z_</sup> _t_ <sup>3</sup> _t_ <sup>3</sup> zone activity. <sup>_ch_</sup> _t_ <sup>_,e_</sup> & _p_ <sup>_dis_</sup> _t_ <sup>_,e_</sup> _p_ <sup>_ch_</sup> _t_ <sup>_,e_</sup> & _p_ <sup>_dis_</sup> _t_ <sup>_,e_</sup> Charge & discharge electricity of ESS. _p_ <sup>_ch_</sup> _t_ <sup>_,t_</sup> & _p_ <sup>_dis_</sup> _t_ <sup>_,t_</sup> Charge & discharge heat of <sup>_ch_</sup> _t_ <sup>_,t_</sup> & _p_ <sup>_dis_</sup> _t_ <sup>_,t_</sup> _p_ <sup>_ch_</sup> _t_ <sup>_,t_</sup> & _p_ <sup>_dis_</sup> _t_ <sup>_,t_</sup> Charge & discharge heat of TSS. _P_ <sup>_ch_</sup> _n,t_ <sup>_, Pdis_</sup> _j,t_ Charge and discharge energy <sup>_ch_</sup> _n,t_ <sup>_, Pdis_</sup> _j,t_ _P_ <sup>_ch_</sup> _n,t_ <sup>_, Pdis_</sup> _j,t_ Charge and discharge energy of evs. _p_ <sup>_GAS_</sup> _t_ Imported gas from gas network. _p_ <sup>_GAS_</sup> _t_ Imported gas from gas network. _p_ <sup>_dem_</sup> _j_ Needed power to charge _p_ <sup>_dem_</sup> _j_ Needed power to charge batteries. cos _tj_ <sup>deg</sup> _,t_ The degradation cost. cos _tj_ <sup>deg</sup> _,t_ The degradation cost. _P_ <sup>_up_</sup> _t_ <sup>_,e_</sup> _,_ _P_ <sup>_dn_</sup> _t_ <sup>_,e_</sup> Increased and deceased <sup>_up_</sup> _t_ <sup>_,e_</sup> _,_ _P_ <sup>_dn_</sup> _t_ <sup>_,e_</sup> _P_ <sup>_up_</sup> _t_ <sup>_,e_</sup> _,_ _P_ <sup>_dn_</sup> _t_ <sup>_,e_</sup> Increased and deceased electrical load level. _P_ <sup>_up_</sup> _t_ <sup>_,t_</sup> _,_ _P_ <sup>_dn_</sup> _t_ <sup>_,t_</sup> Increased and deceased thermal load level. _P_ <sup>_up_</sup> _t_ <sup>_,g_</sup> _,_ _P_ <sup>_dn_</sup> _t_ <sup>_,g_</sup> Increased and deceased <sup>_up_</sup> _t_ <sup>_,t_</sup> _,_ _P_ <sup>_dn_</sup> _t_ <sup>_,t_</sup> <sup>_up_</sup> _t_ <sup>_,g_</sup> _,_ _P_ <sup>_dn_</sup> _t_ <sup>_,g_</sup> _P_ <sup>_up_</sup> _t_ <sup>_,g_</sup> _,_ _P_ <sup>_dn_</sup> _t_ <sup>_,g_</sup> Increased and deceased gas load level. _f_ ( _υ_ ) Weibull distribution function. _f_ ( _θ_ ) Weibull distribution function. _f_ ( _x_ ) Normal PDF function. _ofEM_ Total pollution emissions. _g_ <sup>_bo_</sup> _t_ Gas consumption of boiler. _g_ <sup>_bo_</sup> _t_ Gas consumption of boiler. obji I_th objective function. _Ct_ <sup>_st,e_</sup> Obtainability energy of _Ct_ <sup>_st,e_</sup> Obtainability energy of electricity storage. _Ct_ <sup>_st,h_</sup> Obtainability energy of heat storage. Pj _,_ f Final battery power. _P_ <sup>_EL_</sup> _t_ <sup>_,DR_</sup> Load of electricity in _P_ <sup>_EL_</sup> _t_ <sup>_,DR_</sup> Load of electricity in the presence of DRP. _P_ <sup>_T_</sup> _t_ <sup>_,DR_</sup> Load of thermal in the presence of DRP. _P_ <sup>_G_</sup> _t_ <sup>_,DR_</sup> Load of gas in the _P_ <sup>_G_</sup> _t_ <sup>_,DR_</sup> Load of gas in the presence of DRP. _P_ <sup>_loss_</sup> _t_ <sup>_,e_</sup> _, P_ <sup>_loss_</sup> _t_ <sup>_,t_</sup> Losses of energy <sup>_loss_</sup> _t_ <sup>_,e_</sup> _, P_ <sup>_loss_</sup> _t_ <sup>_,t_</sup> _P_ <sup>_loss_</sup> _t_ <sup>_,e_</sup> _, P_ <sup>_loss_</sup> _t_ <sup>_,t_</sup> Losses of energy in ESS and TSS. _p_ <sup>_fc_</sup> _t_ Generated power by FC. _p_ <sup>_fc_</sup> _t_ Generated power by FC. _p_ <sup>_e_</sup> _t_ Imported power from upstream grid. _p_ <sup>_e_</sup> _t_ Imported power from upstream grid. _p_ <sup>_RM_</sup> _t_ Imported power from reserve market. _Ht_ <sup>_bo_</sup> Thermal produced through boiler. _Ht_ <sup>_bo_</sup> Thermal produced through boiler. _p_ <sup>_wi_</sup> _t_ Produced power by WT. _p_ <sup>_wi_</sup> _t_ Produced power by WT. _P_ <sup>_PV_</sup> _t_ Produced power by PV. _P_ <sup>_FC_</sup> _t_ Produced power by FC. _p_ <sup>_CHP_</sup> _t_ Electrical power generated by CHP. _p_ <sup>_CHP_</sup> _t_ Electrical power generated by CHP. _Ht_ <sup>_CHP_</sup> Heat generated by CHP. _Ht_ <sup>_CHP_</sup> Heat generated by CHP. Binary variables _It_ <sup>_ch,t_</sup> & _It_ <sup>_dis,t_</sup> Charge/ discharge of TSS. _t_ <sup>_ch,t_</sup> & _It_ <sup>_dis,t_</sup> _t_ <sup>_ch,e_</sup> & _It_ <sup>_dis,e_</sup> _t_ <sup>_up,e_</sup> & _It_ <sup>_dn,e_</sup> _It_ <sup>_ch,e_</sup> _It_ <sup>_up,e_</sup> _t_ <sup>_dis,t_</sup> Charge/ discharge of TSS. _t_ <sup>_dis,e_</sup> Charge/ discharge of ESS. _t_ <sup>_dn,e_</sup> Up and down level of electrical load. I. INTRODUCTION _A._ _MOTIVATION_ In recent years, in the power system structure, a multi-carrier power system has been implemented instead of the single entity generating [1], [2]. On the other hand, increasing the emission pollution problem due to the use of fossil fuels is one of the serious reasons [3]. Therefore, energy hubs are supposed to play a critical role in the future for solving power system problems [4]. RESs such as PV and wind farms generate clean and unlimited energy [5], and the use of renewable energy is an effective way to promote energy transformation in the energy hub [6]. Today, the use of electric vehicles is increasing due to reducing air pollution and exploitation as consumers and producers (as a battery) [7]. EVs are also profitable for car owners, in addition to the economic and environmental benefits of the power system [8]. Therefore, integrating EVs and energy hubs is a good choice for minimizing operation costs and air pollution. Renewable resources have uncertain behaviors due to climate change, which has a significant impact on the performance and reliability of the EH. On the other hand, EVs include uncertainty behaviors [9]. The most suitable operation of the EH will be obtained using a suitable optimization method and integrating the energy market with the reserve market [10] considering uncertainties in the presence of EVs. _B._ _LITERATURE REVIEW_ Different studies of assessing and analyzing EHs abilities due to many advantages such as economy minimization, emission pollution mitigation, high flexibility, market infrastructure, and energy management in various sections of power systems have been done [2], [11], [12]. EH is made from two parts as an input and output, which contain multi carriers in the input section and multi demands in the output section. Employing renewable resources, suitable converters, energy storages, and redundant connection between EH input and output, supply of demand, reliability, and energy management are enhanced, the operation cost and emission pollution are minimized [13]. Implementing a good framework of EH and an appropriate scheduling program is essential to obtain the best results for EH operation. Alessandra Parisio _et_ _al._ proposed a robust optimization method of EH operations [14]. Also, multi carriers’ input, stored and distributed in the EH construction is implemented to supply energy demands. However, renewable sources are a good option for input in the EH framework. In [15], EH as a combined energy system containing renewable energy resources was proposed considering demand response programs to supply electrical, cooling, and heating demands. But, the stochastic nature in the production of the RESRs has not been considered. In [16], a new mathematical method for analyzing the integrated EH with a deregulated market was reported. This method is based on a mathematic program with an equilibrium constraints model to investigate the strategic performances of a profit-driven EH in both the heating and electricity markets. Since the economic issue is important in EH performance, at the same rate, the pollution emission is important, too. So, Lu _et_ _al._ in [17], an optimal load program model for a community EH represented. Both EDRP and TDRP to minimize the total cost of the energy hub, including system economic and environmental costs were considered. One of the most effective methods to improve the performance of EH and optimize the operation cost and emission pollution is using an appropriate energy storage system. In [18], and EH management mechanism was introduced by employing two new energy storages are called ice storage conditioner (ISC) and solar-powered compressed air energy storage to minimize operation and emission pollution costs considering combined CHP, photovoltaic, and wind turbine. The other important factor, which has the most effect on EH performance is using a robust scheduling method. Shams _et al._ [19] suggested a min-max min robust method for the short-term scheduling of microgrids integrated with the natural gas network to model the uncertainty of WT generation, electrical, and thermal loads introduced. The proposed model was solved and linearized using the column-and-constraint generation process that divides the framework into a master problem and a subproblem. It should be better if the improved EH structure behind a suitable scheduling method was analyzed simultaneously. In [20], novel energy storage integrated with an energy hub in an industrial park was proposed and a bi-level optimization scheduling method was introduced to analyze the optimal bidding and programing in the daily market. The main aim of this method is to minimize the day-ahead operation cost. Since renewable sources are subject to weather conditions, their output power is not constant and has uncertainty. Therefore, it is essential to study the causes of uncertainty with appropriate methods. In [21], an MINLP method for the optimal scheduling of the energy hub was modeled in the presence of uncertainty factors. In addition, the effect of implementing DRPs, determine the size of the energy hub, and implementing a complete energy flow of loads are introduced. Using the risk-averse method is a good option for modeling the uncertainty of the energy hub to increase reliability. A novel look-ahead risk-constrained based on the look-ahead scheduling technique in the daily market of the energy hub was proposed to reduce the total cost of the energy hub in the presence of DRP in [22]. Mokaramian _et al._ [23], analyzed the performance of the energy hub using a multi-objective function as environmental, economic, load deviation, and risk level objective functions conditional value at risk and secondorder stochastic dominance. Also, a new storage model as PHESS has been utilized in EH to optimal energy management considering DRP for water, gas, electricity, and thermal. In [24], a spatiotemporal association of wind speed, solar irradiation, and price responsive loads in the presence of cooperative and non-cooperative modes of energy hubs using a game-theoretic method is proposed, which has participation by the energy market. In addition, mathematical scheduling with equilibrium restraints was applied to solve the highly competitive behavior of the energy hubs in this market in the presence of system losses. Stochastic operation of energy hub in the uncertain environment and using downside risk restrictions was suggested to minimize the risk-in-cost versus risk control parameter in the heating market with heat DRP in [25]. In [26], a multi-objective method was represented to optimize the operation cost and risk-averse in the energy hub. The conditional value at risk method was implemented to control the harmful effects of the uncertainties. In [27], a multi-agent system is introduced to model the operation of an EH with electric vehicles and modeled various penetration rates and charging patterns of an electric vehicle. A complete random dispatch algorithm was integrated into a smart charging strategy to obtain the maximum capacity and potential of the vehicle to the grid. XinhuiLu _et al._ [28] presented a novel structure of optimal load dispatch model for a community EH in the presence of thermal and electrical demand response programs. In this model, the gas boiler, CHP unit, PV array, heat storage unit, WT, the random admission of large-scale electric vehicles was considered, and using the Monte- Carlo approach, the uncertainty of EVs is simulated. Also, a robust optimization method was proposed to simulate the price uncertainty. To improve the environmental and economic aspect of the energy hub, a multi-objective optimization method in the presence of compressed air energy storage was integrated with a battery energy storage system in [29]. Also, in the structure of residential EH, a plug-in electric vehicle-based demand response program, renewable energy generation units, thermal energy storage, solar heat collectors, and hot water storage was used. Finally, the load demand uncertainty of EVs is modeled using their corresponding coming–exit time, miles of daily moved, and type of vehicle. The optimal Pareto front of the multi-objective issue was achieved by the _ε_ -constrained approach for different robustness alterations. Regarding the reviewed literature in EH, some of the drawbacks have seemed that should be improved as follow: - In some studies, renewable sources, fuel cells, and EVs as energy storage have not been used to improve environmental and economic issues. - Different DRP for water, gas, thermal, and electrical loads have not been considered. - The impact of all parameters of EVs uncertainties on the operation of the energy hub has not been esteemed. - Uncertainty of renewable sources, load uncertainty, market price, and EVs have not been considered, simultaneously. _C._ _CONTRIBUTION_ In this study, two objectives are considered to optimize the total cost of EH performance as emission pollution and FIGURE 1. Structure of the proposed EH. operation cost. The proposed model of EH includes a CHP, boiler, WT, PV, Fuel cell, ESS, HSS, and EV considering the uncertainty of WT, PV, load, price market, and EVs as shown in Fig. 1. In addition, a demand response program is implemented for gas, heat, and electricity demand. All uncertainty factors of EVs as starting and stopping time of charging/discharging period, the overall battery capacity, initial energy, and their number, are not yet addressed for an EH or a collector that uses these resources integrated with renewables to contribute to different electricity markets. So, in this study, we introduce a novel method to implement the storage capacity of EVs as energy storage in EH structure in the day-ahead market. Here, three factors of EVs uncertainties are considered contains EVs capacity uncertainty, coming and leaving time, the amount of energy left in the battery when it becomes obtainable, and their total number. Finally, the fundamental contributions of this study are mentioned as follow: - Participating EH with energy and reserve markets - Integrating the EVs with day-ahead and reserve markets - Proposing a new method to model all uncertainty parameters of EVs. - Considering demand response programs for gas, electricity, and thermal loads - Solving the multi-objective problem using a novel threestage solution algorithm. II. ENERGY HUB MODELING This study presents an EH including different energy carriers with the ability to convert, storing and transferring. The energy hub as shown in Fig. 1 is including utility grid, natural gas network, fuel cell, and renewable sources (wind turbine, PV) in the input section that integrated with ESS and TSS as a storage system, CHP, and boiler in converter section to supply load demand of gas, electricity, heat, and EVs that operate as a mobile storage. The main aim of this study is to minimize operating costs and emission pollution problems. Also, the uncertainty of RES, load market, price of the energy market, and three factors of EVs uncertainties i.e.: EVs capacity uncertainty, coming and leaving time, and their total number are modeled using the Mont-Carlo method. FIGURE 2. CHP unit’s heat and power operation zones. Noted that in this study, EH is assumed as a small city. Electricity and natural gas as input carriers are considered to supply the load demand. Wind turbines and PV can produce electrical energy to use by the consumer. The EVs can operate as bilateral equipment and in the charging mode, is assumed as a consumer, and in discharging mode, the extra power is saved and flow to the EH to use via consumer, in this mode the EVs work as energy storage. The CHP unit in the EH framework is fed from natural gas and produces heat and electrical energy simultaneously. In addition, the auxiliary boiler feeds the natural gas and generates heat to the heating line. The CHP unit has an important role in EH performance because this unit involved three carriers of EH as natural gas, heat, and electricity. In this study, the CHP unit works in quadratic mode and contains three operational zones, which are shown in Fig. 2. The relation between the heat and power in CHP operation as shown in Fig. 2, is a non-convex operation zone. When the thermal is produced by the CHP unit, the amount of power generation is limited and conversely. In order to simplify the optimal operation of the CHP unit, the non-convex zone is divided into triple zones which are shown by Zone 1, 2, and 3. Convexness is made by counting three binary variables for the CHP. These zones are convex, and any point on any line in each zone is related to that zone [30]. _A._ _OBJECTIVE FUNCTIONS_ The main aims of this study are divided into two parts. The first aim is to minimize total operation cost and the second aim is to optimize the emission pollution cost of the EH in the day-ahead market. _B._ _ECONOMIC OBJECTIVE FUNCTION_ The economic objective function includes two terms to optimize the total cost of the EH as follow [23]: _OFop_ = _n_ _t_ =1 _CostEH_ + _n_ _t_ =1 _CostRM_ <sup>_P_</sup> (1) The first term denotes the operation cost of the EH, and the second term represents the reserve market cost. The energy hub system contains RESs, boiler, CHP unit, thermal and electrical energy storage, and EVs. Demand response program is considered for all types of load demand including gas, thermal and electric demand with a specified cost. So, the operation cost of EH is presented as follow: _Cost_ <sup>_P_</sup> _RM_ <sup>_P_</sup> <sup>(</sup> <sup>_t, e_</sup> <sup>) =</sup> <sup>_κ_</sup> _t_ <sup>_RM_</sup> which is calculated as follow: _j_ cos _tj_ <sup>deg</sup> _,t_ (9) cos _tj_ <sup>deg</sup> _,t_ _CostEV_ = _J_ ( _P_ <sup>_dem_</sup> _j_ _k_ <sup>_s_</sup> ) − ( _P_ <sup>_dem_</sup> _j_ The second term of Eq. (1) is the cost of purchasing energy from the reserve market and is formulated by Eq. (10). _t_ <sup>_RM_</sup> _P_ <sup>_RM_</sup> _t_ <sup>_RM_</sup> _t_ (10) _CostEH_ = _CostOC_ <sup>_up_</sup> _OC_ <sup>_up_</sup> <sup>+</sup> <sup>_Cost_</sup> _OC_ <sup>_DRP_</sup> _OC_ <sup>_DRP_</sup> + _CostOC_ <sup>_SS_</sup> _OC_ _OC_ + _Cost_ <sup>_RES_</sup> + _Cost_ <sup>_CHP_</sup> + _Cost_ _OC_ <sup>_B_</sup> <sup>+</sup> <sup>_Cost_</sup> <sup>_EV_</sup> (2) _oc_ <sup>_RES_</sup> + _CostOC_ <sup>_CHP_</sup> _OC_ <sup>_CHP_</sup> + _CostOC_ <sup>_B_</sup> _C._ _ENVIRONMENTAL OBJECTIVE FUNCTION_ The environmental issue of the energy hub is critical. So, the emission pollution cost of the three most effective gases (CO2, NO2, and SO2) which are generated through EH equipment is considered in the objective function. The emission cost of EH is produced by the upstream grid, boiler, CHP unit, and consumed residential gas [25]. _OF_ 2 = _Min_ ( _Cem_ ) = _EMgrid_ + _EMCHP_ + _EMbo_ The energy hub system purchase energy from the upstream grid of electric and gas station, which is calculated as follow: _Costoc_ <sup>_up_</sup> _oc_ <sup>_up_</sup> <sup>=</sup> <sup>_κ_</sup> _t_ <sup>_e_</sup> _t_ <sup>_eP_</sup> _t_ <sup>_e_</sup> _t_ <sup>_e_</sup> <sup>+</sup> <sup>_κ_</sup> <sup>_GaspGas_</sup> _t_ <sup>_Gas_</sup> _t_ (3) In order to manage energy usage in peak load duration by shifting the energy consumption to low periods, DRP is implemented in the energy hub to cost-minimizing. The main effect of the demand response program is based on the balance between energy consumption and production in each period. Electrical, thermal and gas demand program are expressed as follow: + _p_ <sup>_bo_</sup> _t_ + _p_ <sup>_rl_</sup> _t_ <sup>(</sup> <sup>_bo_</sup> _t_ <sup>(</sup> <sup>_CO_</sup> 2 <sup>_bo_</sup> + _EMrl_ + _EMRM_ = _p_ <sup>_e_</sup> _t_ <sup>(</sup> <sup>_COgrid_</sup> 2 + _SO_ 2 <sup>_e_</sup> _t_ <sup>(</sup> <sup>_COgrid_</sup> 2 <sup>_grid_</sup> 2 + _NO_ <sup>_grid_</sup> 2 <sup>_grid_</sup> 2 + _SO_ <sup>_grid_</sup> 2 <sup>_grid_</sup> 2 ) + _p_ <sup>_CHP_</sup> _t_ ( <sup>_CHP_</sup> 2 + _SO_ <sup>_CHP_</sup> 2 <sup>_CHP_</sup> _t_ ( _CO_ <sup>_CHP_</sup> 2 <sup>_CHP_</sup> 2 + _NO_ <sup>_CHP_</sup> 2 <sup>_CHP_</sup> 2 ) 2 <sup>_bo_</sup> <sup>+</sup> <sup>_SO_</sup> 2 <sup>_bo_</sup> <sup>+</sup> <sup>_NObo_</sup> 2 <sup>)</sup> 2 <sup>_rl_</sup> <sup>+</sup> <sup>_SOrl_</sup> 2 <sup>+</sup> <sup>_NOrl_</sup> 2 <sup>)</sup> <sup>_rl_</sup> _t_ <sup>(</sup> <sup>_CO_</sup> 2 <sup>_rl_</sup> <sup>_DRP_</sup> = _Cost_ <sup>_EDRP_</sup> _OC_ _OC_ <sup>_TDRP_</sup> + _Cost_ <sup>_GDRP_</sup> _OC_ _OC_ _Cost_ <sup>_DRP_</sup> _OC_ _OC_ _OC_ = _κ_ <sup>_EDRP_</sup> ( _p_ <sup>_UP_</sup> _t_ <sup>_,E_</sup> + _p_ <sup>_DN_</sup> _t_ <sup>_,E_</sup> )+ _κ_ <sup>_TDRP_</sup> <sup>_EDRP_</sup> + _Cost_ <sup>_TDRP_</sup> _OC_ _OC_ <sup>_grid_</sup> 2 + _NO_ <sup>_grid_</sup> 2 <sup>_grid_</sup> 2 ) (11) _p_ <sup>_UP_</sup> _t_ <sup>_,T_</sup> + _pt_ <sup>_DN_</sup> <sup>_,T_</sup> _t_ <sup>_DN_</sup> <sup>_,T_</sup> ) <sup>_grid_</sup> 2 + _SO_ <sup>_grid_</sup> 2 <sup>_DN_</sup> _t_ <sup>_,E_</sup> )+ _κ_ <sup>_TDRP_</sup> ( _p_ <sup>_UP_</sup> _t_ <sup>_,T_</sup> <sup>_UP_</sup> _t_ <sup>_,E_</sup> + _p_ <sup>_DN_</sup> _t_ <sup>_,E_</sup> + _p_ <sup>_e_</sup> <sup>_e_</sup> _RM_ <sup>(</sup> <sup>_COgrid_</sup> 2 + _κ_ <sup>_GDRP_</sup> ( _p_ <sup>_UP_</sup> _t_ <sup>_,G_</sup> <sup>_UP_</sup> _t_ <sup>_,G_</sup> + _p_ <sup>_DN_</sup> _t_ <sup>_,G_</sup> ) <sup>_DN_</sup> _t_ <sup>_,G_</sup> ) (4) _D._ _LIMITATION OF THE EH OPERATION_ 1) LIMITATION OF ELECTRICAL DR PROGRAM The equal and unequal limitations of electrical DRP are as follow: Also, the operation cost of the storage system is made from two-part including the electric storage system and thermal storage system as follows. _P_ <sup>_EL_</sup> _t_ <sup>_,DR_</sup> <sup>_el_</sup> _t_ <sup>+</sup> <sup>_P_</sup> _t_ <sup>_up,e_</sup> _t_ <sup>_up,e_</sup> - _P_ <sup>_dn_</sup> _t_ <sup>_ch_</sup> _E_ <sup>+</sup> <sup>_pdis_</sup> _E_ <sup>_dis_</sup> _E_ <sup>)</sup> _s_ <sup>_ESS_</sup> ( _p_ <sup>_ch_</sup> _E_ _OC_ <sup>_SS_</sup> <sup>=</sup> <sup>_Cost_</sup> _OC_ <sup>_ESS_</sup> _OC_ <sup>_TSS_</sup> = _κs_ <sup>_ESS_</sup> _CostOC_ <sup>_SS_</sup> _OC_ <sup>_ESS_</sup> <sup>+</sup> <sup>_Cost_</sup> _OC_ <sup>_TSS_</sup> <sup>_EL_</sup> _t_ <sup>_,DR_</sup> = _P_ <sup>_el_</sup> _t_ (13) + _κs_ <sup>_TSS_</sup> <sup>_ch_</sup> _T_ <sup>+</sup> <sup>_pdis_</sup> _T_ _s_ <sup>_TSS_</sup> ( _p_ <sup>_ch_</sup> _T_ <sup>_dis_</sup> _T_ <sup>)</sup> (5) _P_ <sup>_EL_</sup> _t_ <sup>_,DR_</sup> = _P_ <sup>_el_</sup> _t_ <sup>+</sup> <sup>_P_</sup> _t_ <sup>_up,e_</sup> - _P_ <sup>_dn_</sup> _t_ (12) �0 ≤ _P_ <sup>_up_</sup> _t_ <sup>_,e_</sup> ≤ _LPF_ <sup>_up,e_</sup> _P_ <sup>_l_</sup> _t_ <sup>_I_</sup> _t_ <sup>_up,e_</sup> 0 ≤ _P_ <sup>_dn_</sup> _t_ <sup>_,e_</sup> ≤ _LPF_ <sup>_dn,e_</sup> _P_ <sup>_l_</sup> _t_ <sup>_l_</sup> _t_ <sup>_I_</sup> _t_ <sup>_up,e_</sup> <sup>_l_</sup> _t_ <sup>_I_</sup> _t_ <sup>_dn,e_</sup> _t_ The operational cost of the renewable sources is equal to the set of operation costs of the WT, PV, and an FC that is a function of output power. _P_ <sup>_up_</sup> _t_ <sup>_,e_</sup> = _t_ _It_ <sup>_up,e_</sup> _t_ <sup>_dn,e_</sup> ≤ 1 (14) _t_ <sup>_up,e_</sup> + _It_ <sup>_dn,e_</sup> _H_ _t_ _P_ <sup>_dn_</sup> _t_ <sup>_,e_</sup> (15) _OP_ <sup>_RES_</sup> <sup>=</sup> <sup>_κ_</sup> <sup>_WT p_</sup> _t_ <sup>_WT_</sup> <sup>_FC_</sup> _t_ (6) _CostOP_ <sup>_RES_</sup> _t_ <sup>_WT_</sup> + _κ_ <sup>_PV_</sup> _p_ <sup>_PV_</sup> _t_ <sup>_PV_</sup> _t_ + _κ_ <sup>_FC_</sup> _p_ <sup>_FC_</sup> _t_ _H_ _t_ The operation cost of the CHP unit is a quadratic function of the generated power and heat and given by. - _p_ <sup>_CHP_</sup> _t_ �2 + _a_ 2 _.pCHPt_ + _b_ 1 _._ - _Ht_ <sup>_CHP_</sup> - _Ht_ <sup>_CHP_</sup> �2 The constraint of up and low load levels of the EH is formulated by Eq. (13). The increasing and decreasing load level cannot be done at the same time which is modeled in Eq. (14). The EH must save the overall electricity consumption constant in the forecast cycle, which is restricted by Eq. (15). 2) LIMITATION OF THERMAL DR PROGRAM The equal and unequal limitations of thermal DRP are as follow: _CostCHP_ = - _a_ 1 _._ + _b_ 2 _.Ht_ <sup>_CHP_</sup> - _p_ <sup>_CHP_</sup> _t_ _t_ <sup>_CHP_</sup> + _c.p_ <sup>_CHP_</sup> _t_ <sup>_CHP_</sup> _t_ _Ht_ <sup>_CHP_</sup> _t_ <sup>_CHP_</sup> + _d.I_ <sup>_CHP_</sup> _t_ _t_ (7) The operation cost of the boiler is a function of output power and can be defined as follow: _Costboiler_ = _κt_ <sup>_gas_</sup> _t_ <sup>_bo_</sup> (8) _t_ <sup>_gas_</sup> _Ht_ <sup>_bo_</sup> _P_ <sup>_TL_</sup> _t_ <sup>_,DR_</sup> _P_ <sup>_TL_</sup> _t_ <sup>_,DR_</sup> = _P_ <sup>_TL_</sup> _t_ + _P_ <sup>_up_</sup> _t_ <sup>_,T_</sup> - _P_ <sup>_dn_</sup> _t_ <sup>_,T_</sup> (16) - 0 ≤ _P_ <sup>_up_</sup> _t_ <sup>_,T_</sup> ≤ _LPF_ <sup>_up,T_</sup> _P_ <sup>_lT_</sup> _t_ <sup>_I_</sup> _t_ <sup>_up,T_</sup> <sup>_TL_</sup> _t_ <sup>_,DR_</sup> = _P_ <sup>_TL_</sup> _t_ <sup>_TL_</sup> _t_ + _P_ <sup>_up_</sup> _t_ <sup>_,T_</sup> <sup>_up_</sup> _t_ <sup>_,T_</sup> - _P_ <sup>_dn_</sup> _t_ <sup>_,T_</sup> In order to provide a suitable economic program for electric vehicles, the objective function is defined based on the amount of charging/discharging energy of electric vehicles. The required energy for charging EVs is provided by EH, _P_ <sup>_dem_</sup> _j_, with the specific cost, and at the same time when EVs have been used as an energy storage system at time t with specific degradation cost. _H_ _t_ <sup>_lT_</sup> _t_ <sup>_I_</sup> _t_ <sup>_up,T_</sup> <sup>_lT_</sup> _t_ <sup>_I_</sup> _t_ <sup>_dn,T_</sup> _t_ (17) 0 ≤ _P_ <sup>_dn_</sup> _t_ <sup>_,T_</sup> ≤ _LPF_ <sup>_dn,T_</sup> _P_ <sup>_lT_</sup> _t_ _t_ _It_ <sup>_up,T_</sup> _t_ <sup>_dn,T_</sup> ≤ 1 (18) _t_ <sup>_up,T_</sup> + _It_ <sup>_dn,T_</sup> _P_ <sup>_up_</sup> _t_ <sup>_,T_</sup> = _H_ _t_ _P_ <sup>_dn_</sup> _t_ <sup>_,T_</sup> (19) _loss_ <sup>_t_</sup> <sup>_C_</sup> _t_ <sup>_st,t_</sup> _t_ <sup>_st,t_</sup> (34) Similar to the EDRP, Eq. (17) formulates the limitation of increased/decreased load of the energy hub. The restraint to cope with the increasing/decreasing of the thermal load level at the same time is modeled by Eq. (18). The amount of increasing/decreasing thermal load should be equal which is formulated by Eq. (19). 3) LIMITATION OF GAS DR PROGRAM The equal and unequal constraints of gas DRP are as follow: _p_ <sup>_loss_</sup> _t_ <sup>_,t_</sup> <sup>_loss_</sup> _t_ <sup>_,t_</sup> = _α_ <sup>_t_</sup> _It_ <sup>_ch,t_</sup> _t_ <sup>_ch,t_</sup> + _It_ <sup>_dis,t_</sup> _t_ <sup>_dis,t_</sup> ≤ 1 (35) _Pt_ <sup>_GL,DR_</sup> <sup>_GL_</sup> _t_ + _P_ <sup>_up_</sup> _t_ <sup>_,G_</sup> _t_ <sup>_GL,DR_</sup> = _P_ <sup>_GL_</sup> _t_ <sup>_up_</sup> _t_ <sup>_,G_</sup> - _P_ <sup>_dn_</sup> _t_ <sup>_,G_</sup> _Pt_ <sup>_GL,DR_</sup> = _P_ <sup>_GL_</sup> _t_ + _P_ <sup>_up_</sup> _t_ <sup>_,G_</sup> - _P_ <sup>_dn_</sup> _t_ <sup>_,G_</sup> (20) - 0 ≤ _P_ <sup>_up_</sup> _t_ <sup>_,G_</sup> ≤ _LPF_ <sup>_up,G_</sup> _P_ <sup>_lG_</sup> _t_ <sup>_I_</sup> _t_ <sup>_up,G_</sup> The exact definitions of the previous sections are implemented to TSS. 6) ENERGY BALANCE CONSTRAINT The produced or bought energy from the upstream grid in alltime should be equal to the demand for energy. So, electrical, thermal, and gas balance constraint are expressed as follow, respectively. <sup>_lG_</sup> _t_ <sup>_I_</sup> _t_ <sup>_up,G_</sup> <sup>_lG_</sup> _t_ <sup>_I_</sup> _t_ <sup>_dn,G_</sup> _D_ <sup>_electrical_</sup> _IL_ <sup>_electrical_</sup> _IL_ + _p_ <sup>_UP_</sup> _t_ _t_ (21) 0 ≤ _P_ <sup>_dn_</sup> _t_ <sup>_,G_</sup> ≤ _LPF_ <sup>_dn,G_</sup> _P_ <sup>_lG_</sup> _t_ <sup>_I_</sup> _t_ _t_ = [ _ρ_ <sup>_grid_</sup> _p_ <sup>_e_</sup> _t_ <sup>_UP_</sup> _t_ - _p_ <sup>_DN_</sup> _t_ _t_ _e_ <sup>_grid_</sup> ] + [ _p_ <sup>_dis_</sup> _t_ <sup>_,e_</sup> <sup>_ch_</sup> _t_ <sup>_,e_</sup> ] _It_ <sup>_up,G_</sup> _t_ <sup>_dn,G_</sup> ≤ 1 (22) _t_ <sup>_up,G_</sup> + _It_ <sup>_dn,G_</sup> <sup>_e_</sup> _t_ <sup>_ς_</sup> _e_ <sup>_grid_</sup> <sup>_dis_</sup> _t_ <sup>_,e_</sup> - _p_ <sup>_ch_</sup> _t_ <sup>_,e_</sup> _H_ _t_ _e_ <sup>_RM_</sup> ] + [ _ρ_ <sup>_chp_</sup> _p_ <sup>_chp_</sup> _t_ <sup>_chp_</sup> _t_ _ςe_ <sup>_chp_</sup> _P_ <sup>_up_</sup> _t_ <sup>_,G_</sup> = _P_ <sup>_up_</sup> _t_ <sup>_,G_</sup> _H_ _t_ _P_ <sup>_dn_</sup> _t_ <sup>_,G_</sup> (23) _P_ <sup>_dn_</sup> _t_ <sup>_,G_</sup> + [ _ρ_ <sup>_RM_</sup> _p_ <sup>_RM_</sup> _t_ + [ _ρ_ <sup>_RM_</sup> _p_ <sup>_RM_</sup> _t_ _ςe_ <sup>_RM_</sup> ] + [ _ρ_ <sup>_chp_</sup> _p_ <sup>_chp_</sup> _t_ _ςe_ <sup>_chp_</sup> ] + [ _ρ_ <sup>_wind_</sup> _p_ <sup>_wind_</sup> _t_ _ςe_ <sup>_wind_</sup> ] + [ _ρ_ <sup>_wind_</sup> _p_ <sup>_wind_</sup> _t_ _ςe_ <sup>_wind_</sup> ] + [ _ρ_ <sup>_pv_</sup> _p_ <sup>_pv_</sup> _t_ <sup>_ς_</sup> _e_ <sup>_pv_</sup> <sup>] + [</sup> <sup>_ρ_</sup> <sup>_RM_</sup> _t_ _ςe_ <sup>_RM_</sup> <sup>_wind_</sup> _t_ _ςe_ <sup>_wind_</sup> _t_ <sup>_FC_</sup> _ςe_ <sup>_FC_</sup> _e_ <sup>_FC_</sup> ] The exact definitions of the previous sections apply to GDRP. 4) LIMITATION OF ESS Another important factor in the EH framework is to save the extra produced power by units. So, ESS is used to deal with energy losses. The mathematical formulation and limitation of ESS are stated as [20]. The electrical energy balance restraint of the ESS unit is given by Eq. (24). The saved electrical energy by the ESS unit should be restricted in a confident range, which is given by Eq. (25). The maximum charging/discharging powers of the ESS unit are restricted by Eqs. (26) and (27), respectively. The electrical loss of ESS is given by Eq. (28). Eq. (29) guarantees that ESS cannot be charged and discharged at the same time. <sup>_pv_</sup> _t_ <sup>_ς_</sup> _e_ <sup>_pv_</sup> <sup>_ς_</sup> _e_ <sup>_pv_</sup> <sup>] + [</sup> <sup>_ρFC_</sup> <sup>_p_</sup> _t_ <sup>_FC_</sup> <u>1</u> _ςEV_ <sup>_ch_</sup> <u>1</u> _ςEV_ <sup>_ch_</sup> (36) _EV_ <sup>_dis_</sup> <sup>−</sup> _j_ _e_ <sup>_ch_</sup> _n,t_ _e_ <sup>_ch_</sup> + _j_ _e_ <sup>_dis_</sup> _n,t_ <sup>_dis_</sup> _n,t_ <sup>_ς_</sup> _EV_ <sup>_dis_</sup> _D_ <sup>_thremal_</sup> <sup>_thremal_</sup> _IL_ ( _t_ ) = _ςgh_ <sup>_bo_</sup> _gh_ <sup>_boH_</sup> _t_ <sup>_bo_</sup> _t_ <sup>_bo_</sup> + [ _ρ_ <sup>_CHP_</sup> _Ht_ <sup>_CHP_</sup> _t_ <sup>_CHP_</sup> _ςgh_ <sup>_CHP_</sup> _gh_ <sup>_CHP_</sup> ] + ( _P_ <sup>_dis_</sup> _t_ <sup>_dis_</sup> _t_ - _P_ <sup>_ch_</sup> _t_ <sup>_ch_</sup> _t_ <sup>)</sup> (37) _g_ <sup>_grid_</sup> _t_ <sup>_boiler_</sup> _t_ + _g_ <sup>_CHP_</sup> _t_ <sup>_grid_</sup> _t_ = _g_ <sup>_boiler_</sup> _t_ <sup>_CHP_</sup> _t_ + _g_ <sup>_l_</sup> _t_ <sup>_l_</sup> _t_ (38) A nominal rate is definitely for purchasing power from the upstream grid that should supply transformers nominal capacity constraint and total bought gas limitation from the gas grid. _ρ_ <sup>_grid_</sup> × _P_ <sup>_e_</sup> _t_ <sup>_T_</sup> _C_ (39) <sup>_grid_</sup> max (40) <sup>_e_</sup> _t_ <sup>≤</sup> <sup>_PT_</sup> _C_ _t_ <sup>_grid_</sup> ≤ _g_ <sup>_grid_</sup> max _e_ <sup>_ch_</sup> <sup>) −</sup> <sup>(</sup> <sup>_p_</sup> _t_ <sup>_dis,e_</sup> _e_ <sup>_ch_</sup> <sup>) −</sup> <sup>_p_</sup> _t_ <sup>_loss,e_</sup> <sup>st,e</sup> _t_ = C <sup>st,e</sup> _t_ −1 _t_ <sup>_ch,e_</sup> _ςe_ <sup>_ch_</sup> <sup>)</sup> C <sup>st,e</sup> _t_ <sup>st,e</sup> _t_ −1 <sup>+ (</sup> <sup>_p_</sup> _t_ <sup>_ch,e_</sup> _t_ <sup>_dis,e_</sup> _/ςe_ <sup>_ch_</sup> _t_ <sup>_loss,e_</sup> (24) _g_ <sup>_grid_</sup> min <sup>_grid_</sup> min <sup>≤</sup> <sup>_g_</sup> _t_ <sup>_grid_</sup> max <sup>_e_</sup> <sup>_C_</sup> _c_ <sup>_st,e_</sup> min <sup>_e_</sup> <sup>_C_</sup> _c_ <sup>_st,e_</sup> _c_ <sup>_st,e_</sup> (25) _α_ <sup>_e_</sup> _α_ <sup>_e_</sup> _<u>c</u>_ <sup>_st,e_</sup> _<u>t</u>_ _ςch_ <sup>_e_</sup> _c_ <sup>_st,e_</sup> ≤ _Ct_ <sup>_st,e_</sup> _<u>c</u>_ <sup>_st,e_</sup> _It_ <sup>_ch,e_</sup> _t_ <sup>_st,e_</sup> ≤ _α_ <sup>_e_</sup> ≤ _p_ <sup>_ch_</sup> _t_ <sup>_,e_</sup> _p_ <sup>_ch_</sup> _t_ <sup>_,e_</sup> ≤ <sup>_αe_</sup> (26) <u>min</u> <sup>_e_</sup> <sup>_C_</sup> _<u>c</u>_ <sup>_st,e_</sup> _<u>c</u>_ _<u>t</u>_ _ςch_ <sup>_e_</sup> _<u>c</u>_ <sup>_st,e_</sup> _<u>It</u>_ <sup>_ch,e_</sup> <u>max</u> <sup>_e_</sup> <sup>_<u>C</u>_</sup> _<u>c</u>_ <sup>_st,e_</sup> _ch_ 7) RESERVE MARKET CONSTRAINT Total buying power from the reserve market should be equal to the nominal capacity. _ch_ _ςdis_ <sup>_e_</sup> <sup>≤</sup> <sup>_p_</sup> _t_ <sup>_dis,e_</sup> _dis_ <sup>_e_</sup> (27) min <sup>_e_</sup> <sup>_C_</sup> _c_ <sup>_st,e_</sup> _α_ <sup>_e_</sup> _c_ <sup>_st,e_</sup> _It_ <sup>_ch,e_</sup> _It_ <sup>_ch,e_</sup> _ςdis_ <sup>_e_</sup> _t_ <sup>_dis,e_</sup> ≤ _α_ <sup>_e_</sup> max <sup>_e_</sup> <sup>_C_</sup> _c_ <sup>_st,e_</sup> _I_ _c_ <sup>_st,e_</sup> _It_ <sup>_dis,e_</sup> _t_ <sup>_dis,e_</sup> _ς_ <sup>_e_</sup> _P_ <sup>_RM_</sup> _t_ <sup>_RM_</sup> _t_ ≤ _P_ <sup>_RM_</sup> _C_ <sup>_RM_</sup> _C_ (41) _p_ <sup>_loss_</sup> _t_ <sup>_,e_</sup> _It_ <sup>_ch,E_</sup> _t_ <sup>_dis,E_</sup> ≤ 1 (29) _loss_ <sup>_e_</sup> <sup>_C_</sup> _t_ <sup>_st,e_</sup> <sup>_loss_</sup> _t_ <sup>_,e_</sup> = _α_ <sup>_e_</sup> _t_ <sup>_st,e_</sup> (28) _t_ <sup>_ch,E_</sup> + _It_ <sup>_dis,E_</sup> 8) MODEL OF BOILER AND CHP The boiler is fed by natural gas and it is necessary to meet the upper and lower level of natural gas input constraints [30]. 5) LIMITATION OF TSS Thermal demand in the energy hub is at a high level, so it is necessary to save the extra produced power by units. Thus, TSS is used to deal with energy losses. The equal and unequal constraints of TSS are [20]. _ζge_ <sup>_boiler_</sup> _boilert_ ≤ _P_ <sup>_boiler_</sup> _c_ _ge_ <sup>_boiler_</sup> _g_ <sup>_boiler_</sup> _c_ (42) _e_ <sup>_ch_</sup> <sup>) −</sup> <sup>_p_</sup> _t_ <sup>_loss,t_</sup> C <sup>st,tss</sup> _t_ <sup>st,tss</sup> _t_ = C <sup>st,t</sup> _t_ −1 <sup>st,t</sup> _t_ −1 <sup>+ (</sup> <sup>_p_</sup> _t_ <sup>_ch,t_</sup> _t_ <sup>_ch,t_</sup> _ςe_ <sup>_ch_</sup> <sup>)</sup> _e_ <sup>_ch_</sup> <sup>) −</sup> <sup>(</sup> <sup>_p_</sup> _t_ <sup>_dis,t_</sup> _t_ <sup>_dis,t_</sup> _/ςe_ <sup>_ch_</sup> <sup>)</sup> _t_ <sup>_loss,t_</sup> (30) max <sup>_t_</sup> <sup>_C_</sup> _c_ <sup>_st,t_</sup> min <sup>_t_</sup> <sup>_C_</sup> _c_ <sup>_st,t_</sup> <u>min</u> <sup>_t_</sup> <sup>_C_</sup> _<u>c</u>_ <sup>_st,t_</sup> _α_ <sup>_t_</sup> _α_ <sup>_t_</sup> _c_ <sup>_st,t_</sup> ≤ _Ct_ <sup>_st,t_</sup> _<u>c</u>_ <sup>_st,t_</sup> _<u>t</u>_ _ςch_ <sup>_t_</sup> _<u>c</u>_ <sup>_st,t_</sup> _It_ <sup>_ch,t_</sup> _t_ <sup>_st,t_</sup> ≤ _α_ <sup>_t_</sup> _c_ <sup>_st,t_</sup> (31) ≤ _p_ <sup>_ch_</sup> _t_ <sup>_ch_</sup> _t_ ≤ <sup>_αt_</sup> (32) _<u>c</u>_ _<u>t</u>_ _ςch_ <sup>_t_</sup> _<u>c</u>_ <sup>_st,t_</sup> _<u>It</u>_ <sup>_ch,t_</sup> _ch_ <u>max</u> <sup>_t_</sup> <sup>_<u>C</u>_</sup> _<u>c</u>_ <sup>_st,t_</sup> As stated in the previous sections, the operation of CHP is a nonlinear behavior with the triple-zone of electricity and thermal production. The generated heat through the CHP unit is frequently proportional to its electric generation. In addition, heat operation constraints will be guaranteed if the electrical performance constraint is confirmed [31]. Limitations associated with the CHP unit with three operational areas as shown _ch_ _ςdis_ <sup>_t_</sup> <sup>≤</sup> <sup>_p_</sup> _t_ <sup>_dis,t_</sup> _dis_ <sup>_t_</sup> (33) min <sup>_tt_</sup> <sup>_C_</sup> _c_ <sup>_st,t_</sup> _α_ <sup>_tt_</sup> _c_ <sup>_st,t_</sup> _It_ <sup>_ch,t_</sup> _t_ <sup>_ch,t_</sup> _ς_ <sup>_t_</sup> _t_ <sup>_dis,t_</sup> ≤ _α_ <sup>_t_</sup> max <sup>_t_</sup> <sup>_C_</sup> _c_ <sup>_st,t_</sup> _c_ <sup>_st,t_</sup> _It_ <sup>_dis,t_</sup> _t_ <sup>_dis,t_</sup> _ς_ <sup>_t_</sup>    _Zt_ <sup>1</sup> _t_ <sup>2</sup> <sup>+</sup> <sup>_Z_</sup> _t_ <sup>3</sup> _Ht_ <sup>_CHP_</sup> - _HB_ ≤ _H_ <sup>_CHP_</sup> _Ht_ <sup>_CHP_</sup> - _HB_ ≥ _H_ <sup>_CHP_</sup> ∀ _t_ 1��� _. ME_ 1 ∀ _t_ 2��� _. ME_ 21 ∀ _t_ ��� _. MH_ 1 ∀ _t_ ��� _. ME_ 22 ∀ _t_ ��� _. ME_ 3 _P_ <sup>_CHP_</sup> _t_ - _PH_ ≥ _P_ <sup>_CHP_</sup> (44) _P_ <sup>_CHP_</sup> _t_ - _PE_ ≥ _P_ <sup>_CHP_</sup> _P_ <sup>_CHP_</sup> _t_ - _PE_ ≤ _P_ <sup>_CHP_</sup> ���1 − _Zt_ 1 ���1 − _Zt_ 2 ���1 − _Zt_ 1 ���1 − _Zt_ 1��� ���1 − _Zt_ 3��� _t_ <sup>1</sup> <sup>+</sup> <sup>_Z_</sup> _t_ <sup>2</sup> _t_ <sup>3</sup> <sup>=</sup> <sup>_I_</sup> _t_ <sup>_CHP_</sup> _Zt_ <sup>1</sup> <sup>+</sup> <sup>_Z_</sup> _t_ <sup>2</sup> <sup>+</sup> <sup>_Z_</sup> _t_ <sup>3</sup> <sup>=</sup> <sup>_I_</sup> _t_ <sup>_CHP_</sup> (45) - _P_ <sup>_CHP_</sup> _t_ ≤ _PA.It_ <sup>_CHP_</sup> <sup>_CHP_</sup> _t_ ≤ _PA.It_ <sup>_CHP_</sup> _t_ _t_ _Ht_ <sup>_CHP_</sup> ≤ _HF_ _._ _t_ <sup>_CHP_</sup> ≤ _HF_ _.It_ <sup>_CHP_</sup> (46) _t_ FIGURE 3. Discretization of a continuous distribution into several levels [34]. FIGURE 4. The reducing half gradient membership function. in Fig. 4 are formulated as follows: Using the big-M method, the upper and lower range are defined via _M_ <sup>¯</sup> and _M_, that represent inactive at the predicted time [30]. 9) SOURCES MODEL - Wind turbine The produced power by the wind turbine is proportional to wind speed and is given by [23]. - Fuel Cell The power made through the FC in each period t∈ {1, 2, · · ·, NT}, H <sup>FC</sup> 2t <sup>, which is proportional with the hydrogen feeding</sup> in peck period is expressed as [32]: 0 _v_ ≤ _Vci_ (47) _Pwind_ =    _P_ <sup>_rate_</sup> _wind_ _P_ <sup>_rate_</sup> _wind_ <sup>_rate_</sup> _wind_ <sup>(</sup> <sup>_<u>v</u>_</sup> <sup>−</sup> <sup>_<u>Vci</u>_</sup> _VR_ - _Vci_ ) _Vci_ ≤ _v_ ≤ _VR_ <sup>_rate_</sup> _wind_ _VR_ ≤ _v_ ≤ _Vco_ 0 _Vco_ ≤ _v_ - Photovoltaic The imported power by the PV system is proportional to the solar irradiance as follow [32]: _P_ <sup>_pv_</sup> _t_ <sup>_pv_</sup> _t_ = _ηt_ <sup>_pv_</sup> _t_ <sup>_pvApvGt_</sup> ∀ _t_ ∈ _T_ (48)    <sup>_CHP_</sup> _t_ - _PB_ - <sup>_<u>PB</u>_</sup> <sup>−</sup> <sup>_<u>PA</u>_</sup> ≥ [1 − _Zt_ <sup>3]</sup> <sup>_._</sup> _P_ <sup>_CHP_</sup> _t_ _HB_ - _HA_ [ _Ht_ <sup>_CHP_</sup> - _HB_ ] [ _Ht_ <sup>_CHP_</sup> ≤ [1 − _Zt_ <sup>1]</sup> <sup>_._</sup> _M_ ∀ _t_ _AB_ 2 _FCt_ −1 <sup>(</sup> <sup>_P_</sup> _t_ <sup>_EL_</sup> _t_ <sup>_EL_</sup> - _P_ <sup>_FC_</sup> _t_ <sup>_FC_</sup> _t_ _/η_ <sup>_C/l_</sup> ) _η_ <sup>_EL_</sup> ∀ _t_ = 1 (49) <sup>_CHP_</sup> _t_ - _PC_ - <sup>_<u>PC</u>_</sup> <sup>−</sup> <sup>_<u>PD</u>_</sup> _P_ <sup>_CHP_</sup> _t_ _HC_ - _HD_ [ _Ht_ <sup>_CHP_</sup> - _HC_ ] [ _Ht_ <sup>_CHP_</sup> _H_ <sup>_EL_</sup> 2 _t_ _H_ <sup>_EL_</sup> 2 _t_ 2 <sup>_EL_</sup> _t_ = ( _P_ <sup>_EL_</sup> _t_ 2 <sup>_EL_</sup> _t_ = _H_ 2 _FCt_ <sup>_EL_</sup> _t_ - _P_ <sup>_FC_</sup> _t_ <sup>_FC_</sup> _t_ _/η_ <sup>_C/l_</sup> ) _η_ <sup>_EL_</sup> ∀ _t_ _>_ 1 (50) ≤ [1 − _Zt_ <sup>2]</sup> <sup>_._</sup> _M_ ∀ _t_ _CD_ <sup>_CHP_</sup> _t_ - _PD_ - <sup>_<u>PD</u>_</sup> <sup>−</sup> <sup>_<u>PE</u>_</sup> Several constraints related to fuel cell performance are: _P_ <sup>_CHP_</sup> _t_ _HD_ - _HE_ [ _Ht_ <sup>_CHP_</sup> - _HD_ ] [ _Ht_ <sup>_CHP_</sup> <sup>_EL_</sup> _t_ ≤ _P_ <sup>¯</sup> <sup>_EL_</sup> _y_ <sup>_EL_</sup> _t_ <sup>_FC_</sup> _t_ ≤ _P_ <sup>¯</sup> <sup>_FC_</sup> _y_ <sup>_FC_</sup> _t_ <sup>_EL_</sup> _t_ ∀ _t_ ∈ _T_ <sup>_FC_</sup> _t_ ∀ _t_ ∈ _T_ <sup>_EL_</sup> _t_ + _y_ <sup>_FC_</sup> _t_ <sup>_FC_</sup> _t_ ≤ 1 ∀ _t_ ∈ _T_ ≥ [1 − _Zt_ <sup>2]</sup> <sup>_._</sup> _M_ ∀ _t_ _DE_ (51)    _P_ <sup>_EL_</sup> _t_ _P_ <sup>_FC_</sup> _t_ _y_ <sup>_EL_</sup> _t_ <sup>_CHP_</sup> _t_ - _PE_ - <sup>_<u>PE</u>_</sup> <sup>−</sup> <sup>_<u>PF</u>_</sup> _P_ <sup>_CHP_</sup> _t_ _HE_ - _HF_ [ _Ht_ <sup>_CHP_</sup> - _HE_ ] [ _Ht_ <sup>_CHP_</sup> (43) ≤ [1 − _Zt_ <sup>3]</sup> <sup>_._</sup> _M_ ∀ _t_ _EF_ <sup>_CHP_</sup> _t_ - _PF_ - <sup>_<u>PF</u>_</sup> <sup>−</sup> <sup>_<u>PG</u>_</sup> _P_ <sup>_CHP_</sup> _t_ _HF_ - _HG_ [ _Ht_ <sup>_CHP_</sup> - _HF_ ] [ _Ht_ <sup>_CHP_</sup> ≥ [1 − _Zt_ <sup>3]</sup> <sup>_._</sup> _M_ ∀ _t_ _FG_ <sup>_CHP_</sup> _t_ - _PG_ - <sup>_<u>PG</u>_</sup> <sup>−</sup> <sup>_<u>PH</u>_</sup> 10) EVs CONSTRAINTS The constraints of EVs participation in EH operation and their real-life restrictions are defined as: _Pj,f_ = _P_ <sup>_dem_</sup> _j_ + _Pj,_ 0 _n_ ∈ _N_ (52) Eq. (52) represents the final battery power of the EV when the plug-in time is ended, which is equal to the total of the demanded energy through _j_ _th EV and the initial power of the EV battery [33]. The plug-in time of EV is in the interval of _P_ <sup>_CHP_</sup> _t_ _HG_ - _HH_ [ _Ht_ <sup>_CHP_</sup> - _HG_ ] _M_ ∀ _t_ _GH_ [tb _,_ j, te _,_ j], and the demanded energy of the EV can be defined by the difference between needed energy for charging the battery and used energy by EVs in the day ahead and reserve markets. _P_ <sup>_dem_</sup> _j,t_ + <sup>_dem_</sup> _j,t_ +1 <sup>=</sup> <sup>_P_</sup> _j_ <sup>_dem_</sup> _,t_ + _j_ <sup>_dem_</sup> _,t_ _te,j_ _j_ = _tb,j_ <sup>_DA_</sup> _j,t_ <sup>_,dis_</sup> _/ζEV_ _,ch_ _p_ <sup>_ch_</sup> _j,t_ <sup>_ch_</sup> _j,t_ <sup>_ζEV_</sup> <sup>_,ch_</sup> <sup>−</sup> <sup>_pDA_</sup> _j,t_ <sup>_,dis_</sup> - _p_ <sup>_RES_</sup> _j,t_ <sup>_,dis_</sup> _n_ ∈ _N_ (53) For charging/discharging an EV battery, a certain bound is considered equal to the battery conditions and existing equipment minus the charging and discharging facilities. Also, the charging and discharging operation cannot be done at the same time. - _p_ <sup>_dis_</sup> _j,t_ <sup>_,DA_</sup> <sup>_dis_</sup> _j,t_ <sup>_,DA_</sup> + _p_ <sup>_dis_</sup> _j,t_ <sup>_,RES_</sup> <sup>_ch_</sup> _j,t_ <sup>_,DA_</sup> ≤ _CRnu_ <sup>_ch_</sup> _n,t_ <sup>_dis_</sup> _j,t_ <sup>_,RES_</sup> ≤ _DRn_ (1 − _u_ <sup>_ch_</sup> _n,_ <sup>_ch_</sup> _n,t_ <sup>)</sup> _n_ ∈ _N_ (54) when it becomes available, and the number of EH is considered. A scenario-based stochastic model is implemented to model the uncertainty behavior of all parameters. _F._ _SCENARIO GENERATION_ In this model, a PDF of each parameter is used and shown in Fig. 3. Scenarios of the PDF curve are divided into seven levels. Each is of PDF contains a probability rate. It should be noted that the center of the fourth scenario is the same predicted value. 1) SOLAR IRRADIANCE UNCERTAINTY Since the output power of the solar is a function of the solar irradiance and weather variation. Beta PDF is used to model the uncertainty of solar irradiance. Beta PDF is a function of two parameters as _ω_ and _ψ_ [35]: _p_ <sup>_ch_</sup> _j,t_ <sup>_,DA_</sup> <sup>_ch_</sup> _n,t_ _n_ ∈ _N_ _�_ <u>(</u> _ω_ <u>)</u> _�_ <u>(</u> _ψ_ <u>)</u> _�_ ( _ω_ ) + _�_ ( _ψ_ ) <sup>_θ_</sup> <sup>_ω_</sup> <sup>−1(1 −</sup> <sup>_θ_</sup> <sup>)</sup> <sup>_ψ_</sup> <sup>−1</sup> <sup>_,_</sup> 0 ≤ _θ_ ≤ 1 _,_ _ω_ ≥ 0 _,_ _ψ_ ≥ 0 0 _,_ _otherwise_ The amount of energy in EVs batteries at the arrival and departure time is formulated as follow:    <sup>_dem_</sup> _j,t_ = _P_ <sup>_arr_</sup> _j,t_ <sup>_dem_</sup> _j,t_ = _P_ <sup>_dep_</sup> _j,t_ _P_ <sup>_dem_</sup> _j,t_ _P_ <sup>_dem_</sup> _j,t_ <sup>_dep_</sup> _j,t_ ∀ _j, t_ = _Departure_ _time_ (55) <sup>_arr_</sup> _j,t_ ∀ _j, t_ = _Arrival_ _time_ _f_ ( _θ_ ) = (57) The power of the _j_ _th EV at time _t_ is related to three factors including the initial state of the battery, charging/discharging power of the EV at the same time. The starting and stopping time of the charging and discharging of the battery is also formulated as follow: where the _ψ_ and _ω_ variables are computed as follow: <sup>−</sup> <sup>_µ_</sup> <sup><u>)</u></sup> - 1] (59) _σ_ <sup>2</sup> _ψ_ = (1 − _µ_ )( <sup>_<u>u</u>_</sup> <sup>× (1 −</sup> <sup>_µ_</sup> <sup><u>)</u></sup> _ω_ = _µ_ [ <sup>_µ_</sup> <sup><u>(1 −</u></sup> <sup>_µ_</sup> <sup><u>)</u></sup> <sup>−</sup> <sup>_µ_</sup> <sup><u>)</u></sup> - 1) (58) _σ_ <sup>2</sup> <sup>_DA_</sup> _j,t_ <sup>_,dis_</sup> - _p_ <sup>_RES_</sup> _j,t_ <sup>_,dis_</sup> _j_ <sup>_ch_</sup> _,t_ <sup>_ζch_</sup> <sup>−</sup> <sup>_pDA_</sup> _j,t_ <sup>_,dis_</sup> <sup>_EV_</sup> _j,t_ −1 <sup>+</sup> <sup>_pch_</sup> _j,t_ _j,t_ ∀ _t_ ∈ [ _tb,j, te,j_ ] _,_ _n_ ∈ _N_ <sup>_EV_</sup> _j,t_ −1 <sup>+</sup> <sup>_p_</sup> _j_ <sup>_ch_</sup> _,t_    _p_ <sup>_EV_</sup> _j,t_ _p_ <sup>_EV_</sup> _j,t_ <sup>=</sup> <sup>_Pj,f t_</sup> <sup>=</sup> <sup>_te,j,_</sup> ∀ _n_ ∈ _N_ <sup>_EV_</sup> _j,t_ <sup>=</sup> <sup>_pEV_</sup> _j,t_ (56) _p_ <sup>_EV_</sup> _j,t_ <sup>_EV_</sup> _j,t_ <sup>=</sup> <sup>_Pj,_</sup> <sup>0 +</sup> <sup>_pch_</sup> _j,t_ <sup>_Pj,_</sup> <sup>0 +</sup> <sup>_pch_</sup> _j,t_ <sup>_ζch_</sup> <sup>−</sup> <sup>_pDA_</sup> _j,t_ <sup>_,dis_</sup> - _p_ <sup>_RES_</sup> _j,t_ <sup>_,dis_</sup> _t_ = _tb,j,_ ∀ _n_ ∈ _N_ <sup>_ch_</sup> _j,t_ <sup>_ζch_</sup> <sup>−</sup> <sup>_pDA_</sup> _j,t_ <sup>_,dis_</sup> <sup>_DA_</sup> _j,t_ <sup>_,dis_</sup> - _p_ <sup>_RES_</sup> _j,t_ <sup>_,dis_</sup> _f_ ( _υ_ ) = _ϑ_ <sup>_ϕ_</sup> _ϑ_ <sup>_ϕ_</sup> <sup>(</sup> _ϑ_ <sup>_υ_</sup> 2) WIND SPEED UNCERTAINTY Similar to the solar operation, wind speed is a function of weather changes. So, the Weibull distribution function is implemented to model the wind speed uncertainty [36]. _c_ <sup>)</sup> _ϑ_ <sup>_υ_</sup> <sup>)</sup> <sup>_ϕ_</sup> <sup>−1</sup> <sup>_e_</sup> <sup>−(</sup> <sup>_<u>υ</u>_</sup> _c_ <sup>)</sup> <sup>_ϕ_</sup> (60) <sup>_<u>υ</u>_</sup> _E._ _STOCHASTIC SIMULATION FOR MODELING THE_ _UNCERTAINTY_ Some of the energy carriers’ parameters in the EH have random and vague behavior. Therefore, it is hard to predict this parameter’s behavior. Finding an appropriate method to forecast these parameters’ function with high reliability is significant. The output power of WT and PV is related to climate changes, and their forecasted power includes uncertainty. So, using a stochastic model can try to achieve the most exact model. Moreover, the price of the energy market and load demand are affected by consumer demand and climate behavior. Like WT and PV, it is essential to implement an effective stochastic method to model the uncertainty of these parameters. Finally, for the first time in the EH performance, all of the EV parameters that have uncertain behavior consist of coming and leaving time, the energy remaining in the battery 3) UNCERTAINTY OF MARKET PRICE AND LOAD Since the exact value of consumer demands and energy market price is not definite. A normal PDF function is used to model the load and market price uncertainty. <u>1</u> _f_ ( _x_ ) = ~~√~~ ) 2 <sup><u>−</u></sup> _∂_ <sup>_<u>τ</u>_</sup> <sup>2)2</sup> (61) ~~√~~ _∂_ <u>1</u> _e_ <sup>−(</sup> <sup><u>(</u></sup> <sup>_<u>x</u>_</sup> 2 <sup><u>−</u></sup> _∂_ <sup>_<u>τ</u>_</sup> <sup>2)2</sup> 2 _π_ 4) EVs UNCERTAINTY In this study, EVs operate in a dual state as both consumer and energy storage. The EV has three factors of uncertainty behavior. The saved energy in the battery at the start, their availability, and needed energy is unclear when the battery is in the charge or discharge state. Similar to another uncertainty parameter, EH can detect the charging state and behavior of EVs in the parking lots. In order to simplify the uncertainty modeling of the EVs, like the [37], EVs are categorized into different types. Each type of electric vehicle has its specifications. These futures include the obtainability time, initial state of the battery, and capacity of the battery. In this method, 1000 different EVs are classified into 100 types. So, in addition to the small number of EVs and uncertainty parameters are studied, the EVs’ parameters are linked together, characterizing them causes the chance to analyze the uncertainty in a more straightforward and improved way. Each type of EV in the EH has grouped base on the {Eu,0, [tb,u, te,u], Emax,u} by assuming that u ∈U. Implementing this method is caused to reduce the sources of the uncertainty parameter to the number of EVs. Here, the number of EVs from each group is assumed as an uncertain parameter. The uncertainty of the EVs with w scenarios and type u are formulated as follow: TABLE 1. Payoff table of the multi-objective functions. ation cost and the minimum carbon emissions. The specific method is as follows: _w_ _u_ ∈ _U_ (62) <sup>_nu_</sup> _< obj_ <sup>∗</sup> _i_ <sup>+</sup> <sup>_θi_</sup> 1 _,_ _obji_ ≥ _obj_ <sup>∗</sup> _i_ _obji_ - ( _obj_ <sup>∗</sup> _<u>i</u>_ <sup>+</sup> <sup>_θi_</sup> <sup>)</sup> _nw,u_ = ∧ _nu_ ∧ _n_ _w_ _u_ <sup>+</sup> <sup>_err_</sup> <sup>_nu_</sup> (63)    _obj_ <sup>∗</sup> _<u>i</u>_ <sup>+</sup> <sup>_θi_</sup> <sup>)</sup> _θi_ _,_ _obj_ <sup>∗</sup> _i_ <sup>∗</sup> _i_ <sup>_< obji_</sup> To model the uncertainty of EVs numbers, the normal distribution method with zero mean and _σ_ n as the distribution error is implemented. _G._ _K-MEANS CLUSTERING METHOD_ In this paper, five uncertainty parameters are modeled. The PDF is divided into nine levels, and each level represents various scenarios and errors. In the first step, 1000 scenarios for each parameter are generated with the mentioned method and using the k-means clustering approach the scenario numbers are reduced to 10 scenarios in the MATLAB environment. _H._ _MULTI-STAGE SOLUTION METHOD_ In this study, two functions as economic and emission pollution objectives are considered. A multi-stage solution is proposed that consists of three stages [38]. First stage: payoff table establishment Second stage: fuzzy linearization Third stage: Objective weight calculation. 1) PAYOFF TABLE ESTABLISHMENT The payoff table is implemented to investigate the relationship between the various objective functions. This table is used to calculate the weight coefficients. The stages of the establishment are as follow: The objective function is chosen as the optimization objective obji (i = 1 _,_ 2 _. . .,_ I) where the i_th objective function value is objii and another objective functions values are objik(i _,_ k = 1 _,_ 2 _, . . .,_ I). The pay of table is structured as Table.1 based on the obtained value of the objective functions. Then the lower and upper value of the objectives is used for objective weight competition and fuzzy linearization. The fuzzy linearization and objective value competition are described in the next section. 2) FUZZY LINEARIZATION In this study, the descending half-line membership function is used to process the objective functions of the minimum oper _ρ_ ( _obji_ ) = 0 _,_ _obji_ ≤ _obj_ <sup>∗</sup> _i_ 0 _,_ _obji_ ≤ _obj_ <sup>∗</sup> _i_ Eq. (63) represents the half-life reducing half gradient membership function and is utilized to procedure the objective functions of the minimum operation cost, which is shown in Fig. 4. 3) OBJECTIVE WEIGHT CALCULATION The objective authorization approach is applied to compute the weight coefficients. The pre-processed objective function decision matrix [objik]I×I is calculated by Table 1. Then, to compute the weight of the objective function, the entropy weight approach is used by implementing the different degrees of the objective function. So, the weights of any objective could be calculated by the entropy weight approach [39] as: _Ei_ = − _ϕ_ _n_ _j_ =1 _nij_ ln( _rij_ <sup>′</sup> <sup>)</sup> <sup>_,_</sup> _i_ = 1 _,_ 2 _, . . ., k_ (64) where _ϕ_ = 1/ln(n) is the constant represented with the sample number, where Ei ∈ [0, 1]. r <sup>′</sup> ij meets 0 _<_ r ij <sup>′</sup> _<_ 1, and <sup>�</sup> r <sup>′</sup> ij = 1 when rij = 0, rijln(rij) = 0. - Compute the weights of the objective function obji as follows: _di_ = 1 − _Ei,_ _i_ = 1 _,_ 2 _, . . ., k_ (65) _<u>di</u>_ _λi_ = <u>�</u> _ii_ =1 <sup>_di_</sup> _,_ _i_ = 1 _,_ 2 _, . . ., k_ (66) Based on the weight coefficients of various objective functions, the total single objective function can be formulated as follows: _OBJ_ = - _I_ _i_ =1 _λiµ_ ( _obji_ ) _,_ (67) where, OBJ represents the total single objective function, which can achieve the best acceptable solution for matching all objective functions. FIGURE 5. The solution steps of the multi-objective functions. Fig. 5 depicts the flowchart of the proposed solution method to optimize energy management of the EH as a multiobjective problem. III. NUMERICAL RESULTS AND SIMULATION In this section, the optimum scheduling of the proposed EH as shown in Fig. 1 are studied in the energy and reserve markets. It includes renewable sources as WT, PV, and fuel cell, storages as ESS and TSS, and EVs in both states of storage and generator. _A._ _INPUT DATA_ In this part, all the essential data for implementing the shortterm optimized scheduling of the proposed EH is presented. The main aim of the proposed structure is to minimize the economic and emission pollution costs using participating in the day-ahead energy and reserve markets. All of the needed data are categorized in two sections a real-time data and forecasted data. The needed forecasted data as WT speed, solar irradiance, load demand, market price, and number of EVs based on the real-time data are made using the Mont Carlo approach in 600 scenarios, and the by k-mean cluster FIGURE 6. Produced and decreased scenarios for wind speed. FIGURE 7. Produced and decreased scenarios for PV irradiance. FIGURE 8. Produced and decreased scenarios for energy market price. ing method these data are decreased to ten scenarios. In Fig. 6, wind turbine speed scenarios with the red line, and 10 reduced scenarios with different color is plotted. Similar to the wind turbine, other mentioned uncertainty parameters are shown in Figs.7-9. The last uncertain parameter is the EVs number of each type of electric vehicle based on the battery capacity in the interval of [5 90] kwh and also charging/discharging enabling which have enhanced all time significantly. Some of the parameters used to classify electric vehicles are analyzed in [40]. The obtained necessary data are integrated with the proposed method of scenario generation. 11 types of popular FIGURE 9. Produced and decreased scenarios for electrical load demand. TABLE 2. Typical EVs in the market regarding their storage capacity [40]. EVs, based on the availability, capacity, and another critical behavior parameter, in the German market with sales statices are introduced in Table 2 [40]. Moreover, their percentage is used as a range in [0 1]. In every iteration, a random number among the 0 and 1 states which type of EVs is chosen. Based on the total capacity of parking lots, the number of each type of EV is produced. The number of different types of EVs for the day-ahead in each scenario, the overall number of EVs in each scenario, and the reduced 10 number scenarios are depicted in Fig. 10. Fig. 11 shows the energy, gas, and heat demand of the EH (kW). Table 3 lists the essential parameters of TSS, ESS, and WT. The real-time energy demand and reserve market price are exposed in Fig. 12. The data associated with the various units in the energy hub (CHP, boiler, gas, grid, PV, etc.) is given in Table 4. The emission factor of NO2, SO2, and CO2 in each unit of EH in kg/kWh is presented in Table 5. In Fig. 13, the required parameters of the CHP unit are defined. The operation cost of numerous grids and units are given in Table 6. Finally, the proposed EH model with stochastic constraints has a nonlinear behavior that is modeled using the equivalent MINLP method and is solved with CPLEX in GAMS. In order to assess the proposed method, three cases are classified as follow: Case 1: Simple EH without EVs and reserve market Case 2: Considering the EVs and uncertainty factors Case3: Considering EH with EVs and reserve market. FIGURE 10. (a) The number of different types of EVs for the day-ahead in each scenario (b) Total number of EVs for the day-ahead in each scenario (c) reduced 10 number scenarios of each type of EVs. TABLE 3. TSS, ESS, and WT parameters. _Case_ _1:_ In this case, the simple structure of the EH is assumed and both objective functions are minimized using the multi-stage solution method. At first, to investigate the FIGURE 11. Energy, gas, and heat demand of energy hub. FIGURE 12. Electricity market and reserve market cost [24]. FIGURE 13. Cartesian diagram of CHP unit output. difference between novel multi-stage method and other methods presented in [31], the results are shown in Table 7: So, applying a new method, in addition to responding quickly and easily, reduces the operation and emission pollution costs. The total operation cost of EH without and with EDRP, TDRP, and GDRP is $2581.700, $2487.808, respectively. Also, the emission pollution of EH without and with EDRP, TDRP, and GDRP are 10190.837kg, 10089.064kg, TABLE 4. The required data of various units in EH. TABLE 5. The emission coefficient of EH units. TABLE 6. The operation cost of upstream grid and units. TABLE 7. Compared methods. respectively. It is obvious that implementing DRP is caused to reduce both objective functions. The purchasing power from the upstream and gas network are shown in Fig. 14. Also, the output power of renewable sources is shown in Fig. 15. _Case 2:_ In this case, the EVs are integrated with EH, and the uncertainty factor of solar irradiance, wind speed, market price, load, and EVs are applied. The total number of EVs is equal to 21. The operation cost and emission pollution values are $ 2109.250 and 8139.657 kg, respectively which is decreased about 15.2% and 19.32% rather than case 1, respectively. It is clear that implementing the EVs is caused to reduce both objective functions, as EVs don’t produce FIGURE 14. Imported power from upstream grid and gas network with and without DRP. FIGURE 15. The output power of WT, PV, and FC. FIGURE 16. Imported power by a different unit. emission pollution, this cost is significantly reduced but the most effective of EVs is on the emission pollution issue due these devices do not produce any pollution. In Fig. 16, produced power by different units of EH is shown. Also, the purchased gas from CHP, boiler, and gas network are plotted in Fig. 17. Finally, the charged and discharge power of EVs, FIGURE 17. Imported power by a different unit. FIGURE 18. a). charge and discharge level of 11 EVs, (b) Charge and discharge power of total EVs, ESS, and TSS. ESS, and TSS is represented in Fig. 18. Most of the required energy for EH is provided by EVs because the emission and cost of EVs are appropriate for the ESS and TSS. Charge and discharge power of total EVs, ESS, and TSS. FIGURE 19. Day-ahead forecast the cost of energy and reserve markets, bought energy by the upstream grid and reserve market. TABLE 8. The best result for three test cases using a multi-stage method. It is clear from Fig.18 that part of the rechargeable energy of electric vehicles is used to supply the demanded energy. _Case_ _3:_ Finally, in this case, EH is participating with the reserve market for energy management. In this case, when the load demand is high, EH tries to buy energy from the reserve market at a low price. So, the amount of buying energy from the upstream network with high costs is reduced. In this case, the operation cost and emission pollution value are $1638.577 and 7642.973 kg, respectively. The operation cost of case 3 relative to the case 2 and 1 is decreased about 22.31% and 34.1%. Also, the emission pollution value of case 3 related to case 2 and case 1 is reduced by about 6.1% and 24.2%. Therefore, it can be concluded that the reserve market has a greater impact on operating costs. In Fig. 19, day-ahead forecasting cost of energy and reserve markets bought energy via upstream grid and reserve market is shown. It is clear that applying the reserve market is caused to flat the profile of load. Finally, the operation costs and emission pollution costs of the 3 cases are listed in Table. 8. As expected, implementing EVs is caused to the reduction of both objective functions relative to case 1, but the second objective is significantly reduced. Finally, participating in the reserve market is a good choice for energy management in peak time and also operation cost minimization. IV. CONCLUSION In this study, the short-term optimal scheduling of EH as a small city using a stochastic optimization method was applied with two objective functions in the energy and reserve market. In EH, three storages consisting of TSS, ESS, and EVs in discharging mode, were used. Renewable and nonrenewable resources such as WT, PV, FC, CHP, upstream grid, and natural gas station were considered. The economic operation cost and air pollution problem were considered as a bi-level objective considering EDRP, TDRP, and GDRP, to obtain the EH optimal scheduling in an uncertain situation. The wind speed, solar irradiance, loads, market price, and the number of EVs were assumed as uncertain parameters. The multi-stage solution method was applied to speed up system performance and simplify procedures of the bi-objective optimization problem. One of the main aids of this study is integrating the EVs with the EH considering the three uncertainties of EVs. This three-parameter is converted to one uncertainty parameter which is the number of EVs. Also, due to the uncertain behavior of some elements, implementing appropriate storage is a good option. Three test cases are defined to analyze the effectiveness of the proposed method with considering reserve market and EVs. Case 1 was considered as a base case of the EH without EVs and reserve market, however, in this case, the effect of applying different DRPs was investigated. In case 2, EVs were integrated with the EH and both modes of consumer and producer are applied. Two objective functions (economic and environmental cost) were decreased by about 5.34% and 3.54%, compared to Case 1, respectively. Finally, the energy hub has traded with the energy and reserve markets for bidding and sailing energy. In this case, the operation and pollution emission costs were decreased compared to Case 2 by about 6.27%, and 8.63%, respectively. It can be concluded that the operation cost and pollution emission of the EH is highly minimized by implementing the proposed three-stage method and reserve market participation in an uncertain environment. REFERENCES [1] M. Mohammadi, Y. Noorollahi, B. Mohammadi-Ivatloo, and H. Yousefi, ‘‘Energy hub: From a model to a concept—A review,’’ _Renew._ _Sustain._ _Energy Rev._, vol. 80, pp. 1512–1527, Dec. 2017. [2] X. Zhang, M. Shahidehpour, A. Alabdulwahab, and A. Abusorrah, ‘‘Opti mal expansion planning of energy hub with multiple energy infrastructures,’’ _IEEE_ _Trans._ _Smart_ _Grid_, vol. 6, no. 5, pp. 2302–2311, Sep. 2015. [3] S. Bahramara and H. Golpára, ‘‘Robust optimization of micro-grids oper ation problem in the presence of electric vehicles,’’ _Sustain._ _Cities_ _Soc._, vol. 37, pp. 388–395, Feb. 2018. [4] H. Sadeghi, M. Rashidinejad, M. Moeini-Aghtaie, and A. Abdollahi, ‘‘The energy hub: An extensive survey on the state-of-the-art,’’ _Appl._ _Thermal_ _Eng._, vol. 161, Oct. 2019, Art. no. 114071. [5] S. R. Bull, ‘‘Renewable energy today and tomorrow,’’ _Proc. IEEE_, vol. 89, no. 8, pp. 1216–1226, Aug. 2001. [6] M. Murshed, ‘‘Can regional trade integration facilitate renewable energy transition to ensure energy sustainability in south Asia?’’ _Energy_ _Rep._, vol. 7, pp. 808–821, Nov. 2021. [7] S. Li, W. Hu, D. Cao, T. Dragičević, Q. Huang, Z. Chen, and F. Blaabjerg, ‘‘Electric vehicle charging management based on deep reinforcement learning,’’ _J. Mod. Power Syst. Clean Energy_, pp. 1–12, 2021. [8] R. Gough, C. Dickerson, P. Rowley, and C. Walsh, ‘‘Vehicle-to-grid fea sibility: A techno-economic analysis of EV-based energy storage,’’ _Appl._ _Energy_, vol. 192, pp. 12–23, Apr. 2017. [9] W. Infante, J. Ma, X. Han, and A. Liebman, ‘‘Optimal recourse strat egy for battery swapping stations considering electric vehicle uncertainty,’’ _IEEE_ _Trans._ _Intell._ _Transp._ _Syst._, vol. 21, no. 4, pp. 1369–1379, Apr. 2020. [10] E. Mokaramian, H. Shayeghi, F. Sedaghati, A. Safari, and H. H. Alhelou, ‘‘A CVaR-robust-based multi-objective optimization model for energy hub considering uncertainty and E-fuel energy storage in energy and reserve markets,’’ _IEEE Access_, vol. 9, pp. 109447–109464, 2021. [11] X. Lu, Z. Liu, L. Ma, L. Wang, K. Zhou, and N. Feng, ‘‘A robust opti mization approach for optimal load dispatch of a community energy hub,’’ _Appl. Energy_, vol. 259, Oct. 2020, Art. no. 11419. [12] F. Jamalzadeh, A. H. Mirzahosseini, F. Faghihi, and M. Panahi, ‘‘Opti mal operation of energy hub system using hybrid stochastic-interval optimization approach,’’ _Sustain._ _Cities_ _Soc._, vol. 54, Mar. 2020, Art. no. 101998. [13] R. Li, W. Wei, S. Mei, Q. Hu, and Q. Wu, ‘‘Participation of an energy hub in electricity and heat distribution markets: An MPEC approach,’’ _IEEE_ _Trans._ _Smart_ _Grid_, vol. 10, no. 4, pp. 3641–3653, Jul. 2018. [14] A. Parisio, C. Del Vecchio, and A. Vaccaro, ‘‘A robust optimization approach to energy hub management,’’ _Int._ _J._ _Elect._ _Power_ _Energy_ _Syst._, vol. 42, no. 1, pp. 98–104, 2012. [15] B. Faridpak, A. Alahyari, M. Farrokhifar, and H. Momeni, ‘‘Toward small scale renewable energy hub-based hybrid fuel stations: Appraising structure and scheduling,’’ _IEEE_ _Trans._ _Transport._ _Electrific._, vol. 6, no. 1, pp. 267–277, Mar. 2020. [16] V. Davatgaran, M. Saniei, and S. Mortazavi, ‘‘Optimal bidding strategy for an energy hub in energy market,’’ _Energy_ vol. 148, pp. 482–493, 2018. [17] X. Lu, Z. Liu, L. Ma, L. Wang, K. Zhou, and N. Feng, ‘‘A robust optimiza tion approach for optimal load dispatch of community energy hub,’’ _Appl._ _Energy_, vol. 259, Feb. 2020, Art. no. 114195. [18] M. Jalili, M. Sedighizadeh, and A. S. Fini, ‘‘Stochastic optimal operation of a microgrid based on energy hub including a solar-powered compressed air energy storage system and an ice storage conditioner,’’ _J. Energy Storage_, vol. 33, Jan. 2021, Art. no. 102089. [19] M. H. Shams, M. Shahabi, M. MansourLakouraj, M. Shafie-Khah, and J. P. S. Catalão, ‘‘Adjustable robust optimization approach for two-stage operation of energy hub-based microgrids,’’ _Energy_, vol. 222, May 2021, Art. no. 119894. [20] D. Wu, J. Bai, W. Wei, L. Chen, and S. Mei, ‘‘Optimal bidding and schedul ing of AA-CAES based energy hub considering cascaded consumption of heat,’’ _Energy_, vol. 233, Oct. 2021, Art. no. 121133. [21] P. Li, Z. Wang, J. Wang, W. Yang, T. Guo, and Y. Yin, ‘‘Two-stage optimal operation of integrated energy system considering multiple uncertainties and integrated demand response,’’ _Energy_, vol. 225, Jun. 2021, Art. no. 120256. [22] X. Xu, W. Hu, W. Liu, Y. Du, R. Huang, Q. Huang, and Z. Chen, ‘‘Look ahead risk-constrained scheduling for an energy hub integrated with renewable energy,’’ _Appl. Energy_, vol. 297, Sep. 2021, Art. no. 117109. [23] E. Mokaramian, H. Shayeghi, F. Sedaghati, and A. Safari, ‘‘Four-objective optimal scheduling of energy hub using a novel energy storage, considering reliability and risk indices,’’ _J._ _Energy_ _Storage_, vol. 40, Oct. 2021, Art. no. 102731. [24] A. Heidari and R. C. Bansal, ‘‘Probabilistic correlation of renew able energies within energy hubs for cooperative games in integrated energy markets,’’ _Electr._ _Power_ _Syst._ _Res._, vol. 199, Oct. 2021, Art. no. 107397. [25] M.-W. Tian, A. G. Ebadi, K. Jermsittiparsert, M. Kadyrov, A. Ponomarev, N. Javanshir, and S. Nojavan, ‘‘Risk-based stochastic scheduling of energy hub system in the presence of heating network and thermal energy management,’’ _Appl. Thermal Eng._, vol. 159, Aug. 2019, Art. no. 113825. [26] M. Roustai, M. Rayati, A. Sheikhi, and A. Ranjbar, ‘‘A scenario-based optimization of smart energy hub operation in a stochastic environment using conditional-value-at-risk,’’ _Sustain. Cities Soc._, vol. 39, pp. 309–316, May 2018. [27] H. Lin, Y. Liu, Q. Sun, R. Xiong, H. Li, and R. Wennersten, ‘‘The impact of electric vehicle penetration and charging patterns on the management of energy hub multi-agent system simulation,’’ _Appl._ _Energy_, vol. 230, pp. 189–206, Oct. 2018. [28] X. Lu, Z. Liu, L. Ma, L. Wang, K. Zhou, and N. Feng, ‘‘A robust optimiza tion approach for optimal load dispatch of community energy hub,’’ _Appl._ _Energy_, vol. 259, Feb. 2020, Art. no. 114195. [29] S. Zeynali, N. Rostami, A. Ahmadian, and A. Elkamel, ‘‘Robust multi objective thermal and electrical energy hub management integrating hybrid battery-compressed air energy storage systems and plug-in-electricvehicle-based demand response,’’ _J._ _Energy_ _Storage_, vol. 35, Mar. 2021, Art. no. 102265. [30] S. M. Nosratabadi, M. Jahandide, and J. M. Guerrero, ‘‘Robust scenario based concept for stochastic energy management of an energy hub contains intelligent parking lot considering convexity principle of CHP nonlinear model with triple operational zones,’’ _Sustain._ _Cities_ _Soc._, vol. 68, May 2021, Art. no. 102795. [31] S. M. Nosratabadi, R. Hemmati, and P. K. Gharaei, ‘‘Optimal planning of multi-energy microgrid with different energy storages and demand responsive loads utilizing a technical-economic-environmental programming,’’ _Int. J. Energy Res._, vol. 45, no. 5, pp. 6985–7017, Apr. 2021. [32] F. Cingoz, A. Elrayyah, and Y. Sozer, ‘‘Optimized resource management for PV–fuel-cell-based microgrids using load characterizations,’’ _IEEE_ _Trans. Ind. Appl._, vol. 52, no. 2, pp. 1723–1735, Mar. 2016. [33] H. Rashidizadeh-Kermani, H. Najafi, A. Anvari-Moghaddam, and J. Guerrero, ‘‘Optimal decision-making strategy of an electric vehicle aggregator in short-term electricity markets,’’ _Energies_, vol. 11, no. 9, p. 2413, Sep. 2018. [34] T. Niknam, R. Azizipanah-Abarghooee, and M. R. Narimani, ‘‘An efficient scenario-based stochastic programming framework for multi-objective optimal micro-grid operation,’’ _Appl._ _Energy_, vol. 99, pp. 455–470, Nov. 2012. [35] G. Gruosso and P. Maffezzoni, ‘‘Data-driven uncertainty analysis of distri bution networks including photovoltaic generation,’’ _Int._ _J._ _Electr._ _Power_ _Energy Syst._, vol. 121, Oct. 2020, Art. no. 106043. [36] S. Sánchez, V. Hidalgo, M. Velasco, and D. Puga, ‘‘Parametric study of a horizontal axis wind turbine with similar characteristics to those of the Villonaco wind power plant,’’ _J._ _Appl._ _Res._ _Technol._ _Eng._, vol. 2, no. 2, pp. 51–62, 2021. [37] A. Ashtari, E. Bibeau, S. Shahidinejad, and T. Molinski, ‘‘PEV charging profile prediction and analysis based on vehicle usage data,’’ _IEEE Trans._ _Smart Grid_, vol. 3, no. 1, pp. 341–350, Mar. 2012. [38] L. Ju, Q. Tan, Y. Lu, Z. Tan, Y. Zhang, and Q. Tan, ‘‘A CVaR-robust-based multi-objective optimization model and three-stage solution algorithm for a virtual power plant considering uncertainties and carbon emission allowances,’’ _Int._ _J._ _Electr._ _Power_ _Energy_ _Syst._, vol. 107, pp. 628–643, May 2019. [39] L. Ju, Z. Tan, H. Li, Q. Tan, X. Yu, and X. Song, ‘‘Multi-objective operation optimization and evaluation model for CCHP and renewable energy-based hybrid energy system driven by distributed energy resources in China,’’ _Energy_, vol. 111, pp. 322–340, 2016. [40] _Market_ _Share_ _of_ _Electric_ _Vehicles_ _in_ _Germany_ _From_ _2014_ _to_ _2021_ . Accessed: Mar. 2021. [Online]. Available: https://www.statista.com/ statistics/1166826/electric-vehicles-market-share-germany/ ELHAM MOKARAMIAN received the B.S. and M.Sc. degrees in electrical engineering from the University of Mohaghegh Ardabili (UMA), Ardabil, Iran, in 2013 and 2016, respectively, where she is currently pursuing the Ph.D. degree in electrical engineering. Her major research interests include hub energies, smart grids, renewable energy, and application of artificial intelligence to power systems. HOSSEIN SHAYEGHI (Senior Member, IEEE) received the Ph.D. degree in electrical engineering from the Iran University of Science and Technology, Tehran, Iran, in 2006. He is currently a Full Professor and the Scientific Director of the Energy Management Research Center, University of Mohaghegh Ardabili, Ardabil, Iran. He has authored and coauthored of 12 book chapters in international publishers and more than 425 articles in international journals and conference proceedings that received in Google Scholar more than 6505 citations with an H-index equal to 40. His research interests include power system control and operation, microgrid and smart grids control and energy management, and FACTs device. He has been included in the Thomson Reuters’ list of the top 1% of most-cited technical engineering scientists in 2015–2021 continuously. He is the Editor-in-Chief of _Journal of Operation and Automation in_ _Power Engineering_ and _Journal of Energy Management and Technology_ . FARZAD SEDAGHATI was born in Ardabil, Iran, in 1984. He received the M.S. and Ph.D. degrees in electrical engineering from the University of Tabriz, Tabriz, Iran, in 2010 and 2014, respectively. In 2014, he joined the Faculty of Engineering, Mohaghegh Ardabili University, where he has been an Assistant Professor, since 2014. His current research interests include renewable energies and hub energies. AMIN SAFARI received the B.Sc. degree in electrical engineering from the University of Tabriz, Tabriz, Iran, in 2007, the M.Sc. degree from the University of Zanjan, in 2009, and the Ph.D. degree from the Iran University of Science and Technology, Iran, in 2013. He is currently an Assistant Professor with the Department of Electrical Engineering, Azarbaijan Shahid Madani University, Tabriz. He has published more than 140 articles in international journals and conference proceedings. His research interests include the application of artificial intelligence and heuristic optimization algorithms to power system design, FACTS device, power system analysis and control, renewable energy, control and management of microgrids, and smart grid. He was selected as a Distinguished Researcher of the Azarbaijan Shahid Madani University, in 2016. HASSAN HAES ALHELOU (Senior Member, IEEE) is currently a Faculty Member with Tisheen University, Lattakia, Syria. He is included in the 2018 and 2019 Publons list of the top 1% best reviewer and researchers in the field of engineering. He has published more than 100 research articles in the high-quality peer-reviewed journals and international conferences. He has participated in more than 15 industrial projects. His current research interests include power systems, power system dynamics, power system operation and control, dynamic state estimation, frequency control, smart grids, micro grids, demand response, load shedding, and power system protection. He was a recipient of the Outstanding Reviewer Award from _Energy_ _Conversion_ _and_ _Management_ journal, in 2016, _ISA Transactions_ journal, in 2018, _Applied Energy_ journal, in 2019, and many other awards. He was also a recipient of the Best Young Researcher in the Arab Student Forum Creative among 61 researchers from 16 countries at Alexandria University, Egypt, in 2011. He has also performed reviews for high prestigious journals, including the IEEE TRANSACTIONS ON INDUSTRIAL INFORMATICS, the IEEE TRANSACTIONS ON INDUSTRIAL ELECTRONICS, _Energy Con-_ _version and Management_, _Applied Energy_, and the _International Journal of_ _Electrical Power and Energy Systems_ .

섹션 본문 99문단 · 37,317자

(제목 없음)

1In order to make significant progress in the operation of power systems and minimizing cost and air pollution, multi-carrier energy systems based on the economic and emission problem have been proposed by implementing various solutions and using different sources. In this study, an energy hub (EH) system includes a wind turbine (WT), photovoltaic (PV), and EVs that are exchanged energy with energy and reserve market considering energy, thermal, and gas demand response program is proposed. But these units due to uncertain behavior create a big problem in balancing between the demand and generated energy. Thus, the uncertainty of WT, PV, load, and electricity market price are modeled with Mont-Carlo method. Besides that, all parameters of the EVs with uncertainty behavior are modeled using a new method that classified EVs based on the capacity of the battery and other features. This method is employed a stochastic optimization approach to simplify the uncertainty modeling for increasing the system reliability. Hence, two objective functions, namely economic cost, and environmental cost are considered. Finally, a three-step strategy is introduced to solve the multi-objective problem as a single objective function. Finally, EH management performance is investigated by implementing the proposed method and elements.

INDEX TERMS

2In recent years, in the power system structure, a multi-carrier power system has been implemented instead of the single entity generating [1], [2]. On the other hand, increasing the emission pollution problem due to the use of fossil fuels is one of the serious reasons [3]. Therefore, energy hubs are supposed to play a critical role in the future for solving power system problems [4]. RESs such as PV and wind farms generate clean and unlimited energy [5], and the use of renewable energy is an effective way to promote energy transformation in the energy hub [6]. Today, the use of electric vehicles is increasing due to reducing air pollution and exploitation as consumers and producers (as a battery) [7]. EVs are also profitable for car owners, in addition to the economic and environmental benefits of the power system [8]. Therefore, integrating EVs and energy hubs is a good choice for minimizing operation costs and air pollution. Renewable resources have uncertain behaviors due to climate change, which has a significant impact on the performance and reliability of the EH. On the other hand, EVs include uncertainty behaviors [9]. The most suitable operation of the EH will be obtained using a suitable optimization method and integrating the energy market with the reserve market [10] considering uncertainties in the presence of EVs.

B. LITERATURE REVIEW

3Different studies of assessing and analyzing EHs abilities due to many advantages such as economy minimization, emission pollution mitigation, high flexibility, market infrastructure, and energy management in various sections of power systems have been done [2], [11], [12]. EH is made from two parts as an input and output, which contain multi carriers in the input section and multi demands in the output section. Employing renewable resources, suitable converters, energy storages, and redundant connection between EH input and output, supply of demand, reliability, and energy management are enhanced, the operation cost and emission pollution are minimized [13]. Implementing a good framework of EH and an appropriate scheduling program is essential to obtain the best results for EH operation. Alessandra Parisio et al. proposed a robust optimization method of EH operations [14]. Also, multi carriers' input, stored and distributed in the EH construction is implemented to supply energy demands. However, renewable sources are a good option for input in the EH framework.

4In [15], EH as a combined energy system containing renewable energy resources was proposed considering demand response programs to supply electrical, cooling, and heating demands. But, the stochastic nature in the production of the RESRs has not been considered. In [16], a new mathematical method for analyzing the integrated EH with a deregulated market was reported. This method is based on a mathematic program with an equilibrium constraints model to investigate the strategic performances of a profit-driven EH in both the heating and electricity markets. Since the economic issue is important in EH performance, at the same rate, the pollution emission is important, too. So, Lu et al. in [17], an optimal load program model for a community EH represented. Both EDRP and TDRP to minimize the total cost of the energy hub, including system economic and environmental costs were considered. One of the most effective methods to improve the performance of EH and optimize the operation cost and emission pollution is using an appropriate energy storage system. In [18], and EH management mechanism was introduced by employing two new energy storages are called ice storage conditioner (ISC) and solar-powered compressed air energy storage to minimize operation and emission pollution costs considering combined CHP, photovoltaic, and wind turbine. The other important factor, which has the most effect on EH performance is using a robust scheduling method. Shams et al. [19] suggested a min-max min robust method for the short-term scheduling of microgrids integrated with the natural gas network to model the uncertainty of WT generation, electrical, and thermal loads introduced. The proposed model was solved and linearized using the column-and-constraint generation process that divides the framework into a master problem and a subproblem. It should be better if the improved EH structure behind a suitable scheduling method was analyzed simultaneously. In [20], novel energy storage integrated with an energy hub in an industrial park was proposed and a bi-level optimization scheduling method was introduced to analyze the optimal bidding and programing in the daily market. The main aim of this method is to minimize the day-ahead operation cost.

5Since renewable sources are subject to weather conditions, their output power is not constant and has uncertainty. Therefore, it is essential to study the causes of uncertainty with appropriate methods. In [21], an MINLP method for the optimal scheduling of the energy hub was modeled in the presence of uncertainty factors. In addition, the effect of implementing DRPs, determine the size of the energy hub, and implementing a complete energy flow of loads are introduced.

6Using the risk-averse method is a good option for modeling the uncertainty of the energy hub to increase reliability. A novel look-ahead risk-constrained based on the look-ahead scheduling technique in the daily market of the energy hub was proposed to reduce the total cost of the energy hub in the presence of DRP in [22]. Mokaramian et al. [23], analyzed the performance of the energy hub using a multi-objective function as environmental, economic, load deviation, and risk level objective functions conditional value at risk and secondorder stochastic dominance. Also, a new storage model as PHESS has been utilized in EH to optimal energy management considering DRP for water, gas, electricity, and thermal.

7In [24], a spatiotemporal association of wind speed, solar irradiation, and price responsive loads in the presence of cooperative and non-cooperative modes of energy hubs using a game-theoretic method is proposed, which has participation by the energy market. In addition, mathematical scheduling with equilibrium restraints was applied to solve the highly competitive behavior of the energy hubs in this market in the presence of system losses. Stochastic operation of energy hub in the uncertain environment and using downside risk restrictions was suggested to minimize the risk-in-cost versus risk control parameter in the heating market with heat DRP in [25]. In [26], a multi-objective method was represented to optimize the operation cost and risk-averse in the energy hub. The conditional value at risk method was implemented to control the harmful effects of the uncertainties.

8In [27], a multi-agent system is introduced to model the operation of an EH with electric vehicles and modeled various penetration rates and charging patterns of an electric vehicle. A complete random dispatch algorithm was integrated into a smart charging strategy to obtain the maximum capacity and potential of the vehicle to the grid. XinhuiLu et al. [28] presented a novel structure of optimal load dispatch model for a community EH in the presence of thermal and electrical demand response programs. In this model, the gas boiler, CHP unit, PV array, heat storage unit, WT, the random admission of large-scale electric vehicles was considered, and using the Monte-Carlo approach, the uncertainty of EVs is simulated. Also, a robust optimization method was proposed to simulate the price uncertainty. To improve the environmental and economic aspect of the energy hub, a multi-objective optimization method in the presence of compressed air energy storage was integrated with a battery energy storage system in [29]. Also, in the structure of residential EH, a plug-in electric vehicle-based demand response program, renewable energy generation units, thermal energy storage, solar heat collectors, and hot water storage was used. Finally, the load demand uncertainty of EVs is modeled using their corresponding coming-exit time, miles of daily moved, and type of vehicle. The optimal Pareto front of the multi-objective issue was achieved by the ε-constrained approach for different robustness alterations.

9Regarding the reviewed literature in EH, some of the drawbacks have seemed that should be improved as follow:

10• In some studies, renewable sources, fuel cells, and EVs as energy storage have not been used to improve environmental and economic issues.

11• Different DRP for water, gas, thermal, and electrical loads have not been considered.

12• The impact of all parameters of EVs uncertainties on the operation of the energy hub has not been esteemed.

13• Uncertainty of renewable sources, load uncertainty, market price, and EVs have not been considered, simultaneously.

C. CONTRIBUTION

14In this study, two objectives are considered to optimize the total cost of EH performance as emission pollution and operation cost. The proposed model of EH includes a CHP, boiler, WT, PV, Fuel cell, ESS, HSS, and EV considering the uncertainty of WT, PV, load, price market, and EVs as shown in Fig. 1. In addition, a demand response program is implemented for gas, heat, and electricity demand. All uncertainty factors of EVs as starting and stopping time of charging/discharging period, the overall battery capacity, initial energy, and their number, are not yet addressed for an EH or a collector that uses these resources integrated with renewables to contribute to different electricity markets. So, in this study, we introduce a novel method to implement the storage capacity of EVs as energy storage in EH structure in the day-ahead market. Here, three factors of EVs uncertainties are considered contains EVs capacity uncertainty, coming and leaving time, the amount of energy left in the battery when it becomes obtainable, and their total number.

15Finally, the fundamental contributions of this study are mentioned as follow:

16• Participating EH with energy and reserve markets • Integrating the EVs with day-ahead and reserve markets • Proposing a new method to model all uncertainty parameters of EVs.

17• Considering demand response programs for gas, electricity, and thermal loads • Solving the multi-objective problem using a novel threestage solution algorithm.

II. ENERGY HUB MODELING

18This study presents an EH including different energy carriers with the ability to convert, storing and transferring. The energy hub as shown in Fig. 1 is including utility grid, natural gas network, fuel cell, and renewable sources (wind turbine, PV) in the input section that integrated with ESS and TSS as a storage system, CHP, and boiler in converter section to supply load demand of gas, electricity, heat, and EVs that operate as a mobile storage. The main aim of this study is to minimize operating costs and emission pollution problems. Also, the uncertainty of RES, load market, price of the energy market, and three factors of EVs uncertainties i.e.: EVs capacity uncertainty, coming and leaving time, and their total number are modeled using the Mont-Carlo method. Noted that in this study, EH is assumed as a small city. Electricity and natural gas as input carriers are considered to supply the load demand. Wind turbines and PV can produce electrical energy to use by the consumer. The EVs can operate as bilateral equipment and in the charging mode, is assumed as a consumer, and in discharging mode, the extra power is saved and flow to the EH to use via consumer, in this mode the EVs work as energy storage. The CHP unit in the EH framework is fed from natural gas and produces heat and electrical energy simultaneously. In addition, the auxiliary boiler feeds the natural gas and generates heat to the heating line.

19The CHP unit has an important role in EH performance because this unit involved three carriers of EH as natural gas, heat, and electricity. In this study, the CHP unit works in quadratic mode and contains three operational zones, which are shown in Fig. 2.

20The relation between the heat and power in CHP operation as shown in Fig. 2, is a non-convex operation zone. When the thermal is produced by the CHP unit, the amount of power generation is limited and conversely. In order to simplify the optimal operation of the CHP unit, the non-convex zone is divided into triple zones which are shown by Zone 1, 2, and 3. Convexness is made by counting three binary variables for the CHP. These zones are convex, and any point on any line in each zone is related to that zone [30].

A. OBJECTIVE FUNCTIONS

21The main aims of this study are divided into two parts. The first aim is to minimize total operation cost and the second aim is to optimize the emission pollution cost of the EH in the day-ahead market.

B. ECONOMIC OBJECTIVE FUNCTION

22The economic objective function includes two terms to optimize the total cost of the EH as follow [23]:

23The first term denotes the operation cost of the EH, and the second term represents the reserve market cost. The energy hub system contains RESs, boiler, CHP unit, thermal and electrical energy storage, and EVs. Demand response program is considered for all types of load demand including gas, thermal and electric demand with a specified cost. So, the operation cost of EH is presented as follow:

24The energy hub system purchase energy from the upstream grid of electric and gas station, which is calculated as follow:

25In order to manage energy usage in peak load duration by shifting the energy consumption to low periods, DRP is implemented in the energy hub to cost-minimizing. The main effect of the demand response program is based on the balance between energy consumption and production in each period. Electrical, thermal and gas demand program are expressed as follow:

26Also, the operation cost of the storage system is made from two-part including the electric storage system and thermal storage system as follows.

27The operational cost of the renewable sources is equal to the set of operation costs of the WT, PV, and an FC that is a function of output power.

28The operation cost of the CHP unit is a quadratic function of the generated power and heat and given by.

29The operation cost of the boiler is a function of output power and can be defined as follow:

30In order to provide a suitable economic program for electric vehicles, the objective function is defined based on the amount of charging/discharging energy of electric vehicles. The required energy for charging EVs is provided by EH, P dem j , with the specific cost, and at the same time when EVs have been used as an energy storage system at time t with specific degradation cost.

31which is calculated as follow:

32The second term of Eq. (1) is the cost of purchasing energy from the reserve market and is formulated by Eq. (10).

33The environmental issue of the energy hub is critical. So, the emission pollution cost of the three most effective gases (CO2, NO2, and SO2) which are generated through EH equipment is considered in the objective function. The emission cost of EH is produced by the upstream grid, boiler, CHP unit, and consumed residential gas [25].

34The constraint of up and low load levels of the EH is formulated by Eq. (13). The increasing and decreasing load level cannot be done at the same time which is modeled in Eq. (14). The EH must save the overall electricity consumption constant in the forecast cycle, which is restricted by Eq. (15).

2) LIMITATION OF THERMAL DR PROGRAM

35The equal and unequal limitations of thermal DRP are as follow:

36Similar to the EDRP, Eq. (17) formulates the limitation of increased/decreased load of the energy hub. The restraint to cope with the increasing/decreasing of the thermal load level at the same time is modeled by Eq. (18). The amount of increasing/decreasing thermal load should be equal which is formulated by Eq. (19).

3) LIMITATION OF GAS DR PROGRAM

37The equal and unequal constraints of gas DRP are as follow:

38The exact definitions of the previous sections apply to GDRP.

4) LIMITATION OF ESS

39Another important factor in the EH framework is to save the extra produced power by units. So, ESS is used to deal with energy losses. The mathematical formulation and limitation of ESS are stated as [20]. The electrical energy balance restraint of the ESS unit is given by Eq. (24). The saved electrical energy by the ESS unit should be restricted in a confident range, which is given by Eq. (25). The maximum charging/discharging powers of the ESS unit are restricted by Eqs. (26) and (27)

5) LIMITATION OF TSS

40Thermal demand in the energy hub is at a high level, so it is necessary to save the extra produced power by units. Thus, TSS is used to deal with energy losses. The equal and unequal constraints of TSS are [20].

41The exact definitions of the previous sections are implemented to TSS.

6) ENERGY BALANCE CONSTRAINT

42The produced or bought energy from the upstream grid in alltime should be equal to the demand for energy. So, electrical, thermal, and gas balance constraint are expressed as follow, respectively.

43A nominal rate is definitely for purchasing power from the upstream grid that should supply transformers nominal capacity constraint and total bought gas limitation from the gas grid.

8) MODEL OF BOILER AND CHP

44The boiler is fed by natural gas and it is necessary to meet the upper and lower level of natural gas input constraints [30].

45As stated in the previous sections, the operation of CHP is a nonlinear behavior with the triple-zone of electricity and thermal production. The generated heat through the CHP unit is frequently proportional to its electric generation. In addition, heat operation constraints will be guaranteed if the electrical performance constraint is confirmed [31]. Limitations associated with the CHP unit with three operational areas as shown VOLUME 10, 2022 in Fig. 4 are formulated as follows:

46Using the big-M method, the upper and lower range are defined viaM and M , that represent inactive at the predicted time [30].

9) SOURCES MODEL

47• Wind turbine The produced power by the wind turbine is proportional to wind speed and is given by [23].

48• Photovoltaic The imported power by the PV system is proportional to the solar irradiance as follow [32]:

49• Fuel Cell The power made through the FC in each period t∈ {1, 2, · · · , NT}, H FC 2t , which is proportional with the hydrogen feeding in peck period is expressed as [32]:

50Several constraints related to fuel cell performance are:

10) EVs CONSTRAINTS

51The constraints of EVs participation in EH operation and their real-life restrictions are defined as:

52Eq. (52) represents the final battery power of the EV when the plug-in time is ended, which is equal to the total of the demanded energy through j_th EV and the initial power of the EV battery [33]. The plug-in time of EV is in the interval of [t b,j , t e,j ], and the demanded energy of the EV can be defined by the difference between needed energy for charging the battery and used energy by EVs in the day ahead and reserve markets.

53For charging/discharging an EV battery, a certain bound is considered equal to the battery conditions and existing equipment minus the charging and discharging facilities. Also, the charging and discharging operation cannot be done at the same time.

54The amount of energy in EVs batteries at the arrival and departure time is formulated as follow:

55The power of the j_th EV at time t is related to three factors including the initial state of the battery, charging/discharging power of the EV at the same time. The starting and stopping time of the charging and discharging of the battery is also formulated as follow:

E. STOCHASTIC SIMULATION FOR MODELING THE UNCERTAINTY

56Some of the energy carriers' parameters in the EH have random and vague behavior. Therefore, it is hard to predict this parameter's behavior. Finding an appropriate method to forecast these parameters' function with high reliability is significant.

57The output power of WT and PV is related to climate changes, and their forecasted power includes uncertainty. So, using a stochastic model can try to achieve the most exact model. Moreover, the price of the energy market and load demand are affected by consumer demand and climate behavior. Like WT and PV, it is essential to implement an effective stochastic method to model the uncertainty of these parameters.

58Finally, for the first time in the EH performance, all of the EV parameters that have uncertain behavior consist of coming and leaving time, the energy remaining in the battery when it becomes available, and the number of EH is considered.

59A scenario-based stochastic model is implemented to model the uncertainty behavior of all parameters.

F. SCENARIO GENERATION

60In this model, a PDF of each parameter is used and shown in Fig. 3. Scenarios of the PDF curve are divided into seven levels. Each is of PDF contains a probability rate. It should be noted that the center of the fourth scenario is the same predicted value.

1) SOLAR IRRADIANCE UNCERTAINTY

61Since the output power of the solar is a function of the solar irradiance and weather variation. Beta PDF is used to model the uncertainty of solar irradiance. Beta PDF is a function of two parameters as ω and ψ [35]:

62where the ψ and ω variables are computed as follow:

632) WIND SPEED UNCERTAINTY Similar to the solar operation, wind speed is a function of weather changes. So, the Weibull distribution function is implemented to model the wind speed uncertainty [36].

3) UNCERTAINTY OF MARKET PRICE AND LOAD

64Since the exact value of consumer demands and energy market price is not definite. A normal PDF function is used to model the load and market price uncertainty.

4) EVs UNCERTAINTY

65In this study, EVs operate in a dual state as both consumer and energy storage. The EV has three factors of uncertainty behavior. The saved energy in the battery at the start, their availability, and needed energy is unclear when the battery is in the charge or discharge state. Similar to another uncertainty parameter, EH can detect the charging state and behavior of EVs in the parking lots.

66In order to simplify the uncertainty modeling of the EVs, like the [37], EVs are categorized into different types. Each type of electric vehicle has its specifications. These futures include the obtainability time, initial state of the battery, and VOLUME 10, 2022 capacity of the battery. In this method, 1000 different EVs are classified into 100 types. So, in addition to the small number of EVs and uncertainty parameters are studied, the EVs' parameters are linked together, characterizing them causes the chance to analyze the uncertainty in a more straightforward and improved way.

67Each type of EV in the EH has grouped base on the {Eu,0, [tb,u, te,u], Emax,u} by assuming that u ∈U.

68Implementing this method is caused to reduce the sources of the uncertainty parameter to the number of EVs. Here, the number of EVs from each group is assumed as an uncertain parameter.

69The uncertainty of the EVs with w scenarios and type u are formulated as follow:

70To model the uncertainty of EVs numbers, the normal distribution method with zero mean and σ n as the distribution error is implemented.

G. K-MEANS CLUSTERING METHOD

71In this paper, five uncertainty parameters are modeled. The PDF is divided into nine levels, and each level represents various scenarios and errors. In the first step, 1000 scenarios for each parameter are generated with the mentioned method and using the k-means clustering approach the scenario numbers are reduced to 10 scenarios in the MATLAB environment.

H. MULTI-STAGE SOLUTION METHOD

72In this study, two functions as economic and emission pollution objectives are considered. A multi-stage solution is proposed that consists of three stages [38].

73First stage: payoff table establishment Second stage: fuzzy linearization Third stage: Objective weight calculation.

1) PAYOFF TABLE ESTABLISHMENT

74The payoff table is implemented to investigate the relationship between the various objective functions. This table is used to calculate the weight coefficients. The stages of the establishment are as follow:

75The objective function is chosen as the optimization objective obji (i = 1, 2 . . . , I) where the i_th objective function value is objii and another objective functions values are objik(i, k = 1, 2, . . . , I).

76The pay of table is structured as Table.1 based on the obtained value of the objective functions. Then the lower and upper value of the objectives is used for objective weight competition and fuzzy linearization.

77The fuzzy linearization and objective value competition are described in the next section.

2) FUZZY LINEARIZATION

78In this study, the descending half-line membership function is used to process the objective functions of the minimum oper- ation cost and the minimum carbon emissions. The specific method is as follows:

79Eq. (63) represents the half-life reducing half gradient membership function and is utilized to procedure the objective functions of the minimum operation cost, which is shown in Fig. 4.

3) OBJECTIVE WEIGHT CALCULATION

80The objective authorization approach is applied to compute the weight coefficients. The pre-processed objective function decision matrix [ob ji k]I×I is calculated by Table 1. Then, to compute the weight of the objective function, the entropy weight approach is used by implementing the different degrees of the objective function. So, the weights of any objective could be calculated by the entropy weight approach [39] as:

81where ϕ = 1/ln(n) is the constant represented with the sample number, where Ei ∈ [0, 1]. r ij meets 0 < r ij < 1, and r ij = 1 when rij = 0, rijln(rij) = 0.

82• Compute the weights of the objective function obji as follows:

83Based on the weight coefficients of various objective functions, the total single objective function can be formulated as follows:

84where, OBJ represents the total single objective function, which can achieve the best acceptable solution for matching all objective functions.

III. NUMERICAL RESULTS AND SIMULATION

85In this section, the optimum scheduling of the proposed EH as shown in Fig. 1 are studied in the energy and reserve markets. It includes renewable sources as WT, PV, and fuel cell, storages as ESS and TSS, and EVs in both states of storage and generator.

A. INPUT DATA

86In this part, all the essential data for implementing the shortterm optimized scheduling of the proposed EH is presented. The main aim of the proposed structure is to minimize the economic and emission pollution costs using participating in the day-ahead energy and reserve markets. All of the needed data are categorized in two sections a real-time data and forecasted data. The needed forecasted data as WT speed, solar irradiance, load demand, market price, and number of EVs based on the real-time data are made using the Mont Carlo approach in 600 scenarios, and the by k-mean cluster- ing method these data are decreased to ten scenarios. In Fig. 6, wind turbine speed scenarios with the red line, and 10 reduced scenarios with different color is plotted. Similar to the wind turbine, other mentioned uncertainty parameters are shown in Figs.7-9.

87The last uncertain parameter is the EVs number of each type of electric vehicle based on the battery capacity in the interval of [5 90] kwh and also charging/discharging enabling which have enhanced all time significantly. Some of the parameters used to classify electric vehicles are analyzed in [40]. The obtained necessary data are integrated with the proposed method of scenario generation. 11 types of popular EVs, based on the availability, capacity, and another critical behavior parameter, in the German market with sales statices are introduced in Table 2 [40]. Moreover, their percentage is used as a range in [0 1]. In every iteration, a random number among the 0 and 1 states which type of EVs is chosen. Based on the total capacity of parking lots, the number of each type of EV is produced. The number of different types of EVs for the day-ahead in each scenario, the overall number of EVs in each scenario, and the reduced 10 number scenarios are depicted in Fig. 10. Fig. 11 shows the energy, gas, and heat demand of the EH (kW). Table 3 lists the essential parameters of TSS, ESS, and WT. The real-time energy demand and reserve market price are exposed in Fig. 12. The data associated with the various units in the energy hub (CHP, boiler, gas, grid, PV, etc.) is given in Table 4. The emission factor of NO2, SO2, and CO2 in each unit of EH in kg/kWh is presented in Table 5. In Fig. 13, the required parameters of the CHP unit are defined. The operation cost of numerous grids and units are given in Table 6.

88Finally, the proposed EH model with stochastic constraints has a nonlinear behavior that is modeled using the equivalent MINLP method and is solved with CPLEX in GAMS.

89In order to assess the proposed method, three cases are classified as follow:

90Case 1: Simple EH without EVs and reserve market Case 2: Considering the EVs and uncertainty factors Case3: Considering EH with EVs and reserve market.

Case 1:

91In this case, the simple structure of the EH is assumed and both objective functions are minimized using the multi-stage solution method. At first, to investigate the difference between novel multi-stage method and other methods presented in [31], the results are shown in Table 7:

92So, applying a new method, in addition to responding quickly and easily, reduces the operation and emission pollution costs. The total operation cost of EH without and with EDRP, TDRP, and GDRP is $2581.700, $2487.808, respectively. Also, the emission pollution of EH without and with EDRP, TDRP, and GDRP are 10190.837kg, 10089.064kg, respectively. It is obvious that implementing DRP is caused to reduce both objective functions. The purchasing power from the upstream and gas network are shown in Fig. 14. Also, the output power of renewable sources is shown in Fig. 15.

93Case 2: In this case, the EVs are integrated with EH, and the uncertainty factor of solar irradiance, wind speed, market price, load, and EVs are applied. The total number of EVs is equal to 21. The operation cost and emission pollution values are $ 2109.250 and 8139.657 kg, respectively which is decreased about 15.2% and 19.32% rather than case 1, respectively. It is clear that implementing the EVs is caused to reduce both objective functions, as EVs don't produce emission pollution, this cost is significantly reduced but the most effective of EVs is on the emission pollution issue due these devices do not produce any pollution. In Fig. 16, produced power by different units of EH is shown. Also, the purchased gas from CHP, boiler, and gas network are plotted in Fig. 17. Finally, the charged and discharge power of EVs, ESS, and TSS is represented in Fig. 18. Most of the required energy for EH is provided by EVs because the emission and cost of EVs are appropriate for the ESS and TSS.

94Charge and discharge power of total EVs, ESS, and TSS. It is clear from Fig.18 that part of the rechargeable energy of electric vehicles is used to supply the demanded energy.

95Case 3: Finally, in this case, EH is participating with the reserve market for energy management. In this case, when the load demand is high, EH tries to buy energy from the reserve market at a low price. So, the amount of buying energy from the upstream network with high costs is reduced. In this case, the operation cost and emission pollution value are $1638.577 and 7642.973 kg, respectively. The operation cost of case 3 relative to the case 2 and 1 is decreased about 22.31% and 34.1%. Also, the emission pollution value of case 3 related to case 2 and case 1 is reduced by about 6.1% and 24.2%. Therefore, it can be concluded that the reserve market has a greater impact on operating costs. In Fig. 19, day-ahead forecasting cost of energy and reserve markets bought energy via upstream grid and reserve market is shown. It is clear that applying the reserve market is caused to flat the profile of load.

96Finally, the operation costs and emission pollution costs of the 3 cases are listed in Table. 8. As expected, implementing EVs is caused to the reduction of both objective functions relative to case 1, but the second objective is significantly reduced. Finally, participating in the reserve market is a good choice for energy management in peak time and also operation cost minimization.

IV. CONCLUSION

97In this study, the short-term optimal scheduling of EH as a small city using a stochastic optimization method was applied with two objective functions in the energy and reserve market. In EH, three storages consisting of TSS, ESS, and EVs in discharging mode, were used. Renewable and nonrenewable resources such as WT, PV, FC, CHP, upstream grid, and natural gas station were considered. The economic operation cost and air pollution problem were considered as a bi-level objective considering EDRP, TDRP, and GDRP, to obtain the EH optimal scheduling in an uncertain situation. The wind speed, solar irradiance, loads, market price, and the number of EVs were assumed as uncertain parameters. The multi-stage solution method was applied to speed up system performance and simplify procedures of the bi-objective optimization problem. One of the main aids of this study is integrating the EVs with the EH considering the three uncertainties of EVs. This three-parameter is converted to one uncertainty parameter which is the number of EVs. Also, due to the uncertain behavior of some elements, implementing appropriate storage is a good option.

98Three test cases are defined to analyze the effectiveness of the proposed method with considering reserve market and EVs. Case 1 was considered as a base case of the EH without EVs and reserve market, however, in this case, the effect of applying different DRPs was investigated. In case 2, EVs were integrated with the EH and both modes of consumer and producer are applied. Two objective functions (economic and environmental cost) were decreased by about 5.34% and 3.54%, compared to Case 1, respectively. Finally, the energy hub has traded with the energy and reserve markets for bidding and sailing energy. In this case, the operation and pollution emission costs were decreased compared to Case 2 by about 6.27%, and 8.63%, respectively. It can be concluded that the operation cost and pollution emission of the EH is highly minimized by implementing the proposed three-stage method and reserve market participation in an uncertain environment. AMIN SAFARI received the B.Sc. degree in electrical engineering from the University of Tabriz, Tabriz, Iran, in 2007, the M.Sc. degree from the University of Zanjan, in 2009, and the Ph.D. degree from the Iran University of Science and Technology, Iran, in 2013. He is currently an Assistant Professor with the Department of Electrical Engineering, Azarbaijan Shahid Madani University, Tabriz. He has published more than 140 articles in international journals and conference proceedings. His research interests include the application of artificial intelligence and heuristic optimization algorithms to power system design, FACTS device, power system analysis and control, renewable energy, control and management of microgrids, and smart grid. He was selected as a Distinguished Researcher of the Azarbaijan Shahid Madani University, in 2016.

99HASSAN HAES ALHELOU (Senior Member, IEEE) is currently a Faculty Member with Tisheen University, Lattakia, Syria. He is included in the 2018 and 2019 Publons list of the top 1% best reviewer and researchers in the field of engineering. He has published more than 100 research articles in the high-quality peer-reviewed journals and international conferences. He has participated in more than 15 industrial projects. His current research interests include power systems, power system dynamics, power system operation and control, dynamic state estimation, frequency control, smart grids, micro grids, demand response, load shedding, and power system protection. He was a recipient of the Outstanding Reviewer Award from Energy Conversion and Management journal, in 2016, ISA Transactions journal, in 2018, Applied Energy journal, in 2019, and many other awards. He was also a recipient of the Best Young Researcher in the Arab Student Forum Creative among 61 researchers from 16 countries at Alexandria University, Egypt, in 2011. He has also performed reviews for high prestigious journals, including the IEEE TRANSACTIONS ON INDUSTRIAL INFORMATICS, the IEEE TRANSACTIONS ON INDUSTRIAL ELECTRONICS, Energy Conversion and Management, Applied Energy, and the International Journal of Electrical Power and Energy Systems. VOLUME 10, 2022

참고문헌 37건

  1. A robust optimization approach to energy hub management International Journal of Electrical Power & Energy Systems · Elsevier BV · 2012 10.1016/j.ijepes.2012.03.015
  2. An efficient scenario-based stochastic programming framework for multi-objective optimal micro-grid operation Applied Energy · Elsevier BV · 2012 10.1016/j.apenergy.2012.04.017
  3. Optimal Expansion Planning of Energy Hub With Multiple Energy Infrastructures IEEE Transactions on Smart Grid · Institute of Electrical and Electronics Engineers · 2015 10.1109/tsg.2015.2390640
  4. PEV Charging Profile Prediction and Analysis Based on Vehicle Usage Data IEEE Transactions on Smart Grid · Institute of Electrical and Electronics Engineers · 2011 10.1109/tsg.2011.2162009
  5. Renewable energy today and tomorrow Proceedings of the IEEE · Institute of Electrical and Electronics Engineers · 2001 10.1109/5.940290
  6. Optimized Resource Management for PV–Fuel-Cell-Based Microgrids Using Load Characterizations IEEE Transactions on Industry Applications · Institute of Electrical and Electronics Engineers · 2015 10.1109/tia.2015.2499287
  7. Multi-objective operation optimization and evaluation model for CCHP and renewable energy based hybrid energy system driven by distributed energy resources in China Energy · Elsevier BV · 2016 10.1016/j.energy.2016.05.085
  8. Vehicle-to-grid feasibility: A techno-economic analysis of EV-based energy storage Applied Energy · Elsevier BV · 2017 10.1016/j.apenergy.2017.01.102
  9. Energy hub: From a model to a concept – A review Renewable and Sustainable Energy Reviews · Elsevier BV · 2017 10.1016/j.rser.2017.07.030
  10. Robust optimization of micro-grids operation problem in the presence of electric vehicles Sustainable Cities and Society · Elsevier BV · 2017 10.1016/j.scs.2017.11.039
  11. Optimal bidding strategy for an energy hub in energy market Energy · Elsevier BV · 2018 10.1016/j.energy.2018.01.174
  12. A scenario-based optimization of Smart Energy Hub operation in a stochastic environment using conditional-value-at-risk Sustainable Cities and Society · Elsevier BV · 2018 10.1016/j.scs.2018.01.045
  13. Participation of an Energy Hub in Electricity and Heat Distribution Markets: An MPEC Approach IEEE Transactions on Smart Grid · Institute of Electrical and Electronics Engineers · 2018 10.1109/tsg.2018.2833279
  14. The impact of electric vehicle penetration and charging patterns on the management of energy hub – A multi-agent system simulation Applied Energy · Elsevier BV · 2018 10.1016/j.apenergy.2018.08.083
  15. Optimal Decision-Making Strategy of an Electric Vehicle Aggregator in Short-Term Electricity Markets Energies · Multidisciplinary Digital Publishing Institute · 2018 10.3390/en11092413
  16. A CVaR-robust-based multi-objective optimization model and three-stage solution algorithm for a virtual power plant considering uncertainties and carbon emission allowances International Journal of Electrical Power & Energy Systems · Elsevier BV · 2019 10.1016/j.ijepes.2018.12.012
  17. Optimal Recourse Strategy for Battery Swapping Stations Considering Electric Vehicle Uncertainty IEEE Transactions on Intelligent Transportation Systems · Institute of Electrical and Electronics Engineers · 2019 10.1109/tits.2019.2905898
  18. RETRACTED: Risk-based stochastic scheduling of energy hub system in the presence of heating network and thermal energy management Applied Thermal Engineering · Elsevier BV · 2019 10.1016/j.applthermaleng.2019.113825
  19. The energy hub: An extensive survey on the state-of-the-art Applied Thermal Engineering · Elsevier BV · 2019 10.1016/j.applthermaleng.2019.114071
  20. A robust optimization approach for optimal load dispatch of community energy hub Applied Energy · Elsevier BV · 2019 10.1016/j.apenergy.2019.114195
  21. Optimal operation of energy hub system using hybrid stochastic-interval optimization approach Sustainable Cities and Society · Elsevier BV · 2019 10.1016/j.scs.2019.101998
  22. Toward Small Scale Renewable Energy Hub-Based Hybrid Fuel Stations: Appraising Structure and Scheduling IEEE Transactions on Transportation Electrification · Institute of Electrical and Electronics Engineers · 2020 10.1109/tte.2020.2972382
  23. Data-driven uncertainty analysis of distribution networks including photovoltaic generation International Journal of Electrical Power & Energy Systems · Elsevier BV · 2020 10.1016/j.ijepes.2020.106043
  24. Optimal planning of <scp>multi‐energy</scp> microgrid with different energy storages and demand responsive loads utilizing a <scp>technical‐economic‐environmental</scp> programming International Journal of Energy Research · Wiley · 2020 10.1002/er.6286
  25. Stochastic optimal operation of a microgrid based on energy hub including a solar-powered compressed air energy storage system and an ice storage conditioner Journal of Energy Storage · Elsevier BV · 2020 10.1016/j.est.2020.102089
  26. Adjustable robust optimization approach for two-stage operation of energy hub-based microgrids Energy · Elsevier BV · 2021 10.1016/j.energy.2021.119894
  27. Robust multi-objective thermal and electrical energy hub management integrating hybrid battery-compressed air energy storage systems and plug-in-electric-vehicle-based demand response Journal of Energy Storage · Elsevier BV · 2021 10.1016/j.est.2021.102265
  28. Robust scenario-based concept for stochastic energy management of an energy hub contains intelligent parking lot considering convexity principle of CHP nonlinear model with triple operational zones Sustainable Cities and Society · Elsevier BV · 2021 10.1016/j.scs.2021.102795
  29. Two-stage optimal operation of integrated energy system considering multiple uncertainties and integrated demand response Energy · Elsevier BV · 2021 10.1016/j.energy.2021.120256
  30. Can regional trade integration facilitate renewable energy transition to ensure energy sustainability in South Asia? Energy Reports · Elsevier BV · 2021 10.1016/j.egyr.2021.01.038
  31. Look-ahead risk-constrained scheduling for an energy hub integrated with renewable energy Applied Energy · Elsevier BV · 2021 10.1016/j.apenergy.2021.117109
  32. Optimal bidding and scheduling of AA-CAES based energy hub considering cascaded consumption of heat Energy · Elsevier BV · 2021 10.1016/j.energy.2021.121133
  33. Four-Objective Optimal Scheduling of Energy Hub Using a Novel Energy Storage, Considering Reliability and Risk Indices Journal of Energy Storage · Elsevier BV · 2021 10.1016/j.est.2021.102731
  34. Probabilistic correlation of renewable energies within energy hubs for cooperative games in integrated energy markets Electric Power Systems Research · Elsevier BV · 2021 10.1016/j.epsr.2021.107397
  35. Parametric study of a horizontal axis wind turbine with similar characteristics to those of the Villonaco wind power plant Journal of Applied Research in Technology & Engineering · Technical University of Valencia · 2021 10.4995/jarte.2021.15056
  36. Electric Vehicle Charging Management Based on Deep Reinforcement Learning Journal of Modern Power Systems and Clean Energy · Springer Nature · 2022 10.35833/mpce.2020.000460
  37. A CVaR-Robust-Based Multi-Objective Optimization Model for Energy Hub Considering Uncertainty and E-Fuel Energy Storage in Energy and Reserve Markets IEEE Access · Institute of Electrical and Electronics Engineers · 2021 10.1109/access.2021.3100336