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

Chance-constrained optimization for integrated local energy systems operation considering correlated wind generation

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

기본 정보

저자
  1. Da Huo — School of Engineering, Newcastle University, Newcastle NE1 7RU, UK
  2. Chenghong Gu — Department of Electronic and Electrical Engineering, University of Bath, Bath BA2 7AY, UK
  3. David Greenwood — School of Engineering, Newcastle University, Newcastle NE1 7RU, UK
  4. Zhaoyu Wang — Iowa State University, Ames, IA 50011, USA
  5. Pengfei Zhao — Department of Electronic and Electrical Engineering, University of Bath, Bath BA2 7AY, UK
  6. Jianwei Li — Centre for Advanced Low Carbon Propulsion Systems, Institute for Future Transport and Cities, Coventry University, UK
DOI
10.1016/j.ijepes.2021.107153
저널
International Journal of Electrical Power & Energy Systems
발행년도
2021
발행기관
Elsevier BV
피인용수
45
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1016/j.ijepes.2021.107153
토픽
Hybrid Renewable Energy Systems
OpenAlex ID
W3158292500

평가 내용

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

초록

Energy hubs, which integrate multiple energy vectors through converters, can enhance the value of Integrated Local Energy Systems (ILES) via increased flexibility and reduced costs. However, uncertain renewable energy and the non-convex, non-linear properties of energy flows complicate the modelling and operation of energy hub systems. This paper develops chance-constrained optimization methods for planning and operation of energy hub systems under uncertainty. The non-linear formulations of power and gas flows are relaxed by convexification methods, leading to a formulation of Second Order Cone Problem (SOCP), which can be efficiently solved to global optimality. The correlation between geographically close wind generators connected to the hub systems is modelled by establishing their relation using Gaussian copula. The proposed chance-constrained optimization is demonstrated on a six-hub system within a multi-vector energy distribution network with 7 electrical buses and 7 gas nodes. The value of different levels of system integration through the installation of energy hubs is investigated. The results show that by combining system integration via energy hubs with chance constrained operation, the proposed method can reduce operating costs and increase renewable energy yields, thereby benefitting hub system operators and customers with reduced energy infrastructure investment and energy costs.

본문 68,888자

본문 펼치기
# Chance-constrained optimization for integrated local energy systems operation considering correlated wind generation ## Da Huo, Chenghong Gu, David Greenwood, Zhaoyu Wang, Pengfei Zhao, and Jianwei Li Final Published version deposited by Coventry University’s Repository Original citation & hyperlink: <mark>Huo, D., Gu, C., Greenwood, D., Wang, Z., Zhao, P. and Li, J., 2021. Chance-constrained</mark> <mark>optimization for integrated local energy systems operation considering correlated wind</mark> <mark>generation.</mark> _<mark>International Journal of Electrical Power & Energy Systems</mark>_ <mark>,</mark> _<mark>132</mark>_ <mark>, 107153.</mark> <u>[https://dx.doi.org/10.1016/j.ijepes.2021.107153](https://dx.doi.org/10.1016/j.ijepes.2021.107153)</u> DOI <u>[10.1016/j.ijepes.2021.107153](https://doi.org/10.1016/j.ijepes.2021.107153)</u> ISSN 0142-0615 Publisher: Elsevier [Published under a Creative Commons Attribution (CC BY) license](https://creativecommons.org/licenses/by/4.0/) [Electrical Power and Energy Systems 132 (2021) 107153](https://doi.org/10.1016/j.ijepes.2021.107153) Contents lists available at ScienceDirect ## International Journal of Electrical Power and Energy Systems [journal homepage: www.elsevier.com/locate/ijepes](https://www.elsevier.com/locate/ijepes) ### Chance-constrained optimization for integrated local energy systems operation considering correlated wind generation Da Huo <sup>a,*</sup>, Chenghong Gu <sup>b</sup>, David Greenwood <sup>a</sup>, Zhaoyu Wang <sup>c</sup>, Pengfei Zhao <sup>b</sup>, Jianwei Li <sup>d</sup> a _School of Engineering, Newcastle University, Newcastle NE1 7RU, UK_ b _Department of Electronic and Electrical Engineering, University of Bath, Bath BA2 7AY, UK_ c _Iowa State University, Ames, IA 50011, USA_ d _Centre for Advanced Low Carbon Propulsion Systems, Institute for Future Transport and Cities, Coventry University, UK_ A R T I C L E I N F O _Keywords:_ Chance-constrained programming Copula Correlation Distribution network Energy hub Integrated Local Energy Systems 1. Introduction A B S T R A C T Energy hubs, which integrate multiple energy vectors through converters, can enhance the value of Integrated Local Energy Systems (ILES) via increased flexibility and reduced costs. However, uncertain renewable energy and the non-convex, non-linear properties of energy flows complicate the modelling and operation of energy hub systems. This paper develops chance-constrained optimization methods for planning and operation of energy hub systems under uncertainty. The non-linear formulations of power and gas flows are relaxed by convexification methods, leading to a formulation of Second Order Cone Problem (SOCP), which can be efficiently solved to global optimality. The correlation between geographically close wind generators connected to the hub systems is modelled by establishing their relation using Gaussian copula. The proposed chance-constrained optimization is demonstrated on a six-hub system within a multi-vector energy distribution network with 7 electrical buses and 7 gas nodes. The value of different levels of system integration through the installation of energy hubs is inves­ tigated. The results show that by combining system integration via energy hubs with chance constrained oper­ ation, the proposed method can reduce operating costs and increase renewable energy yields, thereby benefitting hub system operators and customers with reduced energy infrastructure investment and energy costs. Integrated Local Energy Systems couple the electricity and gas dis­ tribution networks to meet electrical and heat demand, thereby unlocking new business models and enhancing the value of existing infrastructure. However, their operation faces challenges due to the complex interaction between the two networks, high penetrations of distributed energy resources, and uncertainty arising from both supply and demand [1]. The concept of energy hubs – nodes at which energy can be converted from one form to another and passed between energy vectors - can help address challenges caused by uncertain renewable generation and significant changes in customer demand profiles. Energy hubs can coordinate various energy vectors to meet demand for gas, heat, and electricity, thereby significantly improving the efficiency of, and customer interaction with, energy systems [2,3]. ILES operators, customers, and generator owners can benefit from the flexibility of en­ ergy hubs, but the added complexity requires optimally scheduling the energy flows across all vectors. - Corresponding author. _E-mail address:_ [Da.Huo@newcastle.ac.uk (D. Huo).](mailto:Da.Huo@newcastle.ac.uk) Optimization of the energy hub system involves taking optimal de­ cisions for energy flows and operation of energy hub components, including converters which enable multi-vector operation, which have been investigated in the existing literature: [4] presents optimization for renewable-based integrated electricity-gas-thermal networks incorpo­ rating demand response. [5] proposes a bi-level model to optimal co­ ordinate the operations between the energy hubs and distribution network. [6] integrates the concept of smart energy hubs into a distri­ bution network using integrated information gap decision theory. [7] proposes capacity planning of energy hubs with a robust, data-driven approach. [8] develops a generalized heuristic approach to solve the optimal energy flow problem in the energy hub system. [9] and [10] propose a decomposed approach to optimize the behavior of, and flows between, interconnected energy hub systems using Particle Swarm Optimization. The above literature all investigated the optimization of multiple energy hubs considering the energy flows with different ob­ jectives. However, most of the solutions rely on linearization of either the non-convex AC power flow or gas flow, which reduces the accuracy [https://doi.org/10.1016/j.ijepes.2021.107153](https://doi.org/10.1016/j.ijepes.2021.107153) Received 6 August 2020; Received in revised form 7 January 2021; Accepted 21 March 2021 Available online 15 May 2021 0142-0615/© 2021 The Author(s). Published by Elsevier Ltd. [This is an open access article under the CC BY license (http://creativecommons.org/licenses/by/4.0/).](http://creativecommons.org/licenses/by/4.0/) _D. Huo et al. International Journal of Electrical Power and Energy Systems 132 (2021) 107153_ of the results; others simulate the full power flow and gas flow equa­ tions, yielding a non-convex problem formulation which fails to ensure a global optimality and requires large computational efforts for solution using a heuristic solver. A convex representation of a multi-carrier network and the energy hub components would therefore be of signifi­ cant value to ensure fast and accurate solution of the optimization problem. Energy hub operations and energy flows between hubs could be significantly affected by uncertainty in production and consumption of energy, most notably arising from renewable electricity generation. Several options exist to solve the energy hub optimization problem with uncertainty: robust optimization has been applied in [11] and [12] for planning and dispatching demand response; chance constrained pro­ gramming and distributionally robust optimization are respectively applied in [13] and [14] to optimize the energy hub system; Monte Carlo simulation is applied in [15,16] to model the uncertain inputs for energy management; and scenario-generation methods are applied in [17,18] to simulate the uncertainty in load, price, and renewable generation; in­ formation gap decision theory is applied in [19] to optimize the system under uncertainty from electric vehicles of energy hub system. However, the uncertain outputs from renewable generators at a given hub may be correlated with those at other hubs which are geographically nearby [20]; these correlations are generally ignored in the above literature, and could lead to unplanned curtailment of renewable energy or violation of network limits. This feature challenges optimal system operation, particularly when renewable power generation is high. Therefore, the modelling of correlated uncertainties may be of signifi­ cant importance in ensuring optimal energy hub operation. The dependent uncertain variables can be formulated by joint distributions, but they lead to intractable optimization problems. Some expansion methods, introduced in [21], can estimate the probability density functions of the joint distributions with joint moments and cumulants. However, the calculation of joint cumulants becomes very complex as the number of uncertain variables increases [21]. Hence, expansion methods are inappropriate to solve the optimization problem with multiple correlated uncertain variables. [22] employs the Cholesky decomposition to capture the correlations, but the method can only be applied to reflect the linear relationships. The stochastic electricity price under electricity market could also affect the operations of energy hubs, and hence the energy flows be­ tween them. Reference [23] proposes a bidding strategy for wind and thermal generators participating in the day-ahead market by stochastic programming, considering the uncertainty in energy prices and wind energy; reference [24] employs a cooperative game approach to present a coordinated bidding strategy for Power-to-Gas (P2G) facilities and wind generators by taking into account the uncertainty of forecast error of wind generation; reference [25] proposes an optimal day-ahead scheduling for P2G storage and gas load management in electricity and gas markets. This paper focusses on the effect of uncertainty in production and consumption to the energy hub system and its relevant distribution systems; it is reasonable to assume that these systems are sufficiently small to be price-takers, and therefore the influence of en­ ergy markets is not examined. Future research, considering systems in which energy hubs make up a substantial proportion of the supply and demand base, could address this. Based on the existing literature, there is a need to develop an opti­ mization model for energy hubs within the ILES which can: 1. Pursue the global minimum efficiently and with high accuracy; 2. Address the uncertainty within the system; and 3. Accounting for correlation structures which exist between sources of uncertainty, such as renewable generator outputs. This paper achieves the first of these by applying the convexification method proposed in [26] to relax the non-convex power flow in a radial network; relaxing the non-convex gas flow (for a radial network) [27] and thereby formulating the ILES optimization problem as a convex Second Order Cone Programming (SOCP) problem. The second is addressed through Chance-Constrained Programming (CCP), which is applied to optimize the energy hub system under uncertainty. Finally, the correlation of wind speed forecast errors in a multi-energy hub system is modelled by Gaussian copula, which can fit the joint distri­ butions with high dimensionality and incomplete parameter estimation of uncertain variables [28]. Some distribution system constraints can safely be violated so long as this is infrequent and for a short duration; most notably, thermal con­ straints are set probabilistically, and in overhead line networks they are likely to have a higher thermal capacity during periods of high wind generation due to wind cooling effects [29]. Energy hubs can help to manage these constraints by using converters to mitigate the influence of uncertain renewable generation, while allowing an acceptably small probability of overload to significantly reduce operating costs. This paper proposes the use of chance constraints to restrict the power flow limits and applies CCP to minimize system cost while addressing the wind generation uncertainty with an acceptable probability level. The main contributions of the paper are therefore: The rest of the paper is organised as follows: the modelling method for energy hub systems with convex-relaxed electricity and gas networks are described in Section 2. The correlated outputs from renewable generators are presented in Section 3. In Section 4, the optimization problem is formulated and the methodology is introduced. Case studies are discussed in Section 5 and conclusions are presented in Section 6. 2. System modelling _2.1._ _Energy hub modelling_ A general energy hub model, which includes all the converters applied in this paper, is described in in this section and illustrated in Fig. 1. The energy hub system utilizes electricity, gas, and wind energy to meet electrical and thermal demand. Each hub contains a Combined Heat and Power (CHP) system which converts gas to heat and electricity and a Ground Source Heat Pump (GSHP) which converts electricity to heat. Wind Turbines (WT), which convert kinetic wind energy into electric power, are also included in some energy hubs. Fig. 1. A single energy hub. (i) A novel method is presented to enable optimal planning of inte­ grated local energy systems under uncertainty; (ii) The gas and electricity networks are transformed to a convex, second order conic model, enabling the globally optimal oper­ ating regime to be quickly and accurately obtained; (iii) Operation under uncertainty is enabled by applying chance constraints to the power flow limits in the electrical network; (iv) Systems integration is enabled through energy hubs; the impact of the number of hubs installed is quantified; (v) Correlations between sources of uncertainty are modelled by Gaussian copula, and the implication of neglecting these corre­ lations is demonstrated. _D. Huo et al. International Journal of Electrical Power and Energy Systems 132 (2021) 107153_ The application of GSHP benefits from high and stable ground tem­ perature, it will also be essential to decarbonize the energy system [30]. The outputs of GSHP ( _PHP_out_ ) is quantified in (1) _PHP_ _out_ = _COP_ - _PHP_ (1) where, _COP_ denotes the Coefficient of Performance of the GSHP and _PHP_ is the electrical power input to GSHP and _PHP_out_ is the heat output of the GSHP. The electrical ( _PCHP,E_ ) and heat ( _PCHP,H_ ) outputs of the CHP are formulated as a function of the natural gas injection ( _PCHP_ ) in (2) _PCHP,E_ = _ηe_ - _PCHP_ (2a) _PCHP,H_ = _ηth_ - _PCHP_ (2b) where _ηe_ and _ηth_ are the electric and thermal efficiencies, respectively. The wind generation is expressed in terms of the wind speed _vw_ by piecewise function in (3) [31], where _Prated_ is the wind turbine rated power. _vci_, _vrd_, _v_ ct respectively represent the cut-in, rated, and cut-out wind speeds. √ _Pnet,i_ = 2 _Giiui_ + ∑ _Ne_ _k_ = 1 _k_ ∕= _i_ [ _GikRik_ + _BikIik_ ] (10) √ _Qnet,i_ = - 2 _Biiui_ ∑ _Ne_ _k_ = 1 _k_ ∕= _i_ [ _BikRik_ - _GikIik_ ] (11) _Prated,_ ( _vrd_ _< vw_ _< vct_ ) 0 _,_ ( _vw_ _< vci, vw_ _> vct_ ) ) The ancillary variables _Rik_ and _Iik_ satisfy (12), which can be relaxed to rotated quadratic cones (13). 2 _uiuk_ = _R_ <sup>2</sup> _ik_ <sup>+</sup> <sup>_I_</sup> _ik_ <sup>2</sup> (12) 2 _uiuk_ ≥ _R_ <sup>2</sup> _ik_ <sup>+</sup> <sup>_I_</sup> _ik_ <sup>2</sup> (13) The original non-convex power flow equations can therefore be transformed to the convex SOCP model of (7)-(11), (13). _2.3._ _Convex relaxation of gas network_ Each energy hub is also connected to a specific node in the gas dis­ tribution network. The nodal gas flow balance for the gas node _i_ is expressed in (14) [27]. _vrd_ - _vci_ (3) _Pw_ = ⎧ ⎪⎪⎪⎪⎨ ⎪⎪⎪⎪⎩ _Prated_ ( _<u>vw</u>_ <u>−</u> _<u>vci</u>_ _,_ ( _vci_ ≤ _vw_ ≤ _vrd_ ) _k_ =1 <sup>_out_</sup> _ik_ <sup>= 0</sup> (14) ∑ _Ng_ (1 − _χik_ ) _q_ <sup>_out_</sup> _ik_ The energy transformation through the energy hub system in Fig. 1 is expressed in (4), where the output matrix ( _L_ ) is equal to the converter coupling matrix ( _C_ ) multiplied by the input matrix ( _P_ ). _qgw,i_ - _qd,i_ ∑ _Ng_ _k_ =1 _q_ <sup>_in_</sup> _ik_ <sup>+</sup> _q_ <sup>_in_</sup> _ik_ _Pele_ _Pwi_ _Pgas_ Where _qgw,i_ is the gas injection at node _i_, _qd,i_ denotes the gas load demand, _q_ <sup>_in_</sup> _ik_ <sup>and</sup> <sup>_qout_</sup> _ik_ <sup>represent the gas inflow and outflow between node</sup> <sup>_i_</sup> demand, _q_ <sup>_in_</sup> _ik_ <sup>and</sup> <sup>_qout_</sup> _ik_ <sup>represent the gas inflow and outflow between node</sup> <sup>_i_</sup> and _k_, _Ng_ is number of nodes connected to node _i_, and _χik_ is a coefficient which represents the compressor’s consumption ahead of the gas inflows. The average gas flow _qik_ between node _i_ and _k_ can be formulated as in (15)-(16). <sup>_in_</sup> _ik_ <sup>and</sup> <sup>_qout_</sup> _ik_ [ _Lele_ _Lth_ ] ⎤ ⎦ (4) ] × = [ 1 − _ve_ (1 − _ve_ ) _ηe_ (1 − _ve_ ) _veCOP_ _veCOP_ _vg_ ( _ηgh_ + _ηeve_ _ηe_ (1 − _ve_ ) ( _ηgh_ + _ηeveCOP_ ) ⎡ ⎣ Equation (4) shows that the electrical demand ( _Lele_ ) and thermal demand ( _Lth_ ) at time step _t_ are satisfied by utilising electricity ( _Pele_ ), natural gas ( _Pgas_ ), and wind energy ( _Pwi_ ) with the converters. _νe_ is the dispatch factor, which represents the fraction of electricity input into the GSHP over the total electricity consumption. _2.2._ _Convex relaxation of electricity network_ Each energy hub is connected to a distinct bus within the electricity distribution network. The complex power equilibrium at bus _i_ is expressed by the power balance equations in (5) and (6). _qik_ = ( _q_ <sup>_in_</sup> _ik_ <sup>_in_</sup> _ik_ <sup>+</sup> <sup>_qout_</sup> _ik_ <sup>_out_</sup> _ik_ <sup>)</sup> <sup>_/_</sup> <sup>2</sup> (15) _qik_ | _qik_ | = _ϕik_ ( _p_ <sup>2</sup> _i_ _p_ <sup>2</sup> _i_ <sup>−</sup> <sup>_p_</sup> _k_ <sup>2</sup> _k_ <sup>2)</sup> (16) ∑ _Ne_ | _Vi_ || _Vk_ |[ _Gikcos_ ( _θi_ - _θk_ ) + _Biksin_ ( _θi_ - _θk_ )] (5) _k_ =1 Where _ϕik_ is the Weymouth equation coefficient, (16) is the Wey­ mouth equation, _pi_ denotes the gas pressure at node _i_ . As seen, (14)-(15) yields a linear formulation, and only (16) is a non-convex equation. However, in this paper optimal scheduling the of energy hub operation is computed for one hour, and it is reasonable to assume that the gas flow directions do not change within a day [27]. Hence (16) can be re-written as (17). ( _qik_ ) <sup>2</sup> = _ϕik_ ( _Pnet,i_ = _Qnet,i_ = <sup>2</sup> _i_ <sup>−</sup> <sup>_p_</sup> _k_ <sup>2</sup> _p_ <sup>2</sup> _i_ _k_ ) _, s.t.pi_ ≥ _pk_ (17) ∑ _Ne_ | _Vi_ || _Vk_ |[ _Giksin_ ( _θi_ - _θk_ ) − _Biksin_ ( _θi_ - _θk_ )] (6) _k_ =1 Similar to the relaxation of power flow, (17) can be relaxed to (18), which is a convex SOCP formulation [32]. Where _Pnet,i_ and _Qnet,i_ are the net active and reactive power injection at bus _i_, _Vi_ and _θi_ indicate the power voltage and angel of bus _i_, _Gik_ and _Bik_ represent the real and imaginary parts of the element _Yik_ in the admittance matrix, _Ne_ is the total number of the buses that connect with bus _i_ . These equations are non-linear and non-convex. However, ac­ cording to [26], (5) and (6) can be transferred to the linear formulations in (10) and (11) by introducing ancillary variables _ui_ and _vi_ . ( _qik_ ) <sup>2</sup> ≤ _ϕik_ ( <sup>2</sup> _i_ <sup>−</sup> <sup>_p_</sup> _k_ <sup>2</sup> _p_ <sup>2</sup> _i_ _k_ ) _, s.t.pi_ ≥ _pk_ (18) √ _ui_ = _Vi_ <sup>2</sup> <sup>_/_</sup> 2 _Rik_ = _ViVkcos_ ( _θi_ - _θk_ ), and (8) (7) 3. Modelling of correlated uncertain variables Uncertain variables are often not independent of one another, and failure to account for this correlation can result in underestimation of the impact of the uncertainty on the system. In this paper, the uncer­ tainty studied is wind generator output, but the method described would be valid for any soucre of uncertainty. Wind generation is the key technology to decaronize energy system, and facilitate micro-grid to meet consumers demand [33,34]. Wind generators in energy hub sys­ tems can be geographically close to the one another, which yields strong correlations between wind speed at each site considering the forecast error – this correlation has a significant impact on the operation of the system and is therefore explicitly modelled in this paper. By adding up _Iik_ = _ViVksin_ ( _θi_ - _θk_ ) (9) _D. Huo et al. International Journal of Electrical Power and Energy Systems 132 (2021) 107153_ the forecasted wind speed and the data of forecast error, wind speed data from two geographically close sites are plotted in Fig. 2, which shows that the wind speeds at the two sites are highly correlated. Additionally, their probability distributions could be different. As suggested in pre­ vious literature [20], wind speeds can follow Gaussian, Weibull, Beta, or lognormal distributions, which complicates the formulation of joint distributions, particularly if the wind speeds at each site follows a different distribution. Nevertheless, copula are capable of tackling this problem to fit joint distributions with high dimensions and non-linear correlations among uncertain variables [28]. Therefore, Gaussian copula are applied in this paper to simulate the correlation of wind speeds at different wind generator locations and generate correlated copula samples for solving the CCP. Sobol sequence based Quasi-Monte Carlo Simulation (QMCS) is applied to improve the computational effi­ ciency in generating correlated copula samples in this paper [28]. _3.1._ _Definition and application of copula_ By applying the probability integral transform to multiple random variables( _X_ 1 _,_ _X_ 2 _,_ ⋯ _,_ _Xn_ ), the uniform marginal distributions can be derived as( _U_ 1 _, U_ 2 _,_ ⋯ _, Un_ ) = ( _F_ 1( _X_ 1) _, F_ 2( _X_ 2) _,_ ⋯ _, Fn_ ( _Xn_ )). Copula _C_ is defined as the joint cumulative distribution function of ( _U_ 1 _,U_ 2 _,_ ⋯ _,Un_ ) in (19). _C_ ( _u_ 1 _, u_ 2 _,_ ⋯ _, un_ ) = [Pr( _U_ 1 ≤ _u_ 1 _, U_ 2 ≤ _u_ 2 _,_ ⋯ _, Un_ ≤ _un_ )] (19) According to Sklar’s theorem, the cumulative distribution function of random variables ( _X_ 1 _, X_ 2 _,_ ⋯ _, Xn_ ) can be formulated in terms of the copula function with the marginals of random variables _Fi_ ( _Xi_ ) = Pr[ _Xi_ ≤ _xi_ ]. The expression is in (20). Pr[ _X_ 1 ≤ _x_ 1 _,_ ⋯ _, Xn_ ≤ _xn_ ] = _C_ ( _F_ 1( _X_ 1) _,_ ⋯ _, Fn_ ( _Xn_ )) (20) Gaussian copula is applied in this paper to model the correlations between uncertain wind speeds with Sklar’s theorem as the basis. The procedure of generating copula samples for uncertain variables with arbitrary distributions is introduced as follows: Step (1) Determine the marginal distributions of the uncertain var­ iables and estimate the distribution parameters based on historical data. Step (2) Employ kernel density estimation method to estimate the cumulative distribution function (CDF) of the uncertain variables, and the correlation coefficient between them. Then compute the copula structure to capture the joint distribution of the uncertain variables, which is achieved by Sobol sequence-based QMCS to generate correlated samples on the unit scale. Step (3) Transfer the correlated samples from unit scale to the original scale of the data, which is achieved by applying the corre­ sponding inverse cumulative distribution function on the unit-scale correlated samples based on the distribution parameters estimated in step 1. In terms of generating copula samples for wind speeds in this paper, 100 correlated samples of wind speed forecast errors in unit scale are generated as examples shown in Fig. 3 (a), which are derived by implementing steps (1) and (2) based on historical data of wind speeds. Fig. 3 (b) can then be accordingly obtained by using the inverse trans­ form method on the samples in Fig. 3 (a) added to the forecasted wind speed. After implementing the procedures described above, the samples of correlated wind speeds can be derived, the samples of wind power generators are then obtained as in Fig. 3 (c) by inputting the samples of wind speeds to (3). 4. Problem formulation and methodology _4.1._ _Chance constraints on power flow restrictions_ In this paper, chance constraints are applied to the power flow limits to allow a small but acceptable probability of the current exceeding the conductor rating. This reduces the need to schedule the operation of the system to cater for the most extreme uncertainty values, delivering lower operating costs with a predetermined and acceptable increase in risk. Resolving the resulting CCP problem yields a minimum system cost while addressing the wind generation uncertainty with an acceptable probability. The power flow between bus _i_ and _k_ can be formulated as in (21) based on the ancillary variables _ui_, _Rik_, and _Iik_ in convex-relaxing the power flow equations. Fig. 2. Wind speeds observed at site 1 and 2. _D. Huo et al. International Journal of Electrical Power and Energy Systems 132 (2021) 107153_ Fig. 3. Computation of correlated wind generation. √ _Pik_ = - 2 _Gikui_ + _GikRik_ + _BikIik_ (21) Chance constraint is applied to restrict the power flow between bus _i_ and _k_ as: ( Pr _Pik_ ≤ _Pik,_ max ) In (25), the subscripts _i_ and _k_ denote the indices of energy hubs/ converters/BES/nodes/buses. The subscript _s_ indicates the related de­ cision variable of scenario _s_ . The definitions of other variables are in the previous section. In summary, the energy hub CCP problem is formulated as follows: Objective: Minimize (23) Subject to: ≥ 1 − _α_ (22) Where _Pr_ is the minimum acceptable probability the chance con­ straints will not be violated; _α_ is the probability the power flow is less than the maximum power flow _Pik,_ max, which indicates that the power flow is allowed to exceed its line capacity with known probability _α_ . Nevertheless, allowing a higher probability of power flow constraint violation increases the power flow and therefore power losses, which increases the system cost. _4.2._ _CCP optimization formulation_ This section presents a generic CCP problem formulation for multiple energy hubs connected by electricity and gas distribution networks within the ILES. Wind generators are also connected to the electricity distribution network and are assumed to be geographically close to one another. Each energy hub contains some combination of converters, such as GSHPs and CHPs. The electrical and thermal demand of each hub is satisfied by the cooperation of all elements in the ILES. The objective is to minimize the expected cost of the ILES _E(C_ ILES _)_, calculated by integrating the costs of scenarios, each scenario represents the possible real-time wind generation with a specified probability. The formulation of the expected cost is shown in (23). ⎧ ⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎨ ⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎪⎩ _Electricitynetwork_ : (7) −(11) _,_ (13) _,_ (21) _,_ (24)∀ _i,_ ∀ _k,_ ∀ _s_ 0 ≤ _PG,s_ ≤ _PG,max_ ∀ _i,_ ∀ _s_ (26 _c_ ) _Gasnetwork_ : (14) −(15) _,_ (18)∀ _i,_ ∀ _k,_ ∀ _s_ _pi,min_ ≤ _pi,s_ ≤ _pi,max_ ∀ _i,_ ∀ _s_ (26 _d_ ) _pi,s_ ≤ _γc_ × _pk,sforactivepipeline_ ∀ _i,_ ∀ _k,_ ∀ _s_ (26 _e_ ) 0 ≤ _qik,s_ ≤ _q_ <sup>_max_</sup> _ik,c_ <sup>_foractivepipeline_</sup> <sup>∀</sup> <sup>_i,_</sup> <sup>∀</sup> <sup>_k,_</sup> <sup>∀</sup> <sup>_s_</sup> <sup>(26</sup> <sup>_f_</sup> <sup>)</sup> _Energyhubs_ : (1) −(4)∀ _i,_ ∀ _s_ 0 ≤ _PCHP,i,s_ ≤ _PCHP,i,max_ ∀ _i,_ ∀ _s_ (26 _g_ ) 0 ≤ _PGSHP,i,s_ ≤ _PGSHP,i,max_ ∀ _i,_ ∀ _s_ (26 _h_ ) _Chanceconstraints_ : (22)∀ _i,_ ∀ _k,_ ∀ _s_ _Vi_ <sup>2</sup> _<u>,</u>_ _V_ ~~√~~ _<u>i</u>_ <sup>2</sup> _<u>,min</u>_ ≤ _ui,s_ ( _t_ ) ≤ <sup>_V_</sup> ~~√~~ _<u>i</u>_ <sup>2</sup> _<u>,</u>_ 2 _<u>i,min</u>_ _<u>i,max</u>_ ~~√~~ _<u>i</u>_ <sup>2</sup> _<u>,max</u>_ ∀ _i,_ ∀ _s_ (26 _b_ ) 2 ] ∑ _Ng_ ∙Π _ele_ + _i_ =1 _q_ gw _,i,s_ ∙Π _gas_ _E_ ( _C_ ILES) = ∑ _Ns_ _s_ =1 [ ( Pr _s_ ( _P_ ele _,i,s_ + _P_ loss _,s_ ) (23) Where _C_ ILES is the total cost of the ILES, _E_ (•) indicates the expected value, _s_ denotes the index of scenarios, _Ns_ is the total number of sce­ narios to represent the wind generation, Pr _s_ means the probability of scenario _s_, Π _ele_ and Π _gas_ represent the electricity and gas prices with the units of £ (pounds)/MWh, _qgw,i,s_ is the gas injection to the network for scenario _s_, _P_ loss _,s_ represents the network loss of scenario _s_ and _Nb_ is the number of buses. The network loss is expressed in (24) in terms of the ancillary variables _ui_, _Iik_, _Rik_ . (24) ∑ _Nb_ [ _k_ =1 (̅̅̅ √ _ui_ + 2 _uk_ - 2 _Rik_ ) ] The constraints of the optimisation problem are explained as follows: The electricity network is constrained by the SOCP formulation of the convex relaxed AC power flow; (26b) sets the lower and upper boundary of the voltage magnitude at each bus in terms of the ancillary variable _ui_, (26c) restricts the maximum power can be injected into the distribution network. The gas network is constrained by the convex relaxed gas flow equations; in addition, (26d) specifies the maximum and minimum pressure of each gas nodes, (26e) and (26f) restrict the compression ratio and gas flow of the active pipeline, where the compressor is included, _γc_ is the compressor’s compression factor. The energy hubs are restricted by the energy transformation equation (4); (26 g) and (26 h) indicate the maximum outputs for CHP and GSHP. Resolving the CCP problem means to the find the optimal decision variables (25) to minimize (23) for all scenarios, while the uncertain wind generator outputs are randomly distributed according to their joint distribution. _P_ loss = ∑ _Nb_ _i_ =1 _Gik_ √ 2 The decision variables of the CCP problem include: average gas flow, gas inflow and outflow of each branch, gas pressure at each node, ancillary variables _ui_, _Iik_, _Rik_, power and gas injected to each energy hub, gas input to each CHP, power input to each GSHP, electricity injection into the distribution network, gas output from each gas source, wind generation curtailment _Pwc_ . The above decision variables for each sce­ nario _s_ are included in the vector _xs_ as in (25). [ ] _i_ _t_ _D. Huo et al. International Journal of Electrical Power and Energy Systems 132 (2021) 107153_ _4.3._ _Transforming chance constraints into deterministic constraints_ The optimization problem is a stochastic problem with chance con­ straints (22). In this paper, the chance constraints are transformed into deterministic constraints based on the generated copula samples. The transformation is carried out using the following procedure: First, the power flow _Pik_ between bus _i_ and _k_ can be re-arranged and written in terms of the polynomial function of decision variables _D(x)_ and uncertain wind generation _ξw_ as shown in (27), where _β_ is the co­ efficient related to the uncertain variable _ξw_ in expressing the power flow _Pik_ . For example, within this context, the power flow between bus 5 and 4 in Fig. 6 can be expressed as in (28), in this example _β_ is derived as 1. _Pik_ = _D_ ( _x_ ) + _β_ - _ξw_ (27) _P_ 54 = _ξw_ - _P_ wc + _P_ CHP _,_ 5∙ _ηe_ - _L_ ele _,_ 5 − _P_ HP _,_ 5 (28) The chance constraints (22) can be re-arranged as in (29) based on (27). { { [ ]/ } { { _ξw_ ≤ _ξw_ ≥ _Pik,max_ - _D_ ( _x_ ) _Pik,max_ - _D_ ( _x_ ) } } ≥ 1 − _αifβ <_ 0(29 _b_ ) _Pr_ { _ξw_ ≤ [ _Pik,max_ - _D_ ( _x_ ) ]/ _β_ } ≥ 1 − _αifβ >_ 0(29 _a_ ) _Pr_ _ξw_ ≥ _Pik,max_ - _D_ ( _x_ ) _β_ ≥ 1 − _αifβ <_ 0(29 _b_ ) _Pr_ [ [ ]/ ]/ _β_ _β_ (29) can be further transformed to (30) since uncertain variable’s quantile follows a monotonic relation with its inverse CDF [35]. { [ ]/ ]/ _qξw_ (1 − _α_ ) ≥[ [ _w_ (1 − _α_ ) ≥[ _Pik,max_ - _D_ ( _x_ ]/) _βifβ >_ 0(30 _a_ ) _qξw_ ( _α_ ) ≤ _Pik,max_ - _D_ ( _x_ ) _βif β <_ 0(30 _b_ ) [ _Pik,max_ - _D_ ( _x_ ]/) ]/) _Pik,max_ - _D_ ( _x_ ) _βif β <_ 0(30 _b_ ) _qξw_ ( _t_ ) in (30) denotes the quantile of uncertain outputs of the wind generators, which can be expressed as the inverse function of the wind generation’s CDF with a certain probability level. The quantile function can be converted into a deterministic form if the distributions of un­ certain variables are known. As demonstrated in section 3, samples of the outputs of the wind generators are obtained by copula, hence their CDF can also be obtained. The quantiles in (30) can be derived from the CDF with the probability levels of α. For example, the CDF curve of the aggregated outputs of two wind generators, each with 10 MW rated power, can be derived as shown in Fig. 4, the quantiles of _qξw_ (1 − _α_ ) and _qξw_ ( _α_ ) can be accordingly obtained as 12.72 MW and 7 MW respectively if α is 10%. (30) is thus converted to a linear constraint, transforming the stochastic problem to a deterministic problem. _4.4._ _Overall flowchart of the methodology_ The complete optimization procedure is illustrated in Fig. 5. To formulate the optimization problem, the CDF of the wind generators’ forecasting errors must first be obtained using Gaussian copula to calculate the quantile for the chance constraints. Additionally, both the power and gas networks are convex relaxed, load and energy price data are input to establish the optimization problem. The original non-convex stochastic problem is transformed to a convex deterministic problem according to Fig. 5; commercially available solvers can be applied to solve the problem with global optimality. 5. Case studies _5.1._ _Overview of the ILES_ The proposed optimization scheme has been demonstrated using an ILES of a multi-vector distribution network with 7 electrical buses and 7 gas nodes, based on the model in [27]. Schematic diagrams of the electricity and gas distribution networks are depicted in Fig. 6 in blue and green, respectively. The electrical network comprises two radial feeders, with three geographically close wind generation sites at buses 4 and 5. The wind speed forecast error of the wind generations sites at buses 4 and 5 are assumed to respectively follow Normal and Beta dis­ tributions. Buses 2–7 in the electrical network correspond to nodes 2–7 in the gas network. Each coupling point between the electrical and gas systems is considered as an energy hub. Each energy hub is equipped with a CHP and GSHP. Two gas sources – which could represent con­ ventional gas wells or green gas sources such as anaerobic digestors – support the gas network at nodes N5 and N7. The pipelines linking N1 to N6 and N1 to N3 are active pipelines with compressors. The optimization was implemented on the ILES using a time step of one hour. The transformation between the gas load (m <sup>3</sup> ) and energy (MWh) was achieved by using calorific value, which is taken as 40 MJ/ m <sup>3</sup> in this paper. Additional input parameters, taken from [13,27,28], are shown in Table 1. The scenarios representing the uncertain wind generator outputs were generated by Sobol sequence based QMCS which was been applied to generate the copula samples in section 3.1. 100 scenarios were generated, which are able to represent the uncertainty with high accuracy [28]; each scenario has a probability of occurrence of 1%. The CCP problem was solved using Gurobi [36]. _5.2._ _Optimization results from CCP_ _5.2.1._ _Impact of chance constraint probability levels_ The optimization was carried out with the chance constraints restricted to different probability levels to investigate how the CCP af­ fects the optimization and energy hub system operations, and examine the sensitivity of the optimization to the chance constraints’ probability. 11 probability levels between 0.1% and 10% were adopted to restrict the probabilities of constraint violation (PoCV) ( _α_ in (22)), indicating that the probability of the power flow remaining below the line capacity varies from 99.9% to 90%. When the PoCV is 10%, the computation time of implementing the CCP with 100 scenarios is 125 s on average, which is derived based on a MacBook with i5 processer and 8 GB memory. The change in ILES operations against different POCV are shown in Fig. 7, Fig. 7(a) shows the expected total network cost, Fig. 7(b) depicts the expected electricity and gas inputs to the network, and the total wind generation curtailment, respectively in blue, green, and red, Fig. 7(c) shows the network power loss. The expected values are calculated as in (31) by multiplying the optimization output for each scenario by its probability of occurrence and summing the results, the definitions of the variables in (31) can be found in section 4.2. _E_ ( _xs_ ) = ∑ _Ns_ _s_ =1 Pr _s_ - _xs_ (31) Fig. 7 indicates that the operations of the multi-carrier network are slightly affected when the PoCV is higher than 5%. When the PoCV re­ duces from 5% to 0.1%, reducing the acceptability of exceeding the power flow constraints, significant changes in system operations can be observed from Fig. 7. When the PoCV reaches 0.1%, the capacity of transmitting the available wind generation at bus 4 and 5 to other load buses is reduced, as a result, the expected total curtailment of the wind Fig. 4. CDF curve of wind generation. generators at bus 5 and 4 increase from 0.61 MWh to 2.17 MWh as seen _D. Huo et al. International Journal of Electrical Power and Energy Systems 132 (2021) 107153_ Fig. 5. Overall flowchart. Fig. 6. Electricity and gas distribution networks. _D. Huo et al. International Journal of Electrical Power and Energy Systems 132 (2021) 107153_ Table 1 <u>Energy Hub System Parameters and Constraints.</u> <u>System parameters</u> <u>CHP</u> _ηe_ = <u>0.33,</u> _ηgh_ = 0.57 Wind turbine _vci_ = 2 m/s, _vco_ = 18 m/s, _vrs_ = 12 m/s, _Prated_ = 6 MW Distribution networks Electricity network 0 _._ 93p _._ u _._ ≤ _Vi_ ≤ 1 _._ 07p _._ u _._, _Pik,_ max = 12 MW Electricity price £37.8/MWh Gas network _χik_ = 0 _._ 05, _γc_ = 2, _ϕik_ = 4 _._ 965 × 10 <sup>−</sup> <sup>4[</sup> MSm <sup>3</sup> _/_ (h∙bar) ]2 Gas price £30/MWh Gas node pressure from 1 to [20,150],[20,170],[50,195],[0,100],[50,200], 7 (bar) [60,240],[50,140] Demand (from hub 2 to 7) Electricity (MWh) 0.84, 0.76, 0.47, 0.42, 0.94, 0.78 <u>Heat (MWh)</u> <u>3.17, 2.35, 0.67, 0.51, 1.55, 2.35</u> in Fig. 7(b); the expected gas injection to the network increases from 0.39 MWh to 1.42 MWh to fill up the demand by CHP since the outputs from the wind generators are reduced; similarly, the expected power injection to the network increases from 0.05 MWh to 0.38 MWh. Conclusively, the reduction of PoCV leads to the increase of wind gen­ eration curtailment, gas and electricity inputs, hence significantly in­ creases the system cost from £9.73 to £42.82 as seen in Fig. 7(a) when the PoCV decrease from 5% to 0.1%. Additionally, due to the high efficiency of the CHP, and lower gas price compared with the electricity price, the ILES inputs more gas than electricity to meet the demand when the PoCV is reduced, to minimize the system cost. Although the cost and energy inputs increase, the system power loss decreases from 1.68 MW to 0.99 MW with the reduction of PoCV as seen in Fig. 7(c), because a high probability of power flow exceeding the line capacity leads to higher utilisation of assets and therefore higher losses. It is notable that the cost is lower when the PoCV is higher, in spite, rather than because, of the higher losses. The variation in expected power flows between buses, gas input to each CHP, and power input to each GSHP against the changing of PoCV are depicted in Fig. 8. All expected power flows decline with the decrease of PoCV, which is in accordance with the definition of using chance constraints to restrict power flows. The larger variations in power flow indicate the larger influence of the chance constraints, as seen in Fig. 8 (a). The sequence of most affected to the least affected power flows is: _P43_, _P32_, _P54_, _P21_, _P16_, _P67_ . The changes on _P43_ and _P32_ are 1.74 MW and 1.62 MW with the PoCV reduces from 10% to 0.1%, they are most affected because their line capacity limit of 12 MW are most likely to be reached when the wind generators at buses 5 and 4 (each with 10 MW of rated power) transmit the generated power to other buses. _P54_ yields a change of 1.26 MW with the changing of PoCV, though the output of the wind generator at bus 5 is always less than the line capacity limt between buses 5 and 4 regardless the value of PoCV, however, more wind generation curtailment is requried for the wind Fig. 7. Expected optimal results with different PoCV. Fig. 8. Expected power flows, CHP and GSHP inputs against PoCV. _D. Huo et al. International Journal of Electrical Power and Energy Systems 132 (2021) 107153_ generator at bus 5 because less power flow is permitted between buses 4 and 3 when the PoCV reduces, hence _P54_ also decrease when the PoCV decreases. _P16_, and _P67_ are less affected because the majority of uncer­ tain wind generation is consumed by the energy hubs at bus/node 2–5, the remaining uncertainty is less likely to cause these power flows to reach the line limit. Fig. 8 (b) and (c) show the expected gas and power inputs to each CHP and GSHP respectively. Overall, when the PoCV reaches 0.1%, less uncertain wind generation can be transmitted from buses 5 and 4 to other buses, the power inputs to the GSHP at the other hubs decrease due to the reduced availability of wind energy to support them. Corre­ spondly, in order to collaboratively meet the demand with the GSHP, the gas inputs to the CHP increase as indicated in Fig. 8(b). The expected gas input to hub 7 is most affected, increasing from 0.34 MWh to 1.29 MWh when the PoCV is reduced to 0.1%. This is because more generated wind power is curtailed with the decrease of PoCV, the farthest hub is most affected since less wind power could be transmitted there to support the load, and consequently more gas is imported. The above analysis demonstrates the high dependency between the electricity and gas networks: thanks to the energy hubs, more gas can be input to the CHP to support the electricity and thermal demands when the power flow restrictions are stricter. _5.2.2._ _Effect of energy hubs_ Energy hubs increases the system flexibility because the energy de­ mands no longer rely on a single energy vector. When the electrical power flow is restricted or electricity prices are high, the electrical loads can be met through the use of CHPs and increased flows in the gas network. However, the capital cost of the energy hubs including the CHP and GSHP is generally expensive, and the operation of some energy hubs provide less value to the system. This section investigates how the ex­ istence of energy hubs affects the operational costs and carbon emissions of the ILES. 7 comparative cases are considered by employing different number of energy hubs in the ILES in Fig. 6. Where there is no coupling between the and gas and electricity networks, the electrical load is met through electricity import and/or wind generation and the thermal load is met by gas furnaces with an efficiency of 95%. The carbon emissions of using per unit grid electricity and gas are taken as 0.10 kg/MWh and 0.18 kg/MWh based on the average emission data in Scotland [37], the utilization of wind generation present zero carbon emission. The 7 cases consider the number of energy hubs from 0 to 6, the sequence of deploying a new energy hub in each case is from the coupling point that is the nearest to the wind generation sites, namely hub 4, 5, 3, 2, 6, and 7. The optimal expected system total costs and expected carbon emission are shown in Fig. 9 (a) and (b) respectively. Fig. 9(a) suggests that the system cost decreases when the number of energy hubs rises in the multi-carrier network. A relatively large cost decrease can be observed when the number of energy hubs increases from 3 to 4, corresponding to the installation of the energy hub at bus 2. The electricity and thermal demands at bus 2 are higher than the other buses, so adding the energy hub at this bus leads to a higher cost reduction. Similarly, Fig. 9(b) indicates that the carbon emission of the multi-carrier network decreases with the installation of energy hubs. This is because a higher proportion of thermal demand can be met by using the carbon-free wind generation through GSHP when there are more energy hubs deployed in the network. Both the wind generation curtailment and the import of electricity and gas are reduced, leading to the reduction of carbon emission. The greatest reduction in carbon emissions is observed with the installation of the energy hub at bus 2 due to its high thermal energy demand. _5.3._ _Effect of correlation_ The value of using copula to model the correlations between wind speeds is analysed in this section by considering a comparative case is in which the wind speeds are assumed to be independent. Similar to Fig. 3 (b), the distribution of independent wind speeds can be derived as shown in Fig. 10 by fitting the same data. The wind speeds observed at the two sites are independent, and randomly distributed according to their own distributions. The impact of ignoring the correlation was investigated using the following process: 1. Carry out optimal scheduling for cases with independent wind speeds and PoCV varying from 0.1% to 10% 2. Carry out a Monte Carlo simulation to evaluate the performance of the optimal schedule which neglected the correlation but with the correlation present (i.e. the correlation exists but the scheduler does not consider it) 3. Carry out the same Monte Carlo simulation to evaluate the perfor­ mance of the optimal scheduler when the correlation is included 4. Compare the specified PoCV to the frequency with which the con­ straints were violated during the Monte Carlo simulation; the results of this are shown in Fig. 11. As shown in Fig. 11, by modelling the wind speeds correlations with Gaussian copula, the optimal operations satisfy the chance constraints on power flow limitation for majority of cases. However, if the wind speeds are considered to be independent, the optimal operations could further violate the pre-defined PoCV of the optimization for 1.5% to 8%, posing a risk for the system. _5.4._ _Exactness of flow relaxation_ The exactness of power and gas flow relaxations is examined in this section. According to [38], the Second-Order Conic Relaxation (SOCR) is exact if every solution of SOCR also solves the optimal power flow problem. Consequently, the results derived from SOCR should meet the Fig. 9. Expected optimal cost with different number of energy hubs. _D. Huo et al. International Journal of Electrical Power and Energy Systems 132 (2021) 107153_ Fig. 10. Samples of independent wind speeds. Fig. 11. Comparisons between optimal results. original unrelaxed constraints to ensure its exactness. In this paper, the optimal solution from the relaxed forms of 2 _uiuk_ ≥ _R_ <sup>2</sup> _ik_ <sup>+</sup> <sup>_I_</sup> _ik_ <sup>2</sup> <sup>(13) and</sup> linear relationships, which are met by the optimization of SOCR; only the accuracy of calculating gas node pressures, namely _pi_ and _pk_, is affected, because they follow non-linear relation with gas inflow and outflow, and the relaxation is not exact. To ensure the feasibility of the optimal solution, we propose to take the gas inflows and outflows derived from SOCR as inputs, the gas node pressures from SOCR as the initial searching point, the same pressure limitation as constraints, and employ non-linear solver to optimize gas node pressures in order to satisfy (17). This ensures the accuracy of solution and adds only 0.32 s of extra computation time for optimizing a scenario. This procedure does not change the overall optimal solution but updates the nodal pressures to follow (17). An example result is shown in Fig. 12. The SOCR results are all at or close to the lower bound, due to the pressure minimization term included in the objective func­ tion; the true, non-linear gas flows results indicate higher pressures at some nodes, which result in all solutions being within the acceptable pressure range. Feasible solutions for the gas flow with gas pressures that satisfy (17) could always be reached by employing the non-linear solver to all 1100 optimal results from SOCR. ( _p_ <sup>2</sup> _i_ <sup>2</sup> _i_ <sup>−</sup> <sup>_p_</sup> <sup>2</sup> _k_ <sup>2</sup> _ik_ <sup>+</sup> <sup>_I_</sup> _ik_ <sup>2</sup> _ik_ <sup>2</sup> <sup>(13) and</sup> ( _qik_ ) <sup>2</sup> ≤ _ϕik_ ( <sup>2</sup> _k_ ) _, s.t.pi_ ≥ _pk_ (18) should satisfy constraints 2 _uiuk_ = ( _p_ <sup>2</sup> _i_ <sup>2</sup> _i_ <sup>−</sup> <sup>_p_</sup> <sup>2</sup> _k_ _R_ <sup>2</sup> _ik_ <sup>2</sup> _ik_ <sup>+</sup> <sup>_I_</sup> _ik_ <sup>2</sup> <sup>_I_</sup> _ik_ <sup>2</sup> <sup>(12) and (</sup> <sup>_qik_</sup> <sup>)2</sup> <sup>=</sup> <sup>_ϕik_</sup> ( <sup>2</sup> _k_ ) _R_ <sup>2</sup> _ik_ <sup>+</sup> <sup>_I_</sup> _ik_ <sup>2</sup> <sup>(12) and (</sup> <sup>_qik_</sup> <sup>)2</sup> <sup>=</sup> <sup>_ϕik_</sup> ( _p_ <sup>2</sup> _i_ <sup>−</sup> <sup>_p_</sup> <sup>2</sup> _k_ ) _, s.t.pi_ ≥ _pk_ (17). The exactness of relaxations is inspected by examining the 1100 optimal results (100 scenarios for each POCV and 11 POCVs in total) in the paper. For power flow relaxation, the values of 2 _uiuk_ −( _R_ <sup>2</sup> _ik_ <sup>+</sup> <sup>_I_</sup> _ik_ <sup>2</sup> <sup>)</sup> <sup>obtained</sup> from SOCR were between 10 <sup>-10</sup> p.u. and 10 <sup>-3</sup> p.u., indicating an accept­ able relaxation exactness. However, regarding gas flow relaxation, the values of _ϕik_ ( _p_ <sup>2</sup> _i_ <sup>−</sup> <sup>_p_</sup> <sup>2</sup> _k_ ) −( _qik_ ) <sup>2</sup> obtained from SOCR are all around 1 MSm <sup>3</sup> /h <sup>2</sup>, indicating inexact relaxation. For a given set of optimal gas inflow and outflow values there is a wide range of feasible gas flow solutions. By adding the sum of all pressures multiplied by a small fraction (e.g. 10 <sup>-3</sup> ) and including it in the objective function, the values of For power flow relaxation, the values of 2 _uiuk_ −( _R_ <sup>2</sup> _ik_ <sup>2</sup> _ik_ <sup>+</sup> <sup>_I_</sup> _ik_ <sup>2</sup> However, regarding gas flow relaxation, the values of ( _p_ <sup>2</sup> _i_ <sup>2</sup> _i_ <sup>−</sup> <sup>_p_</sup> <sup>2</sup> _k_ <sup>2</sup> _k_ ) _ϕik_ ( _p_ <sup>2</sup> _i_ <sup>2</sup> _i_ <sup>−</sup> <sup>_p_</sup> <sup>2</sup> _k_ _ϕik_ ( _p_ <sup>2</sup> _i_ <sup>−</sup> <sup>_p_</sup> <sup>2</sup> _k_ ) −( _qik_ ) <sup>2</sup> from SOCR can be reduced to between 10 <sup>-10</sup> MSm <sup>3</sup> / h <sup>2</sup> and 10 <sup>0</sup> MSm <sup>3</sup> /h <sup>2</sup>, in which approximately 50% of the values are between 10 <sup>-10</sup> MSm <sup>3</sup> /h <sup>2</sup> and 10 <sup>-3</sup> MSm <sup>3</sup> /h <sup>2</sup>, and the rest are between 10 <sup>-</sup> <sup>2</sup> _k_ ) _ϕik_ 1 MSm3/h2 and 100 MSm3/h2; the relaxation may still be inexact in some cases. Nevertheless, the accuracy of computing gas inflow, outflow, gas sources outputs, and inputs to CHPs are unaffected, because they follow _D. Huo et al. International Journal of Electrical Power and Energy Systems 132 (2021) 107153_ Fig. 12. An example of the updating of the gas flow results. 6. Conclusion This paper proposes a chance-constrained optimization scheme for Integrated Local Energy Systems which: (1) convex-relaxes both the electricity and gas network models, enabling efficient optimization which reaches global optimality with commercially available solvers; (2) Accounts for uncertainty and enables a compromise between risk and cost by allowing line ratings to be exceeded with a specified prob­ ability, and (3) captures the correlations between geographically close wind generation sites via copula. The main findings are as follows: - The operating cost of the ILES is significantly reduced by allowing even a low probability of chance constraint violation. However, this delivers diminishing returns as the probability increases, with little improvement between a 5% and 10% PoCV. - The number and location of energy hubs in the system has a signif­ icant impact on the system operating cost and carbon emission. Specific energy hubs - particularly those connected to larger de­ mands – led to a much greater reduction in operating cost and carbon emission than other hubs, some of which had almost no effect. - Copula effectively and efficiently represents the correlations be­ tween wind speeds. Ignoring the correlations yields an underesti­ mation of uncertainty, which may put the safe operation of the system at risk. By explicitly modelling the uncertainty from renewable generation, the proposed optimization benefits the system operator with optimal determination on system operations to reach the minimal cost depend­ ing on the acceptable tolerance for chance constraints. It is particularly beneficial for the optimal operation of large-scale, multi-carrier systems due to the convex SOCP formulations. Furthermore, the proposed opti­ mization could be extended to solve optimal planning problems from an investor’s perspective. The rated power of the wind generations can be re-evaluated to maximize the profits while avoiding curtailment considering wind speed uncertainty, position and capacity of energy hubs. To further improve the system flexibility in coping with uncertain renewable generation, future work could model power-to-gas technol­ ogy to establish the conversion between abundant renewable generation and gas network, thereby avoiding the curtailment of renewable generation. CRediT authorship contribution statement Da Huo: Conceptualization, Methodology, Writing - original draft. Chenghong Gu: Supervision, Writing - review & editing. David Greenwood: Methodology, Writing - review & editing, Visualization. Zhaoyu Wang: Methodology, Writing - review & editing. Pengfei Zhao: Data curation, Writing - review & editing. Jianwei Li: Writing - review & editing. Declaration of Competing Interest None. Acknowledgement This work was supported by the European Union’s Horizon 2020 research and innovation programme under grant agreement No 824386. References [Storage, and Demand-Side Management Systems Under Uncertainty. Ieee T Sustain](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0075) [Energ. 2011;2:194–202.](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0075) [1] [Qiao X, Zou Y, Li Y, Chen Y, Liu F, Jiang L, et al. Impact of uncertainty and](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0005) [correlation on operation of micro-integrated energy system. Int J Electr Power](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0005) [Energy Syst 2019;112:262–71.](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0005) [2] [Geidl M, Andersson G. Optimal power flow of multiple energy carriers. Power Syst,](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0010) [IEEE Trans 2007;22:145–55.](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0010) [3] [Geidl M. Integrated Modeling and Optimization of Multi-Carrier Energy Systems.](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0015) [PhD dissertation. ETH Zurich: Power Systems Laboratory; 2007.](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0015) [4] [Massrur HR, Niknam T, Fotuhi-Firuzabad M. Investigation of Carrier Demand](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0020) [Response Uncertainty on Energy Flow of Renewable-Based Integrated Electricity-](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0020) [Gas-Heat Systems. Ieee T Ind Inform. 2018;14:5133–42.](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0020) [5] [Mirzapour-Kamanaj A, Majidi M, Zare K, Kazemzadeh R. Optimal strategic](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0025) [coordination of distribution networks and interconnected energy hubs: A linear](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0025) [multi-follower bi-level optimization model. Int J Electr Power Energy Syst 2020;](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0025) [119:105925.](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0025) [6] [Majidi M, Zare K. Integration of Smart Energy Hubs in Distribution Networks](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0030) [Under Uncertainties and Demand Response Concept. Ieee T Power Syst. 2019;34:](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0030) [566–74.](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0030) [7] [Cao Y, Wei W, Wang JH, Mei SW, Shafie-khah M, Catalao JPS. Capacity Planning of](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0035) [Energy Hub in Multi-Carrier Energy Networks: A Data-Driven Robust Stochastic](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0035) [Programming Approach. Ieee T Sustain Energ. 2020;11:3–14.](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0035) [8] [Shabanpour-Haghighi A, Seifi AR. Energy Flow Optimization in Multicarrier](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0040) [Systems. Ieee T Ind Inform. 2015;11:1067–77.](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0040) [9] [Huo D, Le Blond S, Gu C, Wei W, Yu D. Optimal operation of interconnected energy](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0045) [hubs by using decomposed hybrid particle swarm and interior-point approach. Int J](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0045) [Electr Power Energy Syst 2018;95:36–46.](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0045) [10] [Huo D, Wei W, Le Blond S. Optimisation for interconnected energy hub system](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0050) [with combined ground source heat pump and borehole thermal storage. Frontiers](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0050) [in Energy. 2018;12:529–39.](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0050) [11] [Chen C, Sun HB, Shen XW, Guo Y, Guo QL, Xia T. Two-stage robust planning-](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0055) [operation co-optimization of energy hub considering precise energy storage](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0055) [economic model. Appl Energy 2019;252.](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0055) [12] [Lu XH, Liu ZX, Ma L, Wang LF, Zhou KL, Feng NP. A robust optimization approach](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0060) [for optimal load dispatch of community energy hub. Appl Energy 2020;259.](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0060) [13] [Huo D, Gu C, Ma K, Wei W, Xiang Y, Blond SL. Chance-Constrained Optimization](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0065) [for Multienergy Hub Systems in a Smart City. IEEE Trans Ind Electron 2019;66:](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0065) [1402–12.](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0065) [14] [Zhao P, Gu C, Huo D, Shen Y, Hernando-Gil I. Two-Stage Distributionally Robust](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0070) [Optimization for Energy Hub Systems. Ieee T Ind Inform. 2020;16:3460–9.](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0070) [15] [Kienzle F, Ahcin P, Andersson G. Valuing Investments in Multi-Energy Conversion,](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0075) _D. Huo et al. International Journal of Electrical Power and Energy Systems 132 (2021) 107153_ [16] [Bozchalui MC, Canizares CA, Bhattacharya K. Optimal Energy Management of](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0080) [Greenhouses in Smart Grids. Ieee T Smart Grid. 2015;6:827–35.](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0080) [17] [Alipour M, Zare K, Abapour M. MINLP Probabilistic Scheduling Model for Demand](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0085) [27] [Wang C, Gao R, Wei W, Shafie-khah M, Bi TS, Catalao JPS. Risk-Based](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0135) [Response Programs Integrated Energy Hubs. IEEE Trans Ind Inf 2018;14:79–88.](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0085) [18] [Mansouri SA, Ahmarinejad A, Ansarian M, Javadi MS, Catalao JPS. Stochastic](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0090) [planning and operation of energy hubs considering demand response programs](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0090) [using Benders decomposition approach. Int J Electr Power Energy Syst 2020;120:](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0090) [106030.](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0090) [19] [Moghaddas-Tafreshi SM, Jafari M, Mohseni S, Kelly S. Optimal operation of an](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0095) [energy hub considering the uncertainty associated with the power consumption of](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0095) [plug-in hybrid electric vehicles using information gap decision theory. Int J Electr](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0095) [Power Energy Syst 2019;112:92–108.](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0095) [20] [Li YM, Li WY, Yan W, Yu J, Zhao X. Probabilistic Optimal Power Flow Considering](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0100) [Correlations of Wind Speeds Following Different Distributions. Ieee T Power Syst.](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0100) [2014;29:1847–54.](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0100) [21] [Fan M, Vittal V, Heydt GT, Ayyanar R. Probabilistic Power Flow Studies for](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0105) [Transmission Systems With Photovoltaic Generation Using Cumulants. Ieee T](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0105) [Power Syst. 2012;27:2251–61.](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0105) [22] [Malekpour AR, Pahwa A. Stochastic Networked Microgrid Energy Management](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0110) [With Correlated Wind Generators. Ieee T Power Syst. 2017;32:3681–93.](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0110) [23] [Al-Awami AT, El-Sharkawi MA. Coordinated Trading of Wind and Thermal Energy.](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0115) [IEEE Trans Sustain Energy 2011;2:277–87.](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0115) [24] [Zhang R, Jiang T, Li F, Li G, Chen H, Li X. Coordinated Bidding Strategy of Wind](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0120) [Distributionally Robust Optimal Gas-Power Flow With Wasserstein Distance. Ieee T](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0135) [Power Syst. 2019;34:2190–204.](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0135) [28] [Xie ZQ, Ji TY, Li MS, Wu QH. Quasi-Monte Carlo Based Probabilistic Optimal](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0140) [Power Flow Considering the Correlation of Wind Speeds Using Copula Function.](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0140) [Ieee T Power Syst. 2018;33:2239–47.](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0140) [29] [Greenwood DM, Ingram GL, Taylor PC. Applying Wind Simulations for Planning](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0145) [and Operation of Real-Time Thermal Ratings. IEEE Trans Smart Grid 2017;8:](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0145) [537–47.](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0145) [30] [Wei W, Gu C, Huo D, Blond SL, Yan X. Optimal Borehole Energy Storage Charging](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0150) [Strategy in a Low Carbon Space Heat System. IEEE Access 2018;6:76176–86.](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0150) [31] [Gu C, Tang C, Xiang Y, Xie D. Power-to-gas management using robust optimisation](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0155) [in integrated energy systems. Appl Energy 2019;236:681–9.](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0155) [32] [He YB, Shahidehpour M, Li ZY, Guo CX, Zhu BQ. Robust Constrained Operation of](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0160) [Integrated Electricity-Natural Gas System Considering Distributed Natural Gas](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0160) [Storage. Ieee T Sustain Energ. 2018;9:1061–71.](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0160) [33] [Li J, Gee AM, Zhang M, Yuan W. Analysis of battery lifetime extension in a SMES-](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0165) [battery hybrid energy storage system using a novel battery lifetime model. Energy.](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0165) [2015;86:175–85.](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0165) [34] [Li J, Xiong R, Yang Q, Liang F, Zhang M, Yuan W. Design/test of a hybrid energy](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0170) [storage system for primary frequency control using a dynamic droop method in an](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0170) [isolated microgrid power system. Appl Energy 2017;201:257–69.](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0170) [35] Li G, Zhang XP. Stochastic optimal power flow approach considering correlated [Farms and Power-to-Gas Facilities Using a Cooperative Game Approach. IEEE](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0120) [Trans Sustain Energy 2020;11:2545–55.](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0120) [25] [Khani H, Farag HEZ. Optimal Day-Ahead Scheduling of Power-to-Gas Energy](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0125) [Storage and Gas Load Management in Wholesale Electricity and Gas Markets. IEEE](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0125) [Trans Sustain Energy 2018;9:940–51.](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0125) [26] [Jabr RA. Radial distribution load flow using conic programming. Ieee T Power](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0130) probabilistic load and wind farm generation. In: IET conference on reliability of transmission and distribution networks (RTDN 2011); 2011. p. 1-7. [36] Gurobi Optimization LLC. “Gurobi Optimizer Reference Manual,” http://www. gurobi.com. [37] BENUK, ‘Carbon Emissions Calculator’, available at https://www.benuk.net/ Carbon-Emissions-Calculator.html. [38] Gan L, Li N, Topcu U, Low S. On the exactness of convex relaxation for optimal [Syst. 2006;21:1458–9.](http://refhub.elsevier.com/S0142-0615%0x2821%0x2900392-6/h0130) power flow in tree networks. In: 2012 IEEE 51st IEEE Conference on Decision and Control (CDC); 2012. p. 465-71.

섹션 본문 101문단 · 42,820자

(제목 없음)

1Energy hubs, which integrate multiple energy vectors through converters, can enhance the value of Integrated Local Energy Systems (ILES) via increased flexibility and reduced costs.However, uncertain renewable energy and the non-convex, non-linear properties of energy flows complicate the modelling and operation of energy hub systems.This paper develops chance-constrained optimization methods for planning and operation of energy hub systems under uncertainty.The non-linear formulations of power and gas flows are relaxed by convexification methods, leading to a formulation of Second Order Cone Problem (SOCP), which can be efficiently solved to global optimality.The correlation between geographically close wind generators connected to the hub systems is modelled by establishing their relation using Gaussian copula.The proposed chance-constrained optimization is demonstrated on a six-hub system within a multi-vector energy distribution network with 7 electrical buses and 7 gas nodes.The value of different levels of system integration through the installation of energy hubs is investigated.The results show that by combining system integration via energy hubs with chance constrained operation, the proposed method can reduce operating costs and increase renewable energy yields, thereby benefitting hub system operators and customers with reduced energy infrastructure investment and energy costs.

Introduction

2Integrated Local Energy Systems couple the electricity and gas distribution networks to meet electrical and heat demand, thereby unlocking new business models and enhancing the value of existing infrastructure.However, their operation faces challenges due to the complex interaction between the two networks, high penetrations of distributed energy resources, and uncertainty arising from both supply and demand [1].The concept of energy hubsnodes at which energy can be converted from one form to another and passed between energy vectorscan help address challenges caused by uncertain renewable generation and significant changes in customer demand profiles.Energy hubs can coordinate various energy vectors to meet demand for gas, heat, and electricity, thereby significantly improving the efficiency of, and customer interaction with, energy systems [2,3].ILES operators, customers, and generator owners can benefit from the flexibility of energy hubs, but the added complexity requires optimally scheduling the energy flows across all vectors.

3Optimization of the energy hub system involves taking optimal decisions for energy flows and operation of energy hub components, including converters which enable multi-vector operation, which have been investigated in the existing literature: [4] presents optimization for renewable-based integrated electricity-gas-thermal networks incorporating demand response.[5] proposes a bi-level model to optimal coordinate the operations between the energy hubs and distribution network.[6] integrates the concept of smart energy hubs into a distribution network using integrated information gap decision theory.[7] proposes capacity planning of energy hubs with a robust, data-driven approach.[8] develops a generalized heuristic approach to solve the optimal energy flow problem in the energy hub system.[9] and [10] propose a decomposed approach to optimize the behavior of, and flows between, interconnected energy hub systems using Particle Swarm Optimization.The above literature all investigated the optimization of multiple energy hubs considering the energy flows with different objectives.However, most of the solutions rely on linearization of either the non-convex AC power flow or gas flow, which reduces the accuracy of the results; others simulate the full power flow and gas flow equations, yielding a non-convex problem formulation which fails to ensure a global optimality and requires large computational efforts for solution using a heuristic solver.A convex representation of a multi-carrier network and the energy hub components would therefore be of significant value to ensure fast and accurate solution of the optimization problem.

4Energy hub operations and energy flows between hubs could be significantly affected by uncertainty in production and consumption of energy, most notably arising from renewable electricity generation.Several options exist to solve the energy hub optimization problem with uncertainty: robust optimization has been applied in [11] and [12] for planning and dispatching demand response; chance constrained programming and distributionally robust optimization are respectively applied in [13] and [14] to optimize the energy hub system; Monte Carlo simulation is applied in [15,16] to model the uncertain inputs for energy management; and scenario-generation methods are applied in [17,18] to simulate the uncertainty in load, price, and renewable generation; information gap decision theory is applied in [19] to optimize the system under uncertainty from electric vehicles of energy hub system.However, the uncertain outputs from renewable generators at a given hub may be correlated with those at other hubs which are geographically nearby [20]; these correlations are generally ignored in the above literature, and could lead to unplanned curtailment of renewable energy or violation of network limits.This feature challenges optimal system operation, particularly when renewable power generation is high.Therefore, the modelling of correlated uncertainties may be of significant importance in ensuring optimal energy hub operation.The dependent uncertain variables can be formulated by joint distributions, but they lead to intractable optimization problems.Some expansion methods, introduced in [21], can estimate the probability density functions of the joint distributions with joint moments and cumulants.However, the calculation of joint cumulants becomes very complex as the number of uncertain variables increases [21].Hence, expansion methods are inappropriate to solve the optimization problem with multiple correlated uncertain variables.[22] employs the Cholesky decomposition to capture the correlations, but the method can only be applied to reflect the linear relationships.

5The stochastic electricity price under electricity market could also affect the operations of energy hubs, and hence the energy flows between them.Reference [23] proposes a bidding strategy for wind and thermal generators participating in the day-ahead market by stochastic programming, considering the uncertainty in energy prices and wind energy; reference [24] employs a cooperative game approach to present a coordinated bidding strategy for Power-to-Gas (P2G) facilities and wind generators by taking into account the uncertainty of forecast error of wind generation; reference [25] proposes an optimal day-ahead scheduling for P2G storage and gas load management in electricity and gas markets.This paper focusses on the effect of uncertainty in production and consumption to the energy hub system and its relevant distribution systems; it is reasonable to assume that these systems are sufficiently small to be price-takers, and therefore the influence of energy markets is not examined.Future research, considering systems in which energy hubs make up a substantial proportion of the supply and demand base, could address this.

6Based on the existing literature, there is a need to develop an optimization model for energy hubs within the ILES which can:

71. Pursue the global minimum efficiently and with high accuracy; 2. Address the uncertainty within the system; and 3. Accounting for correlation structures which exist between sources of uncertainty, such as renewable generator outputs.

8This paper achieves the first of these by applying the convexification method proposed in [26] to relax the non-convex power flow in a radial network; relaxing the non-convex gas flow (for a radial network) [27] and thereby formulating the ILES optimization problem as a convex Second Order Cone Programming (SOCP) problem.The second is addressed through Chance-Constrained Programming (CCP), which is applied to optimize the energy hub system under uncertainty.Finally, the correlation of wind speed forecast errors in a multi-energy hub system is modelled by Gaussian copula, which can fit the joint distributions with high dimensionality and incomplete parameter estimation of uncertain variables [28].

9Some distribution system constraints can safely be violated so long as this is infrequent and for a short duration; most notably, thermal constraints are set probabilistically, and in overhead line networks they are likely to have a higher thermal capacity during periods of high wind generation due to wind cooling effects [29].Energy hubs can help to manage these constraints by using converters to mitigate the influence of uncertain renewable generation, while allowing an acceptably small probability of overload to significantly reduce operating costs.This paper proposes the use of chance constraints to restrict the power flow limits and applies CCP to minimize system cost while addressing the wind generation uncertainty with an acceptable probability level.

10The main contributions of the paper are therefore:

11(i) A novel method is presented to enable optimal planning of integrated local energy systems under uncertainty; (ii) The gas and electricity networks are transformed to a convex, second order conic model, enabling the globally optimal operating regime to be quickly and accurately obtained; (iii) Operation under uncertainty is enabled by applying chance constraints to the power flow limits in the electrical network; (iv) Systems integration is enabled through energy hubs; the impact of the number of hubs installed is quantified; (v) Correlations between sources of uncertainty are modelled by Gaussian copula, and the implication of neglecting these correlations is demonstrated.

12The rest of the paper is organised as follows: the modelling method for energy hub systems with convex-relaxed electricity and gas networks are described in Section 2. The correlated outputs from renewable generators are presented in Section 3. In Section 4, the optimization problem is formulated and the methodology is introduced.Case studies are discussed in Section 5 and conclusions are presented in Section 6.

Energy hub modelling

13A general energy hub model, which includes all the converters applied in this paper, is described in in this section and illustrated in Fig. 1.The energy hub system utilizes electricity, gas, and wind energy to meet electrical and thermal demand.Each hub contains a Combined Heat and Power (CHP) system which converts gas to heat and electricity and a Ground Source Heat Pump (GSHP) which converts electricity to heat.Wind Turbines (WT), which convert kinetic wind energy into electric power, are also included in some energy hubs.The application of GSHP benefits from high and stable ground temperature, it will also be essential to decarbonize the energy system [30].The outputs of GSHP (P HP_out ) is quantified in (1) P HP out = COP•P HP (1) where, COP denotes the Coefficient of Performance of the GSHP and P HP is the electrical power input to GSHP and P HP_out is the heat output of the GSHP.

14The electrical (P CHP,E ) and heat (P CHP,H ) outputs of the CHP are formulated as a function of the natural gas injection (P CHP ) in ( 2)

15where η e and η th are the electric and thermal efficiencies, respectively.

16The wind generation is expressed in terms of the wind speed v w by piecewise function in (3) [31], where P rated is the wind turbine rated power.v ci , v rd , v ct respectively represent the cut-in, rated, and cut-out wind speeds.

17The energy transformation through the energy hub system in Fig. 1 is expressed in (4), where the output matrix (L) is equal to the converter coupling matrix (C) multiplied by the input matrix (P).

18Equation (4) shows that the electrical demand (L ele ) and thermal demand (L th ) at time step t are satisfied by utilising electricity (P ele ), natural gas (P gas ), and wind energy (P wi ) with the converters.ν e is the dispatch factor, which represents the fraction of electricity input into the GSHP over the total electricity consumption.

Convex relaxation of electricity network

19Each energy hub is connected to a distinct bus within the electricity distribution network.The complex power equilibrium at bus i is expressed by the power balance equations in ( 5) and (6).

20Where P net,i and Q net,i are the net active and reactive power injection at bus i, V i and θ i indicate the power voltage and angel of bus i, G ik and B ik represent the real and imaginary parts of the element Y ik in the admittance matrix, N e is the total number of the buses that connect with bus i.These equations are non-linear and non-convex.However, according to [26], ( 5) and ( 6) can be transferred to the linear formulations in (10) and ( 11) by introducing ancillary variables u i and v i .

21The ancillary variables R ik and I ik satisfy (12), which can be relaxed to rotated quadratic cones (13).

22The original non-convex power flow equations can therefore be transformed to the convex SOCP model of ( 7)-( 11), (13).

Convex relaxation of gas network

23Each energy hub is also connected to a specific node in the gas distribution network.The nodal gas flow balance for the gas node i is expressed in ( 14) [27].

24Where q gw,i is the gas injection at node i, q d,i denotes the gas load demand, q in ik and q out ik represent the gas inflow and outflow between node i and k, N g is number of nodes connected to node i, and χ ik is a coefficient which represents the compressor's consumption ahead of the gas inflows.

25The average gas flow q ik between node i and k can be formulated as in ( 15)- (16).

26Where ϕ ik is the Weymouth equation coefficient, ( 16) is the Weymouth equation, p i denotes the gas pressure at node i.As seen, ( 14)-( 15) yields a linear formulation, and only ( 16) is a non-convex equation.However, in this paper optimal scheduling the of energy hub operation is computed for one hour, and it is reasonable to assume that the gas flow directions do not change within a day [27].Hence ( 16) can be re-written as (17).

27Similar to the relaxation of power flow, ( 17) can be relaxed to (18), which is a convex SOCP formulation [32].

Modelling of correlated uncertain variables

28Uncertain variables are often not independent of one another, and failure to account for this correlation can result in underestimation of the impact of the uncertainty on the system.In this paper, the uncertainty studied is wind generator output, but the method described would be valid for any soucre of uncertainty.Wind generation is the key technology to decaronize energy system, and facilitate micro-grid to meet consumers demand [33,34].Wind generators in energy hub systems can be geographically close to the one another, which yields strong correlations between wind speed at each site considering the forecast errorthis correlation has a significant impact on the operation of the system and is therefore explicitly modelled in this paper.By adding up D. Huo et al. the forecasted wind speed and the data of forecast error, wind speed data from two geographically close sites are plotted in Fig. 2, which shows that the wind speeds at the two sites are highly correlated.Additionally, their probability distributions could be different.As suggested in previous literature [20], wind speeds can follow Gaussian, Weibull, Beta, or lognormal distributions, which complicates the formulation of joint distributions, particularly if the wind speeds at each site follows a different distribution.Nevertheless, copula are capable of tackling this problem to fit joint distributions with high dimensions and non-linear correlations among uncertain variables [28].Therefore, Gaussian copula are applied in this paper to simulate the correlation of wind speeds at different wind generator locations and generate correlated copula samples for solving the CCP.Sobol sequence based Quasi-Monte Carlo Simulation (QMCS) is applied to improve the computational efficiency in generating correlated copula samples in this paper [28].

Definition and application of copula

29By applying the probability integral transform to multiple random variables(X 1 , X 2 , ⋯, X n ), the uniform marginal distributions can be derived as (19).

30According to Sklar's theorem, the cumulative distribution function of random variables (X 1 , X 2 , ⋯, X n ) can be formulated in terms of the copula function with the marginals of random variablesF i (

31The expression is in (20).

32Gaussian copula is applied in this paper to model the correlations between uncertain wind speeds with Sklar's theorem as the basis.The procedure of generating copula samples for uncertain variables with arbitrary distributions is introduced as follows:

33Step (1) Determine the marginal distributions of the uncertain variables and estimate the distribution parameters based on historical data.

34Step (2) Employ kernel density estimation method to estimate the cumulative distribution function (CDF) of the uncertain variables, and the correlation coefficient between them.Then compute the copula structure to capture the joint distribution of the uncertain variables, which is achieved by Sobol sequence-based QMCS to generate correlated samples on the unit scale.

35Step (3) Transfer the correlated samples from unit scale to the original scale of the data, which is achieved by applying the corresponding inverse cumulative distribution function on the unit-scale correlated samples based on the distribution parameters estimated in step 1.

36In terms of generating copula samples for wind speeds in this paper, 100 correlated samples of wind speed forecast errors in unit scale are generated as examples shown in Fig. 3 (a), which are derived by implementing steps (1) and ( 2) based on historical data of wind speeds.Fig. 3 (b) can then be accordingly obtained by using the inverse transform method on the samples in Fig. 3 (a) added to the forecasted wind speed.

37After implementing the procedures described above, the samples of correlated wind speeds can be derived, the samples of wind power generators are then obtained as in Fig. 3 (c) by inputting the samples of wind speeds to (3).

Chance constraints on power flow restrictions

38In this paper, chance constraints are applied to the power flow limits to allow a small but acceptable probability of the current exceeding the conductor rating.This reduces the need to schedule the operation of the system to cater for the most extreme uncertainty values, delivering lower operating costs with a predetermined and acceptable increase in risk.Resolving the resulting CCP problem yields a minimum system cost while addressing the wind generation uncertainty with an acceptable probability.

39The power flow between bus i and k can be formulated as in (21) based on the ancillary variables u i , R ik , and I ik in convex-relaxing the power flow equations.

40Chance constraint is applied to restrict the power flow between bus i and k as:

41Where Pr is the minimum acceptable probability the chance constraints will not be violated; α is the probability the power flow is less than the maximum power flow P ik,max , which indicates that the power flow is allowed to exceed its line capacity with known probability α.

42Nevertheless, allowing a higher probability of power flow constraint violation increases the power flow and therefore power losses, which increases the system cost.

CCP optimization formulation

43This section presents a generic CCP problem formulation for multiple energy hubs connected by electricity and gas distribution networks within the ILES.Wind generators are also connected to the electricity distribution network and are assumed to be geographically close to one another.Each energy hub contains some combination of converters, such as GSHPs and CHPs.The electrical and thermal demand of each hub is satisfied by the cooperation of all elements in the ILES.

44The objective is to minimize the expected cost of the ILES E(C ILES ), calculated by integrating the costs of scenarios, each scenario represents the possible real-time wind generation with a specified probability.The formulation of the expected cost is shown in (23).

45Where C ILES is the total cost of the ILES, E(•) indicates the expected value, s denotes the index of scenarios, N s is the total number of scenarios to represent the wind generation, Pr s means the probability of scenario s, Π ele and Π gas represent the electricity and gas prices with the units of £ (pounds)/MWh, q gw,i,s is the gas injection to the network for scenario s, P loss,s represents the network loss of scenario s and N b is the number of buses.The network loss is expressed in (24) in terms of the ancillary variables u i , I ik , R ik .

46The decision variables of the CCP problem include: average gas flow, gas inflow and outflow of each branch, gas pressure at each node, ancillary variables u i , I ik , R ik , power and gas injected to each energy hub, gas input to each CHP, power input to each GSHP, electricity injection into the distribution network, gas output from each gas source, wind generation curtailment P wc .The above decision variables for each scenario s are included in the vector x s as in (25).

47In (25), the subscripts i and k denote the indices of energy hubs/ converters/BES/nodes/buses.The subscript s indicates the related decision variable of scenario s.The definitions of other variables are in the previous section.

48In summary, the energy hub CCP problem is formulated as follows: Objective:

49Subject to: 11), ( 13), ( 21), ( 24)∀i, ∀k, ∀s

50Gasnetwork : (14) − ( 15), ( 18)∀i, ∀k, ∀s p i,min ≤ p i,s ≤ p i,max ∀i, ∀s(26d) p i,s ≤ γ c × p k,s foractivepipeline∀i, ∀k, ∀s(26e) 0 ≤ q ik,s ≤ q max ik,c foractivepipeline∀i, ∀k, ∀s(26f )

51Energyhubs : (1) − (4)∀i, ∀s 0 ≤ P CHP,i,s ≤ P CHP,i,max ∀i, ∀s(26g) 0 ≤ P GSHP,i,s ≤ P GSHP,i,max ∀i, ∀s(26h)

Chanceconstraints : (22)∀i, ∀k, ∀s

52The constraints of the optimisation problem are explained as follows: The electricity network is constrained by the SOCP formulation of the convex relaxed AC power flow; (26b) sets the lower and upper boundary of the voltage magnitude at each bus in terms of the ancillary variable u i , (26c) restricts the maximum power can be injected into the distribution network.The gas network is constrained by the convex relaxed gas flow equations; in addition, (26d) specifies the maximum and minimum pressure of each gas nodes, (26e) and (26f) restrict the compression ratio and gas flow of the active pipeline, where the compressor is included, γ c is the compressor's compression factor.The energy hubs are restricted by the energy transformation equation ( 4); (26 g) and (26 h) indicate the maximum outputs for CHP and GSHP.

53Resolving the CCP problem means to the find the optimal decision variables (25) to minimize (23) for all scenarios, while the uncertain wind generator outputs are randomly distributed according to their joint distribution.x s = [ q ik,s , q in ik,s , q out ik,s , p i,s , u i,s , R ik,s , I ik,s , P ele,i,s , P gas,i,s , P CHP,i,s , P HP,i,s , q gw,i,s , P wc,s ] ∀i, ∀k, ∀s

54D. Huo et al.

Transforming chance constraints into deterministic constraints

55The optimization problem is a stochastic problem with chance constraints (22).In this paper, the chance constraints are transformed into deterministic constraints based on the generated copula samples.The transformation is carried out using the following procedure:

56First, the power flow P ik between bus i and k can be re-arranged and written in terms of the polynomial function of decision variables D(x) and uncertain wind generation ξ w as shown in (27), where β is the coefficient related to the uncertain variable ξ w in expressing the power flow P ik .For example, within this context, the power flow between bus 5 and 4 in Fig. 6 can be expressed as in (28), in this example β is derived as 1.

57P 54 = ξ w − P wc + P CHP,5 •η e − L ele,5 − P HP,5

58The chance constraints ( 22) can be re-arranged as in (29) based on (27).

59can be further transformed to (30) since uncertain variable's quantile follows a monotonic relation with its inverse CDF [35].

60q ξ w (t) in ( 30) denotes the quantile of uncertain outputs of the wind generators, which can be expressed as the inverse function of the wind generation's CDF with a certain probability level.The quantile function can be converted into a deterministic form if the distributions of uncertain variables are known.

61As demonstrated in section 3, samples of the outputs of the wind generators are obtained by copula, hence their CDF can also be obtained.The quantiles in (30) can be derived from the CDF with the probability levels of α.For example, the CDF curve of the aggregated outputs of two wind generators, each with 10 MW rated power, can be derived as shown in Fig. 4, the quantiles of q ξ w (1 − α) and q ξ w (α) can be accordingly obtained as 12.72 MW and 7 MW respectively if α is 10%.(30) is thus converted to a linear constraint, transforming the stochastic problem to a deterministic problem.

Overall flowchart of the methodology

62The complete optimization procedure is illustrated in Fig. 5.To formulate the optimization problem, the CDF of the wind generators' forecasting errors must first be obtained using Gaussian copula to calculate the quantile for the chance constraints.Additionally, both the power and gas networks are convex relaxed, load and energy price data are input to establish the optimization problem.The original non-convex stochastic problem is transformed to a convex deterministic problem according to Fig. 5; commercially available solvers can be applied to solve the problem with global optimality.

Overview of the ILES

63The proposed optimization scheme has been demonstrated using an ILES of a multi-vector distribution network with 7 electrical buses and 7 gas nodes, based on the model in [27].Schematic diagrams of the electricity and gas distribution networks are depicted in Fig. 6 in blue and green, respectively.The electrical network comprises two radial feeders, with three geographically close wind generation sites at buses 4 and 5.The wind speed forecast error of the wind generations sites at buses 4 and 5 are assumed to respectively follow Normal and Beta distributions.Buses 2-7 in the electrical network correspond to nodes 2-7 in the gas network.Each coupling point between the electrical and gas systems is considered as an energy hub.Each energy hub is equipped with a CHP and GSHP.Two gas sourceswhich could represent conventional gas wells or green gas sources such as anaerobic digestorssupport the gas network at nodes N5 and N7.The pipelines linking N1 to N6 and N1 to N3 are active pipelines with compressors.

64The optimization was implemented on the ILES using a time step of one hour.The transformation between the gas load (m 3 ) and energy (MWh) was achieved by using calorific value, which is taken as 40 MJ/ m 3 in this paper.Additional input parameters, taken from [13,27,28], are shown in Table 1.The scenarios representing the uncertain wind generator outputs were generated by Sobol sequence based QMCS which was been applied to generate the copula samples in section 3.1.100 scenarios were generated, which are able to represent the uncertainty with high accuracy [28]; each scenario has a probability of occurrence of 1%.The CCP problem was solved using Gurobi [36].

Impact of chance constraint probability levels

65The optimization was carried out with the chance constraints restricted to different probability levels to investigate how the CCP affects the optimization and energy hub system operations, and examine the sensitivity of the optimization to the chance constraints' probability.11 probability levels between 0.1% and 10% were adopted to restrict the probabilities of constraint violation (PoCV) (α in ( 22)), indicating that the probability of the power flow remaining below the line capacity varies from 99.9% to 90%.When the PoCV is 10%, the computation time of implementing the CCP with 100 scenarios is 125 s on average, which is derived based on a MacBook with i5 processer and 8 GB memory.

66The change in ILES operations against different POCV are shown in Fig. 7, Fig. 7(a) shows the expected total network cost, Fig. 7(b) depicts the expected electricity and gas inputs to the network, and the total wind generation curtailment, respectively in blue, green, and red, Fig. 7(c) shows the network power loss.The expected values are calculated as in (31) by multiplying the optimization output for each scenario by its probability of occurrence and summing the results, the definitions of the variables in (31) can be found in section 4.2.

67Fig. 7 indicates that the operations of the multi-carrier network are slightly affected when the PoCV is higher than 5%.When the PoCV reduces from 5% to 0.1%, reducing the acceptability of exceeding the power flow constraints, significant changes in system operations can be observed from Fig. 7.When the PoCV reaches 0.1%, the capacity of transmitting the available wind generation at bus 4 and 5 to other load buses is reduced, as a result, the expected total curtailment of the wind generators at bus 5 and 4 increase from 0.61 MWh to 2.17 MWh as seen in Fig. 7(b); the expected gas injection to the network increases from 0.39 MWh to 1.42 MWh to fill up the demand by CHP since the outputs from the wind generators are reduced; similarly, the expected power injection to the network increases from 0.05 MWh to 0.38 MWh.Conclusively, the reduction of PoCV leads to the increase of wind generation curtailment, gas and electricity inputs, hence significantly increases the system cost from £9.73 to £42.82 as seen in Fig. 7(a) when the PoCV decrease from 5% to 0.1%.Additionally, due to the high efficiency of the CHP, and lower gas price compared with the electricity price, the ILES inputs more gas than electricity to meet the demand when the PoCV is reduced, to minimize the system cost.

68Although the cost and energy inputs increase, the system power loss decreases from 1.68 MW to 0.99 MW with the reduction of PoCV as seen in Fig. 7(c), because a high probability of power flow exceeding the line capacity leads to higher utilisation of assets and therefore higher losses.It is notable that the cost is lower when the PoCV is higher, in spite, rather than because, of the higher losses.

69The variation in expected power flows between buses, gas input to each CHP, and power input to each GSHP against the changing of PoCV are depicted in Fig. 8.All expected power flows decline with the decrease of PoCV, which is in accordance with the definition of using chance constraints to restrict power flows.The larger variations in power flow indicate the larger influence of the chance constraints, as seen in Fig. 8 (a).The sequence of most affected to the least affected power flows is: P 43 , P 32 , P 54 , P 21 , P 16 , P 67 .The changes on P 43 and P 32 are 1.74 MW and 1.62 MW with the PoCV reduces from 10% to 0.1%, they are most affected because their line capacity limit of 12 MW are most likely to be reached when the wind generators at buses 5 and 4 (each with 10 MW of rated power) transmit the generated power to other buses.P 54 yields a change of 1.26 MW with the changing of PoCV, though the output of the wind generator at bus 5 is always less than the line capacity limt between buses 5 and 4 regardless the value of PoCV, however, more wind generation curtailment is requried for the wind

70Gas price £30/MWh Gas node pressure from 1 to 7 (bar) [20,150], [20,170] generator at bus 5 because less power flow is permitted between buses 4 and 3 when the PoCV reduces, hence P 54 also decrease when the PoCV decreases.P 16 , and P 67 are less affected because the majority of uncertain wind generation is consumed by the energy hubs at bus/node 2-5, the remaining uncertainty is less likely to cause these power flows to reach the line limit.Fig. 8 (b) and (c) show the expected gas and power inputs to each CHP and GSHP respectively.Overall, when the PoCV reaches 0.1%, less uncertain wind generation can be transmitted from buses 5 and 4 to other buses, the power inputs to the GSHP at the other hubs decrease due to the reduced availability of wind energy to support them.Correspondly, in order to collaboratively meet the demand with the GSHP, the gas inputs to the CHP increase as indicated in Fig. 8(b).The expected gas input to hub 7 is most affected, increasing from 0.34 MWh to 1.29 MWh when the PoCV is reduced to 0.1%.This is because more generated wind power is curtailed with the decrease of PoCV, the farthest hub is most affected since less wind power could be transmitted there to support the load, and consequently more gas is imported.

71The above analysis demonstrates the high dependency between the electricity and gas networks: thanks to the energy hubs, more gas can be input to the CHP to support the electricity and thermal demands when the power flow restrictions are stricter.

Effect of energy hubs

72Energy hubs increases the system flexibility because the energy demands no longer rely on a single energy vector.When the electrical power flow is restricted or electricity prices are high, the electrical loads can be met through the use of CHPs and increased flows in the gas network.However, the capital cost of the energy hubs including the CHP and GSHP is generally expensive, and the operation of some energy hubs provide less value to the system.This section investigates how the existence of energy hubs affects the operational costs and carbon emissions of the ILES.7 comparative cases are considered by employing different number of energy hubs in the ILES in Fig. 6.Where there is no coupling between the and gas and electricity networks, the electrical load is met through electricity import and/or wind generation and the thermal load is met by gas furnaces with an efficiency of 95%.The carbon emissions of using per unit grid electricity and gas are taken as 0.10 kg/MWh and 0.18 kg/MWh based on the average emission data in Scotland [37], the utilization of wind generation present zero carbon emission.The 7 cases consider the number of energy hubs from 0 to 6, the sequence of deploying a new energy hub in each case is from the coupling point that is the nearest to the wind generation sites, namely hub 4, 5, 3, 2, 6, and 7.The optimal expected system total costs and expected carbon emission are shown in Fig. 9 (a) and (b) respectively.Fig. 9(a) suggests that the system cost decreases when the number of energy hubs rises in the multi-carrier network.A relatively large cost decrease can be observed when the number of energy hubs increases from 3 to 4, corresponding to the installation of the energy hub at bus 2.

73The electricity and thermal demands at bus 2 are higher than the other buses, so adding the energy hub at this bus leads to a higher cost reduction.Similarly, Fig. 9(b) indicates that the carbon emission of the multi-carrier network decreases with the installation of energy hubs.This is because a higher proportion of thermal demand can be met by using the carbon-free wind generation through GSHP when there are more energy hubs deployed in the network.Both the wind generation curtailment and the import of electricity and gas are reduced, leading to the reduction of carbon emission.The greatest reduction in carbon emissions is observed with the installation of the energy hub at bus 2 due to its high thermal energy demand.

Effect of correlation

74The value of using copula to model the correlations between wind speeds is analysed in this section by considering a comparative case is in which the wind speeds are assumed to be independent.Similar to Fig. 3 (b), the distribution of independent wind speeds can be derived as shown in Fig. 10 by fitting the same data.The wind speeds observed at the two sites are independent, and randomly distributed according to their own distributions.

75The impact of ignoring the correlation was investigated using the following process:

761. Carry out optimal scheduling for cases with independent wind speeds and PoCV varying from 0.1% to 10% 2. Carry out a Monte Carlo simulation to evaluate the performance of the optimal schedule which neglected the correlation but with the correlation present (i.e. the correlation exists but the scheduler does not consider it) 3. Carry out the same Monte Carlo simulation to evaluate the performance of the optimal scheduler when the correlation is included 4. Compare the specified PoCV to the frequency with which the constraints were violated during the Monte Carlo simulation; the results of this are shown in Fig. 11.

77As shown in Fig. 11, by modelling the wind speeds correlations with Gaussian copula, the optimal operations satisfy the chance constraints on power flow limitation for majority of cases.However, if the wind speeds are considered to be independent, the optimal operations could further violate the pre-defined PoCV of the optimization for 1.5% to 8%, posing a risk for the system.

Exactness of flow relaxation

78The exactness of power and gas flow relaxations is examined in this section.According to [38], the Second-Order Conic Relaxation (SOCR) is exact if every solution of SOCR also solves the optimal power flow problem.Consequently, the results derived from SOCR should meet the Fig. 9. Expected optimal cost with different number of energy hubs.

79D. Huo et al. original unrelaxed constraints to ensure its exactness.In this paper, the optimal solution from the relaxed forms of 2u i u k ≥ R 2 ik +I 2 ik (13) and (17).The exactness of relaxations is inspected by examining the 1100 optimal results (100 scenarios for each POCV and 11 POCVs in total) in the paper.

80For power flow relaxation, the values of 2u i u k − (R 2 ik + I 2 ik ) obtained from SOCR were between 10 -10 p.u. and 10 -3 p.u., indicating an acceptable relaxation exactness.

81However, regarding gas flow relaxation, the values of

82− (q ik ) 2 obtained from SOCR are all around 1 MSm 3 /h 2 , indicating inexact relaxation.For a given set of optimal gas inflow and outflow values there is a wide range of feasible gas flow solutions.By adding the sum of all pressures multiplied by a small fraction (e.g. 10 -3 ) and including it in the objective function, the values of

83− (q ik ) 2 from SOCR can be reduced to between 10 -10 MSm 3 / h 2 and 10 0 MSm 3 /h 2 , in which approximately 50% of the values are between 10 -10 MSm 3 /h 2 and 10 -3 MSm 3 /h 2 , and the rest are between 10 - 1 MSm 3 /h 2 and 10 0 MSm 3 /h 2 ; the relaxation may still be inexact in some cases.Nevertheless, the accuracy of computing gas inflow, outflow, gas sources outputs, and inputs to CHPs are unaffected, because they follow linear relationships, which are met by the optimization of SOCR; only the accuracy of calculating gas node pressures, namely p i and p k , is affected, because they follow non-linear relation with gas inflow and outflow, and the relaxation is not exact.

84To ensure the feasibility of the optimal solution, we propose to take the gas inflows and outflows derived from SOCR as inputs, the gas node pressures from SOCR as the initial searching point, the same pressure limitation as constraints, and employ non-linear solver to optimize gas node pressures in order to satisfy (17).This ensures the accuracy of solution and adds only 0.32 s of extra computation time for optimizing a scenario.This procedure does not change the overall optimal solution but updates the nodal pressures to follow (17).An example result is shown in Fig. 12.The SOCR results are all at or close to the lower bound, due to the pressure minimization term included in the objective function; the true, non-linear gas flows results indicate higher pressures at some nodes, which result in all solutions being within the acceptable pressure range.Feasible solutions for the gas flow with gas pressures that satisfy (17) could always be reached by employing the non-linear solver to all 1100 optimal results from SOCR.

Conclusion

85This paper proposes a chance-constrained optimization scheme for Integrated Local Energy Systems which: (1) convex-relaxes both the electricity and gas network models, enabling efficient optimization which reaches global optimality with commercially available solvers;

86(2) Accounts for uncertainty and enables a compromise between risk and cost by allowing line ratings to be exceeded with a specified probability, and (3) captures the correlations between geographically close wind generation sites via copula.The main findings are as follows:

87• The operating cost of the ILES is significantly reduced by allowing even a low probability of chance constraint violation.However, this delivers diminishing returns as the probability increases, with little improvement between a 5% and 10% PoCV.• The number and location of energy hubs in the system has a significant impact on the system operating cost and carbon emission.Specific energy hubsparticularly those connected to larger demandsled to a much greater reduction in operating cost and carbon emission than other hubs, some of which had almost no effect.• Copula effectively and efficiently represents the correlations between wind speeds.Ignoring the correlations yields an underestimation of uncertainty, which may put the safe operation of the system at risk.

88By explicitly modelling the uncertainty from renewable generation, the proposed optimization benefits the system operator with optimal determination on system operations to reach the minimal cost depending on the acceptable tolerance for chance constraints.It is particularly beneficial for the optimal operation of large-scale, multi-carrier systems due to the convex SOCP formulations.Furthermore, the proposed optimization could be extended to solve optimal planning problems from an investor's perspective.The rated power of the wind generations can be re-evaluated to maximize the profits while avoiding curtailment considering wind speed uncertainty, position and capacity of energy hubs.To further improve the system flexibility in coping with uncertain renewable generation, future work could model power-to-gas technology to establish the conversion between abundant renewable generation and gas network, thereby avoiding the curtailment of renewable generation.

Fig. 1 .

89Fig. 1.A single energy hub.

Fig. 2 .

90Fig. 2. Wind speeds observed at site 1 and 2.

Fig. 3 .

91Fig. 3. Computation of correlated wind generation.

Fig. 4 .

92Fig. 4. CDF curve of wind generation.

Fig. 5 .

93Fig. 5. Overall flowchart.

Fig. 6 .

94Fig. 6.Electricity and gas distribution networks.

Fig. 7 .Fig. 8 .

95Fig. 7. Expected optimal results with different PoCV.

Fig. 10 .

96Fig. 10.Samples of independent wind speeds.

Fig. 11 .

97Fig. 11.Comparisons between optimal results.

Da Huo :

98Conceptualization, Methodology, Writing -original draft.Chenghong Gu: Supervision, Writing -review & editing.David Greenwood: Methodology, Writing -review & editing, Visualization.

Zhaoyu Wang :

99Methodology, Writing -review & editing.Pengfei Zhao: Data curation, Writing -review & editing.Jianwei Li: Writing -review & editing.Declaration of Competing InterestNone.

Fig. 12 .

100Fig. 12.An example of the updating of the gas flow results.

Table 1

101Energy Hub System Parameters and Constraints.= 0.33, η gh = 0.57 Wind turbine v ci = 2 m/s, v co = 18 m/s, v rs = 12 m/s, P rated = 6 MW Distribution networks Electricity network 0.93p.u.≤ Vi ≤ 1.07p.u., P ik,max = 12 MW

참고문헌 36건

  1. Integrated Modeling and Optimization of Multi-Carrier Energy Systems 2007 10.3929/ethz-a-005377890
  2. Energy Flow Optimization in Multicarrier Systems IEEE Transactions on Industrial Informatics · Institute of Electrical and Electronics Engineers · 2015 10.1109/tii.2015.2462316
  3. Analysis of battery lifetime extension in a SMES-battery hybrid energy storage system using a novel battery lifetime model Energy · Elsevier BV · 2015 10.1016/j.energy.2015.03.132
  4. Optimal Energy Management of Greenhouses in Smart Grids IEEE Transactions on Smart Grid · Institute of Electrical and Electronics Engineers · 2014 10.1109/tsg.2014.2372812
  5. Probabilistic Power Flow Studies for Transmission Systems With Photovoltaic Generation Using Cumulants IEEE Transactions on Power Systems · Institute of Electrical and Electronics Engineers · 2012 10.1109/tpwrs.2012.2190533
  6. Radial Distribution Load Flow Using Conic Programming IEEE Transactions on Power Systems · Institute of Electrical and Electronics Engineers · 2006 10.1109/tpwrs.2006.879234
  7. Coordinated Trading of Wind and Thermal Energy IEEE Transactions on Sustainable Energy · Institute of Electrical and Electronics Engineers · 2011 10.1109/tste.2011.2111467
  8. Probabilistic Optimal Power Flow Considering Correlations of Wind Speeds Following Different Distributions IEEE Transactions on Power Systems · Institute of Electrical and Electronics Engineers · 2014 10.1109/tpwrs.2013.2296505
  9. On the exactness of convex relaxation for optimal power flow in tree networks 2012 10.1109/cdc.2012.6426045
  10. Valuing Investments in Multi-Energy Conversion, Storage, and Demand-Side Management Systems Under Uncertainty IEEE Transactions on Sustainable Energy · Institute of Electrical and Electronics Engineers · 2011 10.1109/tste.2011.2106228
  11. Optimal Power Flow of Multiple Energy Carriers IEEE Transactions on Power Systems · Institute of Electrical and Electronics Engineers · 2007 10.1109/tpwrs.2006.888988
  12. Applying Wind Simulations for Planning and Operation of Real-Time Thermal Ratings IEEE Transactions on Smart Grid · Institute of Electrical and Electronics Engineers · 2015 10.1109/tsg.2015.2488103
  13. Stochastic optimal power flow approach considering correlated probabilistic load and wind farm generation 2011 10.1049/cp.2011.0514
  14. Design/test of a hybrid energy storage system for primary frequency control using a dynamic droop method in an isolated microgrid power system Applied Energy · Elsevier BV · 2016 10.1016/j.apenergy.2016.10.066
  15. Stochastic Networked Microgrid Energy Management With Correlated Wind Generators IEEE Transactions on Power Systems · Institute of Electrical and Electronics Engineers · 2017 10.1109/tpwrs.2017.2650683
  16. MINLP Probabilistic Scheduling Model for Demand Response Programs Integrated Energy Hubs IEEE Transactions on Industrial Informatics · Institute of Electrical and Electronics Engineers · 2017 10.1109/tii.2017.2730440
  17. Quasi-Monte Carlo Based Probabilistic Optimal Power Flow Considering the Correlation of Wind Speeds Using Copula Function IEEE Transactions on Power Systems · Institute of Electrical and Electronics Engineers · 2017 10.1109/tpwrs.2017.2737580
  18. Optimal operation of interconnected energy hubs by using decomposed hybrid particle swarm and interior-point approach International Journal of Electrical Power & Energy Systems · Elsevier BV · 2017 10.1016/j.ijepes.2017.08.004
  19. Optimal Day-Ahead Scheduling of Power-to-Gas Energy Storage and Gas Load Management in Wholesale Electricity and Gas Markets IEEE Transactions on Sustainable Energy · Institute of Electrical and Electronics Engineers · 2017 10.1109/tste.2017.2767064
  20. Robust Constrained Operation of Integrated Electricity-Natural Gas System Considering Distributed Natural Gas Storage IEEE Transactions on Sustainable Energy · Institute of Electrical and Electronics Engineers · 2017 10.1109/tste.2017.2764004
  21. Investigation of Carrier Demand Response Uncertainty on Energy Flow of Renewable-Based Integrated Electricity–Gas–Heat Systems IEEE Transactions on Industrial Informatics · Institute of Electrical and Electronics Engineers · 2018 10.1109/tii.2018.2798820
  22. Integration of Smart Energy Hubs in Distribution Networks Under Uncertainties and Demand Response Concept IEEE Transactions on Power Systems · Institute of Electrical and Electronics Engineers · 2018 10.1109/tpwrs.2018.2867648
  23. Optimisation for interconnected energy hub system with combined ground source heat pump and borehole thermal storage Frontiers in Energy · Higher Education Press · 2018 10.1007/s11708-018-0580-0
  24. Chance-Constrained Optimization for Multienergy Hub Systems in a Smart City IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2018 10.1109/tie.2018.2863197
  25. 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
  26. Optimal Borehole Energy Storage Charging Strategy in a Low Carbon Space Heat System IEEE Access · Institute of Electrical and Electronics Engineers · 2018 10.1109/access.2018.2883798
  27. Power-to-gas management using robust optimisation in integrated energy systems Applied Energy · Elsevier BV · 2018 10.1016/j.apenergy.2018.12.028
  28. Risk-Based Distributionally Robust Optimal Gas-Power Flow With Wasserstein Distance IEEE Transactions on Power Systems · Institute of Electrical and Electronics Engineers · 2018 10.1109/tpwrs.2018.2889942
  29. Optimal operation of an energy hub considering the uncertainty associated with the power consumption of plug-in hybrid electric vehicles using information gap decision theory International Journal of Electrical Power & Energy Systems · Elsevier BV · 2019 10.1016/j.ijepes.2019.04.040
  30. Impact of uncertainty and correlation on operation of micro-integrated energy system International Journal of Electrical Power & Energy Systems · Elsevier BV · 2019 10.1016/j.ijepes.2019.03.066
  31. Two-stage robust planning-operation co-optimization of energy hub considering precise energy storage economic model Applied Energy · Elsevier BV · 2019 10.1016/j.apenergy.2019.113372
  32. 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
  33. A robust optimization approach for optimal load dispatch of community energy hub Applied Energy · Elsevier BV · 2019 10.1016/j.apenergy.2019.114195
  34. Coordinated Bidding Strategy of Wind Farms and Power-to-Gas Facilities Using a Cooperative Game Approach IEEE Transactions on Sustainable Energy · Institute of Electrical and Electronics Engineers · 2020 10.1109/tste.2020.2965521
  35. Optimal strategic coordination of distribution networks and interconnected energy hubs: A linear multi-follower bi-level optimization model International Journal of Electrical Power & Energy Systems · Elsevier BV · 2020 10.1016/j.ijepes.2020.105925
  36. Stochastic planning and operation of energy hubs considering demand response programs using Benders decomposition approach International Journal of Electrical Power & Energy Systems · Elsevier BV · 2020 10.1016/j.ijepes.2020.106030