This patent application claims the benefit and priority of Chinese Patent Application No. 202010471573.8, filed on May 28, 2020, the disclosure of which is incorporated by reference herein in its entirety as part of the present application.
The present disclosure relates to the field of energy hubs, and in particular, to an optimization method for capacity of a heat pump and power of various sets of energy source equipment in an energy hub.
Modern society cannot survive and develop without the support of energy sources. With the development and progress of society, the demand for the energy sources is increasing. At present, the main energy source is still traditional fossil energy source. With the occurrences of the problems of deteriorating environment and the like caused by gradual depletion of the traditional fossil energy source and energy consumption, various countries are actively studying renewable energy sources and energy source recovery technologies, so the use of multi-energy source systems will increase day by day. Energy hubs are important parts of the multi-energy source systems, which can accommodate the input of various forms of energy sources and diversified load types. Optimized configuration of equipment types and capacity of the energy hubs is the foundation for ensuring safe and economic operation of the energy hubs. The multi-energy source systems are modeled by using the energy hubs, which realizes collaborative optimization of various forms of energy sources. Mutual aid and complementation of various forms of energy sources will be taken into full consideration, so as to achieve a plurality of direct collaborative effects. In view of optimization, the essence for realizing comprehensive optimization of the multi-energy system is to transform a discrete subspace optimization problem into a larger full-space optimization problem.
Adding waste heat recovery technologies to an energy hub is helpful to reduce the operation cost and the emission of greenhouse gases. Introducing a cold and hot interconnection mechanism of a heat pump into the energy hub can recover heat from a cooling loop and provide the heat to a heating loop. There are multiple sets of energy supply equipment in the energy hub, including a natural gas boiler, an electric boiler, a cooler, and the heat pump, and the cooling and heating load provided by these sets of equipment need to satisfy the output of the cooling and heating load. Optimizing the capacity of equipment and the power of various sets of the energy source equipment in the energy hub on the premise of satisfying the needs of the cooling and heating load and a variety of constraints is a problem to be optimized by the present disclosure. The problem has nonlinear stochastic characteristics, which brings great difficulties to optimization. At present, there are very few studies with regard to this problem. Usually, mathematical analysis needs to be performed to linearize a nonlinear problem, then a dual model is solved, and finally, a commercial optimizer, for example, cplex and gurobi, is used for solving. With regard to the above-mentioned problem, the present disclosure provides an optimization method for capacity of a heat pump and power of various sets of energy source equipment in an energy hub, which can directly optimize an original model without performing much processing on a problem model. The optimization algorithms used in the present disclosure include a quadratic function-based binary search algorithm and a multi-objective evolutionary algorithm NSGA-II.
The objective of the present disclosure is to solve the problem about configuration of capacity of a heat pump and operating power of various sets of energy source equipment in an energy hub, which can realize efficient, economic, and green operation of the energy hub. In order to achieve the above-mentioned objective, the present disclosure provides an optimization method for capacity of a heat pump and power of various sets of energy source equipment in an energy hub, including the following steps:
(1) establishing an energy hub model containing a natural gas boiler, an electric boiler, a cooler, and a heat pump;
(2) establishing an upper-layer model of double-layer optimization to solve optimal capacity of the heat pump;
(3) establishing a lower-layer model of double-layer optimization to solve optimal power of the various sets of energy source equipment;
(4) solving the upper-layer model by using a quadratic function-based binary search algorithm;
(5) solving a lower-layer model by using a multi-objective evolutionary algorithm NSGA-II;
(6) integrating double layers of optimization models to obtain an optimal solution.
Optionally, the energy source equipment includes a natural gas boiler, an electric boiler, a cooler, and a heat pump.
Optionally, the step (1) specifically includes:
establishing an energy source supply network according to energy supply equipment in the energy hub, where the input of the energy hub includes electric energy and natural gas; and the input of the energy hub includes heating load, cooling load, and additional electrical load.
Optionally, the step (2) specifically includes that:
In the energy hub, the power of various sets of equipment can be optimized only after the capacity of the various sets of equipment is set, which is obviously a problem about master-slave optimization. The double layers of optimization models are commonly used models for solving the master-slave optimization problem.
The first objective function of the upper-layer model is to minimize the total annual cost Cto of an energy hub system:
Where, CinitHP is the initial cost of the heat pump, n is the operating years of the energy hub, i is the operation and maintenance growth rate of the energy hub, Cop, is the annual operation cost and is provided by the lower-layer model, φHP is the price per unit heat pump capacity, and QHP,max is the capacity of the heat pump.
The second objective function of the upper-layer model is to minimize the total annual exhaust emission CO2,tot of the energy hub system:
min CO2,tot=CO2,e+CO2,f (3)
Where, CO2,e is the exhaust emission of an electrical device, CO2,f is the exhaust emission of a natural gas device, and CO2,tot is provided by the lower-layer model.
The heat pump capacity constraint of the upper-layer model is:
0≤QHP,max≤Q_maxHP,max (4)
Where, Q_maxHP,max is the theoretical maximum capacity of the heat pump, i.e., the desirable upper limit when optimizing the capacity of the heat pump, and is provided by the lower-layer model.
Optionally, the step (3) specifically includes that:
In the double-layer optimization, the upper layer mainly optimizes the capacity of the heat pump, and the lower layer mainly optimizes the power of various sets of equipment.
The first objective function of the lower-layer model is to minimize the total annual operation cost Cop of the energy hub system:
Where, C0p,e is the total annual operation cost of electricity, Cop,f is the total annual operation cost of natural gas, φf is the price per unit natural gas, φe,night is the price per kilowatt-hour in an off-peak period of electricity consumption [19:00 to 24:00], φe,day is the price per kilowatt-hour in a peak period of electricity consumption [00:00 to 19:00], Pf(t) is the total power of natural gas equipment at time t, Pe(t) is the total power of electrical equipment at time t, Δ t=1 is unit time, N=8760 is the total times of a year, Pe is the total electric power, Pe,EH is the power of the electric boiler, Pe,HP is the power of the heat pump, Pe,CH is the power of a refrigerator, and Le is additional electric power of a user.
The second objective function of the lower-layer model is to minimize the total annual exhaust emission CO2,tot of the energy hub system:
min CO2,tot=CO2,e+CO2,f (9)
CO
2,e=λe Σt=1N Pe(t) Δ t (10)
CO
2,fλf Σt=1N Pf(t) Δ t (11)
Where, the CO2,e is the total annual exhaust emission of electricity, CO2,f is the total annual exhaust emission of natural gas, λe is the exhaust emission per unit electric power, and λf is the exhaust emission per unit natural gas.
The load balance constraint of the lower-layer model is:
Where, Ah is the amplitude of a heating load function, and Ac is the amplitude of a cooling load function.
Where, Lh is total heating load, Lc is total cooling load, ηfhB is a heating coefficient of the natural gas boiler, which represents the heating capacity per unit natural gas in the natural gas boiler, ηehEH is a heating coefficient of the electric boiler, which represents the heating capacity per kilowatt-hour electricity in the electric boiler, ηehHP is a heating coefficient of the heat pump, which represents the heating capacity per kilowatt-hour electricity in the heat pump, and ηecCH is a refrigerating coefficient of the refrigerator, which represents the refrigerating capacity per kilowatt-hour electricity in the refrigerator.
The energy source equipment operation constraint of the lower-layer model is:
loss function: g3=max (0,1−QHP,max/(ηehHP−1)Pe,HP) (30)
Where, QCH,max→∞ is the maximum capacity of the refrigerator, QEH,max=2000 is the maximum capacity of the electric boiler, and QB,max→∞ is the maximum capacity of the natural gas boiler. Based on the working principle of the heat pump, the heat pump can heat and refrigerate simultaneously, and the heating capacity is equal to the refrigerating capacity, so in order not to waste energy, the maximum power of the heat pump does not exceed
Optionally, the step (4) specifically includes that:
(4-1) The binary search algorithm is a computer algorithm with the time complexity of O(logn). A lower limit and an upper limit of the capacity of the heat pump need to be set according to the idea of the binary search algorithm. It can be known from the formula (27) that the value range of the capacity of the heat pump is
[lmid, rmid]=[0, (ηehHP−1)Pe,HP].
(4-2) An ending condition of binary search needs to be set according to the idea of a binary algorithm. According to the idea of the multi-objective algorithm, if the length of the value range of the capacity of the heat pump is less than L, then the binary search is ended to enter step (4-7).
(4-3) According to the analysis of a heat pump efficiency graph, large or small heat pump capacity is not beneficial to the operation of the whole energy hub. The heat pump efficiency graph which is a quadratic function with an upward opening is obtained. So, we need to take three values for comparing each time when binary search is performed, respectively:
mid=(lmid+rmid)/2 (32)
lmid=(lmid+mid)/2 (33)
rmid=(mid+rmid)/2 (34)
(4-4) Optimal total annual operation cost lmidC
tuplelmid=(lmidC
tuplemid=(midC
tuplermid=(rmidC
(4-5) If tuplelmid dominates tuplermid, then the heat pump range is updated to be [lmid, mid], and step (4-2) is re-executed. Otherwise, step (4-6) is executed.
(4-6) If tuplermid dominates tuplelmid, then the heat pump range is updated to be [lmid, mid], and step (4-2) is re-executed. Otherwise, the tuplermid and the tuplelmid do not dominate each other, then step (4-7) is executed.
(4-7) Optimization solutions, tuplelmid, tuplemid, and tuplermid, are obtained. The optimization solutions are selected and output according to preference.
Optionally, the step (5) specifically includes:
(5-1) Obtaining heat pump capacity, lmid, mid, and rmid, from the upper-layer model; optimizing the capacity of each heat pump by operating the lower-layer model, and transmitting optimized results to the upper-layer model, where t=1 needs to be set every time.
(5-2) Setting algorithm parameters corresponding to time t, and performing gene coding on decision variables, where the used real number encoding manners respectively include: Pe,CH, Pe,HP, Pe,EH, Pf.
(5-3) Initializing a population P.
(5-4) Calculating objective function values, operation cost Cop,t and exhaust emission Co2,t at time t.
(5-5) Calculating crowding distance between individuals in the population P.
(5-6) Performing selection operation by using a binary tournament selection method.
Where, in the binary tournament selection method, a tournament selection strategy is that two individuals are taken out from a population (put back for sampling), and then a better one is selected to enter an offspring population. The operation is repeated until a new population scale reaches the original population scale.
(5-7) Performing crossover operation by using a simulated binary crossover operator (SBX). Step (5-7) specifically includes:
Where, uj ∈ U(0,1), η=1 is a distribution index.
(5-8) Performing mutation operation by using a polynomial mutation operator PM. Step (5-8) specifically includes:
x
1,j
t+1
=x
1,j
t+Δj (41)
Where, uj ∈ U(0,1), η=1 is a distribution index.
(5-9) Merging a parent population P and an offspring population Q into a population R; sorting the population R according to a constraint violation degree and a non-dominant relationship; selecting the former N individuals of the ranked population to enter the next generation for evolution, where N is the size of the population. Step (5-9) specifically includes:
CV=g
1
+g
2
+g
3 (43)
The constraints (22), (23), (24), (25), (26), (28), and (29) are ensured to be strictly followed during initialization and evolution. Loss functions, g1, g2, and g3, are calculated according to the formulae (18), (19), and (30), and the constraint violation degree is obtained through a formula (43). The individuals with the constraint violation degree of 0 are selected to enter the population P. If the population P is full, then crossover and mutation are started to be selected; otherwise, if the population P is not full, the individuals with low constraint violation degrees are selected. Front individuals in a non-dominated sorting layer are selected when the constraint violation degrees are the same, and the individuals with large crowing distance are selected when non-dominated sorting layers are the same.
(5-10) Determining whether an algorithm ending condition is satisfied, which specifically includes:
storing the solutions at the time t when continuous N generations of objective function values are converged to a small interval or reaches the maximum number of evolutionary iterations, including the objective function values and decision variables:
Cop(t), CO2(t), Pe,EH(t), Pe,HP(t), Pe,CH(t), Pf(t);
executing step (5-11); otherwise, re-executing step (5-4).
(5-11) Determining whether the solutions at k typical times have been solved or not, which specifically includes that:
There are 8760 times in a year, and it can be known from a load function curve that the annual load demands are symmetrical, so the solutions of 4380 times need to be solved. In order to improve the optimization efficiency, the present disclosure only optimizes the solutions of k typical times by using the idea of typical times. If the solutions at the k typical times have been solved, step (5-12) is executed, and otherwise, step (5-2) is re-executed.
(5-12) Approaching the solutions of non-typical times by using a linear fitting method. Step (5-12) specifically includes that:
There are many linear fitting methods, where a Lagrange interpolation method and a cubic spline curve are commonly used. The present disclosure approaches the solutions of non-typical times by using the Lagrange interpolation method. Lagrange interpolation is performed between every two typical times to obtain the solutions of all non-typical times. Finally, the solutions of the typical times and the non-typical times are merged.
(5-13) Calculating optimal total annual operation cost Cop and optimal total annual exhaust emission CO2,tot.
C
op
=k*ΣC
op,t
=k*(φfPf(t)+φe,energyPe(t)) (44)
is obtained according to the formulae (5), (6), (7), and (8).
CO
2,tot
=k*Σ(πePe(t) +λfPf(t)) (45)
P
e(t)=(Pe,EH(t)+Pe,HP(t)+Pe,CH(t)+Le) (46)
are obtained according to the formulae (9), (10), and (11).
(5-14) Obtaining operation plans, optimal total annual operation cost, lmidC
Optionally, step (6) specifically includes:
The integrating double layers of optimization models is to transmit the solutions optimized by the lower-layer model to the upper-layer model, and parameters need to be obtained from the lower-layer model continually when the upper-layer model is optimized. The optimal solutions obtained after the optimization of the upper-layer model is ended are the optimal solutions of problems.
According to the specific embodiments provided by the present disclosure, the present disclosure discloses the following technical effects:
The present disclosure provides an optimization method for capacity of a heat pump and power of various sets of energy source equipment in an energy hub, which establishes a double-layer optimization model with regard to the problem of the energy hub. The upper layer uses an improved binary search algorithm, and the lower layer uses an improved multi-objective evolutionary algorithm NSGA-II. Two layers of models are optimized independently, and finally, the two layers of models are integrated to obtain optimal solutions. The optimization method avoids complicated analysis of a mathematical model, and directly optimizes the original problems without the help of a commercial optimizer.
To describe the technical solutions in the embodiments of the present disclosure or in the prior art more clearly, the following briefly describes the accompanying drawings required for describing the embodiments. Apparently, the accompanying drawings in the following description show merely some embodiments of the present disclosure, and those of ordinary skill in the art may still derive other drawings from these accompanying drawings without creative efforts.
The technical solutions in the embodiments of the present disclosure will be clearly and completely described herein below with reference to the accompanying drawings in the embodiments of the present disclosure. Apparently, the described embodiments are merely part rather than all of the embodiments of the present disclosure. On the basis of the embodiments of the present disclosure, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present disclosure.
With regard to the above-mentioned problem, the present disclosure provides an optimization method for capacity of a heat pump and power of various sets of energy source equipment in an energy hub, which can directly optimize an original model without performing much processing on a problem model.
In order to make the above objective, features, and advantages of the present disclosure more apparent and more comprehensible, the present disclosure is further described in detail below with reference to the accompanying drawings and specific implementation manners.
(1) establishing an energy hub model containing a natural gas boiler, an electric boiler, a cooler, and a heat pump;
(2) establishing an upper-layer model of double-layer optimization to solve optimal capacity of the heat pump;
(3) establishing a lower-layer model of double-layer optimization to solve optimal power of the various sets of energy source equipment;
(4) solving the upper-layer model by using a quadratic function-based binary search algorithm;
(5) solving a lower-layer model by using a multi-objective evolutionary algorithm NSGA-II;
(6) integrating double layers of optimization models to obtain an optimal solution.
Optionally, the energy source equipment includes a natural gas boiler, an electric boiler, a cooler, and a heat pump.
Optionally, the step (1) specifically includes:
An energy source supply network is established according to energy supply equipment in the energy hub, where the input of the energy hub includes electric energy and natural gas; and the input of the energy hub includes heating load, cooling load, and additional electrical load.
Optionally, the step (2) specifically includes that:
In the energy hub, the power of various sets of equipment can be optimized only after the capacity of the various sets of equipment is set, which is obviously a problem about master-slave optimization. The double layers of optimization models are commonly used models for solving the master-slave optimization problem.
The first objective function of the upper-layer model is to minimize the total annual cost Ctot of an energy hub system:
Where, CinitHP is the initial cost of the heat pump, n=10 is the operating years of the energy hub, i is the operation and maintenance growth rate of the energy hub, Cop, is the annual operation cost and is provided by the lower-layer model, φHP 1218 yuan/kw is the price per unit heat pump capacity, and QHP,max is the capacity of the heat pump.
The second objective function of the upper-layer model is to minimize the total annual exhaust emission CO2,tot of the energy hub system:
min CO2,tot=CO2,e+CO2,f (3)
Where, CO2,e is the exhaust emission of an electrical device, CO2,f is the exhaust emission of a natural gas device, and CO2,tot is provided by the lower-layer model.
The heat pump capacity constraint of the upper-layer model is:
0≤QHP,max≤Q_maxHP,max (4)
Where, Q_maxHP,max is the theoretical maximum capacity of the heat pump, i.e., the desirable upper limit when optimizing the capacity of the heat pump, and is provided by the lower-layer model.
Optionally, the step (3) specifically includes that:
In the double-layer optimization, the upper layer mainly optimizes the capacity of the heat pump, and the lower layer mainly optimizes the power of various sets of equipment.
The first objective function of the lower-layer model is to minimize the total annual operation cost Cop of the energy hub system:
min Cop=Cop,e+Cop,f (5)
Where, Cop,e is the total annual operation cost of electricity, Cop,f is the total annual operation cost of natural gas, φf=0.316 is the price per unit natural gas, φe,night=0.4 yuan/kwh is the price per kilowatt-hour in an off-peak period of electricity consumption [19:00 to 24:00), φe,day=0.6 yuan/kwh is the price per kilowatt-hour in a peak period of electricity consumption [00:00 to 19:00], Pf(t) is the total power of natural gas equipment at time t, Pe(t) is the total power of electrical equipment at time t, Δ t=1 is unit time, N=8760 is the total times of a year, Pe is the total electric power, Pe,EH is the power of the electric boiler, Pe,HP is the power of the heat pump, Pe,CH is the power of a refrigerator, and Le=1000 kw is additional electric power of a user.
The second objective function of the lower-layer model is to minimize the total annual exhaust emission CO2,tot of the energy hub system:
min CO2,tot=CO2,e+CO2,f (9)
CO
2,e=λe Σt=1N Pe(t) Δ t (10)
CO
2,f=λf Σt=1N Pf(t) ≢ t (11)
Where, the CO2,e is the total annual exhaust emission of electricity, CO2,f is the total annual exhaust emission of natural gas, λe=0.02072 kg/kwh is the exhaust emission per unit electric power, and λf=0.17644 kg/kwh is the exhaust emission per unit natural gas.
The load balance constraint of the lower-layer model is:
Where, Ah=6000 kw is the amplitude of a heating load function, and Ac=6000 kw is the amplitude of a cooling load function.
Where, Lh is total heating load, Lc is total cooling load, ηfhB=0.85 is a heating coefficient of the natural gas boiler, which represents the heating capacity per unit natural gas in the natural gas boiler, ηehEH=0.95 is a heating coefficient of the electric boiler, which represents the heating capacity per kilowatt-hour electricity in the electric boiler, ηehHP=6 is a heating coefficient of the heat pump, which represents the heating capacity per kilowatt-hour electricity in the heat pump, and ηecCH=4 is a refrigerating coefficient of the refrigerator, which represents the refrigerating capacity per kilowatt-hour electricity in the refrigerator.
The energy source equipment operation constraint of the lower-layer model is:
Where, QCH,max→∞ is the maximum capacity of the refrigerator, QEH,max=2000 is the maximum capacity of the electric boiler, and QB,max♯∞ is the maximum capacity of the natural gas boiler. Based on the working principle of the heat pump, the heat pump can heat and refrigerate simultaneously, and the heating capacity is equal to the refrigerating capacity, so in order not to waste energy, the maximum power of the heat pump does not exceed
Optionally, the step (4) specifically includes that:
(4-1) The binary search algorithm is a computer algorithm with the time complexity of O(logn). A lower limit and an upper limit of the capacity of the heat pump need to be set according to the idea of the binary search algorithm. It can be known from the formula (27) that the value range of the capacity of the heat pump is
[lmid, rmid]=[0, (ηehHP−1)Pe,HP].
(4-2) An ending condition of binary search needs to be set according to the idea of a binary algorithm. According to the idea of the multi-objective algorithm, if the length of the value range of the capacity of the heat pump is less than L, then the binary search is ended to enter step (4-7).
(4-3) According to the analysis of a heat pump efficiency graph, large or small heat pump capacity is not beneficial to the operation of the whole energy hub. The heat pump efficiency graph which is a quadratic function with an upward opening is obtained. So, we need to take three values for comparing each time when binary search is performed, respectively:
mid=(lmid+rmid)/2 (32)
lmid=(lmid+mid)/2 (33)
rmid=(mid+rmid)/2 (34)
(4-4) Optimal total annual operation cost lmidC
tuplelmid=(lmidC
tuplemid=(midC
tuplermid=(rmidC
(4-5) If tuplelmid dominates tuplermid, then the heat pump range is updated to be [lmid, mid], and step (4-2) is re-executed. Otherwise, step (4-6) is executed.
(4-6) If tuplermid dominates tuplelmid, then the heat pump range is updated to be [lmid, mid], and step (4-2) is re-executed. Otherwise, the tuplermid and the tuplelmid do not dominate each other, then step (4-7) is executed.
(4-7) Optimization solutions, tuplelmid, tuplemid, and tuplermid, are obtained. The optimization solutions are selected and output according to preference.
Optionally, the step (5) specifically includes:
(5-1) Heat pump capacity, lmid, mid, and rmid, are obtained from the upper-layer model; the capacity of each heat pump is optimized by operating the lower-layer model, and optimized results are transmitted to the upper-layer model, where t=1 needs to be set every time.
(5-2) Algorithm parameters are set corresponding to time t, and gene coding is performed on decision variables, where the used real number encoding manners respectively include: Pe,CH, Pe,HP, P4,EH, Pf.
(5-3) A population P is initialized.
(5-4) Objective function values, operation cost Cop,t and exhaust emission Co2,t at time t are calculated.
(5-5) Crowding distance between individuals in the population P is calculated.
(5-6) Selection operation is performed by using a binary tournament selection method.
Where, in the binary tournament selection method, a tournament selection strategy is that two individuals are taken out from a population (put back for sampling), and then a better one is selected to enter an offspring population. The operation is repeated until a new population scale reaches the original population scale.
(5-7) Crossover operation is performed by using a simulated binary crossover operator (SBX). Step (5-7) specifically includes:
Where, uj ∈ U(0,1), η=1 is a distribution index.
(5-8) Mutation operation is performed by using a polynomial mutation operator PM. Step (5-8) specifically includes:
Where, uj ∈ U(0,1), η=1 is a distribution index.
(5-9) A parent population P and an offspring population Q are merged into a population R; the population R is sorted according to a constraint violation degree and a non-dominant relationship; the former N individuals of the ranked population are selected to enter the next generation for evolution, where N is the size of the population. Step (5-9) specifically includes:
CV=g
1
+g
2
+g
3 (43)
The constraints (22), (23), (24), (25), (26), (28), and (29) are ensured to be strictly followed during initialization and evolution. Loss functions, g1, g2 , and g3, are calculated according to the formulae (18), (19), and (30), and the constraint violation degree is obtained through a formula (43). The individuals with the constraint violation degree of 0 are selected to enter the population P. If the population P is full, then crossover and mutation are started to be selected; otherwise, if the population P is not full, the individuals with low constraint violation degrees are selected. Front individuals in a non-dominated sorting layer are selected when the constraint violation degrees are the same, and the individuals with large crowing distance are selected when non-dominated sorting layers are the same.
(5-10) Whether an algorithm ending condition is satisfied is determined, which specifically includes:
the solutions at the time t are stored when continuous N generations of objective function values are converged to a small interval or reaches the maximum number of evolutionary iterations, including the objective function values and decision variables: Cop(t), CO2(t), Pe,EH(t), Pe,HP(t), Pe,CH(t), Pf(t). Step (5-11) is executed; otherwise, step (5-4) is re-executed.
(5-11) Whether the solutions at k typical times have been solved or not is determined, which specifically includes that:
There are 8760 times in a year, and it can be known from a load function curve that the annual load demands are symmetrical, so the solutions of 4380 times need to be solved. In order to improve the optimization efficiency, the present disclosure only optimizes the solutions of k typical times by using the idea of typical times. If the solutions at k typical times have been solved, step (5-12) is executed, and otherwise, step (5-2) is re-executed.
(5-12) The solutions of non-typical times are approached by using a linear fitting method. Step (5-12) specifically includes that:
There are many linear fitting methods, where a Lagrange interpolation method and a cubic spline curve are commonly used. The present disclosure approaches the solutions of non-typical times by using the Lagrange interpolation method. Lagrange interpolation is performed between every two typical times to obtain the solutions of all non-typical times. Finally, the solutions of the typical times and the non-typical times are merged.
(5-13) Optimal total annual operation cost Cop and optimal total annual exhaust emission CO2,tot are calculated.
C
op
=k*ΣC
op,t
=k*Σ(φfPf(t)+φe,energyPe(t) (44)
is obtained according to the formulae (5), (6), (7), and (8).
CO
2,tot
=k*∈(λePe(t)+λfP f(t)) (45)
P
e(t)=(Pe,EH(t)+Pe,HP(t)+Pe,CH(t)+Le) (46)
are obtained according to the formulae (9), (10), and (11).
(5-14) Annual operation plans, optimal total annual operation cost, lmidC
Optionally, step (6) specifically includes:
The integrating double layers of optimization models is to transmit the solutions optimized by the lower-layer model to the upper-layer model, and parameters need to be obtained from the lower-layer model continually when the upper-layer model is optimized. The optimal solutions obtained after the optimization of the upper-layer model is ended are the optimal solutions of problems.
The present disclosure discloses an optimization method for capacity of a heat pump and various power of various sets of energy source equipment in an energy hub, which can solve the problem of multi-objective double-layer model without the help of commercial optimization software. A reasonable, efficient, and green planning solution is obtained, so that the total operation cost and the total exhaust emission of the energy hub reach optimal relatively.
In this specification, specific examples are used to describe the principle and implementation manners of the present disclosure. The description of the embodiments above is merely intended to help understand the method and core idea of the present disclosure. In addition, those skilled in the art may make modifications based on the idea of the present disclosure with respect to the specific implementation manners and the application scope. In conclusion, the content of the present description shall not be construed as a limitation to the present disclosure. Any other modifications, ornaments, replacements, combinations, and simplifications made under the ideas and principles of the present disclosure should be equivalent replacements, and should be included within the scope of protection of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
202010471573.8 | May 2020 | CN | national |