Abstract
This chapter provides a solution for energy system integration (ESI) problem in GAMS. The ESI analysis refers to a class of studies which investigate the potential in different energy sectors (water, gas, and electricity) for moving toward a more environmentally friendly and efficient energy supply. The main idea is how to harvest the flexibilities in each energy carrier in a larger framework. In this chapter, the coordination between water desalination systems and power system, gas network-power network, and finally the concept of energy hub is investigated.
Access provided by CONRICYT-eBooks. Download chapter PDF
Keywords
- Integrated Energy Systems (ESI)
- Energy Hub
- Water Desalination System
- Efficient Energy Supply
- Hourly Output
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.
This chapter provides a solution for energy system integration (ESI) problem in GAMS. The ESI analysis refers to a class of studies which investigate the potential in different energy sectors (water, gas, and electricity) for moving toward a more environmentally friendly and efficient energy supply. The main idea is how to harvest the flexibilities in each energy carrier in a larger framework. In this chapter, the coordination between water desalination systems and power system, gas network-power network, and finally the concept of energy hub is investigated.
10.1 Water-Power Nexus
The water-electricity interdependence is an undeniable issue. Water is used for cooling the power plants. On the other hand, the electricity is used for collecting, treatment, and disposal of water.
The water-energy nexus concept is shown in Fig. 10.1 [1]. The optimization is formulated as follows:
The simulation data are taken from [1] with slight modifications (Tables 10.1, 10.2, and 10.3).
GCode 10.1 Water-energy nexus optimization problem
Sets t /t1 * t24 /, i /p1 * p4/, c /c1 * c3 /, w /w1/; Table gendata ( i, * ) generator cost c h a r a c t e r i s t i c s and limits a b c Pmax Pmin p1 0.0002069 −0.1483 57.11 500 0 p2 0.0003232 −0.1854 57.11 400 0 p3 0.001065 −0.6026 126.8 400 0 p4 0.0004222 −0.2119 57.11 350 0; Table Coproduct (c, * ) Pmax Pmin Wmax Wmin rmin rmax A11 A12 A22 b1 b2 C c1 800 160 200 30 4 9 0.0004433 0.003546 0.007093 −1.106 −4.426 737.4 c2 600 120 150 23 4 9 0.0007881 0.006305 0.01261 −1.475 −5.901 737.4 c3 400 80 100 15 4 9 0.001773 0.01419 0.02837 −2.213 −8.851 737.4; Table waterdata (w, * ) a b c Wmax Wmin w1 1.82E −02 −7.081e−1 7.374 250 0; Table PWdata( t, * ) Pd water t1 1250 150 t2 1125 130 t3 875 100 t4 750 150 t5 950 200 t6 1440 350 t7 1500 300 t8 1750 200 t9 2000 300 t10 2250 400 t16 2500 550 t17 2125 550 t18 2375 500 t19 2250 400 t20 1975 350 t21 1750 300 t22 1625 250 t23 1500 200 t24 1376 150; Variables Of, p( i, t ),TC,CC, Pc(c, t ),Wc(c, t ),Water(w, t ), WaterCost; Binary variables Up( i, t ),Uc(c, t ),Uw(w, t ); p. up( i, t )=gendata ( i,”Pmax”); p. lo ( i, t )=0; Pc. up(c, t )= Coproduct (c, ’Pmax ’ ); Pc. lo (c, t )=0; Wc. up(c, t )= Coproduct (c, ’Wmax’ ); Wc. lo (c, t )=0; Water. up(w, t )=waterdata (w, ’Wmax’ ); Water. lo (w, t )=0; Equations costThermal, balanceP, balanceW, costCoprodcalc, Objective, costwatercalc, ratio1, ratio2,EQ1,EQ2,EQ3,EQ4,EQ5,EQ6,EQ7,EQ8; costThermal..TC = e = sum(( t, i ), gendata ( i, ’a ’ ) * power (p( i, t ),2)+gendata ( i, ’b ’ ) * p( i, t ) +gendata ( i, ’ c ’ ) * Up( i, t ) ); balanceP ( t ) .. sum( i, p( i, t ) )+ sum(c, Pc(c, t ) )= e = PWdata( t, ’Pd ’ ); balanceW( t ) .. sum(w, Water(w, t ) )+ sum(c,Wc(c, t ) )= e = PWdata( t, ’ water ’ ); costCoprodcalc.. CC = e = sum(( c, t ), Coproduct (c, ’A11 ’ ) * power (Pc(c, t ),2) +2* Coproduct (c, ’A12 ’ ) * Pc(c, t ) * Wc(c, t ) + Coproduct (c, ’A22 ’ ) * power (Wc(c, t ),2) + Coproduct (c, ’B1 ’ ) * Pc(c, t )+ Coproduct (c, ’B2 ’ ) * Wc(c, t )+ Coproduct (c, ’C’ ) * Uc(c, t ) ); costwatercalc.. WaterCost = e = sum(( t,w), waterdata (w, ’a ’ ) * power (Water(w, t ),2) +waterdata (w, ’b ’ ) * Water(w, t ) +waterdata (w, ’ c ’ ) * Uw(w, t ) ); Objective .. OF = e = TC + CC + WaterCost; ratio1 (c, t ) .. Pc(c, t )=l= Wc(c, t ) * Coproduct (c, ’Rmax ’ ); ratio2 (c, t ) .. Pc(c, t )= g = Wc(c, t ) * Coproduct (c, ’Rmin ’ ); eq1 (w, t ) .. Water(w, t )=l= Uw(w, t ) * waterdata (w, ’Wmax’ ); eq2 (w, t ).. Water(w, t )= g = Uw(w, t ) * waterdata (w, ’Wmin’ ); eq3 (c, t ).. wc(c, t )=l= Uc(c, t ) * Coproduct (c, ’Wmax’ ); eq4 (c, t ).. wc(c, t )= g = Uc(c, t ) * Coproduct (c, ’Wmin’ ); eq5 (c, t ).. Pc(c, t )=l= Uc(c, t ) * Coproduct (c, ’Pmax ’ ); eq6 (c, t ).. Pc(c, t )= g = Uc(c, t ) * Coproduct (c, ’Pmin ’ ); eq7 ( i, t ).. p( i, t ) =l= Up( i, t ) * gendata ( i,”Pmax”); eq8 ( i, t ).. p( i, t ) = g = Up( i, t ) * gendata ( i,”Pmin”); Model DEDcostbased /all/; Solve DEDcostbased us MInlp min OF;
The hourly water output of different plants in water-energy nexus problem is depicted in Fig. 10.2. The hourly power output of different plants in water-energy nexus problem is shown in Fig. 10.3.
10.2 Gas-Power Nexus
The interaction of gas network and electricity network is modeled in this section. The electrical network is IEEE RTS 24-bus network which is shown in Fig. 10.4. It is a transmission network with the voltage levels of 138 kV, 230 kV and Sbase = 100 MVA. The branch data for IEEE RTS 24-bus network is given in Table 10.4 [2]. The from bus, to bus, reactance (X), resistance (r), total line charging susceptance (b), and MVA rating (MVA) are specified in this table. The parallel lines in MATPOWER are merged and the resultants are given in Table 10.4. The generation data for IEEE RTS 24-bus network is given in Table 10.5. The data of generating units in this network is inspired by Conejo et al. [3] and Bouffard et al. [4] with some modifications. The slack bus is bus 13 in this network. The wind turbines and the capacities are also shown in Fig. 10.4.
The gas network is also shown in Fig. 10.4 which its data is taken from [5]. The technical and economical characteristics of gas nodes are given in Table 10.6. The technical characteristics of gas network are also provided in Table 10.7 [5]. The gas network equations are described in (10.2).
The electrical network equations are described in (10.3).
The overall optimization problem, constraints, and the decision variables are as follows:
The hourly variation pattern of wind generation, electric and gas demand is shown in Fig. 10.5.
The integrated electricity-gas problem is solved using the GCode 10.2. The total electricity cost EC is $3. 9760 × 105. The total gas extraction costs are GC = $5. 1755 × 105 and the total costs are $9. 1515 × 105. The hourly variation pattern of wind generation, electric and gas demand is shown in Fig. 10.5.
GCode 10.2 Gas-electricity nexus optimization problem
Sets bus /1*24/ , slack ( bus ) /13/,Gen /g1 * g12 /, t /t1 * t24/ genD( gen ) /g1 * g2, g5, g7 * g11 /, genN( gen ) /g3, g4, g6, g12/ ; scalars Sbase /100/ ,VOLL /10000/, VOLW /50/; a l i a s (bus, node ); Sets gn NODES / Anderlues, Antwerpen, Arlon, Berneau, Blaregnies, Brugge, Dudzele, Gent, Liege, Loenhout, Mons, Namur, Petange, Peronnes, Sinsin, Voeren, Wanze, Warnand, Zeebrugge, Zomergem / a PIPES / L1 * L24 /; Alias (gn,gm); set Pnm(a, gn,gm) arc description; table Ndata(gn, * ) Node Data slo sup Sd plo pup c * Removed for saving space ; set GElink (gn, gen ) /Loenhout . g12 Voeren . g6 Sinsin . g3 Petange . g4 /; table AData(a, gn,gm, * ) Arc Data act C2mn; table GD (Gen, * ) Generating units characteristics; set GB(bus, Gen) connectivity index of each generating unit to each bus ; Table BusData(bus, * ) Demands of each bus in MW; Table branch (bus, node, * ) Network technical r x b z limit; Table DataWDL( t, * ) w d g; Parameters Wcap( bus ), conex (bus, node ),SD(gn); branch (bus, node, ’ bij ’ ) $branch (bus, node, ’ Limit ’ ) =1/branch (bus, node, ’x ’ ); conex (bus, node )$( branch (bus, node, ’ limit ’ )and branch (node, bus, ’ limit ’ ) )=1; conex (bus, node )$( conex (node, bus ) )=1; Variables f (a, gn,gm, t ), sg (gn, t ), pressure (gn, t ), EC, Pij (bus, node, t ),Pg(Gen, t ), delta (bus, t ), lsh (bus, t ),Pw(bus, t ), pc(bus, t ),Gc,OF ; Pnm(a, gn,gm) $adata (a, gn,gm, ’c2mn ’ )=yes; Equations const1, const2, const3, const4, const5, const6,CG1,CG2,CG3,CG4, Objective; const1 (bus, node, t ) $conex (bus, node ).. Pij (bus, node, t )= e = branch (bus, node, ’ bij ’ ) * ( delta (bus, t ) −delta (node, t ) ); const2 (bus, t ).. lsh (bus, t )$BusData(bus, ’pd ’ )+ Pw(bus, t )$Wcap( bus )+ sum(Gen$GB(bus,Gen), Pg(Gen, t ) ) − DataWDL( t, ’d ’ ) * BusData(bus, ’pd ’ )/Sbase= e = + sum( node$conex (node, bus ), Pij (bus, node, t ) ); const3..EC = e = sum(( bus,GenD, t )$GB(bus,GenD),Pg(GenD, t ) * GD (GenD, ’b ’ ) * Sbase ) + sum(( bus, t ),VOLL * lsh (bus, t ) * Sbase$BusData (bus, ’pd ’ )+ VOLW* Pc(bus, t ) * sbase$Wcap( bus ) ); const4 (gen, t ) .. pg(gen, t+1) − pg(gen, t )=l= GD (gen, ’RU’ )/Sbase; const5 (gen, t ) .. pg(gen, t−1) − pg(gen, t )=l= GD (gen, ’RD’ )/Sbase; const6 (bus, t )$Wcap( bus ) .. pc(bus, t )= e = DataWDL( t, ’w’ ) * Wcap( bus )/Sbase− pw(bus, t ); Pg. lo (Gen, t )= GD (Gen, ’Pmin ’ )/Sbase; Pg. up(Gen, t )= GD (Gen, ’Pmax ’ )/Sbase; delta. up(bus, t )= pi/2; delta. lo (bus, t )=− pi/2; delta. fx ( slack, t )=0; Pij. up(bus, node, t )$ (( conex (bus, node ) ) ) =1* branch (bus, node, ’ Limit ’ )/Sbase; Pij. lo (bus, node, t )$ (( conex (bus, node ) ) )=−1*branch (bus, node, ’ Limit ’ )/Sbase; lsh. up(bus, t )= DataWDL( t, ’d ’ ) * BusData(bus, ’pd ’ )/Sbase; lsh. lo (bus, t )= 0; Pw. up(bus, t )= DataWDL( t, ’w’ ) * Wcap( bus )/Sbase; Pw. lo (bus, t )=0; Pc. up(bus, t )= DataWDL( t, ’w’ ) * Wcap( bus )/Sbase; Pc. lo (bus, t )=0; SD(gn)= Ndata(gn, ’SD ’ ); CG1(gn, t ).. sum(Pnm(a, gn,gm), f (Pnm, t ) )= e = sum(Pnm(a,gm, gn), f (Pnm, t ) ) +sg (gn, t )$(Ndata(gn, ’Sup ’ )>0) − DataWDL( t, ’G’ ) * SD(gn) − sum((GenN) $Gelink (gn,GenN),Pg(GenN, t ) * GD (GenN, ’b ’ ) * Sbase /35315); CG2(Pnm(a, gn,gm), t )$(AData(a, gn,gm, ’C2mn ’ ) AND AData(a, gn,gm, ’ACT’ )=0) .. signpower ( f (Pnm, t ),2) = e = AData(Pnm, ’C2mn ’ ) * ( pressure (gn, t ) −pressure (gm, t ) ); CG3(Pnm(a, gn,gm), t )$(AData(a, gn,gm, ’C2mn ’ ) AND AData(a, gn,gm, ’ACT’ )=1) .. −sqr ( f (Pnm, t ) ) = g = AData(Pnm, ’C2mn ’ ) * ( pressure (gn, t ) −pressure (gm, t ) ); CG4.. Gc = e = sum(( gn, t ), 35315* ndata (gn, ’ c ’ ) * sg (gn, t )$Ndata(gn, ’Sup ’ ) ); Objective..OF = e = EC + Gc; sg. lo (gn, t )=0; sg. up(gn, t )= ndata (gn, ’ sup ’ ); pressure. lo (gn, t ) = sqr ( ndata (gn, ’ plo ’ ) ); pressure. up(gn, t ) = sqr ( ndata (gn, ’pup ’ ) ); f. lo (Pnm(a, gn,gm), t )$(AData(a, gn,gm, ’C2mn ’ ) ) = − sqrt(AData(a, gn,gm, ’C2mn ’ ) * ( pressure. up(gn, t ) −pressure. lo (gn, t ) ) ); f. up(Pnm(a, gn,gm), t )$(AData(a, gn,gm, ’C2mn ’ ) )= sqrt(AData(a, gn,gm, ’C2mn ’ ) * ( pressure. up(gn, t ) −pressure. lo (gn, t ) ) ); f. lo (Pnm(a, gn,gm), t )$(AData(a, gn,gm, ’C2mn ’ ) AND AData(a, gn,gm, ’ACT’ )=1) =0; Model overall /all/; Solve overall using nlp min OF;
Hourly variation pattern of gas generation from gas sources are shown in Fig. 10.6.
The hourly variation pattern of electricity power generation is shown in Fig. 10.7.
The interaction of gas network and electricity sector has been investigated in several works. The impacts of the gas network on security constrained UC is analyzed in [6]. A unified gas and power flow analysis in natural gas and electricity coupled networks can be found in [7]. A robust scheduling model for wind-integrated energy systems with the considerations of both gas pipeline and power transmission contingencies is developed in [8]. The reliability of gas networks and their impacts on the reliability of electricity network is modeled in [9]. The impact of large penetration of wind generation on the UK gas network is analyzed in [10]. One of the recent efficient methods of electricity storage is storing the electricity as gas. This method is also called power to gas or P2G technique [11].
10.3 Energy Hub Concept
The concept of Energy Hub was introduced in [12]. Energy hub may be considered as a virtual box that can convert a set of input energy carriers into a set of energy demands. This box contains several technologies that can store, transfer, or convert different forms of energies to each other. A general example of Energy hub is shown in Fig. 10.8. Different aspects of energy hubs are investigated in the literature such as economic dispatch of energy hubs [13], demand response and energy hub [14], energy hub concept applied on car manufacturing plants [15], and wind power uncertainty modeling in energy hubs [16, 17].
The technologies shown in Fig. 10.8 are explained as follows:
-
Combined heat and power (CHP): receives the natural gas (G t ) and converts it into heat (H t ) and electricity (E t ) The CHP economic dispatch problem can be modeled in (10.5) [18]:
$$\displaystyle\begin{array}{rcl} H_{t} =\eta _{ \mathrm{ge}}^{\mathrm{chp}}G_{ t}& & {}\end{array}$$(10.5a)$$\displaystyle\begin{array}{rcl} E_{t} =\eta _{ \mathrm{gh}}^{\mathrm{chp}}G_{ t}& & {}\end{array}$$(10.5b) -
Electric heat pump (EHP): It is fed by electricity and generates heat demand (H t ) or cool demand (C t ) based on the operating mode. The operation of EHP is mathematically formulated as follows:
$$\displaystyle\begin{array}{rcl} C_{t} + H_{t} = E_{t} \times \mathrm{COP}& & {}\end{array}$$(10.6a)$$\displaystyle\begin{array}{rcl} H_{t}^{\min \nolimits }I_{ t}^{h} \leq H_{ t} \leq H_{t}^{\max \nolimits }I_{ t}^{h}& & {}\end{array}$$(10.6b)$$\displaystyle\begin{array}{rcl} C_{t}^{\min \nolimits }I_{ t}^{c} \leq C_{ t} \leq C_{t}^{\max \nolimits }I_{ t}^{c}& & {}\end{array}$$(10.6c)$$\displaystyle\begin{array}{rcl} I_{t}^{c} + I_{ t}^{h} \leq 1& & \\ I_{t}^{c},I_{ t}^{h} \in \left \{0,1\right \}& & {}\end{array}$$(10.6d)The EHP can be in heat or cool generation mode. COP is the coefficient of performance for EHP.
-
Chiller boiler (CB): It receives heat and transforms it into cool demand The chiller boiler operation is mathematically formulated as follows:
$$\displaystyle\begin{array}{rcl} C_{t} =\eta _{hc}H_{t}& & {}\end{array}$$(10.7)The η hc is the efficiency of heat to cooling conversion for chiller boiler.
-
Electricity storage system (ESS): It can store (electricity) and then discharge electricity The ESS operation is mathematically formulated as follows:
$$\displaystyle\begin{array}{rcl} \mathrm{SOC}_{t} = \mathrm{SOC}_{t-1} + (E_{t}^{\mathrm{ch}}\eta _{ c} - E_{t}^{\mathrm{dch}}/\eta _{ d})\varDelta _{t}& & {}\end{array}$$(10.8a)$$\displaystyle\begin{array}{rcl} E_{\min }^{\mathrm{ch}} \leq E_{ t}^{\mathrm{ch}} \leq E_{\max }^{\mathrm{dch}}& & {}\end{array}$$(10.8b)$$\displaystyle\begin{array}{rcl} E_{\min }^{\mathrm{dch}} \leq E_{ t}^{\mathrm{dch}} \leq E_{\max }^{\mathrm{dch}}& & {}\end{array}$$(10.8c)$$\displaystyle\begin{array}{rcl} \mathrm{SOC}_{\min } \leq \mathrm{SOC}_{t} \leq \mathrm{SOC}_{\max }& & {}\end{array}$$(10.8d)$$\displaystyle\begin{array}{rcl} & & I_{t}^{\mathrm{dch}} + I_{ t}^{\mathrm{ch}} \leq 1 \\ & & I_{t}^{\mathrm{ch}},I_{ t}^{\mathrm{dch}} \in \left \{0,1\right \} {}\end{array}$$(10.8e)SOC t is the state of charge in ESS. E t ch∕dch is for demonstrating the charged and discharged electricity in ESS. The binary variables I t ch, I t dch show the charge or discharge mode of ESS at time t.
-
Transformer (Tr): It receives electricity and the output is also electricity (with different voltage level)
$$\displaystyle\begin{array}{rcl} E_{t}^{\mathrm{out}} =\eta _{\mathrm{ ee}}E_{t}^{\mathrm{in}}& & {}\end{array}$$(10.9) -
Furnace (F): receives the natural gas and generates the heat demand
$$\displaystyle\begin{array}{rcl} H_{t} =\eta _{\mathrm{gh}}G_{t}& & {}\end{array}$$(10.10)
Three different energy hub configurations will be analyzed to investigate the level of achievable operational flexibility.
10.3.1 Data
The energy hubs which are analyzed in this chapter would have three types of energy demands namely electric, heat, and cooling demand. Different hourly demand and electricity price data for three energy hub configurations are given in Table 10.8.
-
The charging and discharging efficiencies (η ch∕dch) of ESS are assumed to be 0.9. The ESS capacity is SOCmax = 600 MW h and SOCmin = 120 MW h. The initial stored energy in ESS is 120 MW h. The minimum charging and discharging limits are E min ch∕dch = 0 and the maximum charging and discharging limits are E max ch∕dch = 120 MW.
-
The transformer efficiency is η ee = 0. 98.
-
The CHP efficiencies for gas to electricity is η ge = 0. 35 and for gas to heat is η gh = 0. 45. The CHP capacity is 250 MW.
-
For EHP, C Max ehp = H Max ehp = 500 MW; The COP is assumed to be 2.5.
-
The furnace efficiency η gh f is 0.9. The furnace capacity is 600 MW.
-
The chiller boiler has a capacity equal to 500 MW and the efficiency is η hc = 0. 95
-
The natural gas price is assumed to be constant for different hours and it is equal to λ t g = 12$/MW h
10.3.2 Configuration I
This configuration contains transformer, furnace, and chiller boiler as shown in Fig. 10.9.
The GAMS code for solving the hub configuration I described in (10.11) is given in GCode 10.3.
The developed model in GCode 10.3 is linear and can be solved using any lp solver. The problem is solved and the total operating costs are $1. 1327 × 105. The hourly purchased electricity and natural gas in energy hub configuration I are shown in Fig. 10.10.
The output of furnace system will be divided into two streams. The first one will supply the chiller and the second one will directly supply the heat demand. The hourly output of furnace unit in energy hub configuration-I is shown in Fig. 10.11.
GCode 10.3 The optimal operation of energy hub configuration I
Set t hours /t1 * t24/ Table data ( t, * ) Dh De Dc lambda t1 21.4 52.1 11.5 36.7 t2 23.2 66.7 13.7 40.4 t3 26.1 72.2 16 38.5 t4 26.7 78.4 21.4 38 t5 25.6 120.2 22 40.2 t6 26.4 83.5 30.8 38.6 t7 39.5 110.4 38.9 52.3 t8 47.3 124.3 46.8 67.3 t9 52.1 143.6 51 70.5 t10 49.1 149.3 48.9 66.2 t11 69.3 154.2 34.8 73.3 t12 62 147.3 32.7 60.8 t13 68 200.7 27.8 63.2 t14 68.6 174.4 32 70.8 t15 56.4 176.5 33.2 63.1 t16 41.3 136.1 34.1 52.5 t17 37.4 108.7 40.8 57 t18 25.4 96.9 43.6 49.2 t19 25.7 89.1 51.5 47.5 t20 21.9 82.5 43.1 49.5 t21 22.4 76.9 36.5 53.1 t22 24.6 66.8 27.7 51.6 t23 22.7 47.2 19.1 50.5 t24 22.6 64.7 11 36.4 * −−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−− Variable cost; Positive variables E( t ),G( t ),H1( t ),H2( t ); Scalar CBmax /500/, eta_ee /0.98/, eta_ghf /0.9/, eta_hc /0.95/; H2. up( t)= CBmax; Equations eq1, eq2, eq3, eq4, eq5; eq1 .. cost = e = sum( t, data ( t, ’lambda ’ ) * E( t )+12*G( t ) ); eq2 ( t ) .. eta_ee * E( t)=e =data ( t, ’E ’ ); eq3 ( t ) .. H1( t)=e =data ( t, ’h ’ ); eq4 ( t ) .. eta_ghf * G( t)=e = H1( t)+H2( t ); eq5 ( t ) .. eta_hc * H2( t)=e =data ( t, ’ c ’ ); Model Hub /all/; Solve hub us lp min cost;
10.3.3 Configuration II
This configuration contains transformer, furnace, chiller boiler, CHP, and ESS as shown in Fig. 10.12.
The GAMS code for solving the hub configuration II described in (10.12) is given in GCode 10.4.
GCode 10.4 The optimal operation of energy hub configuration II
set t hours /t1 * t24/ table data ( t, * ) Dh De Dc lambda t1 21.4 52.1 11.5 36.7 t2 23.2 66.7 13.7 40.4 t3 26.1 72.2 16 38.5 t4 26.7 78.4 21.4 38 t5 25.6 120.2 22 40.2 t6 26.4 83.5 30.8 38.6 t7 39.5 110.4 38.9 52.3 t8 47.3 124.3 46.8 67.3 t9 52.1 143.6 51 70.5 t10 49.1 149.3 48.9 66.2 t11 69.3 154.2 34.8 73.3 t12 62 147.3 32.7 60.8 t13 68 200.7 27.8 63.2 t14 68.6 174.4 32 70.8 t15 56.4 176.5 33.2 63.1 t16 41.3 136.1 34.1 52.5 t17 37.4 108.7 40.8 57 t18 25.4 96.9 43.6 49.2 t19 25.7 89.1 51.5 47.5 t20 21.9 82.5 43.1 49.5 t21 22.4 76.9 36.5 53.1 t22 24.6 66.8 27.7 51.6 t23 22.7 47.2 19.1 50.5 t24 22.6 64.7 11 36.4 Variable cost; Positive variables E( t ),E1( t ),E2( t ),G( t ),G1( t ),G2( t ),H1( t ),H2( t ) SOC( t ),Ec( t ),Ed( t ) ; Binary variables Idch ( t ), Ich ( t ); scalar SOC0 /20/,SOCmax /600/, eta_c /0.9/, eta_d /0.9/, eta_ee /0.98/, eta_ge /0.45/, eta_gh /0.35/, eta_hc /0.95/,Chpmax /250/,CBmax /500/,Fmax /600/, eta_ghf /0.9/; SOC0 = 0. 2 * SOCmax; SOC. up( t )= SOCmax; SOC. lo ( t ) =0.2*SOCmax; SOC. fx ( ’ t24 ’ )= SOC0; Ec. up( t ) =0.2*SOCmax; Ec. lo ( t )=0; Ed. up( t ) =0.2*SOCmax; Ed. lo ( t )=0; G1. up( t )= Chpmax; G2. up( t )= Fmax; H2. up( t )= CBmax; Equations eq1, eq2, eq3, eq4, eq5, eq6, eq7, eq8, eq9, eq10, eq11, eq12; eq1 .. cost = e = sum( t, data ( t, ’lambda ’ ) * E( t ) +12*G( t ) ); eq2 ( t ) .. eta_ee * E2( t )+ Ed( t )+eta_ge * G1( t )= e =data ( t, ’E ’ ); eq3 ( t ) .. E( t )= e = E1( t )+ E2( t ); eq4 ( t ) .. E1( t )= e = Ec( t ); eq5 ( t ) .. SOC( t )= e = SOC0$( ord ( t )=1) + SOC( t−1)$( ord ( t )>1) + Ec( t ) * eta_c− Ed( t )/eta_d; eq6 ( t ) .. Ed( t )=l =0.2*SOCmax * Idch ( t ); eq7 ( t ) .. Ec( t )=l =0.2*SOCmax * Ich ( t ); eq8 ( t ) .. Idch ( t )+Ich ( t )=l =1; eq9 ( t ) .. G( t )= e = G1( t )+ G2( t ); eq10 ( t ) .. eta_gh * G1( t )+ H1( t )= e =1* data ( t, ’h ’ ); eq11 ( t ) .. eta_ghf * G2( t )= e = H1( t )+ H2( t ); eq12 ( t ) .. eta_hc * H2( t )= e =data ( t, ’ c ’ ); model Hub2 /all/; Solve hub2 us mip min cost;
The developed model in GCode 10.4 is linear and can be solved using any lp solver. The problem is solved, and the total operating costs are $0. 85504 × 105. The hourly purchased electricity and its division between transformer and ESS in energy hub configuration-II are shown in Fig. 10.13. The output of furnace system will be divided into two streams. The first one will supply the chiller and the second one will supply the heat demand. The hourly output of furnace unit in energy hub configuration II is shown in Fig. 10.14. The hourly state of charge, charging, and discharging of ESS in energy hub configuration II is shown in Fig. 10.15.
10.3.4 Configuration III
This configuration contains transformer, furnace, chiller boiler, CHP, and ESS as shown in Fig. 10.16.
The developed model in GCode 10.5 is linear and can be solved using any lp solver.
GCode 10.5 The optimal operation of energy hub configuration III
Set t hours /t1 * t24/ Table data ( t, * ) Dh De Dc lambda t1 21.4 52.1 11.5 36.7 t2 23.2 66.7 13.7 40.4 t3 26.1 72.2 16 38.5 t4 26.7 78.4 21.4 38 t5 25.6 120.2 22 40.2 t6 26.4 83.5 30.8 38.6 t7 39.5 110.4 38.9 52.3 t8 47.3 124.3 46.8 67.3 t9 52.1 143.6 51 70.5 t10 49.1 149.3 48.9 66.2 t11 69.3 154.2 34.8 73.3 t12 62 147.3 32.7 60.8 t13 68 200.7 27.8 63.2 t14 68.6 174.4 32 70.8 t15 56.4 176.5 33.2 63.1 t16 41.3 136.1 34.1 52.5 t17 37.4 108.7 40.8 57 t18 25.4 96.9 43.6 49.2 t19 25.7 89.1 51.5 47.5 t20 21.9 82.5 43.1 49.5 t21 22.4 76.9 36.5 53.1 t22 24.6 66.8 27.7 51.6 t23 22.7 47.2 19.1 50.5 t24 22.6 64.7 11 36.4 ; data ( t, ’lambda ’ ) =0.6* data ( t, ’lambda ’ ); variable cost; positive variables E( t ),E1( t ),E2( t ),E3( t ),G( t ),G1( t ),G2( t ),H1( t ),H2( t ) SOC( t ),Ec( t ),Ed( t ),H_ehp( t ),C_ehp( t ) ; Binary variables Idch ( t ), Ich ( t ), Ic ( t ), Ih ( t ); scalar SOC0 /20/, SOCmax /600/, eta_c /0.9/, eta_d /0.9/, eta_ee /0.98/ , eta_ge /0.45/ , eta_gh /0.35/ eta_hc /0.95/, COP /2.5/, H_ehpMax /200/, C_ehpMax /200/,Chpmax /300/, CBmax /300/,Fmax /300/, eta_ghf /0.9/; SOC0 = 0. 2 * SOCmax; SOC. up( t )= SOCmax; SOC. lo ( t ) =0.2*SOCmax; SOC. fx ( ’ t24 ’ )= SOC0; Ec. up( t ) =0.2*SOCmax; Ec. lo ( t )=0; Ed. up( t ) =0.2*SOCmax; Ed. lo ( t )=0; C_ehp. up( t )= C_ehpMax; H_ehp. up( t )= H_ehpMax; G1. up( t )= Chpmax; G2. up( t )= Fmax; H2. up( t )= CBmax; E. up( t ) =1000; Equations eq1, eq2, eq3, eq4, eq5, eq6, eq7, eq8, eq9, eq10, eq11, eq12, eq13, eq14, eq15, eq16; eq1 .. cost = e = sum( t, data ( t, ’lambda ’ ) * E( t ) +12*G( t ) ); eq2 ( t ) .. eta_ee * E2( t ) + Ed( t )+eta_ge * G1( t )= e =data ( t, ’E ’ )+ E3( t ); eq3 ( t ) .. E( t )= e = E1( t )+ E2( t ); eq4 ( t ) .. E1( t )= e = Ec( t ); eq5 ( t ) .. SOC( t )= e = SOC0$ ( ord ( t )=1) + SOC( t−1)$( ord ( t )>1) + Ec( t ) * eta_c− Ed( t )/eta_d; eq6 ( t ) .. Ed( t )=l =0.2*SOCmax * Idch ( t ); eq7 ( t ) .. Ec( t )=l =0.2*SOCmax * Ich ( t ); eq8 ( t ) .. Idch ( t )+Ich ( t )=l =1; eq9 ( t ) .. G( t )= e = G1( t )+ G2( t ); eq10 ( t ) .. eta_gh * G1( t )+ H1( t )+ H_ehp( t )= e =1* data ( t, ’h ’ ); eq11 ( t ) .. eta_ghf * G2( t )= e = H1( t )+ H2( t ); eq12 ( t ) .. eta_hc * H2( t )+ C_ehp( t )= e =data ( t, ’ c ’ ); eq13 ( t ) .. C_ehp( t )+ H_ehp( t )= e = E3( t ) * cop; eq14 ( t ) .. H_ehp( t )=l= H_ehpMax * Ih ( t ); eq15 ( t ) .. C_ehp( t )=l= C_ehpMax * Ic ( t ); eq16 ( t ) .. Ic ( t )+Ih ( t )=l =1; Model Hub /all/; Solve hub us mip min cost;
The problem is solved and the total operating costs are $0. 84430 × 105. The hourly purchased electricity and its division between transformer and ESS in energy hub configuration-III are shown in Figs. 10.17, 10.18. The output of furnace system will be divided into two streams. The first one will supply the chiller and the second one will supply the heat demand. The hourly output of furnace unit in energy hub configuration II is shown in Fig. 10.14. The hourly state of charge, charging, and discharging of ESS in energy hub configuration III is shown in Fig. 10.19. The hourly output of EHP in energy hub configuration III is shown in Fig. 10.20.
References
A. Santhosh, A.M. Farid, K. Youcef-Toumi, Real-time economic dispatch for the supply side of the energy-water nexus. Appl. Energy 122, 42–52 (2014)
R.D. Zimmerman, C.E. Murillo-Sanchez, R.J. Thomas, Matpower: steady-state operations, planning, and analysis tools for power systems research and education. IEEE Trans. Power Syst. 26(1), 12–19 (2011)
A.J. Conejo, M. Carrión, J.M. Morales, Decision Making Under Uncertainty in Electricity Markets, vol. 1 (Springer, Berlin, 2010)
F. Bouffard, F.D. Galiana, A.J. Conejo, Market-clearing with stochastic security-part II: case studies. IEEE Trans. Power Syst. 20(4), 1827–1835 (2005)
D. De Wolf, Y. Smeers, The gas transmission problem solved by an extension of the simplex algorithm. Manag. Sci. 46(11), 1454–1465 (2000)
T. Li, M. Eremia, M. Shahidehpour, Interdependency of natural gas network and power system security. IEEE Trans. Power Syst. 23(4), 1817–1824 (2008)
A. Martinez-Mares, C.R. Fuerte-Esquivel, A unified gas and power flow analysis in natural gas and electricity coupled networks. IEEE Trans. Power Syst. 27(4), 2156–2166 (2012)
L. Bai, F. Li, T. Jiang, H. Jia, Robust scheduling for wind integrated energy systems considering gas pipeline and power transmission n-1 contingencies. IEEE Trans. Power Syst. 32(2), 1582–1584 (2017)
J. Munoz, N. Jimenez-Redondo, J. Perez-Ruiz, J. Barquin, Natural gas network modeling for power systems reliability studies. in 2003 IEEE Bologna Power Tech Conference Proceedings, vol. 4, June 2003, p. 8
M. Qadrdan, M. Chaudry, J. Wu, N. Jenkins, J. Ekanayake, Impact of a large penetration of wind generation on the GB gas network. Energy Policy 38(10), 5684–5695 (2010)
H.S. de Boer, L. Grond, H. Moll, R. Benders, The application of power-to-gas, pumped hydro storage and compressed air energy storage in an electricity system at different wind power penetration levels. Energy 72, 360–370 (2014)
M. Geidl, G. Koeppel, P. Favre-Perrod, B. Klöckl, G. Andersson, K. Fröhlich, The energy hub–a powerful concept for future energy systems. in Third Annual Carnegie Mellon Conference on the Electricity Industry, Pittsburgh (2007), pp. 13–14
S.D. Beigvand, H. Abdi, M. La Scala, A general model for energy hub economic dispatch. Appl. Energy 190, 1090–1111 (2017)
M. Batić, N. Tomašević, G. Beccuti, T. Demiray, S. Vraneš, Combined energy hub optimisation and demand side management for buildings. Energy Build. 127, 229–241 (2016)
K. Kampouropoulos, F. Andrade, Energy hub optimization applied on car manufacturing plants. in ANDESCON, 2016 IEEE (IEEE, Piscataway, 2016), pp. 1–4
A. Soroudi, B. Mohammadi-Ivatloo, A. Rabiee, Energy hub management with intermittent wind power. in Large Scale Renewable Power Generation (Springer, Singapore, 2014), pp. 413–438
A. Dolatabadi, B. Mohammadi-Ivatloo, M. Abapour, S. Tohidi, Optimal stochastic design of wind integrated energy hub. IEEE Trans. Ind. Inf. 99, 1–1 (2017). doi: 10.1109/TII.2017.2664101
M. Geidl, Integrated modeling and optimization of multi-carrier energy systems. PhD thesis, TU Graz, 2007
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2017 Springer International Publishing AG
About this chapter
Cite this chapter
Soroudi, A. (2017). Energy System Integration. In: Power System Optimization Modeling in GAMS. Springer, Cham. https://doi.org/10.1007/978-3-319-62350-4_10
Download citation
DOI: https://doi.org/10.1007/978-3-319-62350-4_10
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-62349-8
Online ISBN: 978-3-319-62350-4
eBook Packages: EnergyEnergy (R0)