Electrical-thermal-hydrogen Multi-Energy Device Planning Method for Zero Energy Buildings

20250077729 ยท 2025-03-06

Assignee

Inventors

Cpc classification

International classification

Abstract

The present invention describes an electric-thermal-hydrogen multi-energy device planning method for zero energy buildings, including the following specific steps: firstly, constructing operation constraints of electric and thermal devices in the zero energy buildings; secondly, constructing operation constraints of hydrogen devices including the electrolyzer, the fuel cell and the hydrogen storage device; then, in view of constraints on annual zero energy of the buildings, establishing the robust electric-thermal-hydrogen multi-energy device planning model considering source-load uncertainties; and finally, solving the robust electric-thermal-hydrogen multi-energy device planning model of the zero energy buildings by adopting an alternating optimization procedure based column-and-constraint generation algorithm. By using the zero energy buildings, the planning method disclosed by the present disclosure plays important roles in aspects of promoting the development and utilization of renewable energy on the demand side, reducing energy consumption in the field of buildings, and reducing the emission of greenhouse gases.

Claims

1. An electric-thermal-hydrogen multi-energy device planning method for zero energy buildings, where the planning method specifically comprises the following steps: step 1, constructing operation constraints of electric and thermal devices in the zero energy buildings; step 2, constructing operation constraints of hydrogen devices comprising the electrolyzer, the fuel cell and the hydrogen storage device; step 3, establishing the robust electric-thermal-hydrogen multi-energy device planning model considering the source-load uncertainties and the buildings' annual net zero energy constraints; and step 4, solving the robust electric-thermal-hydrogen multi-energy device planning model by adopting an alternating optimization procedure based column-and-constraint generation algorithm; wherein the step 1 specifically comprises the following steps: step 1.1, constructing operation constraints of hydrogen devices comprising the electrolyzer, the fuel cell and the hydrogen storage device; and establishing operation constraints of the absorption chiller, the heat pump and the photothermal plate as follows: 0 Q st ac , in x c ac Cap c ac , 0 P st hp x c hp Cap c hp ; s , t Q st ac , out = Q st ac , in ac ; s , t { Q st hp , h = hp P st hp h hp Q st hp , c = ( 1 - hp ) P st hp c hp ; s , t Q ~ st st = st x c st Cap c st S ~ st rad ; s , t where subscripts s, t and c represent the typical operation scenario, intra-day time period and candidate device capacity, respectively, superscript represents the uncertain variables, Q.sub.st.sup.ac,incustom-character Q.sub.st.sup.ac,out represent the input thermal power and output cold power of the absorption chiller, respectively, P.sub.st.sup.hpcustom-character Q.sub.st.sup.hp,hcustom-character Q.sub.st.sup.hp,c represent the input electric power, output thermal power and output cold power of the heat pump, respectively, Q.sub.st.sup.st represents the output thermal power of the photothermal plate, and .sup.accustom-character .sup.st represent the conversion efficiency of the absorption chiller and the photothermal plate, respectively; .sub.h.sup.hpcustom-character .sub.c.sup.p represent the electric-to-thermal conversion and electric-to-cold conversion efficiency of the heat pump, respectively, .sup.hp represents the thermal power distribution ratio of the heat pump, x.sub.c.sup.accustom-character x.sub.c.sup.hpcustom-character x.sub.c.sup.st represent the 0-1 installation variables of the absorption chiller, the heat pump and the photothermal plate, respectively, Cap.sub.c.sup.accustom-character Cap.sub.c.sup.hpcustom-character Cap.sub.c.sup.st represent the candidate installation capacity of the absorption chiller, the heat pump and the photothermal plate, respectively, and {tilde over (S)}.sub.st.sup.rad represents the solar radiation intensity; and step 1.2, establishing operation constraints of photovoltaic and wind turbine as follows: P ~ st pv = pv x c pv Cap c pv S ~ st rad ; s , t P ~ st wt = ~ st wt x c wt Cap c wt ; s , t where {tilde over (P)}.sub.st.sup.pvcustom-character {tilde over (P)}.sub.st.sup.wt represent the output electric power of the photovoltaic and wind turbine, respectively, x.sub.c.sup.pvcustom-character x.sub.c.sup.wt represent the 0-1 installation variables of the photovoltaic and wind turbine, respectively, Cap.sub.c.sup.pvcustom-character Cap.sub.c.sup.wt represent the candidate installation capacity of the photovoltaic and wind turbine, respectively, .sup.pv represents the conversion efficiency of the photovoltaic turbine, and {tilde over ()}.sub.st.sup.wt represents the output ratio of the wind turbine.

2. (canceled)

3. The electric-thermal-hydrogen multi-energy device planning method for the zero energy buildings of claim 1, where the step 2 specifically comprises the following steps: step 2.1, establishing operation constraints of the fuel cell and the electrolyzer as follows: I st { .Math. } , on + I st { .Math. } , off 1 , { .Math. } = { chp , ed } ; s , t .Math. t = k k + N min { .Math. } , on - 1 I st { .Math. } , on 1 , .Math. t = k k + N min { .Math. } , on - 1 ( I st { .Math. } , on + I st { .Math. } , off ) 1 , { .Math. } = { chp , ed } ; s , k [ 1 , N t - N min { .Math. } , on + 1 ] .Math. t = k k + N min { .Math. } , off - 1 I st { .Math. } , off 1 , .Math. t = k k + N min { .Math. } , off - 1 ( I st { .Math. } , on + I st { .Math. } , off ) 1 , { .Math. } = { chp , ed } ; s , k [ 1 , N t - N min { .Math. } , off + 1 ] .Math. t = k k + N max { .Math. } , on st { .Math. } N max { .Math. } , on , { .Math. } = { chp , ed } ; s , k [ 1 , N t - N max { .Math. } , on ] I st { .Math. } , on - I st { .Math. } , off = st { .Math. } - s , t - 1 { .Math. } , { .Math. } = { chp , ed } ; s , t { .Math. } st { .Math. } x c { .Math. } Cap c { .Math. } P st { .Math. } , in st { .Math. } x c { .Math. } Cap c { .Math. } , { .Math. } = { chp , ed } ; s , t { P st { .Math. } , in - P s , t - 1 { .Math. } , in Ra st { .Math. } Ra max { .Math. } P s , t - 1 { .Math. } , in - P st { .Math. } , in Ra st { .Math. } Ra max { .Math. } , { .Math. } = { chp , ed } ; s , t P st { .Math. } , out = { .Math. } P st { .Math. } , in , { .Math. } = { chp , ed } ; s , t Q st chp , out = chp ( P st chp , in - P st chp , out ) ; s , t where k represents the intra-day time periods, N.sub.t represents the number of the intra-day time periods, chp and ed represent the fuel cell and the electrolyzer, respectively, {} represents the set of two devices, I.sub.st.sup.{},oncustom-character I.sub.st.sup.{},off represent the on-state and off-state of these two devices, respectively, N.sub.min.sup.{},oncustom-character N.sub.min.sup.{},off represent the minimum on-state and off-state time of these two devices, respectively, and N.sub.max.sup.{},on represents the maximum on-state time of these two devices; .sub.st.sup.{}custom-character .sub.s,t1.sup.{} represent the state of these two devices within time periods t and t1, respectively, .sup.{} represents the minimum operation capacity percentage of these two devices, x.sub.c.sup.{} represents the 0-1 installation variables of these two devices, and Cap.sub.c.sup.{} represents the candidate installation capacity of these two devices; P.sub.st.sup.chp,incustom-character P.sub.st.sup.chp,outcustom-character Q.sub.st.sup.chp,out represent the input hydrogen power, output electric power and output thermal power of the fuel cell, respectively, P.sub.st.sup.ed,incustom-character P.sub.st.sup.ed,out represent the input electric power and output hydrogen power of the electrolyzer, respectively, Ra.sub.st.sup.{} represents the ramping ratio of these two devices, Ra.sub.max.sup.{} represents the maximum ramping ratio of these two devices, .sup.{} represents the energy conversion efficiencies of these two devices, and .sup.chp represents the heat recovery ratio of the fuel cell; and step 2.2, establishing operation constraints of the intra-day hydrogen storage device and the seasonal hydrogen storage device as follows: 0 P st { .Math. } , + / - x i { .Math. } Cap i { .Math. } { .Math. } , { .Math. } = { bs , hs , shs } ; s , t 0 Q st ts , + / - x c ts Cap c ts ts ; s , t P st { .Math. } + .Math. P st { .Math. } - = 0 , { .Math. } = { bs , hs , shs } ; s , t Q st ts + .Math. Q st ts - = 0 ; s , t x c { .Math. } Cap c { .Math. } min { .Math. } E st { .Math. } x c { .Math. } Cap c { .Math. } max { .Math. } , { .Math. } = { bs , hs , shs , ts } ; s , t E s , N t { .Math. } = E s , 0 { .Math. } = ( x c { .Math. } Cap c { .Math. } ) / 2 , { .Math. } = { bs , hs , shs , ts } ; s , t E s , t + 1 { .Math. } = E st { .Math. } ( 1 - { .Math. } ) + ( P st { .Math. } + { .Math. } + - P st { .Math. } - / { .Math. } - ) t , { .Math. } = { bs , hs , shs , ts } ; s , t E s , 0 shs = ( 1 - shs D s - 1 ) ( E s - 1 , 0 shs + D s - 1 ( E s - 1 , N t shs - E s - 1 , 0 shs ) ) ; s [ 2 , N s ] s shs + + s shs - 1 ; s 0 P st shs + s shs + M , 0 P st shs - s shs - M ; s , t where bs, hs, shs and ts represent the battery storage, the intra-day hydrogen storage device, the seasonal hydrogen storage device and the thermal energy storage device, respectively, {} represents the set of these four devices, N.sub.s represents the number of typical scenarios, P.sub.st.sup.bs+custom-character P.sub.st.sup.bs represent the charging power and discharging power of the battery storage, respectively, and P.sub.st.sup.hs+custom-character P.sub.st.sup.hs represent the hydrogen charging power and hydrogen discharging power of the intra-day hydrogen storage device, respectively; P.sub.st.sup.shs+custom-character P.sub.st.sup.shs represent the hydrogen charging power and hydrogen discharging power of the seasonal hydrogen storage device, respectively; Q.sub.st.sup.ts+custom-character Q.sub.st.sup.ts represent the heat charging power and heat discharging power of the thermal energy storage device, respectively, x.sub.c.sup.{} represents the 0-1 installation variables of these four energy storage devices, Cap.sub.c.sup.{} represents the candidate installation capacity of these four energy storage devices, .sup.{} represents the power-to-capacity installation ratio of these four energy storage devices, and E.sub.st.sup.{} represents the remaining capacity of these four energy storage devices; .sub.min.sup.{}custom-character .sub.max.sup.{} represent the minimum and maximum operating ratio of these four energy storage devices, respectively, E.sub.s,0.sup.{}custom-character E.sub.s,N.sub.t.sup.{} represent the capacity of these four energy storage devices in the initial and final time periods, respectively, .sup.{} represents the self-loss coefficients of these four energy storage devices, .sup.{}+custom-character .sup.{} represent the energy charging and discharging loss coefficients of these four energy storage devices, respectively, and D.sub.s1 represents the number of days within the typical scenario s1 in a year; and E.sub.s1,0.sup.shscustom-character E.sub.s1,N.sub.t.sup.shs represent the remaining capacity of the seasonal hydrogen storage device in the initial and final time periods in the scenario s1, respectively, .sub.s.sup.shs+custom-character .sub.s.sup.shs represent the 0-1 state variables of hydrogen charge and hydrogen discharge of the seasonal hydrogen storage device within the typical operation scenario s, respectively, and M represents a larger positive number.

4. The electric-thermal-hydrogen multi-energy device planning method for the zero energy buildings of claim 3, where the step 3 specifically comprises the following steps: step 3.1, establishing the balance constraints of electric, thermal, cold and hydrogen power as follows: P st bs - - P st bs + + P st chp , out + P st grid + - P st grid - - P st hp + P ~ st pv - P st ed , in + P ~ st wt = P ~ st el - P st se ; s , t Q st hp , h + Q st chp , out + Q st st - Q st ts + + Q st ts - - Q st ac , in = Q ~ st hl - Q st sh ; s , t Q st ac , out + Q st hp , c = Q ~ st cl - Q st sc ; s , t P st ed , out + P st shs - - P st shs + + P st hs - - P st hs + = P st chp , in ; s , t where P.sub.st.sup.grid+custom-character P.sub.st.sup.grid represent the zero energy buildings' electric power buying from and selling to the power grid, respectively, {tilde over (P)}.sub.st.sup.elcustom-character {tilde over (P)}.sub.st.sup.hlcustom-character {tilde over (P)}.sub.st.sup.cl represent the electric, thermal and cold loads of the buildings, respectively, and P.sub.st.sup.secustom-character P.sub.st.sup.shcustom-character P.sub.st.sup.sc represent the shedding power of the electric, thermal and cold loads of the zero energy buildings, respectively; step 3.2, establishing output power upper limit constraints of the electric, thermal and cold loads as follows: 0 P st se max se P ^ st el ; s , t 0 Q st sh max sh Q ^ st hl ; s , t 0 Q st sc max sc Q ^ st cl ; s , t where {circumflex over (P)}.sub.st.sup.elcustom-character {circumflex over (P)}.sub.st.sup.hlcustom-character {circumflex over (P)}.sub.st.sup.cl represent the forecast values of the electric, thermal and cold loads of the zero energy buildings, respectively, and .sub.max.sup.secustom-character .sub.max.sup.shcustom-character .sub.max.sup.sc represent the maximum output percentages of the electric, thermal and cold loads of the buildings, respectively; step 3.3, establishing power grid exchange power constraints and annual zero energy constraints as follows: 0 P st grid + st grid + P max grid , 0 P st grid - st grid - P max grid ; s , t st grid + + st grid - 1 ; s , t .Math. s .Math. t P st grid + t - .Math. s .Math. t P st grid - t 0 where P.sub.max.sup.grid represents the upper limit of the exchange electric power with the power grid, .sub.st.sup.grid+custom-character .sub.st.sup.grid respectively represent the 0-1 state variables of the electric power buying from and selling to the power grid, and t represents the duration of time period t; step 3.4, establishing the objective function and various specific costs as follows: min x C inv + max u min y , z C om + C grid + C deg + C ls C inv = c inv x c Cap c C inv = C ac inv + C bs inv + C chp inv + C ed inv + C hp inv + C hs inv + C pv inv + C shs inv + C st inv + C ts inv + C wt inv = ( 1 + ) Y / ( ( 1 + ) Y - 1 ) C om = .Math. s D s .Math. t ( c chp on I st chp + c chp off I st chp + c ed on I st ed + c ed off I st ed + c bs om ( P wst bs + + P wst bs - ) + c chp om P wst chp , in + c ed om P wst ed + c hp om P st hp + c pv om P st pv + c wt om P st wt + c hs om ( P st hs + + P st hs - ) + c shs om ( P st shs + + P st shs - ) + c ac om Q st ac + c st om Q st st + c ts om ( Q st ts + + Q st ts - ) ) t C deg = .Math. s D s .Math. t ( c bs deg ( P st bs + + P st bs - ) + c chp deg Ra st chp + c ed deg Ra st ed ) t C grid = .Math. s D s .Math. t ( c st buy P st grid + - c st sell P st grid - ) t C ls = .Math. s D s .Math. t ( c e ls P st se + c h ls Q st sh + c c ls Q st sc ) t where represents the set of devices, D.sub.s represents the number of days that the typical scenario s lasts, and C.sup.invcustom-character C.sup.omcustom-character C.sup.gridcustom-character C.sup.degcustom-character C.sup.ls represent the annual investment cost, annual device operation and maintenance cost, annual electricity trading cost, annual device degradation cost and annual load shedding cost, respectively; C.sub.ac.sup.invcustom-character C.sub.bs.sup.invcustom-character C.sub.chp.sup.invcustom-character C.sub.ed.sup.invcustom-character C.sub.hp.sup.invcustom-character C.sub.hs.sup.invcustom-character C.sub.pv.sup.invcustom-character C.sub.shs.sup.invcustom-character C.sub.st.sup.invcustom-character C.sub.ts.sup.invcustom-character C.sub.wt.sup.inv represent the annual investment costs of the absorption chiller, the battery storage, the fuel cell, the electrolyzer, the heat pump, the intra-day hydrogen storage device, the photovoltaic, the seasonal hydrogen storage device, the photothermal plate, the thermal energy storage and the wind turbine, respectively; x represents the 0-1 variables of the robust model at the first stage, u represents uncertain variables at the second stage, y and z represent continuous and 0-1 operation variables in the worst scenario at the second stage, respectively, .sub. represents the present worth factor, represents the discount rate, Y.sub. represents the lifetime of the energy device, and c.sub..sup.inv represents the device unit investment cost; x.sub.c.sup. represents the 0-1 device investment variables, Cap.sub.c.sup. represents the candidate installation capacity of the energy device, c.sub.chp.sup.oncustom-character c.sub.chp.sup.off represent the startup and shutdown cost of the fuel cell, respectively, c.sub.ed.sup.oncustom-character c.sub.ed.sup.off represent the startup and shutdown cost of the electrolyzer, respectively, and c.sub.bs.sup.omcustom-character c.sub.chp.sup.omcustom-character c.sub.ed.sup.omcustom-character c.sub.hp.sup.omcustom-character c.sub.pv.sup.omcustom-character c.sub.wt.sup.omcustom-character c.sub.hs.sup.omcustom-character c.sub.shs.sup.omcustom-character c.sub.ac.sup.omcustom-character c.sub.st.sup.omcustom-character c.sub.ts.sup.om represent unit operation costs of the battery storage, the fuel cell, the electrolyzer, the heat pump, the photovoltaic, the wind turbine, the hydrogen storage the seasonal hydrogen storage device, the absorption chiller, the photothermal plate and the thermal energy storage device, respectively; c.sub.bs.sup.degcustom-character c.sub.chp.sup.degcustom-character c.sub.ed.sup.deg represent the unit degradation costs of the battery storage, the fuel cell and the electrolyzer, respectively, c.sub.st.sup.buycustom-character c.sub.st.sup.sell represent the electricity buying and selling costs, respectively, and c.sub.e.sup.lscustom-character c.sub.h.sup.lscustom-character c.sub.c.sup.ls represent the unit load shedding costs of the electric, thermal and cold loads, respectively; and establishing constraints of intra-day uncertainties such as the electric, thermal and cold loads, output of the wind turbine and solar radiation as follows: U = { P ~ el R N s N t ; P ~ st el = P ^ st el + P st el + st el + - P st el - st el - , st el + / - { 0 , 1 } , .Math. t = 1 N t ( st el + + st el - ) s el } s , t where U represents the set of the uncertain variables at the second stage, {tilde over (P)}.sup.el represents the uncertain electric load, {tilde over (P)}.sub.st.sup.elcustom-character {circumflex over (P)}.sub.st.sup.elcustom-character P.sub.st.sup.el+custom-character P.sub.st.sup.el respectively represent the actual value, the predicted value, the predicted upper deviation value and the predicted lower deviation value of the electric load, custom-charactercustom-character custom-character represent 0-1 variables of the predicted upper deviation value or the predicted lower deviation value of the electric load, respectively, and .sub.s.sup.el represents the uncertainty budget parameter of the entire scheduling horizon within a typical operation scenario.

5. The electric-thermal-hydrogen multi-energy device planning method for the zero energy buildings of claim 4, where the step 4 specifically comprises the following steps: step 4.1, rewriting the electric-thermal-hydrogen multi-energy device planning model into a general matrix form: min x A T x + max u U min y , z ( x , u ) C T y + D T z s . t . B T x b , x { 0 , 1 } Ey + Fz + Gu l - Hx , z { 0 , 1 } where Acustom-character Bcustom-character Ccustom-character Dcustom-character Ecustom-character Fcustom-character Gcustom-character Hcustom-character bcustom-character l represent the set of uncertain variables at the second stage, and (x,u) represents the feasible region of y and z under certain x and u; step 4.2, converting the min-max-min two-stage robust planning problem into a main problem and a subproblem, converting the subproblem into an u-fixed subproblem and a z-fixed subproblem, and iteratively solving the main problem and the subproblem to obtain the optimization result; where the subproblem is a max-min bilevel optimization problem shown as follows: max u U min y , z ( x , u ) C T y + D T z s . t . B T x * b Ey + Fz + Gu l - Hx * , z { 0 , 1 } where x represents the optimization result in the main problem and serves as known variables to be substituted into the subproblem; and step 4.3, iteratively solving the main problem and the subproblem.

6. The electric-thermal-hydrogen multi-energy device planning method for the zero energy buildings of claim 5, where the subproblem in the step 4.2 is further decomposed into: step 4.2.1, the u-fixed subproblem: min y , z C T y + D T z s . t . Ey + Fz + Gu * f - Hx * , z { 0 , 1 } where u* represents the optimization result in the z-fixed subproblem and serves as known variables to be substituted into the u-fixed subproblem; and step 4.2.2, the fixed subproblem z: max u , = - T ( l - Hx * - Gu - Fz * ) + D T z * s . t . - T E C T , T 0 where represents the objective function of the z-fixed subproblem, z* represents the optimization result in the u-fixed subproblem and serves as known variables to be substituted into the z-fixed subproblem, represents the dual variable of the inequality constraint, and in view of higher difficulty in solution due to the bilinear term .sup.Tu the above formulation is converted into a linear optimization problem by using the big-M method, and the u-fixed subproblem and the z-fixed subproblem are iteratively solved until convergence to obtain the optimization result of the subproblem; the m.sup.th optimization result u.sup.m* of the subproblem is substituted, and new variables y.sub.m, z.sub.m are created to obtain the following main problem: min x A T x + s . t . B T x b , x { 0 , 1 } C T y m + D T z m , 1 m r Ey m + Fz m + Gu m * l - Hx , 1 m r where r represents the total number of iterations, and the main problem and the subproblem are iteratively solved until the convergence condition is met.

7. The electric-thermal-hydrogen multi-energy device planning method for the zero energy buildings of claim 6, where the step of iteratively solving the main problem and the subproblem in the step 4.3 comprises: initialization: setting x.sup.0 as a feasible solution of the main problem, setting the number of iterations as m=1, and substituting x.sup.0 into the subproblem iteration processes shown in steps 4.3.2 to 4.3.5 to obtain the subproblem's solution (u.sup.m*, .sup.m*); and setting the lower boundary LB= and the upper boundary UB=+, and setting the main problem convergence coefficient ; step 4.3.1, substituting u.sup.m* into the main problem to obtain the solution (x.sup.m*, .sup.m*), and updating LB=A.sup.Tx.sup.m*+.sup.m*; step 4.3.2, setting the number of iterations as v=1, relaxing z as the continuous variable, and substituting x.sup.m* into the z-fixed subproblem to obtain the solution u.sup.v; step 4.3.3, substituting (x.sup.m*, u.sup.v) into the u-fixed subproblem to obtain the solution (y.sup.v, z.sup.v); step 4.3.4, substituting (z.sup.v, x.sup.m) into the z-fixed subproblem to obtain the solution (u.sup.v+1, z.sup.v+1), setting v=v+1; step 4.3.5, determining whether u.sup.v==u.sup.v1 is satisfied, if yes, outputting the optimization result (u.sup.m*, .sup.m*)=(u.sup.v, .sup.v), updating UB=A.sup.Tx.sup.m*+.sup.m*, and entering step 4.3.6; or else, returning to step 4.3.3; and step 4.3.6, determining whether <(UBLB)/UB< is satisfied, if yes, stopping outputting the optimization result; or else, returning to step 4.3.1.

8. The electric-thermal-hydrogen multi-energy device planning method for the zero energy buildings of claim 3, where the seasonal hydrogen storage device comprises the battery storage and a thermal energy storage device.

9. The electric-thermal-hydrogen multi-energy device planning method for the zero energy buildings of claim 4, where the seasonal hydrogen storage device comprises the battery storage and a thermal energy storage device.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

[0058] The present disclosure will be further described below in conjunction with accompanying drawing:

[0059] FIG. 1 is a structural diagram of electric-thermal-hydrogen multi-energy devices for zero energy buildings in the present disclosure; and

[0060] FIG. 2 is the process diagram of the planning method in the present disclosure.

DETAILED DESCRIPTION OF THE INVENTION

[0061] The technical solutions in the embodiments of the present disclosure will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only a part of the embodiments of the present disclosure, not all the embodiments. Based on the embodiments of the present disclosure, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present disclosure.

[0062] As shown in FIG. 1, the electric-thermal-hydrogen multi-energy devices for zero energy buildings include photovoltaic, a wind turbine, a battery storage, a heat pump, a photothermal plate, an absorption chiller, a thermal energy storage device, a fuel cell, an electrolyzer, an intra-day hydrogen storage device and a seasonal hydrogen storage device, where the photovoltaic and wind turbine generate electric energy, the heat pump converts electric energy into thermal energy, and the photothermal plate generates thermal energy.

[0063] The absorption chiller converts thermal energy into cold energy, the electrolyzer converts electric energy into hydrogen energy, the micro fuel cell converts hydrogen energy into electric energy and thermal energy, remaining electric, thermal and hydrogen energy is respectively stored by various energy storage devices, and the multi-energy-flow device supplies energy to electric, thermal and cold loads in the building by energy conversion and cooperation and enables the sum of electric quantity input from the power grid to the building within a year to be less than or equal to the output value thereof, that is, the requirement for yearly net zero energy target is met. As shown in FIG. 2, the electric-thermal-hydrogen multi-energy device planning method for zero energy buildings specifically includes the following steps: [0064] step 1, operation constraints of electric and thermal devices in the zero energy buildings are constructed; [0065] step 1.1, operation constraints of the absorption chiller, the heat pump and the photothermal plate are established as follows:

[00015] 0 Q st ac , in x c ac Cap c ac , 0 P st hp x c hp Cap c hp ; s , t Q st ac , out = Q st ac , in ac ; s , t { Q st hp , h = hp P st hp h hp Q st hp , c = ( 1 - hp ) P st hp c hp ; s , t Q ~ st st = st x c st Cap c st S ~ st rad ; s , t [0066] where subscripts s, t and c represent the typical operation scenario, intra-day time period and candidate device capacity, respectively, superscript represents the uncertain variables, Q.sub.st.sup.ac,incustom-character Q.sub.st.sup.ac,out represent the input thermal power and output cold power of the absorption chiller, respectively, P.sub.st.sup.hpcustom-character Q.sub.st.sup.hp,hcustom-character Q.sub.st.sup.hp,c represent the input electric power, output thermal power and output cold power of the heat pump, respectively, {tilde over (Q)}.sub.st.sup.st represents the output thermal power of the photothermal plate, and .sup.accustom-character .sup.st represent the conversion efficiency of the absorption chiller and the photothermal plate, respectively; .sub.h.sup.hpcustom-character .sub.c.sup.hp represent the electric-to-thermal conversion and electric-to-cold conversion efficiency of the heat pump, respectively, .sup.hp represents the thermal power distribution ratio of the heat pump, x.sub.c.sup.accustom-character x.sub.c.sup.hpcustom-character x.sub.c.sup.st represent the 0-1 installation variables of the absorption chiller, the heat pump and the photothermal plate, respectively, Cap.sub.c.sup.accustom-character Cap.sub.c.sup.hpcustom-character Cap.sub.c.sup.st represent the candidate installation capacity of the absorption chiller, the heat pump and the photothermal plate, respectively, and {tilde over (S)}.sub.st.sup.rad represents the solar radiation intensity; and [0067] step 1.2, operation constraints of photovoltaic and wind turbine are established as follows:

[00016] P ~ st pv = pv x c pv Cap c pv S ~ st rad ; s , t P ~ st wt = ~ st wt x c wt Cap c wt ; s , t [0068] where {tilde over (P)}.sub.st.sup.pvcustom-character {tilde over (P)}.sub.st.sup.wt represent the output electric power of the photovoltaic and wind turbine, respectively, x.sub.c.sup.pvcustom-character x.sub.c.sup.wt represent the 0-1 installation variables of the photovoltaic and wind turbine, respectively, Cap.sub.c.sup.pvcustom-character Cap.sub.c.sup.wt represent the candidate installation capacity of the photovoltaic and wind turbine, respectively, .sup.pv represents the conversion efficiency of the photovoltaic, and {tilde over ()}.sub.st.sup.wt represents the output ratio of the wind turbine.

[0069] Step 2, operation constraints of hydrogen devices including the electrolyzer, the fuel cell and the hydrogen storage device are constructed; [0070] step 2.1, operation constraints of the fuel cell and the electrolyzer are established as follows:

[00017] I st { .Math. } , on + I st { .Math. } , off 1 , { .Math. } = { chp , ed } ; s , t .Math. t = k k + N min { .Math. } , on - 1 I st { .Math. } , on 1 , .Math. t = k k + N min { .Math. } , on - 1 ( I st { .Math. } , on + I st { .Math. } , off ) 1 , { .Math. } = { chp , ed } ; s , k [ 1 , N t - N min { .Math. } , on + 1 ] .Math. t = k k + N min { .Math. } , off - 1 I st { .Math. } , off 1 , .Math. t = k k + N min { .Math. } , off - 1 ( I st { .Math. } , on + I st { .Math. } , off ) 1 , { .Math. } = { chp , ed } ; s , k [ 1 , N t - N min { .Math. } , off + 1 ] .Math. t = k k + N max { .Math. } , on st { .Math. } N max { .Math. } , on , { .Math. } = { chp , ed } ; s , k [ 1 , N t - N max { .Math. } , on ] I st { .Math. } , on - I st { .Math. } , off = st { .Math. } - s , t - 1 { .Math. } , { .Math. } = { chp , ed } ; s , t { .Math. } st { .Math. } x c { .Math. } Cap c { .Math. } P st { .Math. } , in st { .Math. } x c { .Math. } Cap c { .Math. } , { .Math. } = { chp , ed } ; s , t { P st { .Math. } , in - P s , t - 1 { .Math. } , in Ra st { .Math. } Ra max { .Math. } P s , t - 1 { .Math. } , in - P st { .Math. } , in Ra st { .Math. } Ra max { .Math. } , { .Math. } = { chp , ed } ; s , t P st { .Math. } , out = { .Math. } P st { .Math. } , in , { .Math. } = { chp , ed } ; s , t Q st chp , out = chp ( P st chp , in - P st chp , out ) ; s , t [0071] where k represents the intra-day time periods, N.sub.t represents the number of the intra-day time periods, chp and ed represent the fuel cell and the electrolyzer, respectively, {} represents the set of two devices, I.sub.st.sup.{},oncustom-character I.sub.st.sup.{},off represent the on-state and off-state of these two devices, respectively, N.sub.min.sup.{},oncustom-character N.sub.min.sup.{},off represent the minimum on-state and off-state time of these two devices, and N.sub.max.sup.{},on represents the maximum on-state time of these two devices; .sub.st.sup.{}custom-character .sub.s,t1.sup.{} represent the state of these two devices within time periods t and t1, respectively, .sup.{} represents the minimum operation capacity percentage of these two devices, x.sub.c.sup.{} represents the 0-1 installation variables of these two devices, and Cap.sub.c.sup.{} represents the candidate installation capacity of these two devices; P.sub.st.sup.chp,incustom-character P.sub.st.sup.chp,outcustom-character Q.sub.st.sup.chp,out represent the input hydrogen power, output electric power and output thermal power of the fuel cell, respectively, P.sub.st.sup.ed,incustom-character P.sub.st.sup.ed,out represent the input electric power and output hydrogen power of the electrolyzer, respectively, Ra.sub.st.sup.{} represents the ramping ratio of these two devices, Ra.sub.max.sup.{} represents the maximum ramping ratio of these two devices, .sup.{} represents the energy conversion efficiencies of these two devices, and .sup.chp represents the heat recovery ratio of the fuel cell; and [0072] step 2.2, operation constraints of the intra-day hydrogen storage device and the seasonal hydrogen storage device (including the battery storage and the thermal energy storage device) are established as follows:

[00018] 0 P st { .Math. } , + / - x i { .Math. } Cap i { .Math. } { .Math. } , { .Math. } = { bs , hs , shs } ; s , t 0 Q st ts , + / - x c ts Cap c ts ts ; s , t P st { .Math. } + .Math. P st { .Math. } - = 0 , { .Math. } = { bs , hs , shs } ; s , t Q st ts + .Math. Q st ts - = 0 ; s , t x c { .Math. } Cap c { .Math. } min { .Math. } E st { .Math. } x c { .Math. } Cap c { .Math. } max { .Math. } , { .Math. } = { bs , hs , shs , ts } ; s , t E s , N t { .Math. } = E s , 0 { .Math. } = ( x c { .Math. } Cap c { .Math. } ) / 2 , { .Math. } = { bs , hs , shs , ts } ; s , t E s , t + 1 { .Math. } = E st { .Math. } ( 1 - { .Math. } ) + ( P st { .Math. } + { .Math. } + - P st { .Math. } - / { .Math. } - ) t , { .Math. } = { bs , hs , shs , ts } ; s , t E s , 0 shs = ( 1 - shs D s - 1 ) ( E s - 1 , 0 shs + D s - 1 ( E s - 1 , N t shs - E s - 1 , 0 shs ) ) ; s [ 2 , N s ] s shs + + s shs - 1 ; s 0 P st shs + s shs + M , 0 P st shs - s shs - M ; s , t [0073] where bs, hs, shs and ts represent the battery storage, the intra-day hydrogen storage device, the seasonal hydrogen storage device and the thermal energy storage device, respectively, {} represents the set of these four devices, N.sub.s represents the number of typical scenarios, P.sub.st.sup.bs+custom-character P.sub.st.sup.bs represent the charging power and discharging power of the battery storage, respectively, and P.sub.st.sup.hs+custom-character P.sub.st.sup.hs represent the hydrogen charging power and hydrogen discharging power of the intra-day hydrogen storage device, respectively; P.sub.st.sup.shs+custom-character P.sub.st.sup.shs represent the hydrogen charging power and hydrogen discharging power of the seasonal hydrogen storage device, respectively; Q.sub.st.sup.ts+custom-character Q.sub.st.sup.ts represent the heat charging power and heat discharging power of the thermal energy storage device, respectively, x.sub.c.sup.{} represents the 0-1 installation variables of these four energy storage devices, Cap.sub.c.sup.{} represents the candidate installation capacity of these four energy storage devices, .sup.{} represents the power-to-capacity installation ratio of these four energy storage devices, and E.sub.st.sup.{} represents the remaining capacity of these four energy storage devices; .sub.min.sup.{}custom-character .sub.max.sup.{} represent the minimum and maximum operating ratio of these four energy storage devices, respectively, E.sub.s,0.sup.{}custom-character E.sub.s,N.sub.t.sup.{} represent the capacity of these four energy storage devices in the initial and final time periods, respectively, .sup.{} represents the self-loss coefficients of these four energy storage devices, .sup.{}+custom-character .sup.{} represent the energy charging and discharging loss coefficients of these four energy storage devices, respectively, and D.sub.s1 represents the number of days within the typical scenario s1 in a year; and E.sub.s1,0.sup.shscustom-character E.sub.s1,N.sub.t.sup.shs represent the remaining capacity of the seasonal hydrogen storage device in the initial and final time periods in the scenario s1, respectively, .sub.s.sup.shs+custom-character .sub.s.sup.shs represent the 0-1 state variables of hydrogen charge and hydrogen discharge of the seasonal hydrogen storage device in the typical operation scenario s, respectively, and M represents a larger positive number.

[0074] Step 3, the robust electric-thermal-hydrogen multi-energy device planning model considering the source-load uncertainties and the buildings' annual net zero energy constraints is established; [0075] step 3.1, the balance constraints of electric, thermal, cold and hydrogen power are established as follows:

[00019] P st bs - - P st bs + + P st chp , out + P st grid + - P st grid - - P st hp + P ~ st pv - P st ed , in + P ~ st wt = P ~ st el - P st se ; s , t Q st hp , h + Q st chp , out + Q st st - Q st ts + + Q st ts - - Q st ac , in = Q ~ st hl - Q st sh ; s , t Q st ac , out + Q st hp , c = Q ~ st cl - Q st sc ; s , t P st ed , out + P st shs - - P st shs + + P st hs - - P st hs + = P st chp , in ; s , t [0076] where P.sub.st.sup.grid+custom-character P.sub.st.sup.grid represent the the zero energy buildings' electric power buying from and selling to the power grid, respectively, {tilde over (P)}.sub.st.sup.elcustom-character {tilde over (P)}.sub.st.sup.hlcustom-character {tilde over (P)}.sub.st.sup.cl represent the electric, thermal and cold loads of the buildings, respectively, and P.sub.st.sup.secustom-character P.sub.st.sup.shcustom-character P.sub.st.sup.sc represent the shedding power of the electric, thermal and cold loads of the zero energy buildings, respectively; [0077] step 3.2, output power upper limit constraints of the electric, thermal and cold loads are established as follows:

[00020] 0 P st se max se P ^ st el ; s , t 0 Q st sh max sh Q ^ st hl ; s , t 0 Q st sc max sc Q ^ st cl ; s , t [0078] where {circumflex over (P)}.sub.st.sup.elcustom-character {circumflex over (P)}.sub.st.sup.hlcustom-character {circumflex over (P)}.sub.st.sup.cl represent the forecast values of the electric, thermal and cold loads of the zero energy buildings, respectively, and .sub.max.sup.secustom-character .sub.max.sup.shcustom-character .sub.max.sup.sc represent the maximum output percentages of the electric, thermal and cold loads of the buildings, respectively; [0079] step 3.3, power grid exchange power constraints and annual zero energy constraints are established as follows:

[00021] 0 P st grid + st grid + P max grid , 0 P st grid - st grid - P max grid ; s , t st grid + + st grid - 1 ; s , t .Math. s .Math. t P st grid + t - .Math. s .Math. t P st grid - t 0 [0080] where P.sub.max.sup.grid represents the upper limit of the exchange electric power with power grid, .sub.st.sup.grid+custom-character .sub.st.sup.grid represent the 0-1 state variables of the electric power buying from and selling to the power grid, respectively, and t represents the duration of time period t; [0081] step 3.4, the objective function and various specific costs are established as follows:

[00022] min x C inv + max u min y , z C om + C grid + C deg + C ls C inv = c inv x c Cap c C inv = C ac inv + C bs inv + C chp inv + C ed inv + C hp inv + C hs inv + C pv inv + C shs inv + C st inv + C ts inv + C wt inv = ( 1 + ) Y / ( ( 1 + ) Y - 1 ) C om = .Math. s D s .Math. t ( c chp on I st chp + c chp off I st chp + c ed on I st ed + c ed off I st ed + c bs om ( P wst bs + + P wst bs - ) + c chp om P wst chp , in + c ed om P wst ed + c hp om P st hp + c pv om P st pv + c wt om P st wt + c hs om ( P st hs + + P st hs - ) + c shs om ( P st shs + + P st shs - ) + c ac om Q st ac + c st om Q st st + c ts om ( Q st ts + + Q st ts - ) ) t C deg = .Math. s D s .Math. t ( c bs deg ( P st bs + + P st bs - ) + c chp deg Ra st chp + c ed deg Ra st ed ) t C grid = .Math. s D s .Math. t ( c st buy P st grid + - c st sell P st grid - ) t C ls = .Math. s D s .Math. t ( c e ls P st se + c h ls Q st sh + c c ls Q st sc ) t [0082] where represents the set of devices, D.sub.s represents the number of days that the typical scenario s lasts, and C.sup.invcustom-character C.sup.omcustom-character C.sup.gridcustom-character C.sup.degcustom-character C.sup.ls represent the annual investment cost, annual operation and maintenance cost, annual electricity trading cost, annual device degradation cost and annual load shedding cost, respectively; C.sub.ac.sup.invcustom-character C.sub.bs.sup.invcustom-character C.sub.chp.sup.invcustom-character C.sub.ed.sup.invcustom-character C.sub.hp.sup.invcustom-character C.sub.hs.sup.invcustom-character C.sub.pv.sup.invcustom-character C.sub.shs.sup.invcustom-character C.sub.st.sup.invcustom-character C.sub.ts.sup.invcustom-character C.sub.wt.sup.inv represent the annual investment costs of the absorption chiller, the battery storage, the fuel cell, the electrolyzer, the heat pump, the intra-day hydrogen storage device, the photovoltaic, the seasonal hydrogen storage device, the photothermal plate, the thermal energy storage and the wind turbine, respectively; x represents the 0-1 variables of the robust model at the first stage, u represents uncertain variables at the second stage, y and z represent continuous and 0-1 operation variables in the worst scenario at the second stage, respectively, .sub. represents the present worth factor, represents the discount rate, Y.sub. represents the lifetime of the energy device, and c.sub..sup.inv represents the device unit investment cost; x.sub.c.sup. represents 0-1 the device investment variables, Cap.sub.c.sup. represents the candidate installation capacity of the energy device, c.sub.chp.sup.oncustom-character c.sub.chp.sup.off represent the startup and shutdown cost of the fuel cell, respectively, c.sub.ed.sup.oncustom-character c.sub.ed.sup.off represent the startup and shutdown cost of the electrolyzer, respectively, and c.sub.bs.sup.omcustom-character c.sub.chp.sup.omcustom-character c.sub.ed.sup.omcustom-character c.sub.hp.sup.omcustom-character c.sub.pv.sup.omcustom-character c.sub.wt.sup.omcustom-character c.sub.hs.sup.omcustom-character c.sub.shs.sup.omcustom-character c.sub.ac.sup.omcustom-character c.sub.st.sup.omcustom-character c.sub.ts.sup.om represent the unit operation costs of the battery storage, the fuel cell, the electrolyzer, the heat pump, the photovoltaic, the wind turbine, the hydrogen storage, the seasonal hydrogen storage device, the absorption chiller, the photothermal plate and the thermal energy storage device, respectively; c.sub.bs.sup.degcustom-character c.sub.chp.sup.degcustom-character c.sub.ed.sup.deg represent the unit degradation costs of the battery storage, the fuel cell and the electrolyzer, respectively, c.sub.st.sup.buycustom-character c.sub.st.sup.sell represent the electricity buying and selling costs, respectively, and c.sub.e.sup.lscustom-character c.sub.h.sup.lscustom-character c.sub.c.sup.ls represent the unit load shedding costs of the electric, thermal and cold loads, respectively; and [0083] constraints of intra-day uncertainties such as the electric, thermal and cold loads, output of the wind turbine and solar radiation are established as follows (with the electric load as an example):

[00023] U = { P ~ el R N s N t ; P ~ st el = P ^ st el + P st el + st el + - P st el - st el - , st el + / - { 0 , 1 } , .Math. t = 1 N t ( st el + + st el - ) s el } s , t [0084] where U represents the set of the uncertain variables at the second stage, {tilde over (P)}.sup.el represents the uncertain electric load, {tilde over (P)}.sub.st.sup.elcustom-character {circumflex over (P)}.sub.st.sup.elcustom-character P.sub.st.sup.el+custom-character P.sub.st.sup.el represent the actual value, the predicted value, the predicted upper deviation value and the predicted lower deviation value of the electric load, respectively, custom-charactercustom-character custom-character represent the 0-1 variables of the predicted upper deviation value or the predicted lower deviation value of the electric load, respectively, and .sub.s.sup.el represents the uncertainty budget parameter of an entire scheduling horizon within a typical operation scenario.

[0085] Step 4, the robust electric-thermal-hydrogen multi-energy device planning model is solved by adopting an alternating optimization procedure based column-and-constraint generation algorithm; [0086] step 4.1, electric-thermal-hydrogen multi-energy device planning model is rewritten into a general matrix form:

[00024] min x A T x + max u U min y , z ( x , u ) C T y + D T z s . t . B T x b , x { 0 , 1 } Ey + Fz + Gu l - Hx , z { 0 , 1 } [0087] where Acustom-character Bcustom-character Ccustom-character Dcustom-character Ecustom-character Fcustom-character Gcustom-character Hcustom-character bcustom-character l represent the set of uncertain variables at the second stage, and (x,u) represents the feasible region of y and z under certain x and u; [0088] step 4.2, the min-max-min two-stage robust planning problem is converted into a main problem and a subproblem, the subproblem is converted into a u-fixed subproblem and a z-fixed subproblem, and the main problem and the subproblem are iteratively solved to obtain the optimization result; where the subproblem is a max-min bilevel optimization problem shown as follows:

[00025] min x A T x + max u U min y , z ( x , u ) C T y + D T z s . t . B T x b , x { 0 , 1 } Ey + Fz + Gu l - Hx , z { 0 , 1 } [0089] where x* represents the optimization result in the main problem and serves as known variables to be substituted into the subproblem; and in view of the fact that a max-min problem cannot be directly paired and converted into the max problem to be solved due to the 0-1 variables contained in constraints of the subproblem, and therefore, the subproblem is further decomposed into: [0090] step 4.2.1, the u-fixed subproblem:

[00026] min y , z C T y + D T z s . t . Ey + Fz + Gu * f - Hx * , z { 0 , 1 } [0091] where u* represents the optimization result in the z-fixed subproblem and serves as known variables to be substituted into the u-fixed subproblem; and [0092] step 4.2.2, the z-fixed subproblem:

[00027] max u , = - T ( l - Hx * - Gu - Fz * ) + D T z * s . t . - T E C T , T 0 [0093] where represents the objective function of the z-fixed subproblem, z* represents the optimization result in the u-fixed subproblem and serves as known variables to be substituted into the z-fixed subproblem, represents the dual variable of the inequality constraint, and in view of higher difficulty in solution due to the bilinear term .sup.Tu, the above formulation is converted into a linear optimization problem by using the big-M method, and the u-fixed subproblem and the z-fixed subproblem are iteratively solved until convergence to obtain the optimization result of the subproblem; [0094] the m.sup.th optimization result u.sup.m* of the subproblem is substituted, and new variables y.sub.m, z.sub.m are created to obtain the following main problem:

[00028] min x A T x + s . t . B T x b , x { 0 , 1 } C T y m + D T z m , 1 m r Ey m + Fz m + Gu m * l - Hx , 1 m r [0095] where r represents the total number of iterations, and the main problem and the subproblem are iteratively solved until the convergence condition is met; [0096] step 4.3, the main problem and the subproblem are iteratively solved, and the step that the main problem and the subproblem are iteratively solved includes: [0097] initialization: x.sup.0 is set as a feasible solution of the main problem, the number of iterations is set as m=1, and x.sup.0 is substituted into the subproblem iteration processes shown in steps 4.3.2 to 4.3.5 to obtain the subproblem's solution (u.sup.m*, .sup.m*); and the lower boundary LB= and the upper boundary UB=+ are set, and the main problem convergence coefficient is set; [0098] step 4.3.1, u.sup.m* is substituted into the main problem to obtain the solution (x.sup.m*, .sup.m*), and LB=A.sup.Tx.sup.m*+.sup.m* is updated; [0099] step 4.3.2, the number of iterations is set as v=1, z is relaxed as the continuous variable, and x.sup.m* is substituted into the z-fixed subproblem to obtain the solution u.sup.v; [0100] step 4.3.3, (x.sup.m*, u.sup.v) is substituted into the u-fixed subproblem to obtain the solution (y.sup.v, z.sup.v); [0101] step 4.3.4, (z.sup.v, x.sup.m) is substituted into the z-fixed subproblem to obtain the solution (u.sup.v+1, z.sup.v+1), it is set that v=v+1; [0102] step 4.3.5, it is determined whether u.sup.v==u.sup.v1 is satisfied, if yes, the optimization result (u.sup.m*, .sup.m*)=(u.sup.v, .sup.v) is output, UB=A.sup.Tx.sup.m*+.sup.m* is updated, and step 4.3.6 is enabled to enter; [0103] or else, step 4.3.3 is returned; and [0104] step 4.3.6, it is determined whether <(UBLB)/UB< is satisfied, if yes, the optimization result is stopped from being output; or else, step 4.3.1 is returned.

[0105] In the description of the present description, the description with reference to terms such as an embodiment, example and specific example is intended to indicate that specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present disclosure. In the present description, the schematic statement for the above-mentioned terms does not necessarily refer to the same embodiment or example. Moreover, the described specific features, structures, materials or characteristics may be combined in an appropriate way in any one or more embodiments or examples.

[0106] The basic principles, main characteristics and advantages of the present disclosure are shown and described as above. It should be known by the skilled in the art that the present disclosure is not limited by above-mentioned embodiments, the principle of the present disclosure is only described in the above-mentioned embodiments and the description, various variations and improvements of the present disclosure can be further made without departing from the spirit and scope of the present disclosure. and these variations and improvements shall fall within the scope of the present disclosure.