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

Planning and Operation of an Interconnected Energy and Gas System: A Robust Optimization Approach

간접 관련 수소연료전지 · (7) MEA(막전극접합체) (5) 연료전지용 수분제어장치(가습기)(6) PEM(고분자전해질막)

기본 정보

저자
  1. Sulaiman S. Ahmad — Electrical Engineering Department, Engineering College, King Fahd University of Petroleum and Minerals, Dhahran, Saudi Arabia
  2. Abdullah A. Almehizia — Future Energy Technologies Institute, King Abdulaziz City for Science and Technology, Riyadh, Saudi Arabia
  3. Muhammad Khalid — Electrical Engineering Department, Engineering College, King Fahd University of Petroleum and Minerals, Dhahran, Saudi Arabia
  4. Fahad Saleh Al–Ismail — Electrical Engineering Department, Engineering College, King Fahd University of Petroleum and Minerals, Dhahran, Saudi Arabia
DOI
10.1109/access.2024.3488964
저널
IEEE Access
발행년도
2024
발행기관
Institute of Electrical and Electronics Engineers
피인용수
5
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1109/access.2024.3488964
토픽
Hybrid Renewable Energy Systems
OpenAlex ID
W4403977016

평가 내용

관련도
간접 관련
사업분야
수소연료전지 · (7) MEA(막전극접합체)
부 분야
(5) 연료전지용 수분제어장치(가습기), (6) PEM(고분자전해질막)
R&D 측면
분석·모델링
확신도
0.80
근거 용어
Fuel cell, hydrogen storage, power-to-gas, hydrogen to electricity conversion, PEMFC
판단 근거
논문은 수소 저장, P2G, 연료전지(FC)를 포함한 통합 에너지 시스템의 최적 운영 및 계획을 위한 수학적 모델링(ARO)을 다루고 있습니다. 이는 코오롱인더스트리의 수소연료전지(PEMFC) 및 관련 구성 요소의 시스템적 운용 및 최적화 연구에 간접적인 시사점을 줄 수 있습니다.
R&D 활용 포인트
연료전지 시스템(MEA, 막가습기 등)이 포함된 에너지 허브의 최적 용량 설계 및 수소 기반 에너지 저장 시스템의 운영 효율화 모델링에 활용 가능합니다.
평가 입력
본문 81,951자 중 30,032자 발췌

초록

The contemporary energy sector has witnessed a notable surge in integrating renewable energy sources (RESs) within energy hubs (EHs). The intermittent characteristics inherent to RESs present a consequential challenge, notably compromising the operational flexibility of EHs. This paper proposes a two-stage adaptive robust optimization (ARO)-based interconnected energy and gas system (IPGS) with optimally sized and allocated components and energy hubs (EHs). The IPGS components and EHs are optimally sized and allocated in the first stage for optimal performance before the uncertainty realization while minimizing the investment costs. The model’s second stage incorporates optimizing operations and managing RES output uncertainty. In the second stage, the RES output uncertainty is maximized after realization while minimizing operation cost. The integration of battery energy storage systems (BESSs), thermal energy storage systems (TESSs), hydrogen storage (HSs), power-to-gas (P2G), and gas-to-power (G2P) technologies collectively serve as flexible resources that also handle uncertainty. The IPGS also incorporates a carbon capture system (CCS) to support the decarbonization of power systems. To further minimize operation costs, methane is synthesized and sold, and fuel cells are added to convert hydrogen to electricity sold to the grid. A column and constraint generation (CC&G) algorithm decomposes the ARO model using the duality theory and dual cuts. The ARO model minimizes the investment and operation costs under the worst-case realization of the uncertainties, namely, PV output, electricity demand, heat demand, and electricity and gas prices. Simulation results have demonstrated the effectiveness of the proposed method through reduced energy consumption from the grid and increased RES penetration while handling RES output intermittency. The ARO model eliminated load shedding from 31.5 MW for IEEE 24-bus and 60.3 MW for IEEE 118-bus to zero.

본문 81,951자

본문 펼치기
Received 14 October 2024, accepted 27 October 2024, date of publication 1 November 2024, date of current version 22 November 2024. _Digital Object Identifier 10.1109/ACCESS.2024.3488964_ # Planning and Operation of an Interconnected Energy and Gas System: A Robust Optimization Approach SULAIMAN S. AHMAD 1, (Member, IEEE), ABDULLAH A. ALMEHIZIA <sup>2</sup>, (Senior Member, IEEE), MUHAMMAD KHALID 1,3, (Senior Member, IEEE), AND FAHAD SALEH AL-ISMAIL 1,3, (Senior Member, IEEE) 1Electrical Engineering Department, Engineering College, King Fahd University of Petroleum and Minerals, Dhahran 31261, Saudi Arabia 2Future Energy Technologies Institute, King Abdulaziz City for Science and Technology, Riyadh 12354, Saudi Arabia 3Interdisciplinary Research Center for Sustainable Energy Systems, King Fahd University of Petroleum and Minerals (KFUPM), Dhahran 31261, Saudi Arabia Corresponding author: Sulaiman S. Ahmad (g201705090@kfupm.edu.sa) This work was supported in part by the Interdisciplinary Research Center for Sustainable Energy Systems (IRC-SES) at the King Fahd University of Petroleum and Minerals (KFUPM) under Project INRE2411; and in part by the Renewable Energy Technical Incubator (RETI), funded by the National Industrial Development and Logistics Program (NIDLP) through IRC-SES at KFUPM, under Project CREP2522. ABSTRACT The contemporary energy sector has witnessed a notable surge in integrating renewable energy sources (RESs) within energy hubs (EHs). The intermittent characteristics inherent to RESs present a consequential challenge, notably compromising the operational flexibility of EHs. This paper proposes a two-stage adaptive robust optimization (ARO)-based interconnected energy and gas system (IPGS) with optimally sized and allocated components and energy hubs (EHs). The IPGS components and EHs are optimally sized and allocated in the first stage for optimal performance before the uncertainty realization while minimizing the investment costs. The model’s second stage incorporates optimizing operations and managing RES output uncertainty. In the second stage, the RES output uncertainty is maximized after realization while minimizing operation cost. The integration of battery energy storage systems (BESSs), thermal energy storage systems (TESSs), hydrogen storage (HSs), power-to-gas (P2G), and gas-to-power (G2P) technologies collectively serve as flexible resources that also handle uncertainty. The IPGS also incorporates a carbon capture system (CCS) to support the decarbonization of power systems. To further minimize operation costs, methane is synthesized and sold, and fuel cells are added to convert hydrogen to electricity sold to the grid. A column and constraint generation (CC&G) algorithm decomposes the ARO model using the duality theory and dual cuts. The ARO model minimizes the investment and operation costs under the worst-case realization of the uncertainties, namely, PV output, electricity demand, heat demand, and electricity and gas prices. Simulation results have demonstrated the effectiveness of the proposed method through reduced energy consumption from the grid and increased RES penetration while handling RES output intermittency. The ARO model eliminated load shedding from 31.5 MW for IEEE 24-bus and 60.3 MW for IEEE 118-bus to zero. INDEX TERMS Energy hub, adaptive robust optimization, multi-energy system, uncertainty, renewable energy sources, electricity-gas network. The associate editor coordinating the review of this manuscript and approving it for publication was Xiaodong Liang . NOMENCLATURE _Indices_ _i, j_ Electric bus indices. 2024 The Authors This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4 0 License _i, j, k_ Gas nodes indices. _t_ Time index. _Ct_ <sup>_H_</sup> <sup>2</sup> <sup>_,FC_</sup> _Ct_ <sup>_H_</sup> <sup>2</sup> <sup>_,FC_</sup> Hydrogen compressed to FC. _Ct_ <sup>_H_</sup> <sup>2</sup> <sup>_,L_</sup> Hydrogen compressed to HS. _Ct_ <sup>_H_</sup> <sup>2</sup> <sup>_,L_</sup> Hydrogen compressed to HS. _E_ <sup>_B_</sup> Optimal energy capacity of the BESS. _Parameters_ _βi_ <sup>_cons_</sup> _,j_ <sup>_CH_</sup> _i,t_ <sup>4</sup> Methane gas synthesized. _G_ _βi_ <sup>_cons_</sup> _,j_ Fuel consumption constant of the natural gas compressor at gas pipeline _i, j_ . _η_ <sup>_B,ch_</sup> Charging efficiency of the BESS. _η_ <sup>_B,dis_</sup> Discharging efficiency of the BESS. _η_ <sup>_CCS_</sup> Efficiency of the CCS. _η_ <sup>_C_</sup> Compressor efficiency. _η_ <sup>_FC_</sup> FC efficiency. _η_ <sup>_H_</sup> <sup>_,CHP_</sup> Heat production efficiency of the CHP. _η_ <sup>_HS_</sup> Efficiency of HS. _η_ <sup>_P,CHP_</sup> Electric power production efficiency of the CHP. _η_ <sup>_TS,ch_</sup> Charging efficiency of the TESS. _η_ <sup>_TS,dis_</sup> Discharging efficiency of the TESS. _λ_ ˆ <sup>_gas_</sup> _t_ Deviation of the gas price from the forecast mean value at time _t_ . _H_ ˆ _t_ <sup>_L_</sup> Deviation of the heat demand from the forecast mean value at time _t_ . _P_ ˆ <sup>_L_</sup> _t_ Deviation of the electricity demand PV output from the forecast mean value at time _t_ . _P_ ˆ <sup>_PV_</sup> _t_ Deviation of the PV output from the forecast mean value at time _t_ . _λ_ <sup>_BSOC_</sup> _, λ_ <sup>_B_</sup> Weighting factors for BESS degradation. _λ_ <sup>_gas_</sup> _t_ Gas price at time _t_ . _CCSCO_ 2 _Gi,t_ Carbon captured by the CCS. _G_ <sup>_CH_</sup> _i,t_ <sup>4</sup> Methane gas synthesized. _P_ <sup>_B_</sup> _t_ <sup>_,ch_</sup> Charging power of BESS at time _t_ . _P_ <sup>_B_</sup> _t_ <sup>_,dis_</sup> Discharging power of BESS at time _P_ <sup>_B_</sup> _t_ <sup>_,dis_</sup> Discharging power of BESS at time _t_ . _P_ <sup>_ELEC_</sup> _t_ Power consumed by the electrolyzer _CSCO_ 2 _,IN_ _i,t_ Carbon sent to the CS. _G_ _G_ _G_ _G_ _CSCO_ 2 _,OUT_ _i,t_ Carbon taken out of the CS. _CSCO_ 2 _i,t_ State of charge of CS. _ECO_ 2 _i,t_ Carbon emitted by the fossil-fuel generator. _ELECH_ 2 _Gi,t_ Hydrogen produced by electrolyzer at time _t_ . _G_ <sup>_G_</sup> _i,t_ <sup>_,EH_</sup> Natural gas output to the EH at gas node _k_ . _G_ _G_ <sup>_G_</sup> _i,t_ <sup>_,EH_</sup> Natural gas output to the EH at gas node _k_ . _G_ <sup>_G_</sup> _i,t_ <sup>_,IN_</sup> Natural gas input from gas well at gas node <sup>_G_</sup> _i,t_ <sup>_,IN_</sup> Natural gas input from gas well at gas node _k_ . _MCO_ 2 _Gi,t_ Carbon sent to the MSC. _Hi_ <sup>_CHP_</sup> _,t_ Heat generated by the CHP. _G_ _Hi_ <sup>_CHP_</sup> _,t_ Heat generated by the CHP. _Ht_ <sup>_ch_</sup> TESS charging at time _t_ . _Ht_ <sup>_ch_</sup> TESS charging at time _t_ . _Ht_ <sup>_dis_</sup> TESS charging at time _t_ . _Hi_ <sup>_GB_</sup> _,t_ Heat generated by the GB. _Hi_ <sup>_GB_</sup> _,t_ Heat generated by the GB. _HSt_ Hydrogen stored in HS at time _t_ . _i_ <sup>_ch_</sup> _t_ Binary variable for the TESS _i_ <sup>_ch_</sup> _t_ Binary variable for the TESS charging status. _P_ <sup>_CHP_</sup> _i,t_ Power generated by the CHP. _P_ <sup>_CHP_</sup> _i,t_ Power generated by the CHP. _P_ <sup>_B_</sup> _t_ <sup>_,ch_</sup> Charging power of BESS at time _λ_ <sup>_gas_</sup> _t_ Gas price at time _t_ . _λ_ <sup>_grid_</sup> _t_ Electricity price at time _λ_ <sup>_grid_</sup> _t_ Electricity price at time _t_ . _λ_ <sup>_shed_</sup> _t_ Penalty for load shedding. _λ_ <sup>_shed_</sup> _t_ Penalty for load shedding. _µ_ <sup>_HS_</sup> Hydrogen loss coefficient of HS. Cap <sup>_c_</sup> Cost per unit of component _C_ . HHV <sup>_h_</sup> Higher heating value of hydrogen. _Cfi,j_ Compressor constant at gas pipeline _i, j_ . _Eg_ <sup>_CO_</sup> <sup>2</sup> Emission intensity of fossil-fuel generators. _Emx_ <sup>_B_</sup> Maximum capacity of one BESS unit. _P_ <sup>_ELEC_</sup> _t_ Power consumed by the electrolyzer at time _t_ . _P_ <sup>_FC_</sup> _t_ Power produced by FC at time _t_ . _Q_ <sup>_H_</sup> _t_ <sup>2</sup> <sup>_,L_</sup> Produced hydrogen that goes to _Ct_ <sup>_H_</sup> <sup>2</sup> <sup>_,L_</sup> . _Q_ <sup>_H_</sup> _t_ <sup>2</sup> Hydrogen produced by the electrolyzer at time _t_ . _Qi,t_ Gas pressure at gas node _m_ . _u_ <sup>_B_</sup> _t_ <sup>_,ch_</sup> Binary variable for the BESS charging _P_ <sup>_FC_</sup> _t_ Power produced by FC at time _t_ . _P_ <sup>_grid_</sup> _t_ Power taken from the grid at time _P_ <sup>_grid_</sup> _t_ Power taken from the grid at time _t_ . _Q_ <sup>_H_</sup> _t_ <sup>2</sup> <sup>_,FC_</sup> Produced hydrogen that goes to _Ct_ <sup>_H_</sup> <sup>_H_</sup> _t_ <sup>2</sup> <sup>_,FC_</sup> Produced hydrogen that goes to _Ct_ <sup>_H_</sup> <sup>2</sup> <sup>_,FC_</sup> _Q_ <sup>_H_</sup> _t_ <sup>2</sup> <sup>_,FC_</sup> Produced hydrogen that goes to _Ct_ <sup>_H_</sup> <sup>2</sup> <sup>_,FC_</sup> . _Q_ <sup>_H_</sup> _t_ <sup>2</sup> <sup>_,L_</sup> Produced hydrogen that goes to _Ct_ <sup>_H_</sup> <sup>2</sup> <sup>_,L_</sup> . <sup>_H_</sup> _t_ <sup>2</sup> <sup>_,L_</sup> Produced hydrogen that goes to _Ct_ <sup>_H_</sup> <sup>2</sup> <sup>_,L_</sup> _Emx_ <sup>_B_</sup> Maximum capacity of one BESS unit. _fPV_ _,t_ PV power output forecast. _G_ <sup>_max_</sup> _i,j_ The capacity of gas pipeline _i, j_ . <sup>_B_</sup> _t_ <sup>_,ch_</sup> Binary variable for the BESS charging status. _G_ <sup>_max_</sup> _i,j_ The capacity of gas pipeline _i, j_ . _Ht_ <sup>_L_</sup> Heat demand at time _t_ . _Ht_ <sup>_L_</sup> Heat demand at time _t_ . _p_ <sup>_shed_</sup> _i,t_ Sheddable load at bus _i_ _p_ <sup>_shed_</sup> _i,t_ Sheddable load at bus _i_ in time _t_ . _P_ <sup>_max_</sup> _ij_ Capacity of the line between bus _i_ _P_ <sup>_max_</sup> _ij_ Capacity of the line between bus _i, j_ . _Q_ <sup>_min_</sup> _k_ _, Q_ <sup>_max_</sup> _k_ Minimum and maximum pressure <sup>_min_</sup> _k_ _, Q_ <sup>_max_</sup> _k_ _Q_ <sup>_min_</sup> _k_ _, Q_ <sup>_max_</sup> _k_ Minimum and maximum pressure at gas node _k_ . _r_ <sup>_h,CHP_</sup> Coefficient of CHP heat produced. _r_ <sup>_p,CHP_</sup> Coefficient of electric power produced by the CHP. _R_ <sup>_up_</sup> _g_ <sup>_, R_</sup> _g_ <sup>_up_</sup> Ramp-upd/Ramp-down limit of generator _g_ . _Wi,j_ Weymouth constant of gas pipeline _i, j_ . _yij_ Admittance between bus _i, j_ . I. INTRODUCTION The world has concluded that present energy systems should pursue both low-carbon and economic development modes. This is because energy supplies are running out, and environmental issues are becoming more critical [1]. More than 132 nations have committed to being carbon neutral by the middle of the twenty-first century [2]. This paves the way for increased utilization of integrated energy systems (IES) such as renewable energy sources(RESs) [3]. Highly effective IESs such as combined heat and power (CHP) units have been massively adopted by energy hubs (EHs) [4]. An EH typically comprises several energy carriers that allow energy <sup>_up_</sup> _g_ <sup>_, R_</sup> _g_ <sup>_up_</sup> _Variables_ SOC <sup>_TS_</sup> _t_ SOC <sup>_TS_</sup> _t_ State of charge of TESS at time _t_ . SOC <sup>_B_</sup> _t_ State of charge of the BESS at time <sup>_B_</sup> _t_ State of charge of the BESS at time _t_ . to be imported, exported, converted, and stored [5], [6]. EHs have a significant impact on helping with the transition to a low-carbon economy [7]. Due to internal technology that effectively transforms input energy into appropriate types of energy to fulfill load needs, EHs can increase the operational efficiency of the energy system [8]. Several research studies have been conducted on the optimal planning and operation of EHs. For the capacity planning of an EH, the authors of [9] suggested a two-stage robust stochastic programming approach. The model’s uncertainties were modeled by a data-driven robust stochastic programming (SP) (DR-SP). Under the worst-case distribution restrictions in the ambiguous set, the study’s goal is to minimize the total construction cost and the anticipated life cycle running cost. Nonlinearity in the model was solved using an outer approximation (OA) algorithm. In [10], a hierarchical technique for optimizing the sizes of EH components and the location of EHs is proposed. Demand and RES uncertainties were handled by a two-stage SP. The authors of [11] proposed an innovative shared energy storage framework considered an EH that incorporates hydrogen trading and is designed for application in residential, industrial, and commercial Renewable Integrated Energy Systems (RIES) structures. The energy-sharing method is structured as a leader-follower framework, with a hierarchical optimal scheduling method developed based on the Stackelberg game relationship. Fuel cell (FC) is also an essential component of EHs that perform hydrogen to electricity conversion. In [12], health management for Proton Exchange Membrane Fuel Cells (PEMFC) is proposed to optimize long-term operation. The model maintains high performance while decelerating degradation, particularly concerning platinum catalysts’ electrochemical active surface area (ECSA). Some journal articles in the literature delve into innovative approaches for managing uncertainty and optimizing operational costs within energy hubs. Reference [13] formulated a multi-modal ambiguity set to accurately reflect the stochastic properties of PV multi-modality using distributionally robust optimization (DRO) solved by a constraint generation (CG) algorithm. The authors of [14] proposed a robust chanceconstrained (RCC) optimization model for managing an EH’s operations optimally in the presence of electrical, heating, and cooling needs and renewable energy production. In [15], DRO and the Stackelberg game are combined to present a low-carbon operating technique for an EH. The uncertainty in EH’s RES generation is managed using a DRO model based on Kullback-Leibler divergence (KL-DRO). To mitigate uncertainty in power systems operations, SP or robust optimization (RO) is appropriately used to model the decision-making process [16]. In contrast to SP, which has probabilistic information, RO assumes that the decision-maker has little knowledge of the underlying uncertainty, apart from its upper and lower limits, and aims to identify an optimal solution that addresses the worst-case scenario within a meticulously defined uncertainty set [17]. Adaptive robust optimization (ARO) is an RO model that consists of multiple stages that adapt to mitigate the effects of uncertainty once it is realized. In [18], a multistage ARO model is formulated to handle hydro flow uncertainty for the hydrothermal scheduling problem. The authors of [19] proposed a two-stage adaptive robust optimization for pre-disturbance scheduling in microgrids to address uncertainties related to power market pricing, renewable production, demand projections, and islanding occurrences that reduces operating expenses and mitigates the risk of failures during islanding occurrences. An ARO-base UC model using wind power is formulated in [20] for addressing composite flexibility constraints, ensuring the availability of node flexible resources, and enhancing the composite flexibility of the power system. Effective coordination among energy hubs is paramount as it is pivotal in enhancing overall operational efficiency and unlocking synergistic benefits within complex energy systems. Several articles have demonstrated this. The authors of [21] proposed a new distributed optimization algorithm, Nesterov-Proximal Atomic Coordination (NST-PAC), for the coordination of EHs while maintaining the privacy of the exchange of information between the hubs. To coordinate energy sharing among EHs and prosumers, the authors of [22] proposed a bi-level energy sharing (BES) algorithm to integrate contract theory and consensus algorithm. The authors of [23] proposed a scheduling method for coordinating transmission network and distribution EHs. DRO is used to handle independent uncertainties of the EHs solved by an accelerated augmented Lagrangian (AAL) algorithm. Optimal allocation of EH components is not given much attention in the reviewed literature. Carbon emission reduction through a carbon capture system (CCS) is not included in most of the literature reviewed above. Most of the reviewed literature did not consider the fading effect of the battery energy storage system (BESS). Neglecting the BESS degradation reduces the optimality of power systems [23]. There is also a gap in the integration of essential elements such as BESSs [24], [25], [26], thermal storage systems (TESSs), power-to-gas (P2G), gas-to-power (G2P), hydrogen storage (HS) as sources of flexibility in the EHs. The combination of these diverse and interconnected flexible resources can effectively manage and mitigate uncertainties. Bridging this gap is paramount for advancing the theoretical foundation and practical implementation of EHs that operate efficiently and robustly within dynamic energy landscapes. These gaps have been shown in Table 1. This paper proposes a two-stage ARO-based interconnected power and gas system (IPGS) with EHs and other IPGS components optimally sized and allocated among the buses to address the identified gaps. In the first stage, the IPGS and EH components are optimally sized and allocated among the buses and nodes of the IPGN to eliminate overproduction/underproduction and reduce investment and operation costs. While the optimal operation and uncertainty handling are modeled in the second stage. The model combines BESSs, TESSs, hydrogen P2G, G2P, and HSs plants as flexible resources to increase the flexibility of the IPGS. The increased flexibility helps in peak shaving and handling fluctuations in energy supply, which supports increased RES integration and reduced operation costs. To further support sustainability, the carbon emitted by the generating units is captured using CCS to synthesize methane gas sold for revenue. Uncertainties are handled using ARO. The ARO model minimizes the investment and operation costs of the EH under the worst-case realization of the uncertainties, namely, PV output, electricity demand, heat demand, and electricity and gas prices. This further increases the flexibility of the EH because it is robust to sudden variations due to uncertainties. The contributions of this paper are as follows: 1) Deterministic and non-deterministic models are formulated for the optimal sizing and allocation of the EH and IPGS components. The model minimizes the overall investment and operation cost. To support sustainability, carbon emission is captured by the CCS and converted to methane, which also decreases the cost of operation. 2) To improve flexibility to variations in PV, periods of high demand, and unforeseen disruptions, the proposed model employs flexible resources, including BESSs, TESSs, hydrogen P2G, G2P, and HSs. The BESSs and TESSs also help decrease operation costs by effectively storing more energy during low electricity and gas prices, respectively. BESS degradation is included in the model to increase optimality. 3) The non-deterministic model is formulated as a two-stage ARO model. The optimal sizing and allocation of the EH and IPGS components among the nodes of the IPGS are determined in the first stage. In the second stage, the operation cost of the EH is minimized under the worst-case realization of the uncertainty set. Electricity prices, gas prices, RES output, electricity demand, heat demand, and hydrogen demand uncertainties are included in the ARO model. The robustness of the ARO is adjustable by varying the uncertainty budget. 4) The two-stage ARO model is decomposed using a C&CG-based algorithm. Duality theory and dual cuts are employed to decompose the ARO model. The big-M method is used to linearize the bilinear secondstage terms. The decomposition method can identify the global optimum with a manageable computational effort. The rest of the paper is structured as follows. The deterministic model is formulated in Section II. The proposed ARO model is formulated in Section III. Simulation results are shown in Section IV, and Section V concludes the paper. II. DETERMINISTIC MODEL FORMULATION This section shows the formulation of the IPGS deterministic model in detail. The proposed model minimizes the overall investment and operation costs of the IPGS and EH components. The components of the proposed IPGS are illustrated in FIGURE 1. The IPGS components. FIGURE 2. The energy hub structure. Figure 1. The IPGS comprises energy exchange with the grid electricity demand, heat demand, hydrogen demand, CCS, and methane synthesis. Figure 1 shows what a typical bus of the IPGS could consist of. The EH can supply power to the bus or take power from the bus during BESS charging. The generating unit and solar PV supply power to the bus, the electrolyzer and electricity load take power from the bus, and the FC converts excess hydrogen to the grid through the bus. The EH comprises the CHP, TESS, gas boiler (GB), and BESSs, as shown in Figure 2. The EH takes power from the grid through the bus for charging the BESS. The EH supplies power to the bus from CHP and BESS outputs, as shown in Figure 2. The CHP and boiler convert natural gas to heat and send it to the TESS. The CHP, GB, and TESS outputs supply heat to the heat demand. The flexible resources used for the IPGS are BESSs, TESSs, HSs, and P2G/G2P through electrolyzer and FC. The aim is to make the IPGS highly flexible to variations from the uncertainties while minimizing investment and operation costs. The BESS [29], [30] and TESS store more energy during periods of low energy prices. The stored energy is discharged during periods of high energy prices, effectively reducing the cost of operation. Furthermore, to support the sustainability of power systems, the carbon emitted from the generating units is captured using CCS and combined with hydrogen produced by the electrolyzer to synthesize methane gas. Also, excess TABLE 1. Comparison of some previous articles. hydrogen stored in the HS is converted to electricity via fuel cells and sold to the grid. BESS degradation is included in the model to increase optimality. _A._ _OBJECTIVE FUNCTION_ The objective function of the deterministic model is given by (1). In (1), the investment (IC) and operation cost (OC) are minimized for the whole planning horizon. The first term is the investment cost of each component, which is defined in (2) [31]. Where _n_ <sup>_c_</sup> _i_ <sup>determines</sup> <sup>the</sup> <sup>components’</sup> <sup>optimal</sup> size and location. The OC is defined in (3). _c_ ∈ _�_ Min _c,p_ ∈ _�p_ <sup>(IC + OC)</sup> (1) where, _c_ IC = _i_ _C_ <sup>_c_</sup> _n_ <sup>_c_</sup> _i_ ∀ _c_ ∈ _�c_ _C_ <sup>_c_</sup> _n_ <sup>_c_</sup> _i_ The first sum in (3) is the operation costs of the generating units and load shedding penalty, the second sum is the cost of buying natural gas from gas wells, the third sum is the revenue from selling methane gas, the fourth sum is the last models the BESS degradation by penalizing the state of charge (SOC) of the BESS [32]. To reduce the BESS degradation, the SOC is minimized at each hour _t_ as much as possible to reduce the charging/discharging cycle, reducing the BESS degradation. _B._ _CONSTRAINTS_ 1) IPGS CONSTRAINTS The IPGS energy balance ensures that all the energy demands are met. The power balance is defined in (4). The natural gas flow balance is defined (5). The convexified AC optimal power flow using second-order cone programming is modeled in (6)-(10) as proposed in [33]. Where _hi,t_ = || _vi,t_ || <sup>2</sup> . The upper and lower bound of the generating units are defined in (11). The upward and downward rampings of the generating units are defined in (12) and (13) respectively. _i,t_ _i,t_ _i,t_ _i,t_ ∀ _t_ ∈ _T_ _,_ ∀ _i_ ∈ _Ni_ (4) and, _�C_ = _C_ (2) _C_ = {BESS, TESS, CHP, HS, PV, FC, ELEC, GB, CSS, CCS} _Pg,t_ + _P_ <sup>_B_</sup> _i,t_ <sup>_,dis_</sup> <sup>_B_</sup> _i,t_ <sup>_,dis_</sup> + _P_ <sup>_CHP_</sup> _i,t_ <sup>_CHP_</sup> _i,t_ + _P_ <sup>_FC_</sup> _i,t_ <sup>_FC_</sup> _i,t_ <sup>−</sup> <sup>_PB_</sup> _i,t_ <sup>_,ch_</sup> <sup>_B_</sup> _i,t_ <sup>_,ch_</sup> - _P_ <sup>_ELEC_</sup> _i,t_ _i,t_ _i,t_ _i,t_ _i,t_ = _P_ <sup>_Load_</sup> _i,t_ (1 − _p_ <sup>_shed_</sup> _i,t_ ) − Cap <sup>_PV_</sup> _fi_ <sup>_PV_</sup> _,t_ + _P_ <sup>_CCS_</sup> _i,t_ <sup>_shed_</sup> _i,t_ ) − Cap <sup>_PV_</sup> _fi_ <sup>_PV_</sup> _,t_ <sup>_Load_</sup> _i,t_ (1 − _p_ <sup>_shed_</sup> _i,t_ _i_ <sup>_PV_</sup> _,t_ + _P_ <sup>_CCS_</sup> _i,t_ _�p_ = { _P_ <sup>_B_</sup> _t_ <sup>_,dis_</sup> _, P_ <sup>_B_</sup> _t_ <sup>_,ch_</sup> <sup>_CHP_</sup> _i,t_ _, P_ <sup>_FC_</sup> _i,t_ <sup>_B_</sup> _t_ <sup>_,ch_</sup> _, Pg,t_ _, P_ <sup>_CHP_</sup> _i,t_ <sup>_FC_</sup> _i,t_ <sup>_, P_</sup> _i_ <sup>_ELEC_</sup> _,t_ _i_ <sup>_ELEC_</sup> _,t_ _, G_ <sup>_EH_</sup> _i,t_ <sup>_EH_</sup> _i,t_ <sup>_,_</sup> _G_ <sup>_G_</sup> _i,t_ <sup>_,IN_</sup> <sup>_G_</sup> _i,t_ <sup>_,IN_</sup> - _G_ <sup>_G_</sup> _i,t_ <sup>_,EH_</sup> <sup>_G_</sup> _i,t_ <sup>_,EH_</sup> = _p_ ( _i,j_ ) _Hi_ <sup>_CHP_</sup> _,t_ _i_ <sup>_CHP_</sup> _,t_ _, Hi_ <sup>_GB_</sup> _,t_ <sup>_,_</sup> _i_ <sup>_GB_</sup> _,t_ <sup>_, P_</sup> _i_ <sup>_CCS_</sup> _,t_ } _i_ <sup>_CCS_</sup> _,t_ _�c_ and _�p_ are the sets of the components and outputs respectively. _Gi,j,t_ _p_ ( _k,i_ ) _Gk,i,t_ (5) + _p_ ( _i,j_ ) _βi_ <sup>_cons_</sup> _,j_ _Gi,j,t_ _βi_ <sup>_cons_</sup> _,j_ _g_ <sup>2</sup> _g,t_ <sup>+</sup> <sup>_bgPg,t_</sup> <sup>+</sup> <sup>_cg_</sup> <sup>] +</sup> <sup>_λshed_</sup> _t_ <sup>_shed_</sup> _t_ _P_ <sup>_Load_</sup> _i,t_ <sup>_Load_</sup> _i,t_ _p_ <sup>_shed_</sup> _i,t_ _i,t_ <sup>_S_</sup> _i,_ <sup>∗</sup> _t_ <sup>−</sup> <sup>_P_</sup> _i_ <sup>_L_</sup> _,t_ <sup>∗</sup> _i_ <sup>_L_</sup> _,t_ <sup>∗</sup> <sup>=</sup> OC = _t_ [ _agP_ <sup>2</sup> _g,_ _yijwij_ ∀ _t_ ∈ _T_ _,_ ∀ _i_ ∈ _Ni_ (6) _j_ _P_ <sup>_S_</sup> _i,_ <sup>∗</sup> _t_ <sup>_Gas_</sup> _t_ _G_ <sup>_G_</sup> _i,t_ <sup>_,IN_</sup> _i_ _G_ <sup>_CH_</sup> _i,t_ <sup>4</sup> <sup>_λ_</sup> _t_ <sup>_CH_</sup> <sup>4</sup> <sup>_G_</sup> _i,t_ <sup>_,IN_</sup> where, + + - _t_ _k_ - _t_ _i_ _λ_ <sup>_Gas_</sup> _t_ _λ_ <sup>_BSOC_</sup> SOC <sup>2</sup> _i,_ <sup>2</sup> _i,t_ <sup>+</sup> <sup>_λB_</sup> <sup>(SOC</sup> <sup>_B_</sup> _i,_ _t_ <sup>_CHP_</sup> _i,t_ + _P_ <sup>_FC_</sup> _i,t_ <sup>_B_</sup> _i,t_ <sup>_,dis_</sup> + _P_ <sup>_CHP_</sup> _i,t_ <sup>_FC_</sup> _i,t_ <sup>+</sup> <sup>_nPV_</sup> _i,t_ <sup>_PV_</sup> _i,t_ <sup>_f PV_</sup> _i,t_ <sup>_B_</sup> _i,t_ +1 <sup>−</sup> <sup>SOC</sup> _i_ <sup>_B_</sup> _,t_ _P_ <sup>_S_</sup> _i_ _i,t_ _i,t_ _i,t_ <sup>+</sup> <sup>_nPV_</sup> _i,t_ <sup>_f_</sup> _i,t_ _P_ <sup>_L_</sup> _i,t_ <sup>=</sup> <sup>_PB_</sup> _i,t_ <sup>_,ch_</sup> + _P_ <sup>_ELEC_</sup> _i,t_ + _P_ <sup>_Load_</sup> _i,t_ <sup>_S_</sup> _i,t_ <sup>=</sup> <sup>_Pg,t_</sup> <sup>+</sup> <sup>_PB_</sup> _i,t_ <sup>_,dis_</sup> <sup>_L_</sup> _i,t_ <sup>=</sup> <sup>_PB_</sup> _i,t_ <sup>_,ch_</sup> <sup>_B_</sup> _i,t_ <sup>_,ch_</sup> + _P_ <sup>_ELEC_</sup> _i,t_ _i_ <sup>_B_</sup> _,t_ <sup>)2</sup> <sup>_ELEC_</sup> _i,t_ + _P_ <sup>_Load_</sup> _i,t_ (3) _i,t_ _i,t_ _i,t_ _hi,t_ = 1 ∀ _t_ ∈ _T_ _,_ ∀ _i_ ∈ _Ni_ (7) (1 + _θ_ ) <sup>2</sup> ≥ _hi,t_ ≥ (1 − _θ_ ) <sup>2</sup> ∀ _t_ ∈ _T_ _,_ ∀ _i_ ∈ _Ni_ (8) _P_ <sup>_max_</sup> _ij_ _P_ <sup>_max_</sup> _ij_ ≥ ��| _yij_ ( _hi, t_ - _wij,t_ )�� | ∀ _t_ ∈ _T_ _,_ ∀ _ij_ ∈ _NL_ (9) 2 _wij,t_ (10) ���� _hi,t_ - _hj,t_ ���� ≤ _hi,t_ + _hj,t_ ∀ _t_ ∈ _T_ _,_ ∀ _ij_ ∈ _NL_ <sup>_max_</sup> _ij_ ≥ (10) ���� ≤ _hi,t_ + _hj,t_ ∀ _t_ ∈ _T_ _,_ ∀ _ij_ ∈ _NL_ <sup>_g_</sup> _min_ <sup>≤</sup> <sup>_P_</sup> _i_ <sup>_g_</sup> _,_ _P_ <sup>_g_</sup> _i_ <sup>_g_</sup> _,t_ <sup>≤</sup> <sup>_Pg_</sup> _max_ <sup>_g_</sup> <sup>∀</sup> <sup>_t_</sup> <sup>∈</sup> <sup>_T_</sup> <sup>_,_</sup> <sup>∀</sup> <sup>_i_</sup> <sup>∈</sup> <sup>_Ni_</sup> (11) 3) CHP PLANT AND GAS BOILER The CHP produces electrical and thermal energy using gas as a fuel. The CHP and GB obtain their natural gas from gas wells as defined in (26). The GB produces heat energy using natural gas. The heat produced by the GB is bounded by (27). _n_ <sup>_GB_</sup> _k_ is an integer that determines the optimal size and location of the GB on the gas pipeline. _Cap_ <sup>_GB_</sup> is a constant taken as 1 _MW_ . The amount of heat energy stored in the thermal energy storage system (TESS) is defined in (28). The CHP heat output and heat from the TESS balance the thermal demand as defined in (29). The TESS SOC is bounded by the optimal capacity of the TESS as shown in (30). The optimal TESS capacity is bounded in (31). The discharging and charging of the TESS are bounded in (32) and (33), respectively. The maximum ramping of discharging/charging limits are defined in (34) and (35) respectively [9], [23], [34]. The optimal sizing of the TESS is achieved by (30) to (35). _n_ <sup>_TS_</sup> _k_ <sup>_CapTS_</sup> <sup>determines</sup> <sup>the</sup> <sup>optimal</sup> <sup>sizing</sup> <sup>and</sup> <sup>siting</sup> <sup>of</sup> <sup>the</sup> _Pg,t_ - _Pg,t_ −1 ≤ _R_ <sup>_up_</sup> _g_ (12) _Pg,t_ −1 − _Pg_ ≤ _R_ <sup>_dn_</sup> _g_ (13) The optimal gas flow is defined (14)-(18). The Weymouth equation is used to describe the operational state of the natural gas system in (14) [10]. This equation establishes the connection between gas flow via pipelines and gas pressure at different nodes. The gas flow and pressure flow are bounded by (15) and (16) respectively. The direction of natural gas and the natural gas compression ratio limit are defined (17) and (18), respectively. _G_ <sup>2</sup> _i,j,t_ <sup>+ (</sup> <sup>_Wi,jQj,t_</sup> <sup>)2</sup> <sup>≤</sup> <sup>(</sup> <sup>_Wi,jQi,t_</sup> <sup>)2</sup> (14) 0 ≤ _Gi,j,t_ ≤ _G_ <sup>_Max_</sup> _i,j_ (15) TESS among the gas nodes. _n_ <sup>_TS_</sup> _k_ is an integer and _Cap_ <sup>_TS_</sup> is 1 _MWh_ . Constraints (36) to (38) ensure that the CHP produces the required power and heat energy. _n_ <sup>_chp_</sup> _i,k_ <sup>_CapCHP_</sup> <sup>determines</sup> _n_ <sup>_TS_</sup> _k_ <sup>_CapTS_</sup> <sup>determines</sup> <sup>the</sup> <sup>optimal</sup> <sup>sizing</sup> <sup>and</sup> <sup>siting</sup> <sup>of</sup> <sup>the</sup> TESS among the gas nodes. _n_ <sup>_TS_</sup> _k_ is an integer and _Cap_ <sup>_TS_</sup> is 1 <sup>_Min_</sup> _k_ ≤ _Qi,j,t_ ≤ _Q_ <sup>_Max_</sup> _k_ _Q_ <sup>_Min_</sup> _k_ <sup>_Min_</sup> _k_ ≤ _Qi,j,t_ ≤ _Q_ <sup>_Max_</sup> _k_ (16) _Qj,t_ ≤ _Qi,t_ (17) _Qj,t_ ≤ _Cfi,jQi,t_ (18) the required power and heat energy. _n_ <sup>_chp_</sup> _i,k_ <sup>_CapCHP_</sup> <sup>determines</sup> the optimal capacity and allocation of the CHP units. _ni,k_ is an integer that determines the size and allocation of CHP units between IPGS bus _i_ and gas node _k_ . _Cap_ <sup>_CHP_</sup> is 1 _MW_ . _Hi_ <sup>_GB_</sup> _<u>,t</u>_ _η_ <sup>_GB_</sup> _Hi_ <sup>_CHP_</sup> _<u>,t</u>_ _η_ <sup>_H_</sup> <sup>_,CHP_</sup> <sup>+</sup> 2) BATTERY ENERGY STORAGE SYSTEM The upper and lower limits of the BESS discharging and charging are given by (19) and (20), respectively. The optimal sizing and siting of the BESS are determined by the integer _n_ <sup>_B_</sup> _i_ <sup>,</sup> <sup>and</sup> <sup>_PB_</sup> <sup>is</sup> <sup>a</sup> <sup>constant</sup> <sup>taken</sup> <sup>as</sup> <sup>1</sup> <sup>_MW_</sup> <sup>.</sup> <sup>The</sup> <sup>charging</sup> <sup>and</sup> discharging of the BESS at each bus are limited by the optimal BESS power capacity _n_ <sup>_B_</sup> _i_ <sup>_PB_</sup> <sup>.</sup> <sup>The</sup> <sup>SOC</sup> <sup>of</sup> <sup>the</sup> <sup>BESS</sup> <sup>at</sup> <sup>any</sup> _G_ <sup>_EH_</sup> _i,t_ <sup>=</sup> _P_ <sup>_CHP_</sup> _<u>i,t</u>_ _η_ <sup>_P,CHP_</sup> <sup>+</sup> ∀ _t_ ∈ _T_ _,_ ∀ _i_ ∈ _Ni_ (26) _Hi_ <sup>_GB_</sup> _<u>,t</u>_ _k_ <sup>_GB_</sup> <sup>Cap</sup> <sup>_GB_</sup> <sup>∀</sup> <sup>_t_</sup> <sup>∈</sup> <sup>_T_</sup> (27) _η_ <sup>_GB_</sup> _<u>i,t</u>_ <sup>≤</sup> <sup>_n_</sup> _k_ <sup>_GB_</sup> <sup>_TS_</sup> _i,t_ −1 <sup>(1 −</sup> <sup>_µTS_</sup> <sup>)</sup> BESS power capacity _n_ <sup>_B_</sup> _i_ <sup>_PB_</sup> <sup>.</sup> <sup>The</sup> <sup>SOC</sup> <sup>of</sup> <sup>the</sup> <sup>BESS</sup> <sup>at</sup> <sup>any</sup> time _t_ is given by (21). The upper and lower limits of the BESS SOC are defined as (22). The upper bound of the BESS SOC at each bus is limited by the optimal energy capacity of the BESS _n_ <sup>_B_</sup> _i_ <sup>_E_</sup> <sup>_B_</sup> <sup>.</sup> <sup>_E_</sup> <sup>_B_</sup> <sup>is a constant taken as 1</sup> <sup>_MWh_</sup> <sup>. The BESS</sup> _Hi_ <sup>_chp_</sup> _,t_ SOC <sup>_TS_</sup> _i,t_ <sup>_TS_</sup> _i,t_ <sup>= SOC</sup> <sup>_TS_</sup> _i,t_ + _Hi_ <sup>_ch_</sup> _,t_ <sup>_ηTS,ch_</sup> _Hi_ <sup>_dis_</sup> _<u>,t</u>_ _η_ <sup>_TS,dis_</sup> <sup>∀</sup> <sup>_t_</sup> <sup>∈</sup> <sup>_T_</sup> (28) the BESS _n_ <sup>_B_</sup> _i_ <sup>_E_</sup> <sup>_B_</sup> <sup>.</sup> <sup>_E_</sup> <sup>_B_</sup> <sup>is a constant taken as 1</sup> <sup>_MWh_</sup> <sup>. The BESS</sup> power and energy capacities are limited by (23). The BESS discharging has an upper-bound defined in (24). Where _u_ <sup>_ch_</sup> _i,t_ is a binary variable that ensures the BESS only discharges or charges at any time _t_ . Similarly, the BESS charging has an upper bound defined in (25). 0 ≤ _Hi_ <sup>_dis_</sup> _,t_ <sup>≤</sup> <sup>Cap</sup> _max_ <sup>_TS_</sup> _max_ <sup>_TS_</sup> <sup>(1 −</sup> <sup>_ich_</sup> _i,t_ _i_ <sup>_GB_</sup> _,t_ <sup>+</sup> <sup>_H_</sup> _i_ <sup>_dis_</sup> _,t_ _i_ <sup>_chp_</sup> _,t_ <sup>+</sup> <sup>_H_</sup> _i_ <sup>_GB_</sup> _,t_ _i_ <sup>_dis_</sup> _,t_ <sup>−</sup> <sup>_H_</sup> _i_ <sup>_ch_</sup> _,t_ _i_ <sup>_ch_</sup> _,t_ <sup>=</sup> <sup>_H_</sup> _i_ <sup>_L_</sup> _,t_ <sup>_TS_</sup> _i,t_ <sup>≤</sup> <sup>_nTS_</sup> _k_ SOC <sup>_TS_</sup> _i,t_ _i_ <sup>_L_</sup> _,t_ <sup>∀</sup> <sup>_t_</sup> <sup>∈</sup> <sup>_T_</sup> (29) <sup>_TS_</sup> _k_ <sup>Cap</sup> <sup>_TS_</sup> <sup>∀</sup> <sup>_t_</sup> <sup>∈</sup> <sup>_T_</sup> (30) <sup>_TS_</sup> _k_ <sup>Cap</sup> <sup>_TS_</sup> <sup>≤</sup> <sup>Cap</sup> _max_ <sup>_TS_</sup> _n_ <sup>_TS_</sup> _k_ _max_ <sup>_TS_</sup> (31) <sup>_ch_</sup> _i,t_ <sup>)</sup> 0 ≤ _P_ <sup>_B_</sup> _i,t_ <sup>_,dis_</sup> ≤ _n_ <sup>_B_</sup> _i_ <sup>_PB_</sup> <sup>∀</sup> <sup>_t_</sup> <sup>∈</sup> <sup>_T_</sup> <sup>_,_</sup> <sup>∀</sup> <sup>_i_</sup> <sup>∈</sup> <sup>_Ni_</sup> (19) ∀ _t_ ∈ _T_ (32) <sup>_ch_</sup> _i,t_ <sup>∀</sup> <sup>_t_</sup> <sup>∈</sup> <sup>_T_</sup> 0 ≤ _P_ <sup>_B_</sup> _i,t_ <sup>_,ch_</sup> ≤ _n_ <sup>_B_</sup> _i_ <sup>_PB_</sup> <sup>∀</sup> <sup>_t_</sup> <sup>∈</sup> <sup>_T_</sup> <sup>_,_</sup> <sup>∀</sup> <sup>_i_</sup> <sup>∈</sup> <sup>_Ni_</sup> (20) 0 ≤ _Hi_ <sup>_ch_</sup> _,t_ <sup>≤</sup> <sup>Cap</sup> <sup>_T_</sup> _max_ <sup>_T_</sup> <sup>_ich_</sup> _i,t_ _P_ <sup>_B_</sup> _<u>i,t</u>_ <sup>_,dis_</sup> _η_ <sup>_B,dis_</sup> <sup>)</sup> SOC <sup>_B_</sup> _i,_ <sup>_B_</sup> _i,t_ +1 <sup>= SOC</sup> _i_ <sup>_B_</sup> _,_ _i_ <sup>_B_</sup> _,t_ <sup>+ (</sup> <sup>_PB_</sup> _i,t_ <sup>_,ch_</sup> <sup>_B_</sup> _i,t_ <sup>_,chηB,ch_</sup> <sup>−</sup> ∀ _t_ ∈ _T_ _,_ ∀ _i_ ∈ _Ni_ (21) (33) _Hi_ <sup>_dis_</sup> _,t_ <sup>≤</sup> <sup>_r_</sup> <sup>_dis_</sup> <sup>Cap</sup> <sup>_T_</sup> <sup>∀</sup> <sup>_t_</sup> <sup>∈</sup> <sup>_T_</sup> (34) _Hi_ <sup>_dis_</sup> _,t_ <sup>≤</sup> <sup>_r_</sup> <sup>_ch_</sup> <sup>Cap</sup> <sup>_T_</sup> <sup>∀</sup> <sup>_t_</sup> <sup>∈</sup> <sup>_T_</sup> (35) _i_ <sup>_chp_</sup> _,k_ <sup>Cap</sup> <sup>_CHP_</sup> _η_ <sup>_H_</sup> <sup>_,_</sup> _<u>i,</u>_ <sup>_CHP_</sup> _<u>t</u>_ <sup>≤</sup> <sup>_n_</sup> _i_ <sup>_chp_</sup> _,k_ _h_ <sup>_chp_</sup> _<u>i,t</u>_ SOC <sup>_B,min_</sup> ≤ SOC <sup>_B_</sup> _i,_ <sup>_B_</sup> _i,t_ <sup>≤</sup> <sup>_E_</sup> <sup>_BnB_</sup> _i_ _i_ ∀ _t_ ∈ _T_ _,_ ∀ _t_ ∈ _T_ _,_ ∀ _i_ ∈ _Ni_ (22) _P_ <sup>_chp_</sup> _<u>i,t</u>_ _η_ <sup>_P,CHP_</sup> <sup>+</sup> ∀ _t_ ∈ _T_ _,_ ∀ _i_ ∈ _Ni_ (36) _P_ <sup>_B_</sup> _n_ <sup>_B_</sup> _i_ _P_ <sup>_B_</sup> _i,t_ <sup>_,dis_</sup> _P_ <sup>_B_</sup> _i,t_ <sup>_,ch_</sup> <sup>_B_</sup> _i_ <sup>≤</sup> <sup>_E_</sup> <sup>_BnB_</sup> _i_ _max_ <sup>_B_</sup> <sup>_uB_</sup> _i,t_ <sup>_,ch_</sup> <sup>_B_</sup> _i_ <sup>≤</sup> <sup>_E_</sup> <sup>_B_</sup> ∀ _t_ ∈ _T_ _,_ ∀ _i_ ∈ _Ni_ (37) _max_ <sup>_B_</sup> <sup>∀</sup> <sup>_i_</sup> <sup>∈</sup> <sup>_Ni_</sup> (23) _P_ <sup>_chp_</sup> _<u>i,t</u>_ _i_ <sup>_chp_</sup> _,k_ <sup>Cap</sup> <sup>_CHP_</sup> _max_ <sup>_B_</sup> <sup>(1 −</sup> <sup>_uB_</sup> _i,t_ <sup>_,ch_</sup> <sup>_B_</sup> _i,t_ <sup>_,dis_</sup> ≤ _Emax_ <sup>_B_</sup> <sup>_B_</sup> _i,t_ <sup>_,ch_</sup> ≤ _Emax_ <sup>_B_</sup> <sup>_B_</sup> _i,t_ <sup>_,ch_</sup> ∀ _t_ ∈ _T_ _,_ ∀ _i_ ∈ _Ni_ (25) <sup>_B_</sup> _i,t_ <sup>_,ch_</sup> <sup>)</sup> <sup>∀</sup> <sup>_t_</sup> <sup>∈</sup> <sup>_T_</sup> <sup>_,_</sup> <sup>∀</sup> <sup>_i_</sup> <sup>∈</sup> <sup>_Ni_</sup> (24) _η_ <sup>_p,_</sup> _<u>i</u>_ <sup>_CHP_</sup> _<u>,t</u>_ <sup>≤</sup> <sup>_r_</sup> <sup>_pn_</sup> _i_ <sup>_chp_</sup> _,k_ _Hi_ <sup>_chp_</sup> _<u>,t</u>_ _i_ <sup>_chp_</sup> _,k_ <sup>Cap</sup> <sup>_CHP_</sup> _<u>i,t</u>_ ) ≥ 0 ∀ _t_ ∈ _T_ _,_ ∀ _i_ ∈ _Ni_ _η_ <sup>_C_</sup> _η_ <sup>_P,_</sup> _<u>i</u>_ <sup>_CHP_</sup> _<u>,t</u>_ <sup>≤</sup> <sup>_r_</sup> <sup>_hn_</sup> _i_ <sup>_chp_</sup> _,k_ _ELECH_ 2 _Gi,t_ <sup>(</sup> _η_ <sup>_C_</sup> - _η_ <sup>_HS_</sup> <sup>+</sup> _ELECH_ 2 _Gi,t_ _η_ <sup>_C_</sup> - _η_ <sup>_HS_</sup> <sup>+</sup> _Ci_ <sup>_H_</sup> _<u>,t</u>_ <sup>2</sup> <sup>_,FC_</sup> _<u>i,t</u>_ _Q_ <sup>_H_</sup> _i,t_ <sup>2</sup> <sup>−</sup> <sup>(</sup> _Q_ <sup>_H_</sup> _i,t_ <sup>2</sup> ∀ _t_ ∈ _T_ _,_ ∀ _i_ ∈ _Ni_ (38) 4) CCS The CCS captures the _CO_ 2 emitted by the generating units. The CCS is modeled by (39)-(41). The emission is determined by the amount of power generated by the generating units defined in (39). The amount of _CO_ 2 captured by the CCS is determined by the CCS efficiency defined in (40). The amount _CO_ 2 captured by the CCS is limited by the optimal CCS size defined in (41). _n_ <sup>_CCS_</sup> _i_ is an integer that decides the capacity and location of the CCS. _Cap_ <sup>_CCS_</sup> is taken as 1 _Kg_ . _G_ <sup>_E_</sup> _i,t_ <sup>_CO_</sup> <sup>2</sup> = _Eg_ <sup>_CO_</sup> _,t_ <sup>2</sup> <sup>_Pg,t_</sup> (39) _t_ (48) - SOC <sup>_HS_</sup> - _GELECH_ 2 _ELECH_ 2 _i,t_ ≥ 0 ∀ _t_ ∈ _T_ _,_ ∀ _i_ ∈ _Ni_ (49) SOC <sup>_HS_</sup> - _G_ _t_ SOC <sup>_HS_</sup> _i,t_ _Ci_ <sup>_H_</sup> _,t_ <sup>2</sup> <sup>_,FC_</sup> <sup>_HS_</sup> _i,t_ <sup>≤</sup> <sup>_nHS_</sup> _i_ <sup>_HS_</sup> _i_ Cap <sup>_HS_</sup> _i_ <sup>_C_</sup> _i_ <sup>1Cap</sup> _i_ <sup>_C_</sup> <sup>1</sup> <sup>_HS_</sup> _i_ ∀ _t_ ∈ _T_ _,_ ∀ _i_ ∈ _Ni_ (50) _i_ <sup>_C_</sup> <sup>1</sup> ∀ _t_ ∈ _T_ _,_ ∀ _i_ ∈ _Ni_ (51) _i_ <sup>_H_</sup> _,t_ <sup>2</sup> <sup>_,FC_</sup> ≤ _n_ <sup>_C_</sup> _i_ <sup>1</sup> _Ci_ <sup>_H_</sup> _,t_ <sup>2</sup> <sup>_,L_</sup> <sup>_C_</sup> _i_ <sup>1Cap</sup> _i_ <sup>_C_</sup> <sup>1</sup> _i_ <sup>_C_</sup> <sup>1</sup> ∀ _t_ ∈ _T_ _,_ ∀ _i_ ∈ _Ni_ (52) _i_ <sup>_H_</sup> _,t_ <sup>2</sup> <sup>_,L_</sup> ≤ _n_ <sup>_C_</sup> _i_ <sup>1</sup> <sup>_FC_</sup> _i,t_ <sup>=</sup> <sup>_C_</sup> _i_ <sup>_H_</sup> _,t_ <sup>2</sup> <sup>_,FC_</sup> _P_ <sup>_FC_</sup> _i,t_ _i_ <sup>_H_</sup> _,t_ <sup>2</sup> <sup>_,FC_</sup> _η_ <sup>_FC_</sup> HHV <sup>_h_</sup> ∀ _t_ ∈ _T_ _,_ ∀ _i_ ∈ _Ni_ (53) 0 ≤ _P_ <sup>_FC_</sup> _i,t_ <sup>≤</sup> <sup>_nFC_</sup> _i_ <sup>_FC_</sup> _i_ Cap <sup>_FC_</sup> _i_ <sup>_FC_</sup> _i_ ∀ _t_ ∈ _T_ _,_ ∀ _i_ ∈ _Ni_ (54) _iCCS,t_ _CO_ 2 = _η_ <sup>_CCS_</sup> _G_ <sup>_E_</sup> _i,t_ <sup>_CO_</sup> <sup>2</sup> _C._ _METHANE_ The _CO_ 2 captured by the CCS is combined with some of the hydrogen produced by the electrolyzer to produce methane ( _CH_ 4) to generate revenue. The _CO_ 2 produced is stored in carbon storage (CS) defined in (55). The _CO_ 2 gas balance is defined in (56). The CS optimal sizing and allocation are determined by (57). _G_ <sup>_E_</sup> _i,t_ <sup>_CO_</sup> <sup>2</sup> (40) _iCCS,t_ _CO_ 2 ≤ _n_ <sup>_CCS_</sup> _i_ _G_ <sup>_CCS_</sup> _i_ Cap <sup>_CCS_</sup> (41) 5) ELECTROLYZER AND FUEL CELL The electrolyzer converts electricity to hydrogen, which is used to synthesize methane gas, and the excess hydrogen is converted to electricity and sold to the grid. The power input to the electrolyzer is bounded by the optimal capacity of the electrolyzer as defined by (42). _n_ <sup>_ELEC_</sup> _i_ is an integer that determines the optimal sizing and allocation of the electrolyzers. The power input to the electrolyzer is converted to hydrogen gas as shown in (43) [35]. The produced hydrogen by the electrolyzer is supplied to the methane synthesis chamber (MSC) and the FC. This is defined in (44). The hydrogen is sent via compressors to the MSC and FC, as shown in (45) and (46), respectively. The SOC of the HS is modeled in (47). The supply of hydrogen to the MSC and FC is ensured by (48). The HS SOC level is kept so that MSC has sufficient hydrogen supply, as shown in (49). The HS optimal capacity is determined by (50). The optimal capacities of the FC and MSC compressors are determined by (51) and (52) respectively. The FC converts excess hydrogen to power, as shown in (53) [36], which is sold to the grid. The output of the FC is bounded by the optimal capacity of the FC ash shown in (54). _G_ <sup>_CS_</sup> _i,t_ <sup>_C_</sup> <sup>_O_</sup> <sup>2</sup> <sup>_CS_</sup> _i,t_ <sup>_C_</sup> <sup>_O_</sup> <sup>2</sup> = _G_ <sup>_CS_</sup> _i,t_ - <sup>_C_</sup> 1 <sup>_O_</sup> <sup>2</sup> _i,t_ −1 _i,t_ −1 - _G_ <sup>_CS_</sup> _i,t_ - <sup>_C_</sup> 1 <sup>_O_</sup> <sup>2</sup> <sup>_,OUT_</sup> <sup>_CS_</sup> _i,t_ - <sup>_C_</sup> 1 <sup>_O_</sup> <sup>2</sup> + _G_ <sup>_CS_</sup> _i,t_ - <sup>_C_</sup> 1 <sup>_O_</sup> <sup>2</sup> <sup>_,IN_</sup> <sup>_CS_</sup> _i,t_ - <sup>_C_</sup> 1 <sup>_O_</sup> <sup>2</sup> <sup>_,OUT_</sup> (55) _CSCO_ 2 _,IN_ _i,t_ (56) _CCSCO_ 2 _i,t_ + _G_ _MCO_ 2 _i,t_ + _G_ _Gi_ _CSCO_ 2 _,OUT_ _i,t_ = _G_ _CSi,t_ _CO_ 2 ≤ _n_ <sup>_CS_</sup> _i_ _Gi_ <sup>_CS_</sup> _i_ <sup>Cap</sup> <sup>_CS_</sup> (57) Methane is synthesized from _CO_ 2 and _H_ 2 according the chemical equation (58) [37]. The captured _CO_ 2 and _H_ 2 from the electrolyzer are combined to produce methane as defined in (59). Where _τ_ = 16 _/_ 44 and _ρ_ = 16 _/_ 2 are the mass ratio of methane to _CO_ 2 and _H_ 2 respectively. _CO_ 2 + 4 _H_ 2 = _CH_ 4 + 2 _H_ 2 _O_ (58) _G_ <sup>_CH_</sup> _i,t_ <sup>4</sup> _MCO_ 2 _i,t_ + _ρG_ <sup>_CH_</sup> _i,t_ <sup>4</sup> = _τ_ _G_ _ELECH_ 2 _i,t_ (59) 0 ≤ _P_ <sup>_ELEC_</sup> _i,t_ ≤ _n_ <sup>_ELEC_</sup> _i_ Cap <sup>_ELEC_</sup> ∀ _t_ ∈ _T_ _,_ ∀ _i_ ∈ _Ni_ (42) (43) HHV <sup>_H_</sup> <sup>2</sup> _Q_ <sup>_H_</sup> _i,t_ <sup>2</sup> <sup>=</sup> _Q_ <sup>_H_</sup> _i,t_ <sup>2</sup> _Q_ <sup>_H_</sup> _i,t_ <sup>2</sup> _P_ <sup>_ELEC_</sup> _<u>i,t</u>_ <sup>_ELEC_</sup> _<u>i,t</u>_ _η_ <sup>_ELEC_</sup> × 1000 <sup>_H_</sup> _i,t_ <sup>2</sup> <sup>_,L_</sup> + _Q_ <sup>_H_</sup> _i,t_ <sup>2</sup> <sup>_,FC_</sup> <sup>21</sup> _t_ ∈ _Y_ _,_ ∀ _t_ ∈ _T_ _,_ ∀ _i_ ∈ _Ni_ (44) <sup>_H_</sup> _i,t_ <sup>2</sup> <sup>=</sup> <sup>_QH_</sup> _i,t_ <sup>2</sup> <sup>_,L_</sup> <sup>_H_</sup> _i,t_ <sup>2</sup> <sup>_,FC_</sup> : _y_ <sup>21</sup> _t_ III. PROPOSED ADAPTIVE ROBUST MODEL Model (1)-(59) can be generalized in the form of the model (60)-(62). The model (60)-(62) is a generic form that will be used to derive the C&CG-based algorithm for the proposed ARO model. Equation (60) is the objective function where x represents the capacities of the proposed components, p represents the power output levels of the energy sources, and _ζ_ represents the uncertainties. The coefficient matrices for the optimization variables are c _,_ b _,_ f _,_ h _,_ A _,_ D _,_ E and G . The IC and OC of (1) are represented by c <sup>_T_</sup> _x_ and b <sup>_T_</sup> p respectively in objective function (60). Equation (61) represents the upper limits for sizing the components. Equation (62) represents all the constraints, including SOC, limits, and energy balance. Constraints (4)-(59) are represented by (61)-(62). Min (60) x ∈ _�x_ _,_ p ∈ _�p_ <sup>c</sup> <sup>_T x_</sup> <sup>+</sup> <sup>b</sup> <sup>_T_</sup> <sup>p</sup> S.t. Ax ≥ f (61) Dp ≥ h - Ep - G (62) _Ci_ <sup>_H_</sup> _,t_ <sup>2</sup> <sup>_,L_</sup> _i_ <sup>_H_</sup> _,t_ <sup>2</sup> <sup>_,L_</sup> = _η_ <sup>_C_</sup> _Q_ <sup>_H_</sup> _i,t_ <sup>2</sup> <sup>_,L_</sup> <sup>_H_</sup> _i,t_ <sup>2</sup> <sup>_,L_</sup> (45) _Ci_ <sup>_H_</sup> _,t_ <sup>2</sup> <sup>_,FC_</sup> SOC <sup>_HS_</sup> _i,t_ _i_ <sup>_H_</sup> _,t_ <sup>2</sup> <sup>_,FC_</sup> = _η_ <sup>_C_</sup> _Q_ <sup>_H_</sup> _i,t_ <sup>2</sup> <sup>_,FC_</sup> <sup>_HS_</sup> _i,t_ −1 <sup>(1 −</sup> <sup>_µh_</sup> <sup>) +</sup> <sup>_ηHS_</sup> <sup>_C_</sup> _i_ <sup>_H_</sup> _,t_ <sup>2</sup> <sup>_,L_</sup> <sup>_H_</sup> _i,t_ <sup>2</sup> <sup>_,FC_</sup> (46) <sup>_HS_</sup> _i,t_ <sup>= SOC</sup> <sup>_HS_</sup> _i,t_ _i,t_ _ELECH_ 2 - _Gi,t_ ∀ _t_ ∈ _T_ _,_ ∀ _i_ ∈ _Ni_ (47) where, _�p_ = { _P_ <sup>_B_</sup> _i,t_ <sup>_,dis_</sup> _, P_ <sup>_B_</sup> _i,t_ <sup>_,ch_</sup> <sup>_FC_</sup> _i,t_ <sup>_, P_</sup> _t_ <sup>_ELEC_</sup> <sup>_B_</sup> _i,t_ <sup>_,ch, Pg,t_</sup> <sup>_, P_</sup> _i_ <sup>_CHP_</sup> _,t_ _i_ <sup>_CHP_</sup> _,t_ _, P_ <sup>_FC_</sup> _i,t_ } _t_ <sup>_ELEC_</sup> Model (60)-(62) is converted into a min-max-min problem as shown in (63)-(65). The min-max-max problem is then converted into a two-stage ARO problem. The first stage, modeled by (66)-(69), involves minimizing the IC of the EH components. In the second stage, the OC is minimized while maximizing the uncertainty after the optimal sizes of the EH components have been determined. This is shown in (70)-(71). Dual of the sub-problem is taken and is modeled in (72)-(74). Max (72) _ζ_ ∈ _�ζ_ y ∈ _Y_ <sup>y</sup> <sup>_T_</sup> <sup>(</sup> <sup>h</sup> <sup>−</sup> <sup>Dx</sup> <sup>−</sup> <sup>G</sup> <sup>_ζ_</sup> <sup>)</sup> S.t. Ey ≤ b <sup>_T_</sup> (73) y ≥ 0 _, ζ_ ∈ _�ζ_ (74) _C._ _UNCERTAINTY SET_ The uncertainties considered in the model include uncertainties in load, PV output, heat demand, and gas prices as shown in (75)-(79). The uncertain variables are denoted by _ζ_ ∈ _�ζ_ . The polyhedral uncertainty set is used to model the uncertainty set _�ζ_ as shown in (80). The uncertainty budget is denoted by _�_, which controls the conservativeness of the robust model. The larger _�_ becomes, the more conservative the model becomes; that is, more uncertainty is considered. Min x ∈ _�x_ <sup>(</sup> <sup>c</sup> <sup>_T x_</sup> <sup>+ Max</sup> _ζ_ ∈ _�ζ_ Min (63) p ∈ _�p_ <sup>b</sup> <sup>_T_</sup> <sup>p</sup> <sup>)</sup> Such that: Ax ≥ f (64) Dx ≥ h - Ep - G _ζ_ (65) _�ζ_ is the set of uncertainties. The min-max-min in model (63)-(65) can not solved directly. Thus, the model is split into a two-stage leader and linear max-min subproblem. The two-stage problem identifies robust optimal component sizing, allocation, and scheduling. The first stage optimally sizes and allocates the IPGS and EH components. After the first stage problem finds the optimal sizes, the components’ sizes are fixed in the second level problem. This makes the second level problem a complete recourse feasible for _x_ ∈ _�x_ and _ζ_ ∈ _�ζ_ . Assuming this, strong duality holds for the second stage problem. Using duality theory, the second stage problem is reformulated into a maximization problem. The leader problem and reformulated sub-problem are solved based on the C&CG algorithm, shown in the following subsections. _A._ _LEADER PROBLEM_ The leader problem finds the optimal capacities of the EH components while minimizing the IC. The objective function is modeled in (66), and constraints of the leader problem are modeled in (67)-(69). Min (66) x ∈ _�x_ <sup>c</sup> <sup>_T_</sup> <sup>x</sup> <sup>+</sup> <sup>_α_</sup> S.t. _α_ ≥ b <sup>_T_</sup> p (67) Ax ≥ f (68) Dx ≥ h - Ep - G _ζ_ (69) _B._ _SUB PROBLEM_ The sub-problem minimizes the OC in the worst-case realization of the uncertainty set _�ζ_ . The objective function is modeled in (70), and the constraints are modeled in (71), where y represents the dual variables. _�PV_ = { _P_ <sup>_PV_</sup> _t_ : _P_ <sup>¯</sup> <sup>_PV_</sup> _t_ <sup>_PV_</sup> _t_ _,_ _P_ <sup>¯</sup> <sup>_PV_</sup> _t_ <sup>_PV_</sup> _t_ - _P_ <sup>ˆ</sup> <sup>_PV_</sup> _t_ <sup>_PV_</sup> _t_ + _P_ <sup>ˆ</sup> <sup>_PV_</sup> _t_ <sup>_PV_</sup> _t_ ∀ _t_ ∈ _T_ } (75) _�L_ = { _P_ <sup>_L_</sup> _t_ <sup>:</sup> <sup>_P_</sup> <sup>¯</sup> <sup>_L_</sup> _t_ <sup>_L_</sup> _t_ <sup>_,_</sup> <sup>_P_</sup> <sup>¯</sup> _t_ <sup>_L_</sup> <sup>_L_</sup> _t_ <sup>−ˆ</sup> <sup>_PL_</sup> _t_ <sup>_,_</sup> _t_ <sup>_L_</sup> <sup>+</sup> <sup>_P_</sup> <sup>ˆ</sup> <sup>_L_</sup> _t_ <sup>_L_</sup> _t_ ∀ _t_ ∈ _T_ } (76) _�Lh_ = { _Lt_ <sup>_h_</sup> <sup>:</sup> <sup>_L_</sup> <sup>¯</sup> _t_ <sup>_h_</sup> _�hL_ = { _h_ <sup>_L_</sup> _t_ <sup>:</sup> <sup>_h_</sup> <sup>¯</sup> <sup>_L_</sup> _t_ <sup>_L_</sup> _t_ <sup>_,_</sup> <sup>¯</sup> <sup>_h_</sup> _t_ <sup>_L_</sup> _t_ <sup>_h_</sup> <sup>−ˆ</sup> <sup>_L_</sup> _t_ <sup>_h_</sup> <sup>_L_</sup> _t_ <sup>−ˆ</sup> <sup>_hL_</sup> _t_ _t_ <sup>_L_</sup> <sup>+</sup> <sup>_h_</sup> <sup>ˆ</sup> <sup>_L_</sup> _t_ <sup>_L_</sup> _t_ ∀ _t_ ∈ _T_ } (78) _t_ <sup>_h,_</sup> <sup>_L_</sup> <sup>¯</sup> _t_ <sup>_h_</sup> _t_ <sup>_h_</sup> <sup>+</sup> <sup>_L_</sup> <sup>ˆ</sup> _t_ <sup>_h_</sup> _t_ <sup>_h_</sup> ∀ _t_ ∈ _T_ } (77) _�λ_ <sup>_gas_</sup> = { _λ_ <sup>_gas_</sup> _t_ : _λ_ <sup>¯</sup> <sup>_gas_</sup> _t_ <sup>_gas_</sup> _t_ - _λ_ <sup>ˆ</sup> <sup>_gas_</sup> _t_ <sup>_gas_</sup> _t_ _,_ _λ_ <sup>¯</sup> <sup>_gas_</sup> _t_ <sup>_gas_</sup> _t_ + _λ_ <sup>ˆ</sup> <sup>_gas_</sup> _t_ _λ_ <sup>_gas_</sup> = { _λ_ <sup>_gas_</sup> _t_ : _λ_ <sup>¯</sup> <sup>_gas_</sup> _t_ - _λ_ <sup>ˆ</sup> <sup>_gas_</sup> _t_ _,_ _λ_ <sup>¯</sup> <sup>_gas_</sup> _t_ + _λ_ <sup>ˆ</sup> <sup>_gas_</sup> _t_ ∀ _t_ ∈ _T_ } (79) _�ζ_ = { _�PV, �L, �H_ _L_ _, �λ_ <sup>_gas_</sup> ; - _<u>P</u>_ <sup>_PV_</sup> _<u>t</u>_ - _<u>P</u>_ <sup>¯</sup> <sup>_PV_</sup> _<u>t</u>_ _<u>P</u>_ <sup>_L_</sup> _<u>t</u>_ <sup>−¯</sup> <sup>_<u>PL</u>_</sup> _<u>t</u>_ <sup>−¯</sup> <sup>_<u>PL</u>_</sup> _<u>t</u>_ _P_ ˆ <sup>_L_</sup> _t_ ����� _<u>P</u>_ <sup>_L_</sup> _<u>t</u>_ _t_ <sup>_PV_</sup> _<u>t</u>_ - _<u>P</u>_ <sup>¯</sup> <sup>_PV_</sup> _<u>t</u>_ ����� + <sup>_L_</sup> _<u>t</u>_ <sup>−¯</sup> <sup>_<u>PL</u>_</sup> _<u>t</u>_ ����� _t_ ∈ _T_ _<u>P</u>_ <sup>_PV_</sup> _<u>t</u>_ ����� _<u>t</u>_ _P_ ˆ <sup>_PV_</sup> _t_ _t_ <sup>−¯</sup> <sup>_<u>H</u>_</sup> _<u>t</u>_ _H_ ˆ _t_ <sup>_L_</sup> (80) ����� ≤ _�_ } _λ_ <sup>_gas_</sup> _<u>t</u>_ ����� _λ_ ˆ <sup>_gas_</sup> _<u>t</u>_ - _λ_ <sup>¯</sup> <sup>_gas_</sup> _<u>t</u>_ _<u>t</u>_ _λ_ ˆ <sup>_gas_</sup> _t_ ����� + + ����� _<u>Ht</u>_ <sup>_L_</sup> _<u>t</u>_ <sup>_L_</sup> <sup>−¯</sup> <sup>_<u>H</u>_</sup> _<u>t</u>_ <sup>_L_</sup> <u>Algorithm 1</u> <u>C&CG Solution for the EH</u> Initialize : Iteration k = 0; Choose a feasible first-stage solution _x_ 0 Solve the dual of the second-stage (72)-(74) to obtain _y_ 1 and _ζ_ 1 Set upper bound, UBD = +∞, lower bound LBD = −∞ Set _ϵ_ _>_ 0 For k ≥ 1, do Step 1 : Solve the leader problem (66)-(69) Get xk as optimal values. Set LBD = c <sup>_T_</sup> xk + _α_ Step 2 : Solve the sub-problem (72)-(74) Get yk + 1, _ζ_ k + 1 as optimal values. Set UBD = c <sup>_T_</sup> xk + y <sup>_T_</sup> ( h - Dx - G _ζ_ ). <u>while</u> _<u>ϵ</u>_ ≤ <u>UBD −</u> <u>LBD</u> <u>// Check for convergence.</u> _D._ _SOLUTION METHOD_ A C&CG-based algorithm is used to solve (63)-(65) as shown in Algorithm 1. This involves solving the leader problem (66)-(69) while adding the constraint of the primal of the sub-problem (71) as a constraint. The second stage (70)(71) is converted to a maximization problem by taking its dual to maximize the uncertainty set. The dual of the second stage Max _ζ_ ∈ _�ζ_ Min (70) p ∈ _�p_ <sup>b</sup> <sup>_T_</sup> <sup>p</sup> S.t. Dx ≥ h - Ep - G _ζ_ : y (71) FIGURE 3. Flowchart of the proposed model. problem (72)-(74) is then solved. This is done iteratively until a convergence is reached. In the first iteration of the algorithm, _k_ = 0, a feasible value is assumed for x0 . This value is used to solve the dual of the sub-problem (72)-(74) to obtain values of _ζ_ 1 and _y_ 1. The upper bound (UBD) is set to +∞ and the lower bound (LBD) to −∞. A convergence tolerance level is assumed ( _ϵ_ _>_ 0). Then, if _ϵ_ ≥ UBD − LBD, the optimal values of x _,_ y _, ζ_ are obtained. Otherwise, the number of iterations _k_ is incremented by 1, that is, _k_ = 1. The leader problem (66)(69) is solved with the values yk + 1 _, ζ_ k + 1 to obtain xk . Then, LBD is set to _c_ <sup>_T_</sup> _xk_ + _αk_ . The dual of the second stage problem is solved with _xk_ to obtain yk + 1 _, ζ_ k + 1 . The UBD is set to _c_ <sup>_T_</sup> xk + _S_ ( xk ). The iteration is repeated until _ϵ_ ≥ UBD−LBD. Then, the optimal values of x _,_ y _, ζ_ are obtained. In the dual of the sub-problem (72)-(74), there is a bilinear term y <sup>_T_</sup> _ζ_ . A global optimum is not guaranteed with this nonlinearity. The bilinear term is handled as explained in detail in Section III-E. _E._ _HANDLING THE BILINEAR TERMS_ The bilinear term in the dual results in a nonconcave solution which does not guarantee an optimal solution [38]. Specifically, y <sup>_T_</sup> _ζ_ involves multiplying dual variables and bilinear uncertain parameters. The solution of the sub-problem is located at the extreme points of the polyhedral uncertainty set _�ζ_ [39]. Thus, the bilinear term can be converted into equivalent mixed-integer linear programming (MILP) problem. This is done by modeling the uncertain parameters as shown in (81)-(82). _ζ_ = _ζ_ <sup>¯</sup> - _ζ_ <sup>ˆ</sup> _<u>ι</u>_ _~~ζ~~_ + _ζ_ <sup>ˆ</sup> _~~ι~~_ _ζ_ _<u>ι</u>_ _~~ζ~~_ _,_ _~~ι~~_ _ζ_ ∈{0 _,_ 1} (81) _<u>ι</u>_ _~~t~~_ + _~~ι~~_ _t_ ≤ 1 _<u>ι</u>_ _~~t~~_ _,_ _~~ι~~_ _t_ ∈{0 _,_ 1} (82) where _<u>ι</u>_ _~~ζ~~_ and _~~ι~~_ _ζ_ are the negative and positive deviations of the uncertain parameters from their mean values. For electricity load, heat, and hydrogen demands, the deviation is only on the positive side <u>(</u> _<u>ι</u>_ _~~ζ~~_ = 0) because the extreme realization would be at the positive deviation of the mean _ζ_ . For the uncertain PV and wind outputs, the <u>worst-case</u> realization is the negative deviation from mean _ζ_, that is, _~~ι~~_ _ζ_ = 0. In the case of electricity prices, the deviation from the mean _ζ_ ¯ would be both on the negative and positive sides of the mean. The EH buys and sells energy from and to the grid. Thus, the electricity price’s worst-case realization can be on the extreme negative and positive deviations from the mean _ζ_ ¯ . On the other hand, the worst-case realization of the gas price uncertainty is that the deviation of gas price from the mean gas price will only be on the positive side of the mean _ζ_ ¯ because the EH only buys gas for the CHP plant. The third term of (72) can be substituted with (81) as shown in (83). y <sup>_T_</sup> G _ζ_ = y <sup>_T_</sup> G ( _ζ_ <sup>¯</sup> - _ζ_ <sup>ˆ</sup> _<u>ι</u>_ _~~ζ~~_ + _ζ_ <sup>ˆ</sup> _~~ι~~_ _ζ_ ) (83) In (83) involves multiplying y <sup>_T_</sup> by _<u>ι</u>_ _~~ζ~~_ and y <sup>_T_</sup> by _~~ι~~_ _ζ_ which makes (83) bilinear. This can transformed into a linear equivalent using auxiliary variables y _d_ and y _u_, as shown in (84)-(89). IV. CASE STUDY _A._ _SIMULATION SETUP_ The case study is based on Figure 3. The IPGS was tested on the IEEE 24-bus system [40]. The aim is to find the optimal locations and capacities of the EHs among candidate locations in the IEEE bus system. The gas network on the IEEE 24-bus system is shown in Figure 4. The candidate locations for the EH optimal allocation are Bus 1, Bus 3, Bus 7, Bus 13, Bus 18 and Bus 22. At each of the candidate buses, there is heat demand. Buses 1, 3, and 7 have interconnected heat pipelines, and buses 13, 18, and 22 interconnect heat pipelines. The generating units’, line, and load data are taken from [40]. The cost and features of the IPGS components are shown in Table 2. The simulation results were obtained for one year. Historical data was used for the PV output, load [40], and hydrogen demand [35]. y <sup>_T_</sup> G _ζ_ <sup>¯</sup> - y <sup>_T_</sup> _d_ _u_ <sup>_T_</sup> <sup>G</sup> <sup>_ζ_</sup> <sup>ˆ</sup> (84) <sup>_T_</sup> _d_ <sup>G</sup> <sup>_ζ_</sup> <sup>ˆ</sup> <sup>+</sup> <sup>y</sup> _u_ <sup>_T_</sup> - _Md_ - _<u>ι</u>_ _~~ζ~~_ ≤ _y_ <sup>_T_</sup> _d_ <sup>≤</sup> <sup>_Md_</sup> <sup>·</sup> <sup>_<u>ι</u>_</sup> _~~ζ~~_ (85) - _Mu_ - _~~ι~~_ _ζ_ ≤ _y_ <sup>_T_</sup> _u_ <sup>≤</sup> <sup>_Mu_</sup> <sup>·</sup> <sup>_~~ι~~_</sup> <sup>_ζ_</sup> (86) _y_ <sup>_T_</sup> - _Md_ - (1 − _<u>ι</u>_ _~~ζ~~_ ) ≤ _y_ <sup>_T_</sup> _d_ <sup>≤</sup> <sup>_yT_</sup> <sup>+</sup> <sup>_Md_</sup> <sup>· (1 −</sup> <sup>_<u>ι</u>_</sup> _~~ζ~~_ <sup>)</sup> (87) _y_ <sup>_T_</sup> - _Mu_ - (1 − _~~ι~~_ _ζ_ ) ≤ _y_ <sup>_T_</sup> _u_ <sup>≤</sup> <sup>_yT_</sup> <sup>+</sup> <sup>_Mu_</sup> <sup>· (1 −</sup> <sup>_~~ι~~_</sup> <sup>_ζ_</sup> <sup>)</sup> (88) - _My_ ≤ _y_ <sup>_T_</sup> ≤ _My_ (89) _Mu, Md_, and _My_ are made large so that it is not binding. Where _Mu_ ≥| _y_ <sup>_T_</sup> _u_ <sup>|,</sup> <sup>_Md_</sup> <sup>≥|</sup> <sup>_yT_</sup> _d_ <sup>|, and</sup> <sup>_My_</sup> <sup>≥|</sup> <sup>_yT_</sup> <sup>|. The third term</sup> Where _Mu_ ≥| _y_ <sup>_T_</sup> _u_ <sup>|,</sup> <sup>_Md_</sup> <sup>≥|</sup> <sup>_yT_</sup> _d_ <sup>|, and</sup> <sup>_My_</sup> <sup>≥|</sup> <sup>_yT_</sup> <sup>|. The third term</sup> of (72) is substituted by (82) and (84)-(89). The uncertainty budget _�_ in (80) is replaced by (90). <sup>_T_</sup> _u_ <sup>|,</sup> <sup>_Md_</sup> <sup>≥|</sup> <sup>_yT_</sup> _d_ _ζ_ ∈ _�ζ_ ( _<u>ι</u>_ _~~ζ~~_ + _~~ι~~_ _ζ_ ) ≤ _�_ (90) FIGURE 4. Modified IEEE 24-bus for the IPGS. FIGURE 5. Electricity load. Figure 5 and Figure 6 are typical daily historical data for winter, summer, spring, and fall electricity load and PV output, respectively. These four seasons represented a year in the simulation. The mean values are the historical data used for the electricity load, heat demand, PV output, and hydrogen demand. These values are given upper and lower deviation limits during the ARO, as shown in the simulation. The use of large-scale PV illustrates the technical feasibility and effect of high-RES penetration in power grids and how the proposed ARO model can support it. Daily electricity prices in summer and winter were obtained from [41]. The simulation is carried out in different scenarios to analyze the effectiveness of the proposed ARO model. These scenarios are: 1) Case I: In this scenario, the deterministic model (1)-(59) was simulated. The simulation is carried out using historical data without considering the variability of the FIGURE 6. PV ouput. FIGURE 7. Investment and operation cost. uncertain parameters. The IPGS component sizes are predetermined and are not optimally sized, while the EH components are optimally sized at the candidate buses without optimal allocation. 2) Case II: In addition to Scenario I, the EH components are optimally sized and allocated among the candidate buses in this scenario. This aims to show the effect of optimally sizing and allocating the EH components instead of allocating them to all candidate buses. 3) Case III: In this scenario, the uncertainties in electricity load, thermal demand, methane demand, electricity prices, and gas prices are accounted for using the proposed ARO model. This aims to show how the ARO model improves the model. 4) Case IV: In this scenario, the proposed ARO IPGS model is simulated on larger systems, namely, the IEEE 57-bus system and the IEEE 118-bus system, to show the applicability of the proposed model on larger systems. This shows the scalability of the proposed ARO IPGS model. To analyze the above scenarios, analyses that include economic performance, stability, uncertainty handling, optimal sizing, and allocation have been made. _B._ _ECONOMIC PERFORMANCE ANALYSIS_ Table 3 shows the sizing and allocation of the IPGS and EH components for Case I, Case II, and Case II. The TABLE 2. IPGS components parameters. TABLE 3. Sizing and allocation of the IPGS and EH components. FIGURE 8. Effects of varying the deviation of the uncertainties from their mean values and uncertainty budget on load shedding for Case II IEEE 24-bus. investment and operation costs of the IPGS are shown in Figure 7. The investment cost $517,685,860 in Case I is the highest compared to Case II and Case II. This is because the capacities of the components are not optimally sized and allocated among the buses. After the components were optimally sized and allocated, the capacities of the components were reduced, which led to a 29.3% decrease in the investment cost. The investment cost was increased to FIGURE 9. Electricity generated by the generating units before and after the proposed ARO model. $394,288,380 in Case III from $366,208,480 in Case II. This 7.67% increase in the investment cost is due to the action of the ARO model in Case III. The ARO model prepares the IPGS to handle worst-case uncertainty with the minimum possible cost. This increases the components’ capacity to handle any worst deviation of the uncertainty, increasing the investment cost. This is also observed in the operation cost, where operation cost is highest in Case I. Optimal sizing and FIGURE 10. Energy balance. FIGURE 11. Heat energy balance. FIGURE 12. Effects of varying the deviation of the uncertainties from their mean values and uncertainty budget on load shedding for Case IV IEEE 118-bus. allocation of the components, the operation cost decreased by 4.43%. The ARO model slightly increases the operation cost by 0.59% from the deterministic Case II model. Overall, the ARO model adds a layer of protection against worst-case uncertainty realization at the cost of a small investment and operation cost increase. _C._ _UNCERTAINTY HANDLING ANALYSIS_ The model was simulated for a typical 24-hour time horizon for the IEEE 24 bus system while taking the optimal capacities from Case III. The uncertainty budget was varied to capture the different levels of uncertainty on the IPGS. For illustration purposes, the normalized value was used for _�_ . _�_ ranges from 0 to 1, when _�_ = 0, no uncertainty is considered for the whole simulation period and _�_ = 1 captures the total hours of the uncertainty. The deviation of the uncertain parameters from their mean values was also varied. The total load shedding of the system was observed during each variation. The results are plotted in Figure 8. The load shedding decreases and eventually becomes zero with an increased uncertainty budget when more uncertainty is captured. This shows how the effectiveness of the proposed IPGS ARO model in handling uncertainties. The proposed model performs better than the deterministic model (when _�_ = 0), which had the highest load shedding for each deviation of the uncertainties from their mean. This will support high penetration levels of RESs which increase uncertainty. Furthermore, Figure 9 shows the electricity consumption from the generating units before and after the proposed ARO model for a 24-hour horizon. The proposed ARO model modifies electricity consumption. The electricity consumption is fairly reduced for the proposed ARO model. This is due to the ARO model scheduling the operation of the PV and storage more optimally while handling the uncertainties in the PV. The proposed IPGS ARO model optimally schedules all the energy sources to meet the various demands without deficit, as shown in Figure 10 and Figure 11 for the electric and heat energy, respectively. The initial SOC of the BESS, TESS, and HS are assumed to be fully charged with electricity, heat, and hydrogen, respectively. The charging and discharging of BESS and TESS shown in Figure 10 and Figure 11, respectively, are the results of regular 24-hour operation after the optimal capacities have been implemented for the IEEE 24-bus system. The charging/discharging in Figure 10 are the combined charging/discharging of the buses containing the BESS. Similarly, the charging/discharging in Figure 11 are the combined charging/discharging of the buses containing the TESS. _D._ _SCALABILITY ANALYSIS_ The proposed IPGS ARO model was simulated on the IEEE 118-bus described in Case IV to test the model’s scalability. The components were optimally sized and allocated among the buses. Then, the system simulated while the uncertainty budget was varied, similar to Section IV-C. The action of the ARO model on load shedding is shown in Figure 12. The deviation of the uncertain parameters from their mean values was increased to further increase the effect of the uncertainties. From Figure 12, the load shedding was highest for the deterministic simulation ( _�_ = 0), which gradually decreased to zero as the _�_ was increased to the maximum. The load shedding at 25 % is the highest due to the higher effect of the uncertainties. This further demonstrates the effectiveness of the proposed IPGS ARO model in optimally sizing and allocating the components while adequately handling uncertainties. V. CONCLUSION This paper formulates a two-stage IPGS with EHs and other IPGS components. The model minimizes the investment and operation costs of the EH components. Highly flexible resources, namely, BESSs, TESSs, HS, CS, hydrogen P2G, and G2P, were included to hedge against the variability of the RES. The proposed model supports sustainability by having a high PV share and incorporating carbon capture technology. The optimal sizes of the IPGS and EH components were obtained in the first stage. In the second stage, the operation of the EH components was optimized. Duality theory and dual cuts were used to solve the two-stage ARO problem. The proposed model has been shown to be robust to increased uncertainty levels. This is done by a slight increase in the IC and OC, as shown in the case study. As shown in the case study, the uncertainty budget _�_ = 0 behaves like a deterministic model with less RES penetration and slightly less IC and OC costs. This indicates how the proposed ARO model supports increased RES penetration. The model is scalable to large power systems as proven in the simulation. The simulation results also demonstrated the effectiveness of the ARO model, where electricity and heat energy demands were met throughout the simulation period. The proposed model did not consider ancillary services provided to the grid. Ancillary services such as energy and frequency ancillary services will reduce the cost of operation while helping with grid stabilization. Ancillary service provision could be considered for future research work. Also, the flexibility of the proposed model could be increased by considering demand response and electric vehicles. REFERENCES [1] B. Mohandes, M. Wahbah, M. S. E. Moursi, and T. H. M. El-Fouly, ‘‘Renewable energy management system: Optimum design and hourly dispatch,’’ _IEEE_ _Trans._ _Sustain._ _Energy_, vol. 12, no. 3, pp. 1615–1628, Jul. 2021. [2] X. Wu, Z. Tian, and J. Guo, ‘‘A review of the theoretical research and practical progress of carbon neutrality,’’ _Sustain._ _Oper._ _Comput._, vol. 3, pp. 54–66, May 2022. [3] G. Pulazza, N. Zhang, C. Kang, and C. A. Nucci, ‘‘Transmission planning with battery-based energy storage transportation for power systems with high penetration of renewable energy,’’ _IEEE Trans. Power Syst._, vol. 36, no. 6, pp. 4928–4940, Nov. 2021. [4] S. Bahrami, M. Toulabi, S. Ranjbar, M. Moeini-Aghtaie, and A. M. Ranjbar, ‘‘A decentralized energy management framework for energy hubs in dynamic pricing markets,’’ _IEEE Trans. Smart Grid_, vol. 9, no. 6, pp. 6780–6792, Nov. 2018. [5] Z. Huang, Z. Wang, and C. Song, ‘‘Complementary virtual mirror fault diagnosis method for microgrid inverter,’’ _IEEE_ _Trans._ _Ind._ _Informat._, vol. 17, no. 11, pp. 7279–7290, Nov. 2021. [6] M. Dabbaghjamanesh, A. Kavousi-Fard, S. Mehraeen, J. Zhang, and Z. Y. Dong, ‘‘Sensitivity analysis of renewable energy integration on stochastic energy management of automated reconfigurable hybrid AC– DC microgrid considering DLR security constraint,’’ _IEEE_ _Trans._ _Ind._ _Informat._, vol. 16, no. 1, pp. 120–131, Jan. 2020. [7] J. Zhong, Y. Cao, Y. Li, Y. Tan, Y. Peng, L. Cao, and Z. Zeng, ‘‘Distributed modeling considering uncertainties for robust operation of integrated energy system,’’ _Energy_, vol. 224, Jun. 2021, Art. no. 120179. [8] A. Najafi, H. Falaghi, J. Contreras, and M. Ramezani, ‘‘A stochastic bilevel model for the energy hub manager problem,’’ _IEEE_ _Trans._ _Smart_ _Grid_, vol. 8, no. 5, pp. 2394–2404, Sep. 2017. [9] Y. Cao, W. Wei, J. Wang, S. Mei, M. Shafie-khah, and J. P. S. Catalão, ‘‘Capacity planning of energy hub in multi-carrier energy networks: A data-driven robust stochastic programming approach,’’ _IEEE_ _Trans._ _Sustain. Energy_, vol. 11, no. 1, pp. 3–14, Jan. 2020. [10] S. A. Seifossadat, M. Rastegar, M. Mohammadi, S. Senemmar, and J. Zhang, ‘‘Hierarchical microenergy hub sizing and placement in integrated electricity and natural gas distribution systems,’’ _IEEE_ _Syst._ _J._, vol. 16, no. 4, pp. 5380–5391, Dec. 2022. [11] Q. Li, X. Xiao, Y. Pu, S. Luo, H. Liu, and W. Chen, ‘‘Hierarchical optimal scheduling method for regional integrated energy systems considering electricity-hydrogen shared energy,’’ _Appl._ _Energy_, vol. 349, Nov. 2023, Art. no. 121670. [12] Q. Li, T. Su, L. Yin, S. Xie, Y. Tan, W. Chen, and F. Gao, ‘‘Health management for PEMFC system long-term operation based on optimal temperature trajectory real-time optimization,’’ _IEEE Trans. Ind. Electron._, vol. 2, no. 1, pp. 1–11, Apr. 2024. [13] P. Zhao, C. Gu, D. Huo, Y. Shen, and I. Hernando-Gil, ‘‘Two-stage distributionally robust optimization for energy hub systems,’’ _IEEE Trans._ _Ind. Informat._, vol. 16, no. 5, pp. 3460–3469, May 2020. [14] M. S. Javadi, M. Lotfi, A. E. Nezhad, A. Anvari-Moghaddam, J. M. Guerrero, and J. P. S. Catalão, ‘‘Optimal operation of energy hubs considering uncertainties and different time resolutions,’’ _IEEE Trans. Ind._ _Appl._, vol. 56, no. 5, pp. 5543–5552, Sep. 2020. [15] J. Zhong, Y. Li, Y. Wu, Y. Cao, Z. Li, Y. Peng, X. Qiao, Y. Xu, Q. Yu, X. Yang, Z. Li, and M. Shahidehpour, ‘‘Optimal operation of energy hub: An integrated model combined distributionally robust optimization method with Stackelberg game,’’ _IEEE Trans. Sustain. Energy_, vol. 2, no. 2, pp. 1–13, Apr. 2023. [16] A. J. Conejo and X. Wu, ‘‘Robust optimization in power systems: A tutorial overview,’’ _Optim. Eng._, vol. 23, no. 4, pp. 2051–2073, Dec. 2022. [17] S.-L. Jiang, G. Peng, I. D. L. Bogle, and Z. Zheng, ‘‘Two-stage robust optimization approach for flexible oxygen distribution under uncertainty in integrated iron and steel plants,’’ _Appl._ _Energy_, vol. 306, Jan. 2022, Art. no. 118022. [18] M. Favereau, Á. Lorca, and M. Negrete-Pincetic, ‘‘Multistage adaptive robust optimization for the hydrothermal scheduling problem,’’ _Comput._ _Oper. Res._, vol. 150, Feb. 2023, Art. no. 106051. [19] M. Mansouri, M. Eskandari, Y. Asadi, P. Siano, and H. H. Alhelou, ‘‘Pre-perturbation operational strategy scheduling in microgrids by two-stage adjustable robust optimization,’’ _IEEE_ _Access_, vol. 10, pp. 74655–74670, 2022. [20] Y. Ma, C. Liu, H. Yang, and D. Zhang, ‘‘Robust optimization of unit commitment with wind power considering composite flexibility constraints,’’ _Int._ _J._ _Electr._ _Power_ _Energy_ _Syst._, vol. 151, Sep. 2023, Art. no. 109146. [21] G. Ferro, M. Robba, R. Haider, and A. M. Annaswamy, ‘‘A distributed optimization-based architecture for management of interconnected energy hubs,’’ _IEEE_ _Trans._ _Control_ _Netw._ _Syst._, vol. 9, no. 4, pp. 1704–1716, Dec. 2022. [22] N. Liu, L. Tan, H. Sun, Z. Zhou, and B. Guo, ‘‘Bilevel heat–electricity energy sharing for integrated energy systems with energy hubs and prosumers,’’ _IEEE_ _Trans._ _Ind._ _Informat._, vol. 18, no. 6, pp. 3754–3765, Jun. 2022. [23] S. Yin and J. Wang, ‘‘Distributionally robust decentralized scheduling between the transmission market and local energy hubs,’’ _IEEE_ _Trans._ _Power Syst._, vol. 38, no. 2, pp. 1845–1856, Mar. 2023. [24] M. Gholami, S. A. Mousavi, and S. M. Muyeen, ‘‘Enhanced microgrid reliability through optimal battery energy storage system type and sizing,’’ _IEEE Access_, vol. 11, pp. 62733–62743, 2023. [25] S. Kumar, V. Krishnasamy, R. Kaur, and N. K. Kandasamy, ‘‘Virtual energy storage-based energy management algorithm for optimally sized DC nanogrid,’’ _IEEE Syst. J._, vol. 16, no. 1, pp. 231–239, Mar. 2022. [26] M. E. Sallam, M. A. Attia, A. Y. Abdelaziz, M. A. Sameh, and A. H. Yakout, ‘‘Optimal sizing of different energy sources in an isolated hybrid microgrid using turbulent flow water-based optimization algorithm,’’ _IEEE Access_, vol. 10, pp. 61922–61936, 2022. [27] P. Zhao, C. Gu, Z. Cao, Z. Hu, X. Zhang, X. Chen, I. Hernando-Gil, and Y. Ding, ‘‘Economic-effective multi-energy management considering voltage regulation networked with energy hubs,’’ _IEEE Trans. Power Syst._, vol. 36, no. 3, pp. 2503–2515, May 2021. [28] M. Aghamohamadi, A. Mahmoudi, J. K. Ward, M. H. Haque, and J. P. S. Catalão, ‘‘A block-coordinate-descent robust approach to incentivebased integrated demand response in managing multienergy hubs with must-run processes,’’ _IEEE_ _Trans._ _Ind._ _Appl._, vol. 58, no. 2, pp. 2352–2368, Mar. 2022. [29] P. Gao, Y. Li, W. Yao, X. Zheng, and C. Zhang, ‘‘Optimization of hybrid energy storage system sizing with considering energy management strategy for high-power pulsed load in aircraft,’’ _IEEE Trans. Veh. Technol._, vol. 72, no. 4, pp. 4525–4537, Apr. 2023. [30] L. Argiolas, M. Stecca, L. M. Ramirez-Elizondo, T. B. Soeiro, and P. Bauer, ‘‘Optimal battery energy storage dispatch in energy and frequency regulation markets while peak shaving an EV fast charging station,’’ _IEEE Open Access J. Power Energy_, vol. 9, pp. 374–385, 2022. [31] A. A. Peña, D. Romero-Quete, and C. A. Cortes, ‘‘Sizing and siting of battery energy storage systems: A Colombian case,’’ _J. Modern Power Syst._ _Clean Energy_, vol. 10, no. 3, pp. 700–709, May 2022. [32] U. R. Nair and R. Costa-Castelló, ‘‘A model predictive control-based energy management scheme for hybrid storage system in islanded microgrids,’’ _IEEE Access_, vol. 8, pp. 97809–97822, 2020. [33] S. Sepulveda-García, O. D. Montoya, and A. Garcés, ‘‘A second-order conic approximation to solving the optimal power flow problem in bipolar DC networks while considering a high penetration of distributed energy resources,’’ _Int. J. Electr. Power Energy Syst._, vol. 155, Jan. 2024, Art. no. 109516. [34] J. Wei, Y. Zhang, J. Wang, L. Wu, P. Zhao, and Z. Jiang, ‘‘Decentralized demand management based on alternating direction method of multipliers algorithm for industrial park with CHP units and thermal storage,’’ _J._ _Modern_ _Power_ _Syst._ _Clean_ _Energy_, vol. 10, no. 1, pp. 120–130, Jan. 2022. [35] A. Dadkhah, D. Bozalakov, J. D. M. De Kooning, and L. Vandevelde, ‘‘Techno-economic analysis and optimal operation of a hydrogen refueling station providing frequency ancillary services,’’ _IEEE_ _Trans._ _Ind._ _Appl._, vol. 58, no. 4, pp. 5171–5183, Jul. 2022. [36] H. Khani, N. A. El-Taweel, and H. E. Z. Farag, ‘‘Supervisory scheduling of storage-based hydrogen fueling stations for transportation sector and distributed operating reserve in electricity markets,’’ _IEEE_ _Trans._ _Ind._ _Informat._, vol. 16, no. 3, pp. 1529–1538, Mar. 2020. [37] X. Zhou, Q. Zhao, Y. Zhang, and L. Sun, ‘‘Integrated energy production unit: An innovative concept and design for energy transition toward low-carbon development,’’ _CSEE_ _J._ _Power_ _Energy_ _Syst._, vol. 7, no. 6, pp. 1133–1139, Nov. 2021. [38] D. Bertsimas, E. Litvinov, X. A. Sun, J. Zhao, and T. Zheng, ‘‘Adaptive robust optimization for the security constrained unit commitment problem,’’ _IEEE Trans. Power Syst._, vol. 28, no. 1, pp. 52–63, Feb. 2013. [39] A. Attarha, N. Amjady, S. Dehghan, and B. Vatani, ‘‘Adaptive robust self scheduling for a wind producer with compressed air energy storage,’’ _IEEE_ _Trans. Sustain. Energy_, vol. 9, no. 4, pp. 1659–1671, Oct. 2018. [40] C. Grigg, P. Wong, P. Albrecht, R. Allan, M. Bhavaraju, R. Billinton, Q. Chen, C. Fong, S. Haddad, S. Kuruganty, W. Li, R. Mukerji, D. Patton, N. Rau, D. Reppen, A. Schneider, M. Shahidehpour, and C. Singh, ‘‘The IEEE reliability test system-1996. A report prepared by the reliability test system task force of the application of probability methods subcommittee,’’ _IEEE Trans. Power Syst._, vol. 14, no. 3, pp. 1010–1020, Jul. 1999. [41] (2018). _Approved_ _RPP_ _Pilot_ _Structures_ _and_ _Prices_ _Pursuant_ _To_ _the_ _Change_ _in_ _Prevailing_ _RPP_ _Time-of-Use_ _Rates_ _Effective_ . [Online]. Available: https://www.oeb.ca/industry/policy-initiativesand-consultations/regulated-price-plan-rpp SULAIMAN S. AHMAD (Student Member, IEEE) was born in Kano, Nigeria. He received the B.Sc. degree in electrical engineering from Bayero University, Kano, in 2015, and the M.Sc. degree in electrical engineering from the King Fahd University of Petroleum and Minerals (KFUPM), Saudi Arabia, in 2020, where he is currently pursuing the Ph.D. degree with the Electrical Engineering Department. His research interests include power system planning and optimization, renewable energy integration, and energy storage systems planning. ABDULLAH A. ALMEHIZIA (Senior Member, IEEE) received the B.Eng. degree in electrical engineering from King Saud University, Riyadh, Saudi Arabia, in 2010, the M.Eng. degree in electrical engineering from the University of Calgary, Calgary, Canada, in 2014, and the Ph.D. degree in electrical engineering from Texas A&M University, College Station, TX, USA, in 2018. He manages the Joint Center for Smart Grids research between KACST and Saudi Electricity Company (SEC). His main work focuses on technology development, localization, and commercialization. His research interests include renewable energy resources, energy storage integration and optimization, power system planning, operation, economics, and policy. MUHAMMAD KHALID (Senior Member, IEEE) received the Ph.D. degree in electrical engineering from the School of Electrical Engineering Telecommunications (EET), The University of New South Wales (UNSW), Sydney, Australia, in 2011. He was initially a Postdoctoral Research Fellow, for three years, and then he continued as a Senior Research Associate with Australian Energy Research Institute, School of EET, UNSW, for two years. He is currently an Associate Professor with the Electrical Engineering Department, King Fahd University of Petroleum and Minerals (KFUPM), Dhahran, Saudi Arabia. He is also a Research Affiliate with the Interdisciplinary Research Center for Sustainable Energy Systems (IRC-SES) and the SDAIA-KFUPM Joint Research Center for Artificial Intelligence, KFUPM. He has authored/co-authored several journals and conference papers in the field of control and optimization for renewable power systems. His research interests include the optimization and control of battery energy storage systems for large-scale grid-connected renewable power plants (particularly wind and solar), distributed power generation and dispatch, hybrid energy storage, hydrogen systems, EVs, AI, machine learning, and smart grids. He was a recipient of the Highly Competitive Postdoctoral Writing Fellowship from UNSW, in 2010. He was also a recipient of many academic awards and research fellowships. In addition, he has been a reviewer of numerous international journals and conferences. FAHAD SALEH AL-ISMAIL (Senior Member, IEEE) received the B.Sc. and M.Sc. degrees in electrical engineering from the King Fahd University of Petroleum and Minerals (KFUPM), Dhahran, Saudi Arabia, in 2009 and 2012, respectively, and the Ph.D. degree in electrical engineering from Texas A&M University, College Station, TX, USA, in December 2016. He is currently an Associate Professor with the Department of Electrical Engineering, KFUPM. His research interests include power system planning and reliability, renewable energy integration, and demand-side management modeling with intermittent resources.

섹션 본문 61문단 · 35,817자

(제목 없음)

1The contemporary energy sector has witnessed a notable surge in integrating renewable energy sources (RESs) within energy hubs (EHs).The intermittent characteristics inherent to RESs present a consequential challenge, notably compromising the operational flexibility of EHs.This paper proposes a two-stage adaptive robust optimization (ARO)-based interconnected energy and gas system (IPGS) with optimally sized and allocated components and energy hubs (EHs).The IPGS components and EHs are optimally sized and allocated in the first stage for optimal performance before the uncertainty realization while minimizing the investment costs.The model's second stage incorporates optimizing operations and managing RES output uncertainty.In the second stage, the RES output uncertainty is maximized after realization while minimizing operation cost.The integration of battery energy storage systems (BESSs), thermal energy storage systems (TESSs), hydrogen storage (HSs), power-to-gas (P2G), and gas-to-power (G2P) technologies collectively serve as flexible resources that also handle uncertainty.The IPGS also incorporates a carbon capture system (CCS) to support the decarbonization of power systems.To further minimize operation costs, methane is synthesized and sold, and fuel cells are added to convert hydrogen to electricity sold to the grid.A column and constraint generation (CC&G) algorithm decomposes the ARO model using the duality theory and dual cuts.The ARO model minimizes the investment and operation costs under the worst-case realization of the uncertainties, namely, PV output, electricity demand, heat demand, and electricity and gas prices.Simulation results have demonstrated the effectiveness of the proposed method through reduced energy consumption from the grid and increased RES penetration while handling RES output intermittency.The ARO model eliminated load shedding from 31.5 MW for IEEE 24-bus and 60.3 MW for IEEE 118-bus to zero.

2i, j, k Gas nodes indices.t Time index.

Parameters β cons i,j

3Fuel consumption constant of the natural gas compressor at gas pipeline i, j. η B,ch Charging efficiency of the BESS.η B,dis Discharging efficiency of the BESS.η CCS Efficiency of the CCS.η C

4Compressor efficiency.η FC FC efficiency.η H ,CHP Heat production efficiency of the CHP.η HS Efficiency of HS. η P, CHP Electric power production efficiency of the CHP.η TS,ch Charging efficiency of the TESS.η TS,dis Discharging efficiency of the TESS.

I. INTRODUCTION

5The world has concluded that present energy systems should pursue both low-carbon and economic development modes.This is because energy supplies are running out, and environmental issues are becoming more critical [1].More than 132 nations have committed to being carbon neutral by the middle of the twenty-first century [2].This paves the way for increased utilization of integrated energy systems (IES) such as renewable energy sources(RESs) [3].Highly effective IESs such as combined heat and power (CHP) units have been massively adopted by energy hubs (EHs) [4].An EH typically comprises several energy carriers that allow energy 168518 VOLUME 12, 2024 Authorized licensed use limited to the terms of the applicable license agreement with IEEE.Restrictions apply.

6to be imported, exported, converted, and stored [5], [6].EHs have a significant impact on helping with the transition to a low-carbon economy [7].Due to internal technology that effectively transforms input energy into appropriate types of energy to fulfill load needs, EHs can increase the operational efficiency of the energy system [8].

7Several research studies have been conducted on the optimal planning and operation of EHs.For the capacity planning of an EH, the authors of [9] suggested a two-stage robust stochastic programming approach.The model's uncertainties were modeled by a data-driven robust stochastic programming (SP) (DR-SP).Under the worst-case distribution restrictions in the ambiguous set, the study's goal is to minimize the total construction cost and the anticipated life cycle running cost.Nonlinearity in the model was solved using an outer approximation (OA) algorithm.In [10], a hierarchical technique for optimizing the sizes of EH components and the location of EHs is proposed.Demand and RES uncertainties were handled by a two-stage SP.The authors of [11] proposed an innovative shared energy storage framework considered an EH that incorporates hydrogen trading and is designed for application in residential, industrial, and commercial Renewable Integrated Energy Systems (RIES) structures.The energy-sharing method is structured as a leader-follower framework, with a hierarchical optimal scheduling method developed based on the Stackelberg game relationship.Fuel cell (FC) is also an essential component of EHs that perform hydrogen to electricity conversion.In [12], health management for Proton Exchange Membrane Fuel Cells (PEMFC) is proposed to optimize long-term operation.The model maintains high performance while decelerating degradation, particularly concerning platinum catalysts' electrochemical active surface area (ECSA).Some journal articles in the literature delve into innovative approaches for managing uncertainty and optimizing operational costs within energy hubs.Reference [13] formulated a multi-modal ambiguity set to accurately reflect the stochastic properties of PV multi-modality using distributionally robust optimization (DRO) solved by a constraint generation (CG) algorithm.The authors of [14] proposed a robust chanceconstrained (RCC) optimization model for managing an EH's operations optimally in the presence of electrical, heating, and cooling needs and renewable energy production.In [15], DRO and the Stackelberg game are combined to present a low-carbon operating technique for an EH.The uncertainty in EH's RES generation is managed using a DRO model based on Kullback-Leibler divergence (KL-DRO).

8To mitigate uncertainty in power systems operations, SP or robust optimization (RO) is appropriately used to model the decision-making process [16].In contrast to SP, which has probabilistic information, RO assumes that the decision-maker has little knowledge of the underlying uncertainty, apart from its upper and lower limits, and aims to identify an optimal solution that addresses the worst-case scenario within a meticulously defined uncertainty set [17].Adaptive robust optimization (ARO) is an RO model that consists of multiple stages that adapt to mitigate the effects of uncertainty once it is realized.In [18], a multistage ARO model is formulated to handle hydro flow uncertainty for the hydrothermal scheduling problem.The authors of [19] proposed a two-stage adaptive robust optimization for pre-disturbance scheduling in microgrids to address uncertainties related to power market pricing, renewable production, demand projections, and islanding occurrences that reduces operating expenses and mitigates the risk of failures during islanding occurrences.An ARO-base UC model using wind power is formulated in [20] for addressing composite flexibility constraints, ensuring the availability of node flexible resources, and enhancing the composite flexibility of the power system.

9Effective coordination among energy hubs is paramount as it is pivotal in enhancing overall operational efficiency and unlocking synergistic benefits within complex energy systems.Several articles have demonstrated this.The authors of [21] proposed a new distributed optimization algorithm, Nesterov-Proximal Atomic Coordination (NST-PAC), for the coordination of EHs while maintaining the privacy of the exchange of information between the hubs.To coordinate energy sharing among EHs and prosumers, the authors of [22] proposed a bi-level energy sharing (BES) algorithm to integrate contract theory and consensus algorithm.The authors of [23] proposed a scheduling method for coordinating transmission network and distribution EHs.DRO is used to handle independent uncertainties of the EHs solved by an accelerated augmented Lagrangian (AAL) algorithm.

10Optimal allocation of EH components is not given much attention in the reviewed literature.Carbon emission reduction through a carbon capture system (CCS) is not included in most of the literature reviewed above.Most of the reviewed literature did not consider the fading effect of the battery energy storage system (BESS).Neglecting the BESS degradation reduces the optimality of power systems [23].There is also a gap in the integration of essential elements such as BESSs [24], [25], [26], thermal storage systems (TESSs), power-to-gas (P2G), gas-to-power (G2P), hydrogen storage (HS) as sources of flexibility in the EHs.The combination of these diverse and interconnected flexible resources can effectively manage and mitigate uncertainties.Bridging this gap is paramount for advancing the theoretical foundation and practical implementation of EHs that operate efficiently and robustly within dynamic energy landscapes.These gaps have been shown in Table 1.

11This paper proposes a two-stage ARO-based interconnected power and gas system (IPGS) with EHs and other IPGS components optimally sized and allocated among the buses to address the identified gaps.In the first stage, the IPGS and EH components are optimally sized and allocated among the buses and nodes of the IPGN to eliminate overproduction/underproduction and reduce investment and operation costs.While the optimal operation and uncertainty handling are modeled in the second stage.The model combines BESSs, TESSs, hydrogen P2G, G2P, and HSs plants as flexible resources to increase the flexibility of the IPGS.The increased flexibility helps in peak shaving and handling fluctuations in energy supply, which supports increased RES integration and reduced operation costs.To further support sustainability, the carbon emitted by the generating units is captured using CCS to synthesize methane gas sold for revenue.Uncertainties are handled using ARO.The ARO model minimizes the investment and operation costs of the EH under the worst-case realization of the uncertainties, namely, PV output, electricity demand, heat demand, and electricity and gas prices.This further increases the flexibility of the EH because it is robust to sudden variations due to uncertainties.The contributions of this paper are as follows:

121) Deterministic and non-deterministic models are formulated for the optimal sizing and allocation of the EH and IPGS components.The model minimizes the overall investment and operation cost.To support sustainability, carbon emission is captured by the CCS and converted to methane, which also decreases the cost of operation.1 shows what a typical bus of the IPGS could consist of.The EH can supply power to the bus or take power from the bus during BESS charging.The generating unit and solar PV supply power to the bus, the electrolyzer and electricity load take power from the bus, and the FC converts excess hydrogen to the grid through the bus.The EH comprises the CHP, TESS, gas boiler (GB), and BESSs, as shown in Figure 2. The EH takes power from the grid through the bus for charging the BESS.The EH supplies power to the bus from CHP and BESS outputs, as shown in Figure 2. The CHP and boiler convert natural gas to heat and send it to the TESS.The CHP, GB, and TESS outputs supply heat to the heat demand.The flexible resources used for the IPGS are BESSs, TESSs, HSs, and P2G/G2P through electrolyzer and FC.The aim is to make the IPGS highly flexible to variations from the uncertainties while minimizing investment and operation costs.The BESS [29], [30] and TESS store more energy during periods of low energy prices.The stored energy is discharged during periods of high energy prices, effectively reducing the cost of operation.

13Furthermore, to support the sustainability of power systems, the carbon emitted from the generating units is captured using CCS and combined with hydrogen produced by the electrolyzer to synthesize methane gas.Also, excess hydrogen stored in the HS is converted to electricity via fuel cells and sold to the grid.BESS degradation is included in the model to increase optimality.

A. OBJECTIVE FUNCTION

14The objective function of the deterministic model is given by (1).In (1), the investment (IC) and operation cost (OC) are minimized for the whole planning horizon.The first term is the investment cost of each component, which is defined in (2) [31].Where n c i determines the components' optimal size and location.The OC is defined in (3).

15where,

16and,

17The first sum in (3) is the operation costs of the generating units and load shedding penalty, the second sum is the cost of buying natural gas from gas wells, the third sum is the revenue from selling methane gas, the fourth sum is the last models the BESS degradation by penalizing the state of charge (SOC) of the BESS [32].To reduce the BESS degradation, the SOC is minimized at each hour t as much as possible to reduce the charging/discharging cycle, reducing the BESS degradation.

B. CONSTRAINTS 1) IPGS CONSTRAINTS

18The IPGS energy balance ensures that all the energy demands are met.The power balance is defined in (4).The natural gas flow balance is defined (5).The convexified AC optimal power flow using second-order cone programming is modeled in ( 6)- (10) as proposed in [33].Where h i,t = ||v i,t || 2 .The upper and lower bound of the generating units are defined in (11).The upward and downward rampings of the generating units are defined in ( 12) and ( 13) respectively.P g,t + P B,dis i,t

19where,

20The optimal gas flow is defined ( 14)- (18).The Weymouth equation is used to describe the operational state of the natural gas system in ( 14) [10].This equation establishes the connection between gas flow via pipelines and gas pressure at different nodes.The gas flow and pressure flow are bounded by ( 15) and ( 16) respectively.The direction of natural gas and the natural gas compression ratio limit are defined ( 17) and ( 18), respectively.

212) BATTERY ENERGY STORAGE SYSTEM

22The upper and lower limits of the BESS discharging and charging are given by ( 19) and (20), respectively.The optimal sizing and siting of the BESS are determined by the integer n B i , and P B is a constant taken as 1 MW .The charging and discharging of the BESS at each bus are limited by the optimal BESS power capacity n B i P B .The SOC of the BESS at any time t is given by (21).The upper and lower limits of the BESS SOC are defined as (22).The upper bound of the BESS SOC at each bus is limited by the optimal energy capacity of the BESS n B i E B .E B is a constant taken as 1 MWh.The BESS power and energy capacities are limited by (23).The BESS discharging has an upper-bound defined in (24).Where u ch i,t is a binary variable that ensures the BESS only discharges or charges at any time t.Similarly, the BESS charging has an upper bound defined in (25).

233) CHP PLANT AND GAS BOILER

24The CHP produces electrical and thermal energy using gas as a fuel.The CHP and GB obtain their natural gas from gas wells as defined in (26).The GB produces heat energy using natural gas.The heat produced by the GB is bounded by (27).n GB k is an integer that determines the optimal size and location of the GB on the gas pipeline.Cap GB is a constant taken as 1 MW .The amount of heat energy stored in the thermal energy storage system (TESS) is defined in (28).The CHP heat output and heat from the TESS balance the thermal demand as defined in (29).The TESS SOC is bounded by the optimal capacity of the TESS as shown in (30).The optimal TESS capacity is bounded in (31).The discharging and charging of the TESS are bounded in ( 32) and ( 33), respectively.The maximum ramping of discharging/charging limits are defined in ( 34) and ( 35) respectively [9], [23], [34].The optimal sizing of the TESS is achieved by (30) to (35).n TS k Cap TS determines the optimal sizing and siting of the TESS among the gas nodes.n TS k is an integer and Cap TS is 1 MWh.Constraints ( 36) to (38) ensure that the CHP produces the required power and heat energy.n chp i,k Cap CHP determines the optimal capacity and allocation of the CHP units.n i,k is an integer that determines the size and allocation of CHP units between IPGS bus i and gas node k.Cap CHP is 1 MW .

25η TS,dis ∀t ∈ T (28)

4) CCS

26The CCS captures the CO 2 emitted by the generating units.The CCS is modeled by ( 39)-( 41).The emission is determined by the amount of power generated by the generating units defined in (39).The amount of CO 2 captured by the CCS is determined by the CCS efficiency defined in (40).The amount CO 2 captured by the CCS is limited by the optimal CCS size defined in (41).n CCS i is an integer that decides the capacity and location of the CCS.Cap CCS is taken as 1 Kg.

27Cap CCS (41)

5) ELECTROLYZER AND FUEL CELL

28The electrolyzer converts electricity to hydrogen, which is used to synthesize methane gas, and the excess hydrogen is converted to electricity and sold to the grid.The power input to the electrolyzer is bounded by the optimal capacity of the electrolyzer as defined by (42).n ELEC i is an integer that determines the optimal sizing and allocation of the electrolyzers.The power input to the electrolyzer is converted to hydrogen gas as shown in (43) [35].The produced hydrogen by the electrolyzer is supplied to the methane synthesis chamber (MSC) and the FC.This is defined in (44).The hydrogen is sent via compressors to the MSC and FC, as shown in ( 45) and (46), respectively.The SOC of the HS is modeled in (47).The supply of hydrogen to the MSC and FC is ensured by (48).The HS SOC level is kept so that MSC has sufficient hydrogen supply, as shown in (49).The HS optimal capacity is determined by (50).The optimal capacities of the FC and MSC compressors are determined by ( 51) and ( 52) respectively.The FC converts excess hydrogen to power, as shown in (53) [36], which is sold to the grid.The output of the FC is bounded by the optimal capacity of the FC ash shown in (54).

29The CO 2 captured by the CCS is combined with some of the hydrogen produced by the electrolyzer to produce methane (CH 4 ) to generate revenue.The CO 2 produced is stored in carbon storage (CS) defined in (55).The CO 2 gas balance is defined in (56).The CS optimal sizing and allocation are determined by (57).

30Methane is synthesized from CO 2 and H 2 according the chemical equation ( 58) [37].The captured CO 2 and H 2 from the electrolyzer are combined to produce methane as defined in (59).Where τ = 16/44 and ρ = 16/2 are the mass ratio of methane to CO 2 and H 2 respectively.Min problem (72)-( 74) is then solved.This is done iteratively until a convergence is reached.

31In the first iteration of the algorithm, k = 0, a feasible value is assumed for x 0 .This value is used to solve the dual of the sub-problem (72)-( 74) to obtain values of ζ 1 and y 1 .The upper bound (UBD) is set to +∞ and the lower bound (LBD) to −∞.A convergence tolerance level is assumed (ϵ > 0).Then, if ϵ ≥ UBD − LBD, the optimal values of x, y, ζ are obtained.Otherwise, the number of iterations k is incremented by 1, that is, k = 1.The leader problem (66)-( 69) is solved with the values y k+1 , ζ k+1 to obtain x k .Then, LBD is set to c T x k +α k .The dual of the second stage problem is solved with x k to obtain y k+1 , ζ k+1 .The UBD is set to c T x k +S(x k ).The iteration is repeated until ϵ ≥ UBD−LBD.Then, the optimal values of x, y, ζ are obtained.

32In the dual of the sub-problem (72)-(74), there is a bilinear term y T ζ .A global optimum is not guaranteed with this nonlinearity.The bilinear term is handled as explained in detail in Section III-E.

E. HANDLING THE BILINEAR TERMS

33The bilinear term in the dual results in a nonconcave solution which does not guarantee an optimal solution [38].Specifically, y T ζ involves multiplying dual variables and bilinear uncertain parameters.The solution of the sub-problem is located at the extreme points of the polyhedral uncertainty set ζ [39].Thus, the bilinear term can be converted into equivalent mixed-integer linear programming (MILP) problem.This is done by modeling the uncertain parameters as shown in (81)-(82).

34where ι ζ and ι ζ are the negative and positive deviations of the uncertain parameters from their mean values.For electricity load, heat, and hydrogen demands, the deviation is only on the positive side (ι ζ = 0) because the extreme realization would be at the positive deviation of the mean ζ .For the uncertain PV and wind outputs, the worst-case realization is the negative deviation from mean ζ , that is, ι ζ = 0.

35In the case of electricity prices, the deviation from the mean ζ would be both on the negative and positive sides of the mean.The EH buys and sells energy from and to the grid.Thus, the electricity price's worst-case realization can be on the extreme negative and positive deviations from the mean ζ .On the other hand, the worst-case realization of the gas price uncertainty is that the deviation of gas price from the mean gas price will only be on the positive side of the mean ζ because the EH only buys gas for the CHP plant.The third term of (72) can be substituted with (81) as shown in (83).

36In (83) involves multiplying y T by ι ζ and y T by ι ζ which makes (83) bilinear.This can transformed into a linear equivalent using auxiliary variables y d and y u , as shown in ( 84)-( 89).The case study is based on Figure 3.The IPGS was tested on the IEEE 24-bus system [40].The aim is to find the optimal locations and capacities of the EHs among candidate locations in the IEEE bus system.The gas network on the IEEE 24-bus system is shown in Figure 4.The candidate locations for the EH optimal allocation are Bus 1, Bus 3, Bus 7, Bus 13, Bus 18 and Bus 22.At each of the candidate buses, there is heat demand.Buses 1, 3, and 7 have interconnected heat pipelines, and buses 13, 18, and 22 interconnect heat pipelines.The generating units', line, and load data are taken from [40].The cost and features of the IPGS components are shown in Table 2.The simulation results were obtained for one year.Historical data was used for the PV output, load [40], and hydrogen demand [35].uncertain parameters.The IPGS component sizes are predetermined and are not optimally sized, while the EH components are optimally sized at the candidate buses without optimal allocation.2) Case II: In addition to Scenario I, the EH components are optimally sized and allocated among the candidate buses in this scenario.This aims to show the effect of optimally sizing and allocating the EH components instead of allocating them to all candidate buses.3) Case III: In this scenario, the uncertainties in electricity load, thermal demand, methane demand, electricity prices, and gas prices are accounted for using the proposed ARO model.This aims to show how the ARO model improves the model.4) Case IV: In this scenario, the proposed ARO IPGS model is simulated on larger systems, namely, the IEEE 57-bus system and the IEEE 118-bus system, to show the applicability of the proposed model on larger systems.This shows the scalability of the proposed ARO IPGS model.To analyze the above scenarios, analyses that include economic performance, stability, uncertainty handling, optimal sizing, and allocation have been made.

B. ECONOMIC PERFORMANCE ANALYSIS

37Table 3 shows the sizing and allocation of the IPGS and EH components for Case I, Case II, and Case II.The allocation of the components, the operation cost decreased by 4.43%.The ARO model slightly increases the operation cost by 0.59% from the deterministic Case II model.Overall, the ARO model adds a layer of protection against worst-case uncertainty realization at the cost of a small investment and operation cost increase.

C. UNCERTAINTY HANDLING ANALYSIS

38The model was simulated for a typical 24-hour time horizon for the IEEE 24 bus system while taking the optimal capacities from Case III.The uncertainty budget was varied to capture the different levels of uncertainty on the IPGS.For illustration purposes, the normalized value was used for .ranges from 0 to 1, when = 0, no uncertainty is considered for the whole simulation period and = 1 captures the total hours of the uncertainty.The deviation of the uncertain parameters from their mean values was also varied.The total load shedding of the system was observed during each variation.The results are plotted in Figure 8.The load shedding decreases and eventually becomes zero with an increased uncertainty budget when more uncertainty is captured.This shows how the effectiveness of the proposed IPGS ARO model in handling uncertainties.The proposed model performs better than the deterministic model (when = 0), which had the highest load shedding for each deviation of the uncertainties from their mean.This will support high penetration levels of RESs which increase uncertainty.

39Furthermore, Figure 9 shows the electricity consumption from the generating units before and after the proposed ARO model for a 24-hour horizon.The proposed ARO model modifies electricity consumption.The electricity consumption is fairly reduced for the proposed ARO model.This is due to the ARO model scheduling the operation of the PV and storage more optimally while handling the uncertainties in the PV.The proposed IPGS ARO model optimally schedules all the energy sources to meet the various demands without deficit, as shown in Figure 10 and Figure 11 for the electric and heat energy, respectively.The initial SOC of the BESS, TESS, and HS are assumed to be fully charged with electricity, heat, and hydrogen, respectively.The charging and discharging of BESS and TESS shown in Figure 10 and Figure 11, respectively, are the results of regular 24-hour operation after the optimal capacities have been implemented for the IEEE 24-bus system.The charging/discharging in Figure 10 are the combined charging/discharging of the buses containing the BESS.Similarly, the charging/discharging in Figure 11 are the combined charging/discharging of the buses containing the TESS.

D. SCALABILITY ANALYSIS

40The proposed IPGS ARO model was simulated on the IEEE 118-bus described in Case IV to test the model's scalability.The components were optimally sized and allocated among the buses.Then, the system simulated while the uncertainty budget was varied, similar to Section IV-C.The action of the ARO model on load shedding is shown in Figure 12.The deviation of the uncertain parameters from their mean values was increased to further increase the effect of the uncertainties.From Figure 12, the load shedding was highest for the deterministic simulation ( = 0), which gradually decreased to zero as the was increased to the maximum.The load shedding at 25 % is the highest due to the higher effect of the uncertainties.This further demonstrates the effectiveness of the proposed IPGS ARO model in optimally sizing and allocating the components while adequately handling uncertainties.

V. CONCLUSION

41This paper formulates a two-stage IPGS with EHs and other IPGS components.The model minimizes the investment and operation costs of the EH components.Highly flexible resources, namely, BESSs, TESSs, HS, CS, hydrogen P2G, and G2P, were included to hedge against the variability of the RES.The proposed model supports sustainability by having a high PV share and incorporating carbon capture technology.The optimal sizes of the IPGS and EH components were obtained in the first stage.In the second stage, the operation of the EH components was optimized.Duality theory and dual cuts were used to solve the two-stage ARO problem.

42The proposed model has been shown to be robust to increased uncertainty levels.This is done by a slight increase in the IC and OC, as shown in the case study.As shown in the case study, the uncertainty budget = 0 behaves like a deterministic model with less RES penetration and slightly less IC and OC costs.This indicates how the proposed ARO model supports increased RES penetration.The model is scalable to large power systems as proven in the simulation.The simulation results also demonstrated the effectiveness of the ARO model, where electricity and heat energy demands were met throughout the simulation period.

43The proposed model did not consider ancillary services provided to the grid.Ancillary services such as energy and frequency ancillary services will reduce the cost of operation while helping with grid stabilization.Ancillary service provision could be considered for future research work.Also, the flexibility of the proposed model could be increased by considering demand response and electric vehicles.

2 )

44To improve flexibility to variations in PV, periods of high demand, and unforeseen disruptions, the proposed model employs flexible resources, including BESSs, TESSs, hydrogen P2G, G2P, and HSs.The BESSs and TESSs also help decrease operation costs by effectively storing more energy during low electricity and gas prices, respectively.BESS degradation is included in the model to increase optimality.3) The non-deterministic model is formulated as a two-stage ARO model.The optimal sizing and allocation of the EH and IPGS components among the nodes of the IPGS are determined in the first stage.In the second stage, the operation cost of the EH is minimized under the worst-case realization of the uncertainty set.Electricity prices, gas prices, RES output, electricity demand, heat demand, and hydrogen demand uncertainties are included in the ARO model.The robustness of the ARO is adjustable by varying the uncertainty budget.4) The two-stage ARO model is decomposed using a C&CG-based algorithm.Duality theory and dual cuts are employed to decompose the ARO model.The big-M method is used to linearize the bilinear secondstage terms.The decomposition method can identify the global optimum with a manageable computational effort.The rest of the paper is structured as follows.The deterministic model is formulated in Section II.The proposed ARO model is formulated in Section III.Simulation results are shown in Section IV, and Section V concludes the paper.II.DETERMINISTIC MODEL FORMULATION This section shows the formulation of the IPGS deterministic model in detail.The proposed model minimizes the overall investment and operation costs of the IPGS and EH components.The components of the proposed IPGS are illustrated in

FIGURE 1 .

45FIGURE 1.The IPGS components.

FIGURE 2 .

46FIGURE 2. The energy hub structure.

Figure 1 .

47Figure1.The IPGS comprises energy exchange with the grid electricity demand, heat demand, hydrogen demand, CCS, and methane synthesis.Figure1shows what a typical bus of the IPGS could consist of.The EH can supply power to the bus or take power from the bus during BESS charging.The generating unit and solar PV supply power to the bus, the electrolyzer and electricity load take power from the bus, and the FC converts excess hydrogen to the grid through the bus.The EH comprises the CHP, TESS, gas boiler (GB), and BESSs, as shown in Figure2.The EH takes power from the grid through the bus for charging the BESS.The EH supplies power to the bus from CHP and BESS outputs, as shown in Figure2.The CHP and boiler convert natural gas to heat and send it to the TESS.The CHP, GB, and TESS outputs supply heat to the heat demand.The flexible resources used for the IPGS are BESSs, TESSs, HSs, and P2G/G2P through electrolyzer and FC.The aim is to make the IPGS highly flexible to variations from the uncertainties while minimizing investment and operation costs.The BESS[29],[30] and TESS store more energy during periods of low energy prices.The stored energy is discharged during periods of high energy prices, effectively reducing the cost of operation.Furthermore, to support the sustainability of power systems, the carbon emitted from the generating units is captured using CCS and combined with hydrogen produced by the electrolyzer to synthesize methane gas.Also, excess

48Figure1.The IPGS comprises energy exchange with the grid electricity demand, heat demand, hydrogen demand, CCS, and methane synthesis.Figure1shows what a typical bus of the IPGS could consist of.The EH can supply power to the bus or take power from the bus during BESS charging.The generating unit and solar PV supply power to the bus, the electrolyzer and electricity load take power from the bus, and the FC converts excess hydrogen to the grid through the bus.The EH comprises the CHP, TESS, gas boiler (GB), and BESSs, as shown in Figure2.The EH takes power from the grid through the bus for charging the BESS.The EH supplies power to the bus from CHP and BESS outputs, as shown in Figure2.The CHP and boiler convert natural gas to heat and send it to the TESS.The CHP, GB, and TESS outputs supply heat to the heat demand.The flexible resources used for the IPGS are BESSs, TESSs, HSs, and P2G/G2P through electrolyzer and FC.The aim is to make the IPGS highly flexible to variations from the uncertainties while minimizing investment and operation costs.The BESS[29],[30] and TESS store more energy during periods of low energy prices.The stored energy is discharged during periods of high energy prices, effectively reducing the cost of operation.Furthermore, to support the sustainability of power systems, the carbon emitted from the generating units is captured using CCS and combined with hydrogen produced by the electrolyzer to synthesize methane gas.Also, excess

49III. PROPOSED ADAPTIVE ROBUST MODELModel (1)-(59) can be generalized in the form of the model (60)-(62).The model (60)-(62) is a generic form that will be used to derive the C&CG-based algorithm for the proposed ARO model.Equation (60) is the objective function where x represents the capacities of the proposed components, p represents the power output levels of the energy sources, and ζ represents the uncertainties.The coefficient matrices for the optimization variables arec, b, f, h, A, D, E and G.The IC and OC of (1) are represented by c T x and b T p respectively in objective function (60).Equation (61) represents the upper limits for sizing the components.Equation (62) represents all the constraints, including SOC, limits, and energy balance.Constraints (4)-(59) are represented by (61)-(62).

FIGURE 3 .

50FIGURE 3. Flowchart of the proposed model.

FIGURE 4 .

51FIGURE 4. Modified IEEE 24-bus for the IPGS.

FIGURE 5 .

52FIGURE 5. Electricity load.

Figure 5 and

53Figure 5 and Figure 6 are typical daily historical data for winter, summer, spring, and fall electricity load and PV output, respectively.These four seasons represented a year in the simulation.The mean values are the historical data used for the electricity load, heat demand, PV output, and hydrogen demand.These values are given upper and lower deviation limits during the ARO, as shown in the simulation.The use of large-scale PV illustrates the technical feasibility and effect of high-RES penetration in power grids and how the proposed ARO model can support it.Daily electricity prices in summer and winter were obtained from [41].The simulation is carried out in different scenarios to analyze the effectiveness of the proposed ARO model.These scenarios are: 1) Case I: In this scenario, the deterministic model (1)-(59) was simulated.The simulation is carried out using historical data without considering the variability of the

FIGURE 6 .

54FIGURE 6. PV ouput.

FIGURE 7 .

55FIGURE 7. Investment and operation cost.

FIGURE 10 .

56FIGURE 10.Energy balance.

FIGURE 11 .

57FIGURE 11.Heat energy balance.

FIGURE 12 .

58FIGURE 12. Effects of varying the deviation of the uncertainties from their mean values and uncertainty budget on load shedding for Case IV IEEE 118-bus.

59Deviation of the gas price from the forecast mean value at time t.Deviation of the heat demand from the forecast mean value at time t.PL Deviation of the electricity demand PV output from the forecast mean value at time t.PPV Deviation of the PV output from the forecast mean value at time t.λ BSOC , λ B Weighting factors for BESS degradation.λ

60λgas t t t t State of charge of TESS at time t.SOC B t State of charge of the BESS at time t.C H 2 ,FC t Hydrogen compressed to FC. C H 2 ,L t Hydrogen compressed to HS. E B Optimal energy capacity of the BESS.

TABLE 1 .

61Comparison of some previous articles.

참고문헌 40건

  1. The IEEE Reliability Test System-1996. A report prepared by the Reliability Test System Task Force of the Application of Probability Methods Subcommittee IEEE Transactions on Power Systems · Institute of Electrical and Electronics Engineers · 1999 10.1109/59.780914
  2. Adaptive Robust Optimization for the Security Constrained Unit Commitment Problem IEEE Transactions on Power Systems · Institute of Electrical and Electronics Engineers · 2012 10.1109/tpwrs.2012.2205021
  3. A Stochastic Bilevel Model for the Energy Hub Manager Problem IEEE Transactions on Smart Grid · Institute of Electrical and Electronics Engineers · 2016 10.1109/tsg.2016.2618845
  4. A Decentralized Energy Management Framework for Energy Hubs in Dynamic Pricing Markets IEEE Transactions on Smart Grid · Institute of Electrical and Electronics Engineers · 2017 10.1109/tsg.2017.2723023
  5. Adaptive Robust Self-Scheduling for a Wind Producer With Compressed Air Energy Storage IEEE Transactions on Sustainable Energy · Institute of Electrical and Electronics Engineers · 2018 10.1109/tste.2018.2806444
  6. Capacity Planning of Energy Hub in Multi-Carrier Energy Networks: A Data-Driven Robust Stochastic Programming Approach IEEE Transactions on Sustainable Energy · Institute of Electrical and Electronics Engineers · 2018 10.1109/tste.2018.2878230
  7. Sensitivity Analysis of Renewable Energy Integration on Stochastic Energy Management of Automated Reconfigurable Hybrid AC–DC Microgrid Considering DLR Security Constraint IEEE Transactions on Industrial Informatics · Institute of Electrical and Electronics Engineers · 2019 10.1109/tii.2019.2915089
  8. Supervisory Scheduling of Storage-Based Hydrogen Fueling Stations for Transportation Sector and Distributed Operating Reserve in Electricity Markets IEEE Transactions on Industrial Informatics · Institute of Electrical and Electronics Engineers · 2019 10.1109/tii.2019.2926779
  9. Two-Stage Distributionally Robust Optimization for Energy Hub Systems IEEE Transactions on Industrial Informatics · Institute of Electrical and Electronics Engineers · 2019 10.1109/tii.2019.2938444
  10. A Model Predictive Control-Based Energy Management Scheme for Hybrid Storage System in Islanded Microgrids IEEE Access · Institute of Electrical and Electronics Engineers · 2020 10.1109/access.2020.2996434
  11. Optimal Operation of Energy Hubs Considering Uncertainties and Different Time Resolutions IEEE Transactions on Industry Applications · Institute of Electrical and Electronics Engineers · 2020 10.1109/tia.2020.3000707
  12. Complementary Virtual Mirror Fault Diagnosis Method for Microgrid Inverter IEEE Transactions on Industrial Informatics · Institute of Electrical and Electronics Engineers · 2021 10.1109/tii.2021.3053965
  13. Virtual Energy Storage-Based Energy Management Algorithm for Optimally Sized DC Nanogrid IEEE Systems Journal · Institute of Electrical and Electronics Engineers · 2021 10.1109/jsyst.2021.3050779
  14. Renewable Energy Management System: Optimum Design and Hourly Dispatch IEEE Transactions on Sustainable Energy · Institute of Electrical and Electronics Engineers · 2021 10.1109/tste.2021.3058252
  15. Distributed modeling considering uncertainties for robust operation of integrated energy system Energy · Elsevier BV · 2021 10.1016/j.energy.2021.120179
  16. Economic-Effective Multi-Energy Management Considering Voltage Regulation Networked With Energy Hubs IEEE Transactions on Power Systems · Institute of Electrical and Electronics Engineers · 2020 10.1109/tpwrs.2020.3025861
  17. Transmission Planning With Battery-Based Energy Storage Transportation For Power Systems With High Penetration of Renewable Energy IEEE Transactions on Power Systems · Institute of Electrical and Electronics Engineers · 2021 10.1109/tpwrs.2021.3069649
  18. Robust optimization in power systems: a tutorial overview Optimization and Engineering · Springer Science+Business Media · 2021 10.1007/s11081-021-09667-3
  19. Bilevel Heat–Electricity Energy Sharing for Integrated Energy Systems With Energy Hubs and Prosumers IEEE Transactions on Industrial Informatics · Institute of Electrical and Electronics Engineers · 2021 10.1109/tii.2021.3112095
  20. A review of the theoretical research and practical progress of carbon neutrality Sustainable Operations and Computers · Elsevier BV · 2021 10.1016/j.susoc.2021.10.001
  21. Two-stage robust optimization approach for flexible oxygen distribution under uncertainty in integrated iron and steel plants Applied Energy · Elsevier BV · 2021 10.1016/j.apenergy.2021.118022
  22. Integrated energy production unit: An innovative concept and design for energy transition toward low-carbon development CSEE Journal of Power and Energy Systems · China Electric Power Research Institute · 2021 10.17775/cseejpes.2021.05950
  23. A Block-Coordinate-Descent Robust Approach to Incentive-Based Integrated Demand Response in Managing Multienergy Hubs With Must-Run Processes IEEE Transactions on Industry Applications · Institute of Electrical and Electronics Engineers · 2022 10.1109/tia.2022.3144238
  24. Hierarchical Microenergy Hub Sizing and Placement in Integrated Electricity and Natural Gas Distribution Systems IEEE Systems Journal · Institute of Electrical and Electronics Engineers · 2022 10.1109/jsyst.2021.3136586
  25. Decentralized Demand Management Based on Alternating Direction Method of Multipliers Algorithm for Industrial Park with CHP Units and Thermal Storage Journal of Modern Power Systems and Clean Energy · Springer Nature · 2022 10.35833/mpce.2020.000623
  26. Techno-Economic Analysis and Optimal Operation of a Hydrogen Refueling Station Providing Frequency Ancillary Services IEEE Transactions on Industry Applications · Institute of Electrical and Electronics Engineers · 2022 10.1109/tia.2022.3167377
  27. A Distributed-Optimization-Based Architecture for Management of Interconnected Energy Hubs IEEE Transactions on Control of Network Systems · Institute of Electrical and Electronics Engineers · 2022 10.1109/tcns.2022.3165022
  28. Sizing and Siting of Battery Energy Storage Systems: A Colombian Case Journal of Modern Power Systems and Clean Energy · Springer Nature · 2022 10.35833/mpce.2021.000237
  29. Optimal Sizing of Different Energy Sources in an Isolated Hybrid Microgrid Using Turbulent Flow Water-Based Optimization Algorithm IEEE Access · Institute of Electrical and Electronics Engineers · 2022 10.1109/access.2022.3182032
  30. Pre-Perturbation Operational Strategy Scheduling in Microgrids by Two-Stage Adjustable Robust Optimization IEEE Access · Institute of Electrical and Electronics Engineers · 2022 10.1109/access.2022.3190710
  31. Optimal Battery Energy Storage Dispatch in Energy and Frequency Regulation Markets While Peak Shaving an EV Fast Charging Station IEEE Open Access Journal of Power and Energy · Institute of Electrical and Electronics Engineers · 2022 10.1109/oajpe.2022.3198553
  32. Multistage adaptive robust optimization for the hydrothermal scheduling problem Computers & Operations Research · Elsevier BV · 2022 10.1016/j.cor.2022.106051
  33. Distributionally Robust Decentralized Scheduling Between the Transmission Market and Local Energy Hubs IEEE Transactions on Power Systems · Institute of Electrical and Electronics Engineers · 2022 10.1109/tpwrs.2022.3215945
  34. Optimization of Hybrid Energy Storage System Sizing With Considering Energy Management Strategy for High-Power Pulsed Load in Aircraft IEEE Transactions on Vehicular Technology · Institute of Electrical and Electronics Engineers · 2023 10.1109/tvt.2022.3228734
  35. Optimal Operation of Energy Hub: An Integrated Model Combined Distributionally Robust Optimization Method With Stackelberg Game IEEE Transactions on Sustainable Energy · Institute of Electrical and Electronics Engineers · 2023 10.1109/tste.2023.3252519
  36. Robust optimization of unit commitment with wind power considering composite flexibility constraints International Journal of Electrical Power & Energy Systems · Elsevier BV · 2023 10.1016/j.ijepes.2023.109146
  37. Enhanced Microgrid Reliability Through Optimal Battery Energy Storage System Type and Sizing IEEE Access · Institute of Electrical and Electronics Engineers · 2023 10.1109/access.2023.3288427
  38. Hierarchical optimal scheduling method for regional integrated energy systems considering electricity-hydrogen shared energy Applied Energy · Elsevier BV · 2023 10.1016/j.apenergy.2023.121670
  39. A second-order conic approximation to solving the optimal power flow problem in bipolar DC networks while considering a high penetration of distributed energy resources International Journal of Electrical Power & Energy Systems · Elsevier BV · 2023 10.1016/j.ijepes.2023.109516
  40. Health Management for PEMFC System Long-Term Operation Based on Optimal Temperature Trajectory Real-Time Optimization IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2024 10.1109/tie.2024.3436539