Energy supply optimization regulation and control method and system based on electric hydrogen cold and hot fusion
By constructing a multi-objective optimization scheduling model for the integration of electricity, hydrogen, hot and cold in an integrated energy system, and using group intelligent algorithms to combine economic and environmental protection goals, setting constraint priority, the search in the multi-objective optimization process in the existing technology is solved. The problems of undirected and repetitive search achieve efficient energy scheduling and optimization control.
Patent Information
- Application Number
- CN202410967183.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-18
- Publication Date
- 2024-11-08
AI Technical Summary
In the multi-objective optimization process, the search undirectionality, the solution search domain is too large and the repetitive search is difficult to meet the timeliness of the integrated energy system.
Adopt energy supply optimization and regulation method based on the fusion of electricity, hydrogen, hot and cold, and build a multi-objective optimization scheduling model by obtaining energy equipment working conditions, and using group intelligent algorithms to solve it. Combining economic and environmental protection goals, set priority for constraints level, adaptively adjust search direction.
It realizes diverse and flexible optimization scheduling of complex integrated energy systems, simplifies the solution of objective functions, meets the timeliness and accuracy requirements of optimization and regulation, and avoids excessive search domains and repetitive searches.
Smart Images

Figure CN118917596A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of energy dispatching, and in particular to an energy supply optimization and control method and system based on electric-hydrogen-cold-heat fusion. Background Art
[0002] With the continuous development of distributed energy technology, microgrids based on distributed energy have gradually evolved into integrated energy systems that not only provide reliable electricity, but also can guarantee multiple needs of the system, such as electricity, heat, and travel. Integrated energy systems can improve energy utilization and wind and solar power absorption capacity, and reduce environmental pollution. However, energy storage systems with a single energy source can no longer meet the increasingly complex needs of integrated energy systems, and energy storage systems containing multiple energy sources have been widely studied. Hydrogen energy is one of the effective ways to absorb renewable energy and one of the important ways to achieve low-carbon transformation. Compared with traditional energy, hydrogen energy has the advantages of zero pollution, abundant resources, and high efficiency. Hydrogen energy storage has the characteristics of high energy density and strong long-term energy storage capacity. With the gradual maturity of renewable energy power generation technology, the importance of hydrogen storage in the power system has become increasingly obvious. With the widespread application of hydrogen energy, hydrogen energy systems as thermoelectric hydrogen coupling equipment have gradually become an important part of the integrated energy system. Strengthening research on integrated energy systems is of great significance to achieving sustainable energy utilization and developing a low-carbon society.
[0003] At present, there have been certain studies on the modeling, planning and optimal scheduling of integrated energy systems both at home and abroad. The complexity of its optimal scheduling is mainly reflected in the following aspects: single-objective optimization based on economy is difficult to meet market demand, and the composition of objective functions tends to be diverse (economic, energy-saving, environmental protection, peak shaving and valley filling indicators, etc.), forming a scheduling method based on multi-objective optimization.
[0004] In the process of multi-objective optimization, the existing technology adopts indiscriminate satisfaction of all constraints, which easily leads to undirected search, too large search domain, and repetitive search. The solution takes too long and it is difficult to meet the timeliness requirements of optimization and control. Summary of the invention
[0005] The purpose of the present invention is to provide a method and system for optimizing and controlling energy supply based on the fusion of electric hydrogen and cold heat, so as to solve the technical problems in the prior art that lead to non-directional search, too large search domain, repetitive search, and too long solution time, which are difficult to meet the timeliness requirements of optimization and control.
[0006] In order to solve the above technical problems, the present invention specifically provides the following technical solutions:
[0007] A method for optimizing and controlling energy supply based on electric hydrogen cold and hot fusion, comprising the following steps:
[0008] Obtain the energy equipment operating data of the electric hydrogen cold and hot fusion system;
[0009] Based on the energy equipment operating condition data, an energy equipment optimization scheduling model for the electric hydrogen cold and heat fusion system is constructed;
[0010] The swarm intelligence algorithm is used to solve the energy equipment optimization scheduling model to obtain the optimal energy scheduling results of the energy equipment of the electric hydrogen cold and heat fusion system;
[0011] According to the optimal energy scheduling result, the energy equipment of the electric-hydrogen cold-heat fusion system is controlled to optimize the energy scheduling.
[0012] As a preferred solution of the present invention, the operating data of energy equipment of the electric-hydrogen cold-heat fusion system includes the operating data of the energy supply equipment, the operating data of the energy coupling equipment and the operating data of the energy storage equipment.
[0013] As a preferred solution of the present invention, the method for constructing an energy equipment optimization scheduling model for the electric hydrogen cold and hot fusion system includes:
[0014] Based on the economic and environmental goals of the electric-hydrogen-cooling-heat fusion system, the objective function for optimizing the scheduling of energy equipment is constructed;
[0015] The constraint conditions for solving the objective function are constructed based on power balance constraints, thermal energy balance constraints, hydrogen energy balance constraints, energy storage equipment constraints, energy coupling equipment constraints and energy supply constraints, and the priorities of the constraint conditions are set.
[0016] As a preferred solution of the present invention, the objective function of the energy equipment optimization scheduling is:
[0017]
[0018] F(i)=-w1(i)*f1(i)+w2(i)*f2(i)+w3(i)*f3(i);
[0019] Where, Fn is the objective function of the optimal scheduling of energy equipment in the entire scheduling cycle, F(i) is the objective function of the i-th scheduling moment in the entire scheduling cycle, f1(i) is the energy benefit at the i-th scheduling moment in the entire scheduling cycle, f2(i) is the equipment operating cost at the i-th scheduling moment in the entire scheduling cycle, f3(i) is the carbon emission at the i-th scheduling moment in the entire scheduling cycle, w1(i), w2(i) and w3(i) are the weights of f1(i), f2(i) and f3(i) respectively, and n is the total number of scheduling moments in the entire scheduling cycle;
[0020] in,
[0021]
[0022] Where V k (i) is the kth energy content stored in the energy storage device at the i-th scheduling time in the entire scheduling cycle, m k (i) is the kth energy unit price stored in the energy storage device at the i-th scheduling time in the entire scheduling cycle, P l (i) is the power consumption of the lth energy device at the ith scheduling time in the entire scheduling cycle, E l is the unit price of electricity, AD j (i) is the jth energy content consumed by the energy equipment at the i-th scheduling time in the entire scheduling cycle, EF j (i) is the conversion factor of the jth energy consumed by the energy device at the i-th scheduling time in the entire scheduling cycle, M is the total energy category stored in the energy storage device, N is the total number of energy devices, and Z is the total energy category consumed by the energy device.
[0023] As a preferred solution of the present invention, the constraint conditions for the optimal scheduling of energy equipment are:
[0024] Power balance constraint st1: P PV (i)+P WT (i)+P FC (i)+P CHP (i) = L E (i)+P EL (i)+P EB (i);
[0025] Where P PV (i), P WT (i), P FC (i), P CHP (i) are the output power of photovoltaic, wind turbine, fuel cell and cogeneration at the i-th scheduling time, L E (i) is the power load demand at the i-th dispatching time, P EL (i) is the electric power consumed by the electrolytic cell at the i-th scheduling time, P EB (i) is the electric power consumed by the electric boiler to produce heat at the i-th dispatching time;
[0026] Thermal energy balance constraint st2: H GB (i)+H FC (i)+H CHP (i)+H EB (i) = L R (i)+H TES (i);
[0027] In the formula, H GB (i), H FC (i), H CHP (i), HEB (i) are the thermal power output of the gas boiler, fuel cell, cogeneration unit and electric boiler at the i-th dispatching time, respectively; L R (i) is the heat load demand at the i-th scheduling time, H TES (i) is the heat storage or heat output of the heat storage device at the i-th scheduling time. When it is a positive value, the heat storage device is in a heat storage state. When it is a negative value, the heat storage device releases heat to supply the heat load demand.
[0028] Hydrogen energy balance constraint st3:m dis (i) = L H (i)+m H,FC (i),m cha (i) = m H (i);
[0029] In the formula, m dis (i) and m cha (i) are the amount of hydrogen released and filled into the hydrogen storage tank at the i-th scheduling time, L H (i) is the hydrogen load demand at the i-th scheduling time, m H,FC (i) is the amount of hydrogen consumed by the fuel cell at the i-th scheduling time;
[0030] Energy storage equipment constraint st4: P EL,min ≤P EL (i)≤P EL,max , SOC HST,min ≤SOC HST (i)≤SOC HST,max , SOC TES,min ≤SOC TES (i)≤SOC TES,max ;
[0031] Where P EL,max and P EL,min are the maximum electrolyzer output power and the minimum electrolyzer output power, SOC HST,min , SOC HST,max are the minimum and maximum values of the remaining capacity of the thermal storage device, SOC TES,min , SOC HST,max They are the minimum and maximum values of the remaining capacity of the hydrogen storage tank, SOC HST (i) is the remaining capacity of the thermal storage device at the i-th scheduling time, SOC TES (i) is the remaining capacity of the hydrogen storage tank at the i-th scheduling time;
[0032] Energy coupling device constraint st5: P CHP,min ≤P CHP (i)≤P CHP,max , P EB,min ≤PEB (i)≤P EB,max , H EB,min ≤H EB (i)≤H EB,max , H GB,min ≤H GB (i)≤H GB,max ;
[0033] Where P CHP,min , P CHP,max are the minimum and maximum output power of the cogeneration unit, H CHP,min , H CHP,max are the minimum and maximum thermal power output of the cogeneration unit, H EB,min , H EB,max are the minimum and maximum values of the thermal power output of the electric boiler, H GB,min , H GB,max are the minimum and maximum output power of the gas boiler respectively;
[0034] Energy supply constraint st6: V g,min ≤V g (i)≤V g,max , V g (i) = V GB (i)+V CHP (i);
[0035] Where V g (i) is the total energy supply at the i-th scheduling time, Vg,min and Vg,max are the minimum and maximum energy supply respectively, V GB (i) is the energy supply of the gas boiler, V CHP (i) The energy supply of the combined heat and power unit;
[0036] Target weight constraint st7: w1(i)+w2(i)+w3(i)=1;
[0037] Where w1(i), w2(i) and w3(i) are the weights of f1(i), f2(i) and f3(i) respectively.
[0038] As a preferred solution of the present invention, the method for setting the priority of each constraint condition includes:
[0039] After each iteration of the swarm intelligence algorithm, the satisfaction degree of each constraint condition is quantified, and the satisfaction degree is:
[0040] X r (t) = S r (t) / G(t);
[0041] Where, Xr (t) is the degree to which the objective function solution set obtained by the swarm intelligence algorithm at the tth iteration satisfies the rth constraint condition, S r (t) is the number of solutions that satisfy the rth constraint condition in the objective function solution set obtained by the swarm intelligence algorithm at the tth iteration, and G(t) is the number of solutions in the objective function solution set obtained by the swarm intelligence algorithm at the tth iteration;
[0042] The priority of each constraint condition is adaptively determined according to the satisfaction degree, and the priority of the constraint condition is: Y r (t) = -(1-X r (t))*log[X r (t)];
[0043] Where Y r (t) is the priority of the rth constraint condition after the tth iteration of the swarm intelligence algorithm;
[0044] According to the priority of the constraint conditions, the constraint conditions for setting the priority are:
[0045] st={Y r (t)*str|r∈[1,Ns]}
[0046] Where st is the set of constraints of the swarm intelligence algorithm after the tth iteration, str is the rth constraint, and Ns is the total number of constraints.
[0047] As a preferred solution of the present invention, the swarm intelligence algorithm includes genetic, particle swarm, simulated annealing algorithm and improved algorithms thereof.
[0048] As a preferred solution of the present invention, the present invention provides a system for optimizing and controlling energy supply based on electric hydrogen cold and hot fusion, which is applied to the above-mentioned method for optimizing and controlling energy supply based on electric hydrogen cold and hot fusion, and the system comprises:
[0049] Data acquisition system, used to obtain energy equipment operating data of the electric hydrogen cold and hot fusion system;
[0050] A model building unit, used to build an energy equipment optimization scheduling model for the electric hydrogen cold and hot fusion system based on the energy equipment operating condition data;
[0051] A scheduling solution unit, used to solve the energy equipment optimization scheduling model by using a swarm intelligence algorithm to obtain an optimal energy scheduling result for the energy equipment of the electric hydrogen cold and heat fusion system;
[0052] A scheduling control unit is used to perform energy scheduling optimization operation control on the energy equipment of the electric-hydrogen cold-heat fusion system according to the optimal energy scheduling result.
[0053] As a preferred solution of the present invention, the model building unit constructs a method for optimizing the scheduling model of energy equipment in the electric-hydrogen cold-heat fusion system, including:
[0054] Based on the economic and environmental goals of the electric-hydrogen-cooling-heat fusion system, the objective function for optimizing the scheduling of energy equipment is constructed;
[0055] The constraint conditions for solving the objective function are constructed based on power balance constraints, thermal energy balance constraints, hydrogen energy balance constraints, energy storage equipment constraints, energy coupling equipment constraints and energy supply constraints, and the priorities of the constraint conditions are set.
[0056] As a preferred embodiment of the present invention, the electric hydrogen cold and heat fusion system includes: a power supply module, an electric boiler, a heat storage tank, a gas boiler, a cogeneration unit and a hydrogen energy storage system, wherein the power supply module is connected to the electric load through a microgrid; the electric boiler, the heat storage tank, the gas boiler and the cogeneration unit are connected in sequence; the electric boiler and the cogeneration unit are both connected to the microgrid; the electric boiler is also connected to the heat load; the cogeneration unit is also connected to the heat storage tank; and the hydrogen energy storage system is respectively connected to the electric load, the hydrogen load and the heat load.
[0057] Compared with the prior art, the present invention has the following beneficial effects:
[0058] The present invention realizes diversified and flexible optimization scheduling of complex integrated energy systems through multi-objective optimization. In the multi-objective optimization process, it adaptively adjusts the constraint priority of constraint conditions, flexibly plans the search direction, avoids excessive search domain and repetitive search, simplifies the solution of the objective function, and can meet the timeliness requirements of optimization and regulation. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] In order to more clearly illustrate the implementation methods of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for the implementation methods or the description of the prior art. Obviously, the drawings in the following description are only exemplary, and for ordinary technicians in this field, other implementation drawings can be derived from the provided drawings without creative work.
[0060] Figure 1 A flow chart of the energy supply optimization and control method provided in an embodiment of the present invention;
[0061] Figure 2 A block diagram of an energy supply optimization and control system provided in an embodiment of the present invention;
[0062] Figure 3 A block diagram of the electric-hydrogen cold-heat fusion system provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0063] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0064] like Figure 1 As shown, the present invention provides an energy supply optimization and control method based on electric hydrogen cold and hot fusion, comprising the following steps:
[0065] Obtain the energy equipment operating data of the electric hydrogen cold and hot fusion system;
[0066] Based on the operating data of energy equipment, an energy equipment optimization scheduling model for the electric-hydrogen-cooling-heat fusion system is constructed;
[0067] The swarm intelligence algorithm is used to solve the energy equipment optimization scheduling model and obtain the optimal energy scheduling results of the energy equipment of the electric hydrogen cold and heat fusion system;
[0068] Based on the optimal energy scheduling results, the energy equipment of the electric-hydrogen cold and hot fusion system is controlled to optimize the energy scheduling.
[0069] In order to achieve optimal energy supply scheduling of comprehensive energy including electricity, hydrogen and heat, the present invention performs multi-objective optimization of energy supply scheduling based on economic goals and environmental protection goals, so that the energy supply scheduling of the electricity, hydrogen, cold and heat fusion system takes into account both benefits and low carbon.
[0070] In the multi-objective optimization process of energy supply scheduling, the present invention sets constraints on the multi-objective function to simplify the solution of the multi-objective function and improve the efficiency of the solution of the multi-objective function.
[0071] Furthermore, the present invention sets priorities for constraint conditions, so that in the process of solving multiple objective functions, the priorities of constraint conditions are adaptively adjusted according to the solution situation. The adjusted constraint conditions limit the solution direction of the objective function, avoid excessively large search domains and repetitive searches, and can meet the timeliness requirements of optimization and regulation.
[0072] The present invention utilizes swarm intelligence to solve the objective function. After each iterative solution, the satisfaction of the current solution set for the constraint conditions is analyzed. The more the current solution set satisfies a certain constraint condition, the closer the current solution set is to completing the search and solution process in the search direction defined by the constraint condition. Similarly, the less the current solution set satisfies a certain constraint condition, the closer the current solution set is to completing the search and solution process in the search direction defined by the constraint condition. Therefore, in the subsequent algorithm iterative solution process, the priority of the constraint condition with a higher degree of satisfaction can be reduced, and the priority of the constraint condition with a lower degree of satisfaction can be increased. The search direction of the swarm intelligence algorithm solution is adjusted from the low-priority constraint condition to the high-priority constraint condition. In the algorithm iterative process, the priority is adjusted in real time, and the solution search direction is planned, so that after the algorithm iteration is completed, the optimal solution obtained can be realized to satisfy all the constraint conditions, and there is no need to cause a large number of repeated searches in order to satisfy all the constraint conditions in the directionless planning search process generated in the absence of priority.
[0073] In summary, the present invention realizes the planning of the solution direction of the swarm intelligence algorithm through adaptive adjustment of the priority of constraint conditions, can quickly obtain the optimal solution of the objective function that satisfies all constraints, avoids a large number of repeated searches, takes into account the solution efficiency and accuracy, and meets the timeliness and accuracy of the optimal scheduling of the electric hydrogen cold and heat fusion system.
[0074] The operating data of energy equipment in the electric-hydrogen hot-cold fusion system includes the operating data of energy supply equipment, the operating data of energy coupling equipment and the operating data of energy storage equipment.
[0075] The method for constructing the energy equipment optimization scheduling model of the electric hydrogen cold and hot fusion system includes:
[0076] Based on the economic and environmental goals of the electric-hydrogen-cooling-heat fusion system, the objective function for optimizing the scheduling of energy equipment is constructed;
[0077] Based on power balance constraints, thermal energy balance constraints, hydrogen energy balance constraints, energy storage equipment constraints, energy coupling equipment constraints and energy supply constraints, the constraints for solving the objective function are constructed and the priorities of the constraints are set.
[0078] In order to achieve the optimal scheduling of energy supply of comprehensive energy including electricity, hydrogen and heat, the present invention performs multi-objective optimization of energy supply scheduling based on economic goals and environmental protection goals, so that the energy supply scheduling of the electricity, hydrogen, cold and heat fusion system takes into account both benefits and low carbon, as follows:
[0079] The objective function of energy equipment optimization scheduling is:
[0080]
[0081] F(i)=-w1(i)*f1(i)+w2(i)*f2(i)+w3(i)*f3(i);
[0082] Where, Fn is the objective function of the optimal scheduling of energy equipment in the entire scheduling cycle, F(i) is the objective function of the i-th scheduling moment in the entire scheduling cycle, f1(i) is the energy benefit at the i-th scheduling moment in the entire scheduling cycle, f2(i) is the equipment operating cost at the i-th scheduling moment in the entire scheduling cycle, f3(i) is the carbon emission at the i-th scheduling moment in the entire scheduling cycle, w1(i), w2(i) and w3(i) are the weights of f1(i), f2(i) and f3(i) respectively, and n is the total number of scheduling moments in the entire scheduling cycle;
[0083] in,
[0084]
[0085] Where V k (i) is the kth energy content stored in the energy storage device at the i-th scheduling time in the entire scheduling cycle, m k (i) is the kth energy unit price stored in the energy storage device at the i-th scheduling time in the entire scheduling cycle, P l (i) is the power consumption of the lth energy device at the ith scheduling time in the entire scheduling cycle, E l is the unit price of electricity, AD j (i) is the jth energy content consumed by the energy equipment at the i-th scheduling time in the entire scheduling cycle, EF j (i) is the conversion factor of the jth energy consumed by the energy device at the i-th scheduling time in the entire scheduling cycle, M is the total energy category stored in the energy storage device, N is the total number of energy devices, and Z is the total energy category consumed by the energy device.
[0086] The constraints for optimal scheduling of energy equipment are:
[0087] Power balance constraint st1: P PV (i)+P WT (i)+P FC (i)+P CHP (i) = L E (i)+P EL (i)+P EB (i);
[0088] Where P PV (i), P WT (i), P FC (i), P CHP (i) are the output power of photovoltaic, wind turbine, fuel cell and cogeneration at the i-th scheduling time, LE (i) is the power load demand at the i-th dispatching time, P EL (i) is the electric power consumed by the electrolytic cell at the i-th scheduling time, P EB (i) is the electric power consumed by the electric boiler to produce heat at the i-th dispatching time;
[0089] Thermal energy balance constraint st2: H GB (i)+H FC (i)+H CHP (i)+H EB (i) = L R (i)+H TES (i);
[0090] In the formula, H GB (i), H FC (i), H CHP (i), H EB (i) are the thermal power output of the gas boiler, fuel cell, cogeneration unit and electric boiler at the i-th dispatching time, respectively; L R (i) is the heat load demand at the i-th scheduling time, H TES (i) is the heat storage or heat output of the heat storage device at the i-th scheduling time. When it is a positive value, the heat storage device is in a heat storage state. When it is a negative value, the heat storage device releases heat to supply the heat load demand.
[0091] Hydrogen energy balance constraint st3:m dis (i) = L H (i)+m H,FC (i),m cha (i) = m H (i);
[0092] In the formula, m dis (i) and m cha (i) are the amount of hydrogen released and filled into the hydrogen storage tank at the i-th scheduling time, L H (i) is the hydrogen load demand at the i-th scheduling time, m H,FC (i) is the amount of hydrogen consumed by the fuel cell at the i-th scheduling time;
[0093] Energy storage equipment constraint st4: P EL,min ≤P EL (i)≤P EL,max , SOC HST,min ≤SOC HST (i)≤SOC HST,max , SOC TES,min ≤SOC TES (i)≤SOC TES,max ;
[0094] Where PEL,max and P EL,min are the maximum electrolyzer output power and the minimum electrolyzer output power, SOC HST,min , SOC HST,max are the minimum and maximum values of the remaining capacity of the thermal storage device, SOC TES,min , SOC HST,max They are the minimum and maximum values of the remaining capacity of the hydrogen storage tank, SOC HST (i) is the remaining capacity of the thermal storage device at the i-th scheduling time, SOC TES (i) is the remaining capacity of the hydrogen storage tank at the i-th scheduling time;
[0095] Energy coupling device constraint st5: P CHP,min ≤P CHP (i)≤P CHP,max , P EB,min ≤P EB (i)≤P EB,max , H EB,min ≤H EB (i)≤H EB,max , H GB,min ≤H GB (i)≤H GB,max ;
[0096] Where P CHP,min , P CHP,max are the minimum and maximum output power of the cogeneration unit, H CHP,min , H CHP,max are the minimum and maximum thermal power output of the cogeneration unit, H EB,min , H EB,max are the minimum and maximum values of the thermal power output of the electric boiler, H GB,min , H GB,max are the minimum and maximum output power of the gas boiler respectively;
[0097] Energy supply constraint st6: V g,min ≤V g (i)≤V g,max , V g (i) = V GB (i)+V CHP (i);
[0098] Where V g (i) is the total energy supply at the i-th scheduling time, Vg,min and Vg,max are the minimum and maximum energy supply respectively, V GB (i) is the energy supply of the gas boiler, V CHP (i) The energy supply of the combined heat and power unit;
[0099] Target weight constraint st7: w1(i)+w2(i)+w3(i)=1;
[0100] Where w1(i), w2(i) and w3(i) are the weights of f1(i), f2(i) and f3(i) respectively.
[0101] Constraints may also include: maximum charge and discharge power of batteries, maximum output power of fuel cells, maximum output power of electrolyzers, maximum output power of electric boilers, maximum output power of gas boilers, thermoelectric hydrogen coupling characteristics of fuel cells and electrolyzers, electric-thermal coupling characteristics of electric boilers, heat generation characteristics of gas boilers, upper and lower limits of battery SOC, upper and lower limits of hydrogen storage tank SOHC, upper and lower limits of heat storage tank HOC, etc., which can be selected according to actual needs.
[0102] The present invention sets the priority of the constraint conditions so that in the process of solving the multi-objective function, the priority of the constraint conditions is adaptively adjusted according to the solution situation. The adjusted constraint conditions limit the solution direction of the objective function, avoid excessive search domain and repetitive search, and meet the timeliness requirements of optimization and regulation, as follows:
[0103] Methods for prioritizing constraints include:
[0104] After each iteration of the swarm intelligence algorithm, the satisfaction degree of each constraint is quantified as follows:
[0105] X r (t) = S r (t) / G(t);
[0106] In the formula, X r (t) is the degree to which the objective function solution set obtained by the swarm intelligence algorithm at the tth iteration satisfies the rth constraint condition, S r (t) is the number of solutions that satisfy the rth constraint condition in the objective function solution set obtained by the swarm intelligence algorithm at the tth iteration, and G(t) is the number of solutions in the objective function solution set obtained by the swarm intelligence algorithm at the tth iteration;
[0107] The priority of each constraint is adaptively determined according to the degree of satisfaction. The priority of the constraint is: Y r (t) = -(1-X r (t))*log[X r (t)];
[0108] Where Y r (t) is the priority of the rth constraint condition after the tth iteration of the swarm intelligence algorithm;
[0109] The priority formula of the constraint condition is inversely proportional to the satisfaction degree formula, that is, the higher the satisfaction degree, the lower the priority of the constraint condition.
[0110] According to the priority of the constraint conditions, the constraint conditions for setting the priority are:
[0111] st={Y r (t)*str|r∈[1,Ns]}
[0112] Where st is the set of constraints of the swarm intelligence algorithm after the tth iteration, str is the rth constraint, and Ns is the total number of constraints.
[0113] The present invention utilizes swarm intelligence to solve the objective function. After each iterative solution, the satisfaction of the current solution set for the constraint conditions is analyzed. The more the current solution set satisfies a certain constraint condition, the closer the current solution set is to completing the search and solution process in the search direction defined by the constraint condition. Similarly, the less the current solution set satisfies a certain constraint condition, the closer the current solution set is to completing the search and solution process in the search direction defined by the constraint condition. Therefore, in the subsequent algorithm iterative solution process, the priority of the constraint condition with a higher degree of satisfaction can be reduced, and the priority of the constraint condition with a lower degree of satisfaction can be increased. The search direction of the swarm intelligence algorithm solution is adjusted from the low-priority constraint condition to the high-priority constraint condition. In the algorithm iterative process, the priority is adjusted in real time, and the solution search direction is planned, so that after the algorithm iteration is completed, the optimal solution obtained can be realized to satisfy all the constraint conditions, and there is no need to cause a large number of repeated searches in order to satisfy all the constraint conditions in the directionless planning search process generated in the absence of priority.
[0114] Therefore, the present invention analyzes the solution set after each iterative solution, and assigns lower priority to the more satisfied constraints and higher priority to the less satisfied constraints, so that the solution is searched towards the less satisfied constraints, and finally, after the iterative solution is completed, all constraints are satisfied.
[0115] Swarm intelligence algorithms include genetic, particle swarm, simulated annealing algorithms and their improved algorithms.
[0116] Swarm intelligence algorithms (SIAs) are a type of algorithm that uses swarm behavior to solve optimization problems. The present invention uses swarm intelligence algorithms to iteratively solve multi-objective functions. For example, the particle swarm optimization (PSO) is an optimization algorithm based on swarm intelligence. The algorithm simulates the foraging behavior of bird flocks and finds the optimal solution to the problem through information sharing and collaboration between particles. The process includes:
[0117] Step 1: Initialization: Randomly generate a group of particles, each particle has a random position and speed, each particle represents a potential solution, and the position of this solution in the solution space is represented by the particle's position vector.
[0118] Step 2: Evaluate fitness: Construct a fitness function based on the objective function and the constraints with priority, and calculate the fitness value of each particle.
[0119] Step 3: Individual best and global best update: For each particle, compare its current fitness value with the historical best position (P besth )’s fitness value, if the current value is better, update P besth Find the particle with the best fitness value among all particles and set its position as the global best (G best ).
[0120] Step 4: Speed and position update: Update the speed and position of each particle according to the current speed, individual best position and global best position of the particle, V h (t+1)=ωV h (t)+c 1 r 1 (P Besth -X h (t))+c 2 r 2 (G Best -X h (t));
[0121] X h (t+1)=X h (t)+V h (t+1);
[0122] Where V h (t+1) is the velocity of the hth particle after the t+1th iteration, ω is the inertia weight, c 1 is the individual learning factor of each particle, c 2 is the social learning factor of the particle group, r 1 and r 2 is a random number that follows a uniform distribution in the interval [0,1], P Besth is the historical optimal position of the hth particle, G Best is the best historical position of all particles.
[0123] Iteration: Repeat steps 2 to 4 until the termination condition is met, such as obtaining the optimal solution for the puncture path of the puncture needle after reaching the maximum number of iterations T.
[0124] In actual use, swarm intelligence algorithms such as genetic algorithms and simulated annealing algorithms can also be used as optimization algorithms, which will not be described in detail here.
[0125] like Figure 2 As shown, the present invention provides a system for optimizing and controlling energy supply based on electric hydrogen cold and hot fusion, which is applied to an energy supply optimizing and controlling method based on electric hydrogen cold and hot fusion, and the system includes:
[0126] Data acquisition system, used to obtain energy equipment operating data of the electric hydrogen cold and hot fusion system;
[0127] A model building unit is used to build an energy equipment optimization scheduling model for the electric-hydrogen cold-heat fusion system based on energy equipment operating condition data;
[0128] The scheduling solution unit is used to solve the energy equipment optimization scheduling model using the swarm intelligence algorithm to obtain the optimal energy scheduling results of the energy equipment of the electric hydrogen cold and heat fusion system;
[0129] The dispatching control unit is used to perform energy dispatch optimization operation control on the energy equipment of the electric-hydrogen cold-heat fusion system according to the optimal energy dispatching results.
[0130] The model building unit constructs a method for optimizing the scheduling model of energy equipment in the electric-hydrogen-cold-heat fusion system, including:
[0131] Based on the economic and environmental goals of the electric-hydrogen-cooling-heat fusion system, the objective function for optimizing the scheduling of energy equipment is constructed;
[0132] Based on power balance constraints, thermal energy balance constraints, hydrogen energy balance constraints, energy storage equipment constraints, energy coupling equipment constraints and energy supply constraints, the constraints for solving the objective function are constructed and the priorities of the constraints are set.
[0133] like Figure 3 As shown, the electric-hydrogen cold-heat fusion system includes: a power supply module, an electric boiler, a heat storage tank, a gas boiler, a cogeneration unit and a hydrogen energy storage system, wherein the power supply module is connected to the electric load through a microgrid; the electric boiler, the heat storage tank, the gas boiler and the cogeneration unit are connected in sequence; the electric boiler and the cogeneration unit are both connected to the microgrid; the electric boiler is also connected to the heat load; the cogeneration unit is also connected to the heat storage tank; the hydrogen energy storage system is respectively connected to the electric load, the hydrogen load and the heat load.
[0134] Specifically, the power supply module is used to convert solar energy and wind energy into electrical energy to supply energy for electrical loads; the electric boiler is used to convert electrical energy into thermal energy to supply energy for thermal loads; the heat storage tank is used to store thermal energy; the gas boiler is used to generate thermal energy using natural gas and transmit it to the heat storage tank; the cogeneration unit is used to generate thermal energy and electrical energy using natural gas, and transmit the thermal energy to the heat storage tank, and transmit the electrical energy to the microgrid; the hydrogen energy storage system is used to convert electrical energy into hydrogen energy, store it and supply energy for hydrogen loads.
[0135] The power supply module specifically includes: wind turbines and photovoltaic panels; both wind turbines and photovoltaic panels are connected to the electrical load through a microgrid. The hydrogen energy storage system specifically includes: an electrolyzer, a hydrogen storage tank and a fuel cell.
[0136] Among them, the electrolyzer, the hydrogen storage tank and the fuel cell are connected in sequence; the electrolyzer is also connected to the microgrid; the hydrogen storage tank is also connected to the hydrogen load; the fuel cell is also connected to the thermal load, and is connected to the electrical load through the microgrid;
[0137] Specifically, the electrolyzer is used to generate hydrogen energy by electrolysis using electrical energy; the hydrogen storage tank is used to store hydrogen energy; and the fuel cell is used to use hydrogen energy to power electrical loads and thermal loads.
[0138] The overall structure of the system and various energy generation, conversion, and storage processes. In the electric, thermal, and hydrogen coupled integrated energy system, natural gas and renewable energy are used as the main energy supply to meet the three types of loads of the system: electric, thermal, and hydrogen. Wind turbines (WT) and photovoltaic panels (PV) are connected to the microgrid as renewable resources and serve as green energy support. Combined heat and power (CHP), gas boilers (GB), electric boilers (EB), etc. are used as energy coupling elements to realize the conversion and utilization of energy in the integrated energy system. The energy storage system includes a hydrogen energy storage system (HESS) and a thermal energy storage system (TESS). The heat storage tank (TES) is used as a thermal energy storage system. The hydrogen energy storage system includes an electrolyzer (EL), a hydrogen storage tank (HST), and a fuel cell (FC). The electrolyzer produces hydrogen and stores it in the hydrogen storage tank during the period when renewable energy production is sufficient. When the power load is high and the hydrogen load is met, the chemical energy of hydrogen is converted into electrical energy through the fuel cell. As a thermal energy storage device, the heat storage tank is supplemented when the heat load is insufficient to reduce the consumption of natural gas. When the heat load is met, the excess heat generated by the combined heat and power and fuel cell is stored. The integrated energy system realizes the conversion of different energy forms and the complementary advantages, thereby improving the utilization rate of renewable energy in the system.
[0139] The present invention realizes diversified and flexible optimization scheduling of complex integrated energy systems through multi-objective optimization. In the multi-objective optimization process, it adaptively adjusts the constraint priority of constraint conditions, flexibly plans the search direction, avoids excessive search domain and repetitive search, simplifies the solution of the objective function, and can meet the timeliness requirements of optimization and regulation.
[0140] The above embodiments are only exemplary embodiments of the present application and are not intended to limit the present application. The protection scope of the present application is defined by the claims. Those skilled in the art may make various modifications or equivalent substitutions to the present application within the essence and protection scope of the present application, and such modifications or equivalent substitutions shall also be deemed to fall within the protection scope of the present application.
Claims
1. A method for optimizing energy supply based on the fusion of electricity, hydrogen, cold and heat. It is characterized in that The following steps are involved: Obtain the energy equipment operating data of the electric hydrogen cold and hot fusion system; Based on the energy equipment operating condition data, an energy equipment optimization scheduling model for the electric hydrogen cold and heat fusion system is constructed; The swarm intelligence algorithm is used to solve the energy equipment optimization scheduling model to obtain the optimal energy scheduling results of the energy equipment of the electric hydrogen cold and heat fusion system; According to the optimal energy scheduling result, the energy equipment of the electric-hydrogen cold-heat fusion system is controlled to optimize the energy scheduling.
2. According to claim 1, a method for optimizing and controlling energy supply based on the fusion of electricity, hydrogen, cold and heat, Features: The operating data of energy equipment in the electric-hydrogen hot-cold fusion system includes the operating data of energy supply equipment, the operating data of energy coupling equipment and the operating data of energy storage equipment.
3. According to claim 2, a method for optimizing and controlling energy supply based on the fusion of electricity, hydrogen, cold and heat, Features: The method for constructing an energy equipment optimization scheduling model for the electric-hydrogen cold-heat fusion system includes: Based on the economic and environmental goals of the electric-hydrogen-cooling-heat fusion system, the objective function for optimizing the scheduling of energy equipment is constructed; The constraint conditions for solving the objective function are constructed based on power balance constraints, thermal energy balance constraints, hydrogen energy balance constraints, energy storage equipment constraints, energy coupling equipment constraints and energy supply constraints, and the priorities of the constraint conditions are set.
4. According to claim 3, a method for optimizing and controlling energy supply based on the fusion of electricity, hydrogen, cold and heat, Features: The objective function of the energy equipment optimization scheduling is: F(i)=-w1(i)*f1(i)+w2(i)*f2(i)+w3(i)*f3(i); Where, Fn is the objective function of the optimal scheduling of energy equipment in the entire scheduling cycle, F(i) is the objective function of the i-th scheduling moment in the entire scheduling cycle, f1(i) is the energy benefit at the i-th scheduling moment in the entire scheduling cycle, f2(i) is the equipment operating cost at the i-th scheduling moment in the entire scheduling cycle, f3(i) is the carbon emission at the i-th scheduling moment in the entire scheduling cycle, w1(i), w2(i) and w3(i) are the weights of f1(i), f2(i) and f3(i) respectively, and n is the total number of scheduling moments in the entire scheduling cycle; in, Where V k (i) is the kth energy content stored in the energy storage device at the i-th scheduling time in the entire scheduling cycle, m k (i) is the kth energy unit price stored in the energy storage device at the i-th scheduling time in the entire scheduling cycle, P l (i) is the power consumption of the lth energy device at the ith scheduling time in the entire scheduling cycle, E l is the unit price of electricity, AD j (i) is the jth energy content consumed by the energy equipment at the i-th scheduling time in the entire scheduling cycle, EF j (i) is the conversion factor of the jth energy consumed by the energy device at the i-th scheduling time in the entire scheduling cycle, M is the total energy category stored in the energy storage device, N is the total number of energy devices, and Z is the total energy category consumed by the energy device.
5. According to claim 4, a method for optimizing and controlling energy supply based on electric hydrogen cold and hot fusion, Features: The constraints for the optimal scheduling of energy equipment are: Power balance constraint st1: P PV (i)+P WT (i)+P FC (i)+P CHP (i) = L E (i)+P EL (i)+P EB (i); Where P PV (i), P WT (i), P FC (i), P CHP (i) are the output power of photovoltaic, wind turbine, fuel cell and cogeneration at the i-th scheduling time, L E (i) is the power load demand at the i-th dispatching time, P EL (i) is the electric power consumed by the electrolytic cell at the i-th scheduling time, P EB (i) is the electric power consumed by the electric boiler to produce heat at the i-th dispatching time; Thermal energy balance constraint st2: H GB (i)+H FC (i)+H CHP (i)+H EB (i) = L R (i)+H TES (i); In the formula, H GB (i), H FC (i), H CHP (i), H EB (i) are the thermal power output of the gas boiler, fuel cell, cogeneration unit and electric boiler at the i-th dispatching time, respectively; L R (i) is the heat load demand at the i-th scheduling time, H TES (i) is the heat storage or heat output of the heat storage device at the i-th scheduling time. When it is a positive value, the heat storage device is in a heat storage state. When it is a negative value, the heat storage device releases heat to supply the heat load demand. Hydrogen energy balance constraint st3:m dis (i) = L H (i)+m H,FC (i),m cha (i) = m H (i); In the formula, m dis (i) and m cha (i) are the amount of hydrogen released and filled into the hydrogen storage tank at the i-th scheduling time, L H (i) is the hydrogen load demand at the i-th scheduling time, m H,FC (i) is the amount of hydrogen consumed by the fuel cell at the i-th scheduling time; Energy storage equipment constraint st4: P EL,min ≤P EL (i)≤P EL,max , SOC HST,min ≤SOC HST (i)≤SOC HST,max , SOC TES,min ≤SOC TES (i)≤SOC TES,max ; Where P EL,max and P EL,min are the maximum and minimum electrolyzer output power, SOC HST,min , SOC HST,max are the minimum and maximum values of the remaining capacity of the thermal storage device, SOC TES,min , SOC HST,max They are the minimum and maximum values of the remaining capacity of the hydrogen storage tank, SOC HST (i) is the remaining capacity of the thermal storage device at the i-th scheduling time, SOC TES (i) is the remaining capacity of the hydrogen storage tank at the i-th scheduling time; Energy coupling device constraint st5: P CHP,min ≤P CHP (i)≤P CHP,max , P EB,min ≤P EB (i)≤P EB,max , H EB,min ≤H EB (i)≤H EB,max , H GB,min ≤H GB (i)≤H GB,max ; Where P CHP,min , P CHP,max are the minimum and maximum output power of the cogeneration unit, H CHP,min , H CHP,max are the minimum and maximum thermal power output of the cogeneration unit, H EB,min , H EB,max are the minimum and maximum values of the thermal power output of the electric boiler, H GB,min , H GB,max are the minimum and maximum output power of the gas boiler respectively; Energy supply constraint st6: V g,min ≤V g (i)≤V g,max , V g (i) = V GB (i)+V CHP (i); Where V g (i) is the total energy supply at the i-th scheduling time, Vg,min and Vg,max are the minimum and maximum energy supply respectively, V GB (i) is the energy supply of the gas boiler, V CHP (i) The energy supply of the combined heat and power unit; Target weight constraint st7: w1(i)+w2(i)+w3(i)=1; Where w1(i), w2(i) and w3(i) are the weights of f1(i), f2(i) and f3(i) respectively.
6. According to claim 5, a method for optimizing and controlling energy supply based on the fusion of electricity, hydrogen, cold and heat, Features: Methods for prioritizing constraints include: After each iteration of the swarm intelligence algorithm, the satisfaction degree of each constraint condition is quantified, and the satisfaction degree is: X r (t)=S r (t) / G(t); Where, X r (t) is the degree to which the objective function solution set obtained by the swarm intelligence algorithm at the tth iteration satisfies the rth constraint condition, S r (t) is the number of solutions that satisfy the rth constraint condition in the objective function solution set obtained by the swarm intelligence algorithm at the tth iteration, and G(t) is the number of solutions in the objective function solution set obtained by the swarm intelligence algorithm at the tth iteration; The priority of each constraint condition is adaptively determined according to the satisfaction degree, and the priority of the constraint condition is: Y r (t) = -(1-X r (t))*log[X r (t)]; Where Y r (t) is the priority of the rth constraint condition after the tth iteration of the swarm intelligence algorithm; According to the priority of the constraint conditions, the constraint conditions for setting the priority are: s.t={Y r (t)*str|r∈[1,Ns]} Where st is the set of constraints of the swarm intelligence algorithm after the tth iteration, str is the rth constraint, and Ns is the total number of constraints.
7. The energy supply optimization and control method based on the fusion of electricity, hydrogen, cold and heat according to claim 6, Features: The swarm intelligence algorithms include genetic, particle swarm, simulated annealing algorithms and improved algorithms thereof.
8. A system for optimizing energy supply and regulation based on the fusion of electricity, hydrogen, cold and heat. It is characterized in that An energy supply optimization and control method based on electric hydrogen cold and hot fusion as described in any one of claims 1 to 7, the system comprises: Data acquisition system, used to obtain energy equipment operating data of the electric hydrogen cold and hot fusion system; A model building unit, used to build an energy equipment optimization scheduling model for the electric hydrogen cold and hot fusion system based on the energy equipment operating condition data; A scheduling solution unit, used to solve the energy equipment optimization scheduling model by using a swarm intelligence algorithm to obtain an optimal energy scheduling result for the energy equipment of the electric hydrogen cold and heat fusion system; A scheduling control unit is used to perform energy scheduling optimization operation control on the energy equipment of the electric-hydrogen cold-heat fusion system according to the optimal energy scheduling result.
9. According to claim 8, an energy supply optimization and control system based on electric hydrogen cold and heat fusion, Features: The model building unit constructs a method for optimizing the scheduling model of energy equipment in the electric-hydrogen-cold-heat fusion system, including: Based on the economic and environmental goals of the electric-hydrogen-cooling-heat fusion system, the objective function for optimizing the scheduling of energy equipment is constructed; The constraint conditions for solving the objective function are constructed based on power balance constraints, thermal energy balance constraints, hydrogen energy balance constraints, energy storage equipment constraints, energy coupling equipment constraints and energy supply constraints, and the priorities of the constraint conditions are set.
10. According to claim 8, an energy supply optimization and control system based on electric hydrogen cold and heat fusion, Features: The electric-hydrogen cold-heat fusion system includes: a power supply module, an electric boiler, a heat storage tank, a gas boiler, a cogeneration unit and a hydrogen energy storage system, wherein the power supply module is connected to the electric load through a microgrid; the electric boiler, the heat storage tank, the gas boiler and the cogeneration unit are connected in sequence; the electric boiler and the cogeneration unit are both connected to the microgrid; the electric boiler is also connected to the heat load; the cogeneration unit is also connected to the heat storage tank; the hydrogen energy storage system is respectively connected to the electric load, the hydrogen load and the heat load.
