A rural integrated energy system planning method based on energy pairing clustering and distributed privacy collaboration
By using a method based on energy pairing clustering and distributed privacy collaboration, the problem of unreasonable equipment configuration in rural smart energy systems was solved, and efficient multi-energy complementary planning and improved power supply reliability were achieved.
Patent Information
- Application Number
- CN202611211093.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-11
- Publication Date
- 2026-11-20
AI Technical Summary
Current planning of rural distributed smart energy systems suffers from problems such as low efficiency of traditional centralized optimization, high risk of privacy leakage, high difficulty in multi-energy coupling optimization, and lack of refined consideration of the spatiotemporal heterogeneity of loads, resulting in unreasonable equipment configuration and insufficient energy supply.
A method based on energy pairing clustering and distributed privacy collaboration is adopted to construct the objective function and overall constraints of the integrated energy microgrid. The equipment capacity and operation strategy are determined through iterative optimization, and the multi-energy management system is used for collaborative scheduling and interaction to ensure the privacy protection of equipment parameters.
It has achieved efficient and coordinated planning of the electric-thermal-hydrogen multi-energy complementary system, reduced the curtailment rate of solar power, improved the overall energy utilization efficiency and power supply reliability, reduced line investment and transmission loss, and avoided equipment configuration redundancy.
Smart Images

Figure CN123140472A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of power system and energy planning technology, and in particular relates to a rural integrated energy system planning method based on energy pairing clustering and distributed privacy collaboration. Background Technology
[0002] The planning and operation of rural distributed smart energy systems currently face multiple technical bottlenecks. First, traditional centralized optimization computation is inefficient and struggles to meet real-time scheduling requirements. Second, traditional methods are highly susceptible to privacy leaks and exposure of trade secrets. Third, existing research often neglects the deep coupling of electricity, heat, and hydrogen; while introducing multi-energy complementarity mechanisms can improve efficiency, the resulting nonlinear and non-convex constraints significantly increase optimization difficulty. Furthermore, traditional distributed algorithms suffer from high communication overhead, slow convergence, and potential privacy risks in large-scale collaboration. Finally, current planning lacks detailed consideration of the spatiotemporal heterogeneity of rural loads; standardized configuration can easily lead to unreasonable equipment capacity allocation, resulting in wasted investment or insufficient energy supply. Summary of the Invention
[0003] This invention proposes a rural integrated energy system planning method based on energy pairing clustering and distributed privacy collaboration, which solves the technical problems of dimensionality curse, data privacy barriers and low utilization rate of multi-energy coupling in rural energy system planning.
[0004] The first aspect of this invention proposes a rural integrated energy system planning method based on energy pairing clustering and distributed privacy collaboration, the method comprising: Step S1: Construct the objective function of the integrated energy microgrid for the village to be planned, and determine the overall constraints of the integrated energy microgrid for the village to be planned; determine the models and sub-constraints corresponding to the energy supply equipment, energy conversion equipment and energy storage equipment in the integrated energy microgrid; The integrated energy system for the villages to be planned includes a multi-energy management system, a main grid, and several integrated energy microgrids. The integrated energy microgrid is a locally autonomous integrated energy subsystem based on the geographical distribution or functional block division of the village. It includes energy supply equipment, energy conversion equipment, energy storage equipment, and energy load equipment. The multi-energy management system is used to control the coordinated scheduling between integrated energy microgrids and the interaction between integrated energy microgrids and external energy sources. Step S2: Construct a distance weight matrix for every two integrated energy microgrids based on the geographic coordinates of each integrated energy microgrid; construct multiple energy interaction pairs based on all distance weight matrices, each energy interaction pair including an energy surplus microgrid and an energy shortage microgrid; wherein, an integrated energy microgrid belongs to only one energy interaction pair; Step S3: Based on the objective function, overall constraints and sub-constraints corresponding to the integrated energy microgrid, perform multiple iterations for each integrated energy microgrid. When the iteration termination condition is reached, use the capacity configuration and operation strategy of each device included in the integrated energy microgrid as the planning scheme for the integrated energy microgrid. When iterating on the integrated energy microgrid, the planned capacity, operation scheduling variables, and expected energy exchange volume of each device in the integrated energy microgrid are obtained by solving the actual executable quantity, objective function, and overall constraints corresponding to the integrated energy microgrid. The planned capacity and operation scheduling variables of each device are stored locally on the integrated energy microgrid as sensitive data, while the expected energy exchange volume of the microgrid is uploaded to the multi-energy management system as non-sensitive data. The multi-energy management system calculates the energy exchange volume corresponding to the energy interaction pairs of the integrated energy microgrid based on the model and sub-constraints of each device, distributes the energy exchange volume to the integrated energy microgrid, and updates the actual executable quantity of the integrated energy microgrid based on the energy exchange volume.
[0005] Preferably, in step S1, the objective function for constructing the integrated energy microgrid of the village to be planned is: in: in, For the first Annualized total lifecycle cost of an integrated energy microgrid For the first The annualized investment and construction cost of an integrated energy microgrid For the first Annualized operation and maintenance costs of an integrated energy microgrid; This is the capital recovery factor. , The discount rate is... For the project planning cycle, the energy supply equipment, energy conversion equipment, energy storage equipment, and energy load equipment included in the integrated energy microgrid will be allocated according to their attributes to power-type equipment sets, power generation and conversion equipment sets, energy-type equipment sets, and energy storage equipment sets. This refers to the device number within the power-type device set. It is a collection of power generation and conversion equipment, including photovoltaics, wind turbines, electrolyzers, fuel cells, and heat pumps. For the number The unit capacity investment cost of the equipment, Decision variables for planning capacity of power-type equipment to be optimized; This refers to the device number within the energy-type device set. It is a collection of energy storage devices, which include battery energy storage, hydrogen storage tanks, and thermal storage tanks. For the number The unit capacity investment cost of the equipment, Decision variables for planning capacity of energy-type equipment to be optimized; For the current time period, For the total scheduling cycle, For the first The grid interaction cost of an integrated energy microgrid For the first Inter-microgrid transaction costs of an integrated energy microgrid For the first The hydrogen energy procurement cost of an integrated energy microgrid For the first The energy storage degradation cost of an integrated energy microgrid For the first The equipment operation and maintenance costs of an integrated energy microgrid; These are time-of-use electricity purchase and sales prices, For the first An integrated energy microgrid in The amount of electricity purchased from the main network during that period. For the first An integrated energy microgrid in Electricity sold to the main network during the time period In order to be with the first The number of other integrated energy microgrids that interact with each other in an individual microgrid. In order to be with the first A collection of other integrated energy microgrids interconnected by an integrated energy microgrid. Service fees for integrated energy microgrid power trading To integrate the transmission cost coefficient of hydrogen energy trading between energy microgrids, For the first An integrated energy microgrid in Time period to the The electrical power transmitted by an integrated energy microgrid For the first An integrated energy microgrid in The time period starts from the The electrical power received by an integrated energy microgrid For the first An integrated energy microgrid in Time period to the The heat power transmitted by an integrated energy microgrid For the first An integrated energy microgrid in The time period starts from the The thermal power received by an integrated energy microgrid; Price based on external hydrogen suppliers, For the first The amount of hydrogen purchased by an integrated energy microgrid; ES stands for battery energy storage equipment, and EV stands for electric vehicle. This is the lifespan loss cost coefficient per unit discharge of energy storage. For the first In an integrated energy microgrid numbered as Energy storage devices in Discharge power over a given period of time; For unit power operation and maintenance cost, For the first In an integrated energy microgrid numbered as Power generation and conversion equipment in Operating power during a given time period.
[0006] Preferably, in step S1, the overall constraints of the integrated energy microgrid of the village to be planned are determined, wherein the overall constraints include planning and construction constraints, power balance constraints, thermal balance constraints and hydrogen energy balance constraints. Planning and construction constraints are as follows: The power balance constraints are: The thermal equilibrium constraint is: The hydrogen energy balance constraint is: in, For the first The upper limit of photovoltaic installed capacity in an integrated energy microgrid plan. For available roof area, Photovoltaic installed capacity per unit area For the first The upper limit of battery energy storage capacity in an integrated energy microgrid plan. For the first The ground area for installing energy storage in an integrated energy microgrid. Energy density per unit area of battery energy storage equipment; For the first An integrated energy microgrid in Photovoltaic power generation during the period For the first An integrated energy microgrid in Wind turbine power generation during a given time period For the first An integrated energy microgrid in Fuel cell power generation during a given time period For the first An integrated energy microgrid in The amount of electricity purchased from the main network during that period. For the first An integrated energy microgrid in The sum of electrical power received from other integrated energy microgrids during a given time period. For the first An integrated energy microgrid in Electricity load during a given time period For the first An integrated energy microgrid in The electrical power consumed by the electrolytic cell during a given period of time. For the first An integrated energy microgrid in The electrical power consumed by the electric boiler during a certain period of time. For the first An integrated energy microgrid in The amount of electricity sold to the main grid during a given time period. For the first An integrated energy microgrid in The sum of electrical power sent to other integrated energy microgrids during a given time period. For the first An integrated energy microgrid in The charging power of battery storage devices during a given time period. For charging efficiency, For the first An integrated energy microgrid in The discharge power of the battery energy storage device during the time period. For discharge efficiency; For the first An integrated energy microgrid in The heat output of solar collectors during a given time period For the first An integrated energy microgrid in The heat output of the fuel cell during a given time period For the first An integrated energy microgrid in The heat output power of the heat pump during a given time period For the first An integrated energy microgrid in The heat output of the electric boiler during a given time period For the first An integrated energy microgrid in The heat release power of the thermal storage equipment during a given period For the first An integrated energy microgrid in Heat load during the period For the first An integrated energy microgrid in The charging power of the thermal storage equipment during the time period For the first An integrated energy microgrid in The amount of heat wasted during a given period; For the first An integrated energy microgrid in The hydrogen production capacity of the electrolyzer during a given time period. For the first An integrated energy microgrid in Hydrogen energy power purchased from external sources during certain periods For the first An integrated energy microgrid in Hydrogen release capacity of the hydrogen storage tank during a given period For the first An integrated energy microgrid in The hydrogen energy consumed by fuel cells during a given period For the first An integrated energy microgrid in Hydrogen load during the period, For the first An integrated energy microgrid in Hydrogen filling power of the hydrogen storage tank during a given period For the first An integrated energy microgrid in Hydrogen disposal power during a given period.
[0007] Preferably, in step S1, the models and sub-constraints corresponding to the energy supply equipment, energy conversion equipment, and energy storage equipment in the integrated energy microgrid are determined, wherein: The electrolytic hydrogen production model and constraints for hydrogen production equipment in the energy supply system are as follows: The combined heat and power model for fuel cells in energy conversion equipment is as follows: The state of charge constraints for energy storage devices are: in, For the first An integrated energy microgrid in Hydrogen energy produced by the time-lapse electrolyzer, For the electrolytic cell in Power consumed during a period of time For the efficiency of electro-hydrogen conversion, To improve the operating efficiency of hydrogen production equipment, This is the lower limit of the minimum electrical power required for the operation of the electrolytic cell. This represents the planned upper limit of the electrolytic cell capacity. For the first An integrated energy microgrid in The power generation of fuel cells during different time periods For fuel cells in Hydrogen energy power consumed during the period The hydrogen-to-electricity conversion coefficient, For the power generation efficiency of fuel cells, For fuel cells in Heat production capacity during a given time period Thermoelectric ratio; For the first An integrated energy microgrid in The percentage of the state of charge of energy storage devices during different time periods. For the first An integrated energy microgrid in The percentage of the state of charge of energy storage devices during different time periods. For energy storage devices Charging or power output during a given period The charging efficiency of energy storage devices. The scheduling interval is used as the time step for a single time period. For the first The rated capacity of energy storage equipment in an integrated energy microgrid plan. For the first An integrated energy microgrid in The discharge or energy release power of the time-limited energy storage device. The discharge efficiency of energy storage devices. This is the minimum permissible state of charge limit for energy storage devices. This represents the upper limit of the maximum permissible state of charge for energy storage devices. This refers to the state of charge of the energy storage device at the end of the dispatch cycle. This represents the initial state of charge of the energy storage device.
[0008] Preferably, in step S2, a distance weight matrix is constructed for every two integrated energy microgrids based on their geographical coordinates; multiple energy interaction pairs are constructed based on all distance weight matrices, each energy interaction pair including an energy surplus microgrid and an energy shortage microgrid, including: Step S21: Construct a distance weight matrix for every two integrated energy microgrids based on the geographic coordinates of each integrated energy microgrid. ,in: For the first The horizontal axis of an integrated energy microgrid For the first The vertical axis of an integrated energy microgrid For the first The horizontal axis of an integrated energy microgrid For the first The vertical axis of an integrated energy microgrid; , , The first The integrated energy microgrid and the first The comprehensive transmission loss weight matrix of the power of an integrated energy microgrid, the first The integrated energy microgrid and the first The comprehensive transmission loss weight matrix of thermal energy in an integrated energy microgrid, the first The integrated energy microgrid and the first The comprehensive transmission loss weight matrix of hydrogen energy in an integrated energy microgrid. , , These are the energy, heat, and hydrogen energy transmission loss coefficients per unit distance, respectively. Step S22: The integrated energy microgrid calculates the initial net energy exchange demand based on local load forecasting and renewable energy output forecasting. in, For the first An integrated energy microgrid in Initial net energy surplus or deficit for the period; Step S23: Using integrated energy microgrids as nodes, construct the topology of the integrated energy system for the villages to be planned; with the goal of minimizing the transmission loss of the integrated energy system for the villages to be planned, perform graph theory matching based on the entire distance weight matrix and the topology, and take the optimal complementary microgrid combination in the matching results as energy interaction pairs, each energy interaction pair including an energy surplus microgrid and an energy shortage microgrid; wherein, the integrated energy system is a system composed of all integrated energy microgrids.
[0009] Preferably, in step S3, the iteration terminates when one of the following judgment conditions is met: Energy balance tolerance is less than the first threshold: ; The rate of change in the total cost of the integrated energy system in the planned rural area is less than the second threshold: ; The maximum number of iterations has been reached. ; in, For the first The energy exchange volume calculated by an integrated energy microgrid at the current iteration number. The first threshold, This represents the total cost of the integrated energy system for the village to be planned at the current iteration number. The total cost of the integrated energy system for the village to be planned is given when the number of iterations equals the current iteration number minus 1. The second threshold, This represents the current iteration number.
[0010] Preferably, in step S3, the multi-energy management system calculates the energy exchange volume corresponding to the energy interaction pairs of the integrated energy microgrid based on the models and sub-constraints of each device corresponding to the integrated energy microgrid, and distributes the energy exchange volume to the integrated energy microgrid, wherein: The multi-energy management system calculates the total power imbalance corresponding to each energy interaction pair. The calculation formula is: The formula for calculating the energy exchange volume of the energy interaction pairs corresponding to the integrated energy microgrid is as follows: ; in, For the first Each integrated energy microgrid corresponds to a microgrid cluster set divided according to energy type; and The first An integrated energy microgrid and the first An integrated energy microgrid targets energy types. The initial energy exchange requirements, The energy exchange volume corresponding to the energy interaction pairs of the integrated energy microgrid.
[0011] Preferably, in step S3, updating the actual executable quantity corresponding to the integrated energy microgrid based on the energy exchange quantity includes: The energy exchange volume corresponding to the energy interaction pairs of the integrated energy microgrid As the target value for exchange ; Integrated energy microgrids calculate and feedback actual achievable quantities based on exchange target values. Among them, when the exchange target value satisfies the sub-constraints of the integrated energy microgrid, equal When the exchange target value does not satisfy the sub-constraints of the integrated energy microgrid, It equals the actual boundary value of the exchange power that the integrated energy microgrid can respond to due to the extreme operating limits of its internal equipment.
[0012] A second aspect of this invention proposes a rural integrated energy system planning device based on energy pairing clustering and distributed privacy collaboration, the device comprising: Model building module: Configured to construct the objective function of the integrated energy microgrid for the village to be planned, determine the overall constraints of the integrated energy microgrid for the village to be planned; determine the model and sub-constraints corresponding to the energy supply equipment, energy conversion equipment and energy storage equipment in the integrated energy microgrid; The integrated energy system for the villages to be planned includes a multi-energy management system, a main grid, and several integrated energy microgrids. The integrated energy microgrid is a locally autonomous integrated energy subsystem based on the geographical distribution or functional block division of the village. It includes energy supply equipment, energy conversion equipment, energy storage equipment, and energy load equipment. The multi-energy management system is used to control the coordinated scheduling between integrated energy microgrids and the interaction between integrated energy microgrids and external energy sources. Energy interaction pair generation module: configured to construct a distance weight matrix for every two integrated energy microgrids based on the geographic coordinates of each integrated energy microgrid; construct multiple energy interaction pairs based on the total distance weight matrix, each energy interaction pair including one energy surplus microgrid and one energy shortage microgrid; wherein, an integrated energy microgrid belongs to only one energy interaction pair; The calculation module is configured to perform multiple iterations on each integrated energy microgrid based on the objective function, overall constraints, and sub-constraints corresponding to the integrated energy microgrid. When the iteration termination condition is reached, the capacity configuration and operation strategy of each device included in the integrated energy microgrid are used as the planning scheme for the integrated energy microgrid. When iterating on the integrated energy microgrid, the planned capacity, operation scheduling variables, and expected energy exchange volume of each device in the integrated energy microgrid are obtained by solving the actual executable quantity, objective function, and overall constraints corresponding to the integrated energy microgrid. The planned capacity and operation scheduling variables of each device are stored locally on the integrated energy microgrid as sensitive data, while the expected energy exchange volume of the microgrid is uploaded to the multi-energy management system as non-sensitive data. The multi-energy management system calculates the energy exchange volume corresponding to the energy interaction pairs of the integrated energy microgrid based on the model and sub-constraints of each device, distributes the energy exchange volume to the integrated energy microgrid, and updates the actual executable quantity of the integrated energy microgrid based on the energy exchange volume.
[0013] A third aspect of the present invention provides an electronic device, the electronic device comprising: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the method as described above.
[0014] A fourth aspect of the present invention provides a non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform the method described above.
[0015] This invention enables efficient collaborative planning of an electric-thermal-hydrogen multi-energy complementary system; it significantly reduces the curtailment rate of solar power, improves the overall energy utilization efficiency and power supply reliability; it divides the dispersed microgrid into several low-loss energy interaction pairs, reducing the complexity of the problem, and also ensures the economic efficiency of the physical connection between microgrids, reducing unnecessary line investment and transmission losses; it avoids the equipment configuration redundancy or insufficient power supply caused by traditional unified standards, and realizes precise planning tailored to local conditions. Attached Figure Description
[0016] Figure 1 This is a flowchart illustrating a rural integrated energy system planning method based on energy pairing clustering and distributed privacy collaboration, provided by the present invention.
[0017] Figure 2 This is a schematic diagram illustrating the interaction between the integrated energy microgrid and the multi-energy management system provided by the present invention. Detailed Implementation
[0018] To make the objectives, technical solutions, and advantages of the embodiments of this disclosure clearer, the technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this disclosure, and not all embodiments. Based on the embodiments of this disclosure, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this disclosure.
[0019] like Figures 1-2 As shown, a rural integrated energy system planning method based on energy pairing clustering and distributed privacy collaboration is presented. The method includes: Step S1: Construct the objective function of the integrated energy microgrid for the village to be planned, and determine the overall constraints of the integrated energy microgrid for the village to be planned; determine the models and sub-constraints corresponding to the energy supply equipment, energy conversion equipment and energy storage equipment in the integrated energy microgrid; The integrated energy system for the villages to be planned includes a multi-energy management system, a main grid, and several integrated energy microgrids. The integrated energy microgrid is a locally autonomous integrated energy subsystem based on the geographical distribution or functional block division of the village. It includes energy supply equipment, energy conversion equipment, energy storage equipment, and energy load equipment. The multi-energy management system is used to control the coordinated scheduling between integrated energy microgrids and the interaction between integrated energy microgrids and external energy sources. Step S2: Construct a distance weight matrix for every two integrated energy microgrids based on the geographic coordinates of each integrated energy microgrid; construct multiple energy interaction pairs based on all distance weight matrices, each energy interaction pair including an energy surplus microgrid and an energy shortage microgrid; wherein, an integrated energy microgrid belongs to only one energy interaction pair; Step S3: Based on the objective function, overall constraints and sub-constraints corresponding to the integrated energy microgrid, perform multiple iterations for each integrated energy microgrid. When the iteration termination condition is reached, use the capacity configuration and operation strategy of each device included in the integrated energy microgrid as the planning scheme for the integrated energy microgrid. When iterating on the integrated energy microgrid, the planned capacity, operation scheduling variables, and expected energy exchange volume of each device in the integrated energy microgrid are obtained by solving the actual executable quantity, objective function, and overall constraints corresponding to the integrated energy microgrid. The planned capacity and operation scheduling variables of each device are stored locally on the integrated energy microgrid as sensitive data, while the expected energy exchange volume of the microgrid is uploaded to the multi-energy management system as non-sensitive data. The multi-energy management system calculates the energy exchange volume corresponding to the energy interaction pairs of the integrated energy microgrid based on the model and sub-constraints of each device, distributes the energy exchange volume to the integrated energy microgrid, and updates the actual executable quantity of the integrated energy microgrid based on the energy exchange volume.
[0020] Furthermore, in step S1, the objective function for constructing the integrated energy microgrid of the village to be planned is: in: in, For the first Annualized total lifecycle cost of an integrated energy microgrid For the first The annualized investment and construction cost of an integrated energy microgrid For the first Annualized operation and maintenance costs of an integrated energy microgrid; This is the capital recovery factor. The discount rate is... For the project planning cycle, the energy supply equipment, energy conversion equipment, energy storage equipment, and energy load equipment included in the integrated energy microgrid will be allocated according to their attributes to power-type equipment sets, power generation and conversion equipment sets, energy-type equipment sets, and energy storage equipment sets. This refers to the device number within the power-type device set. It is a collection of power generation and conversion equipment, including photovoltaic (PV), wind turbine (WT), electrolyzer (EL), fuel cell (FC), and heat pump (HP). For the number The unit capacity investment cost of the equipment, Decision variables for planning capacity of power-type equipment to be optimized; This refers to the device number within the energy-type device set. It is a collection of energy storage devices, including battery energy storage (ES), hydrogen storage tanks (HS), and thermal energy storage tanks (TES). For the number The unit capacity investment cost of the equipment, Decision variables for planning capacity of energy-type equipment to be optimized; For the current time period, For the total scheduling cycle, For the first The grid interaction cost of an integrated energy microgrid For the first Inter-microgrid transaction costs of an integrated energy microgrid For the first The hydrogen energy procurement cost of an integrated energy microgrid For the first The energy storage degradation cost of an integrated energy microgrid For the first The equipment operation and maintenance costs of an integrated energy microgrid; These are time-of-use electricity purchase and sales prices, For the first An integrated energy microgrid in The amount of electricity purchased from the main network during that period. For the first An integrated energy microgrid in The amount of electricity sold to the main grid during a given time period; In order to be with the first The number of other integrated energy microgrids that interact with each other in an individual microgrid. In order to be with the first A collection of other integrated energy microgrids interconnected by an integrated energy microgrid. Service fees for integrated energy microgrid power trading To integrate the transmission cost coefficient of hydrogen energy trading between energy microgrids, For the first An integrated energy microgrid in Time period to the The electrical power transmitted by an integrated energy microgrid For the first An integrated energy microgrid in The time period starts from the The electrical power received by an integrated energy microgrid For the first An integrated energy microgrid in Time period to the The heat power transmitted by an integrated energy microgrid For the first An integrated energy microgrid in The time period starts from the The thermal power received by an integrated energy microgrid; Price based on external hydrogen suppliers, For the first The amount of hydrogen purchased by an integrated energy microgrid; ES stands for battery energy storage equipment, and EV stands for electric vehicle. This is the lifespan loss cost coefficient per unit discharge of energy storage. For the first In an integrated energy microgrid numbered as Energy storage devices in Discharge power over a given period of time; For unit power operation and maintenance cost, For the first In an integrated energy microgrid numbered as Power generation and conversion equipment in Operating power during a given time period.
[0021] Furthermore, in step S1, the overall constraints of the integrated energy microgrid of the village to be planned are determined, wherein the overall constraints include planning and construction constraints, power balance constraints, thermal balance constraints and hydrogen energy balance constraints. Planning and construction constraints are as follows: The power balance constraints are: The thermal equilibrium constraint is: The hydrogen energy balance constraint is: in, For the first The upper limit of photovoltaic installed capacity in an integrated energy microgrid plan. For available roof area, Photovoltaic installed capacity per unit area For the first The upper limit of battery energy storage capacity in an integrated energy microgrid plan. For the first The ground area for installing energy storage in an integrated energy microgrid. Energy density per unit area of battery energy storage equipment; For the first An integrated energy microgrid in Photovoltaic power generation during the period For the first An integrated energy microgrid in Wind turbine power generation during a given time period For the first An integrated energy microgrid in Fuel cell power generation during a given time period For the first An integrated energy microgrid in The amount of electricity purchased from the main network during that period. For the first An integrated energy microgrid in The sum of electrical power received from other integrated energy microgrids during a given time period. For the first An integrated energy microgrid in Electricity load during a given time period For the first An integrated energy microgrid in The electrical power consumed by the electrolytic cell during a given period of time. For the first An integrated energy microgrid in The electrical power consumed by the electric boiler during a certain period of time. For the first An integrated energy microgrid in The amount of electricity sold to the main grid during a given time period. For the first An integrated energy microgrid in The sum of electrical power sent to other integrated energy microgrids during a given time period. For the first An integrated energy microgrid in The charging power of battery storage devices during a given time period. For charging efficiency, For the first An integrated energy microgrid in The discharge power of the battery energy storage device during the time period. For discharge efficiency; For the first An integrated energy microgrid in The heat output of solar collectors during a given time period For the first An integrated energy microgrid in The heat output of the fuel cell during a given time period For the first An integrated energy microgrid in The heat output power of the heat pump during a given time period For the first An integrated energy microgrid in The heat output of the electric boiler during a given time period For the first An integrated energy microgrid in The heat release power of the thermal storage equipment during a given period For the first An integrated energy microgrid in Heat load during the period For the first An integrated energy microgrid in The charging power of the thermal storage equipment during the time period For the first An integrated energy microgrid in The amount of heat wasted during a given period; For the first An integrated energy microgrid in The hydrogen production capacity of the electrolyzer during a given time period. For the first An integrated energy microgrid in Hydrogen energy power purchased from external sources during certain periods For the first An integrated energy microgrid in Hydrogen release capacity of the hydrogen storage tank during a given period For the first An integrated energy microgrid in The hydrogen energy consumed by fuel cells during a given period For the first An integrated energy microgrid in Hydrogen load during the period, For the first An integrated energy microgrid in Hydrogen filling power of the hydrogen storage tank during a given period For the first An integrated energy microgrid in Hydrogen disposal power during a given period.
[0022] Further, in step S1, the models and sub-constraints corresponding to the energy supply equipment, energy conversion equipment, and energy storage equipment in the integrated energy microgrid are determined, wherein: The electrolytic hydrogen production model and constraints for hydrogen production equipment in the energy supply system are as follows: The combined heat and power model for fuel cells in energy conversion equipment is as follows: The state of charge constraints for energy storage devices are: in, For the first An integrated energy microgrid in Hydrogen energy produced by the time-lapse electrolyzer, For the electrolytic cell in Power consumed during a period of time For the efficiency of electro-hydrogen conversion, To improve the operating efficiency of hydrogen production equipment, This is the lower limit of the minimum electrical power required for the operation of the electrolytic cell. This represents the planned upper limit of the electrolytic cell capacity. For the first An integrated energy microgrid in The power generation of fuel cells during different time periods For fuel cells in Hydrogen energy power consumed during the period The hydrogen-to-electricity conversion coefficient, For the power generation efficiency of fuel cells, For fuel cells in Heat production capacity during a given time period Thermoelectric ratio; For the first An integrated energy microgrid in The percentage of the state of charge of energy storage devices during different time periods. For the first An integrated energy microgrid in The percentage of the state of charge of energy storage devices during different time periods. For energy storage devices Charging or power output during a given period The charging efficiency of energy storage devices. The scheduling interval is used as the time step for a single time period. For the first The rated capacity of energy storage equipment in an integrated energy microgrid plan. For the first An integrated energy microgrid in The discharge or energy release power of the time-limited energy storage device. The discharge efficiency of energy storage devices. This is the minimum permissible state of charge limit for energy storage devices. This represents the upper limit of the maximum permissible state of charge for energy storage devices. This refers to the state of charge of the energy storage device at the end of the dispatch cycle. This represents the initial state of charge of the energy storage device.
[0023] In step S2, a distance weight matrix is constructed for every two integrated energy microgrids based on their geographical coordinates; multiple energy interaction pairs are constructed based on the total distance weight matrix, each energy interaction pair including one energy surplus microgrid and one energy shortage microgrid, including: Step S21: Construct a distance weight matrix for every two integrated energy microgrids based on the geographic coordinates of each integrated energy microgrid. ,in: For the first The horizontal axis of an integrated energy microgrid For the first The vertical axis of an integrated energy microgrid For the first The horizontal axis of an integrated energy microgrid For the first The vertical axis of an integrated energy microgrid; , , The first The integrated energy microgrid and the first The comprehensive transmission loss weight matrix of the power of an integrated energy microgrid, the first The integrated energy microgrid and the first The comprehensive transmission loss weight matrix of thermal energy in an integrated energy microgrid, the first The integrated energy microgrid and the first The comprehensive transmission loss weight matrix of hydrogen energy in an integrated energy microgrid. , , These are the energy, heat, and hydrogen energy transmission loss coefficients per unit distance, respectively. Step S22: The integrated energy microgrid calculates the initial net energy exchange demand based on local load forecasting and renewable energy output forecasting. in, For the first An integrated energy microgrid in Initial net energy surplus or deficit for the period; Step S23: Using integrated energy microgrids as nodes, construct the topology of the integrated energy system for the villages to be planned; with the goal of minimizing the transmission loss of the integrated energy system for the villages to be planned, perform graph theory matching based on the entire distance weight matrix and the topology, and take the optimal complementary microgrid combination in the matching results as energy interaction pairs, each energy interaction pair including an energy surplus microgrid and an energy shortage microgrid; wherein, the integrated energy system is a system composed of all integrated energy microgrids.
[0024] In this invention, step S22, when constructing energy interaction pairs, uses only the initial net power surplus or deficit as the pairing basis. This is because electricity is the fastest-transmitting and most flexible basic energy carrier in multi-energy coupled systems. If the surplus or deficit of both thermal and hydrogen energy were simultaneously included in the interaction pairing, the matching logic of the interaction topology would become extremely complex due to the large transmission losses of thermal energy, the limited construction of hydrogen pipelines, and the strict physical distance constraints on both, leading to the curse of dimensionality in the algorithm. Therefore, this invention adopts a power-oriented pairing strategy, which not only significantly reduces the computational complexity of pairing but also allows the received shared electricity to be converted into hydrogen and thermal energy locally through energy conversion devices on the receiving end microgrid (such as hydrogen production in electrolyzers and heating in electric boilers), thereby indirectly and efficiently achieving a comprehensive supply and demand balance for the microgrid group at the global "electricity-heat-hydrogen" level.
[0025] In step S23, a maximum penalty factor is introduced during graph theory matching to construct a binary assignment optimization model with complementary state constraints. Under the premise that each integrated energy microgrid is paired only once, the maximum penalty factor automatically filters out invalid pairings that are both surplus or both shortage. Then, guided by minimizing global power transmission losses, the optimal physical complementary interaction topology between integrated energy microgrids is solved, effectively reducing the computational dimensionality of subsequent collaborative optimization and providing guidance for actual physical line planning. In this invention, the binary assignment optimization model is as follows: In the formula, To integrate the total number of energy microgrids, To identify the first An integrated energy microgrid and the first Identifiers for integrated energy microgrids belonging to the same energy interaction pair. When the value is 1, the first An integrated energy microgrid and the first Each integrated energy microgrid belongs to the same energy interaction pair; When the value is 0, the first An integrated energy microgrid and the first Each integrated energy microgrid does not belong to the same energy interaction pair; This is the corrected loss coefficient. It serves as a maximum penalty factor, used to avoid integrated energy microgrids that are both in surplus or both in shortage and to prevent ineffective pairing. For the first i The initial net power surplus or deficit of an integrated energy microgrid. For the first j The initial net power surplus or deficit of an integrated energy microgrid. For the first i The integrated energy microgrid and the first j The comprehensive transmission loss weight matrix of an integrated energy microgrid.
[0026] In step S3, the iteration terminates when one of the following conditions is met: Energy balance tolerance is less than the first threshold: ; The rate of change in the total cost of the integrated energy system in the planned rural area is less than the second threshold: ; The maximum number of iterations has been reached. ; in, For the first The energy exchange volume calculated by an integrated energy microgrid at the current iteration number. The first threshold, This represents the total cost of the integrated energy system for the village to be planned at the current iteration number. The total cost of the integrated energy system for the village to be planned is given when the number of iterations equals the current iteration number minus 1. The second threshold, This represents the current iteration number.
[0027] In this invention, during the first iteration, Set to 1, Data equal to 0 is initialized to a maximum value.
[0028] Further, in step S3, the multi-energy management system calculates the energy exchange volume corresponding to the energy interaction pairs of the integrated energy microgrid based on the models and sub-constraints of each device corresponding to the integrated energy microgrid, and distributes the energy exchange volume to the integrated energy microgrid, wherein: The multi-energy management system calculates the total power imbalance corresponding to each energy interaction pair. The calculation formula is: The formula for calculating the energy exchange volume of the energy interaction pairs corresponding to the integrated energy microgrid is as follows: ; in, For the first Each integrated energy microgrid corresponds to a microgrid cluster set divided according to energy type; and The first An integrated energy microgrid and the first An integrated energy microgrid targets energy types. The initial energy exchange requirements, The energy exchange volume corresponding to the energy interaction pairs of the integrated energy microgrid.
[0029] In this invention, Indicates the type of energy. These represent electrical energy, thermal energy, and hydrogen energy, respectively. The amount of energy exchanged between energy interaction pairs is determined by the smaller of the absolute values of surplus and shortage, ensuring the security boundary of physical interactions between microgrids.
[0030] Further, in step S3, updating the actual executable quantity corresponding to the integrated energy microgrid based on the energy exchange quantity includes: The energy exchange volume corresponding to the energy interaction pairs of the integrated energy microgrid As the target value for exchange ; Integrated energy microgrids calculate and feedback actual achievable quantities based on exchange target values. Among them, when the exchange target value satisfies the sub-constraints of the integrated energy microgrid, equal When the exchange target value does not satisfy the sub-constraints of the integrated energy microgrid, It equals the actual boundary value of the exchange power that the integrated energy microgrid can respond to due to the extreme operating limits of its internal equipment.
[0031] In this invention, the integrated energy microgrid only exchanges non-sensitive data and does not need to expose internal equipment parameters. This invention uses the capacity configuration and operation strategy of each device included in the integrated energy microgrid as the planning scheme for the microgrid. For example, the two integrated energy microgrids included in the energy interaction pair are prioritized for line construction, including power cables, heating pipelines, and hydrogen supply pipelines, forming a locally interconnected integrated energy microgrid group. Photovoltaic power is preferentially deployed on the roofs of large agricultural facilities (such as greenhouses), energy storage equipment is placed at load centers to reduce line losses, and hydrogen energy facilities are placed in independent areas that meet safety distance requirements (such as >15 meters from residential areas).
[0032] This invention provides a specific embodiment of a rural integrated energy system planning method based on energy pairing clustering and distributed privacy collaboration.
[0033] This embodiment selects a typical rural community as the planning object. This community contains six integrated energy microgrids (IEMs), denoted as IEM1, IEM2, IEM3, IEM4, IEM5, and IEM6. The six integrated energy microgrids serve different functional areas such as agricultural planting areas, livestock and poultry breeding areas, agricultural product processing areas, and residential areas. The final system planning configuration determined by the method of this invention is as follows: total photovoltaic installed capacity of 480kW, total battery energy storage system capacity of 600kWh, total hydrogen storage system capacity of 150kg, total power of electrolysis hydrogen production unit of 150kW, total capacity of fuel cell cogeneration unit of 120kW, and total capacity of thermal storage tank of 8000L.
[0034] Basic data for each planning area was collected, including geographic coordinates, available rooftop area, historical meteorological data (for photovoltaic power output prediction), typical industrial load demand curves (such as irrigation load in planting areas and constant temperature load in aquaculture areas), initial energy storage settings, and investment cost parameters for each device. Euclidean distances were calculated based on the geographic coordinates of each IEM (Integrated Energy Management Area), constructing a 6×6 distance matrix. Unit transmission loss coefficients for electricity, heat, and hydrogen were set (0.03, 0.10, and 0.02, respectively), and combined with the distance matrix to generate a comprehensive transmission weight matrix, serving as the basis for subsequent spatial layout planning.
[0035] A mixed-integer linear programming model is established for each integrated energy microgrid. The objective function is set to minimize the annualized total lifecycle cost of the system, which includes equipment investment and construction costs as well as annualized operation and maintenance costs. Simultaneously, constraints are set, divided into two categories: first, planning and construction constraints, limiting the installed capacity of photovoltaics and energy storage to not exceeding the roof area and land resource limits; second, physical operation constraints, ensuring real-time supply and demand balance of electricity, heat, and hydrogen energy within a typical daily dispatch cycle, and meeting the requirements for continuous state of charge of energy storage and upper and lower limits of equipment output.
[0036] Based on the collected data, the net energy demand of each integrated energy microgrid on a typical day was calculated, identifying IEM1 and IEM3 as energy surplus microgrids, and IEM2, IEM4, IEM5, and IEM6 as energy shortage microgrids. Optimal pairing was performed with the goal of minimizing global transmission loss, determining three pairs of energy interaction topologies: IEM1 paired with IEM2, IEM1 paired with IEM4, and IEM3 paired with IEM5. Accordingly, the system was divided into two power interaction pairs, one thermal interaction pair, and one hydrogen interaction pair, completing the planning of the physical connection network between microgrids.
[0037] Each integrated energy microgrid solves its local model in parallel, uploading only the aggregated energy exchange volume to the multi-energy management system, strictly shielding internal loads and equipment parameters. The multi-energy management system calculates and distributes the optimal exchange target, considering losses, based on the pairing relationships. Each integrated energy microgrid verifies the feasibility based on its local construction constraints and provides feedback. After four bidirectional iterations, the system converges, with a total computation time of only 17.64 seconds, far faster than traditional methods, thus determining the optimal equipment capacity configuration and operating strategy.
[0038] The final planning scheme and various indicators will be output based on the optimization results.
[0039] The apparatus provided for carrying out the present invention will be described below. The specific implementation process and technical effects are as described above and will not be repeated below.
[0040] Optionally, embodiments of the present invention provide a rural integrated energy system planning device based on energy pairing clustering and distributed privacy collaboration, the device comprising: Model building module: Configured to construct the objective function of the integrated energy microgrid for the village to be planned, determine the overall constraints of the integrated energy microgrid for the village to be planned; determine the model and sub-constraints corresponding to the energy supply equipment, energy conversion equipment and energy storage equipment in the integrated energy microgrid; The integrated energy system for the villages to be planned includes a multi-energy management system, a main grid, and several integrated energy microgrids. The integrated energy microgrid is a locally autonomous integrated energy subsystem based on the geographical distribution or functional block division of the village. It includes energy supply equipment, energy conversion equipment, energy storage equipment, and energy load equipment. The multi-energy management system is used to control the coordinated scheduling between integrated energy microgrids and the interaction between integrated energy microgrids and external energy sources. Energy interaction pair generation module: configured to construct a distance weight matrix for every two integrated energy microgrids based on the geographic coordinates of each integrated energy microgrid; construct multiple energy interaction pairs based on the total distance weight matrix, each energy interaction pair including one energy surplus microgrid and one energy shortage microgrid; wherein, an integrated energy microgrid belongs to only one energy interaction pair; The calculation module is configured to perform multiple iterations on each integrated energy microgrid based on the objective function, overall constraints, and sub-constraints corresponding to the integrated energy microgrid. When the iteration termination condition is reached, the capacity configuration and operation strategy of each device included in the integrated energy microgrid are used as the planning scheme for the integrated energy microgrid. When iterating on the integrated energy microgrid, the planned capacity, operation scheduling variables, and expected energy exchange volume of each device in the integrated energy microgrid are obtained by solving the actual executable quantity, objective function, and overall constraints corresponding to the integrated energy microgrid. The planned capacity and operation scheduling variables of each device are stored locally on the integrated energy microgrid as sensitive data, while the expected energy exchange volume of the microgrid is uploaded to the multi-energy management system as non-sensitive data. The multi-energy management system calculates the energy exchange volume corresponding to the energy interaction pairs of the integrated energy microgrid based on the model and sub-constraints of each device, distributes the energy exchange volume to the integrated energy microgrid, and updates the actual executable quantity of the integrated energy microgrid based on the energy exchange volume.
[0041] The above-described device is used to execute the method provided in the foregoing embodiments, and its implementation principle and technical effect are similar, so they will not be described again here.
[0042] These modules can be one or more integrated circuits configured to implement the above methods, such as one or more Application Specific Integrated Circuits (ASICs), one or more digital signal processors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs). Alternatively, when a module is implemented using processing element scheduler code, the processing element can be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. Furthermore, these modules can be integrated together as a system-on-a-chip (SOC).
[0043] The modules described above can be connected or communicate with each other via wired or wireless connections. Wired connections may include metal cables, optical fibers, hybrid cables, or any combination thereof. Wireless connections may include connections via LAN, WAN, Bluetooth, ZigBee, or NFC, or any combination thereof. Two or more modules can be combined into a single module, and any module can be divided into two or more units. Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems and devices described above can be referred to the corresponding processes in the method embodiments, and will not be repeated here.
[0044] It should be noted that these modules can be one or more integrated circuits configured to implement the above methods, such as one or more Application Specific Integrated Circuits (ASICs), one or more Digital Signal Processors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs). Furthermore, when a module is implemented using processing element scheduler code, the processing element can be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. Additionally, these modules can be integrated together to form a System-on-a-Chip (SOC).
[0045] The electronic device includes a processor, memory, communication interface, display screen, and input device connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, carrier networks, Near Field Communication (NFC), or other technologies. The display screen can be an LCD screen or an e-ink screen. The input device can be a touch layer covering the display screen, buttons, a trackball, or a touchpad mounted on the device's casing, or an external keyboard, touchpad, or mouse.
[0046] The present invention also provides a program product, such as a computer-readable storage medium, including a program that, when executed by a processor, is used to perform the above-described method embodiments.
[0047] In the several embodiments provided by this invention, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0048] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0049] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or in the form of hardware plus software functional units.
[0050] The integrated units implemented as software functional units described above can be stored in a computer-readable storage medium. These software functional units, stored in a storage medium, include several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute some steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
Claims
1. A rural integrated energy system planning method based on energy pairing clustering and distributed privacy collaboration, characterized in that, The method includes: Step S1: Construct the objective function of the integrated energy microgrid for the village to be planned, and determine the overall constraints of the integrated energy microgrid for the village to be planned; determine the models and sub-constraints corresponding to the energy supply equipment, energy conversion equipment and energy storage equipment in the integrated energy microgrid; The integrated energy system for the villages to be planned includes a multi-energy management system, a main grid, and several integrated energy microgrids. The integrated energy microgrid is a locally autonomous integrated energy subsystem based on the geographical distribution or functional block division of the village. It includes energy supply equipment, energy conversion equipment, energy storage equipment, and energy load equipment. The multi-energy management system is used to control the coordinated scheduling between integrated energy microgrids and the interaction between integrated energy microgrids and external energy sources. Step S2: Construct a distance weight matrix for every two integrated energy microgrids based on the geographic coordinates of each integrated energy microgrid; construct multiple energy interaction pairs based on all distance weight matrices, each energy interaction pair including an energy surplus microgrid and an energy shortage microgrid; In this case, an integrated energy microgrid belongs to only one energy interaction pair; Step S3: Based on the objective function, overall constraints and sub-constraints corresponding to the integrated energy microgrid, perform multiple iterations for each integrated energy microgrid. When the iteration termination condition is reached, use the capacity configuration and operation strategy of each device included in the integrated energy microgrid as the planning scheme for the integrated energy microgrid. When iterating on the integrated energy microgrid, the planned capacity, operation scheduling variables, and expected energy exchange volume of each device in the integrated energy microgrid are obtained by solving the actual executable quantity, objective function, and overall constraints corresponding to the integrated energy microgrid. The planned capacity and operation scheduling variables of each device are stored locally on the integrated energy microgrid as sensitive data, while the expected energy exchange volume of the microgrid is uploaded to the multi-energy management system as non-sensitive data. The multi-energy management system calculates the energy exchange volume corresponding to the energy interaction pairs of the integrated energy microgrid based on the model and sub-constraints of each device, distributes the energy exchange volume to the integrated energy microgrid, and updates the actual executable quantity of the integrated energy microgrid based on the energy exchange volume.
2. The method as described in claim 1, characterized in that, In step S1, the objective function for constructing the integrated energy microgrid of the village to be planned is: in: in, For the first Annualized total lifecycle cost of an integrated energy microgrid For the first The annualized investment and construction cost of an integrated energy microgrid For the first Annualized operation and maintenance costs of an integrated energy microgrid; This is the capital recovery factor. , The discount rate is... For the project planning cycle, the energy supply equipment, energy conversion equipment, energy storage equipment, and energy load equipment included in the integrated energy microgrid will be allocated according to their attributes to power-type equipment sets, power generation and conversion equipment sets, energy-type equipment sets, and energy storage equipment sets. This refers to the device number within the power-type device set. It is a collection of power generation and conversion equipment, including photovoltaics, wind turbines, electrolyzers, fuel cells, and heat pumps. For the number The unit capacity investment cost of the equipment, Decision variables for planning capacity of power-type equipment to be optimized; This refers to the device number within the energy-type device set. It is a collection of energy storage devices, which include battery energy storage, hydrogen storage tanks, and thermal storage tanks. For the number The unit capacity investment cost of the equipment, Decision variables for planning capacity of energy-type equipment to be optimized; For the current time period, For the total scheduling cycle, For the first The grid interaction cost of an integrated energy microgrid For the first Inter-microgrid transaction costs of an integrated energy microgrid For the first The hydrogen energy procurement cost of an integrated energy microgrid For the first The energy storage degradation cost of an integrated energy microgrid For the first The equipment operation and maintenance costs of an integrated energy microgrid; These are time-of-use electricity purchase and sales prices, For the first An integrated energy microgrid in The amount of electricity purchased from the main network during that period. For the first An integrated energy microgrid in The amount of electricity sold to the main grid during a given time period; In order to be with the first The number of other integrated energy microgrids that interact with each other in an individual microgrid. In order to be with the first A collection of other integrated energy microgrids interconnected by an integrated energy microgrid. Service fees for integrated energy microgrid power trading To integrate the transmission cost coefficient of hydrogen energy trading between energy microgrids, For the first An integrated energy microgrid in Time period to the The electrical power transmitted by an integrated energy microgrid For the first An integrated energy microgrid in The time period starts from the The electrical power received by an integrated energy microgrid For the first An integrated energy microgrid in Time period to the The heat power transmitted by an integrated energy microgrid For the first An integrated energy microgrid in The time period starts from the The thermal power received by an integrated energy microgrid; Price based on external hydrogen suppliers, For the first The amount of hydrogen purchased by an integrated energy microgrid; ES stands for battery energy storage equipment, and EV stands for electric vehicle. This is the lifespan loss cost coefficient per unit discharge of energy storage. For the first In an integrated energy microgrid numbered as Energy storage devices in Discharge power over a given period of time; For unit power operation and maintenance cost, For the first In an integrated energy microgrid numbered as Power generation and conversion equipment in Operating power during a given time period.
3. The method as described in claim 2, characterized in that, In step S1, the overall constraints of the integrated energy microgrid for the village to be planned are determined. These constraints include planning and construction constraints, power balance constraints, thermal balance constraints, and hydrogen energy balance constraints; wherein: Planning and construction constraints are as follows: The power balance constraints are: The thermal equilibrium constraint is: The hydrogen energy balance constraint is: in, For the first The upper limit of photovoltaic installed capacity in an integrated energy microgrid plan. For available roof area, Photovoltaic installed capacity per unit area For the first The upper limit of battery energy storage capacity in an integrated energy microgrid plan. For the first The ground area for installing energy storage in an integrated energy microgrid. Energy density per unit area of battery energy storage equipment; For the first An integrated energy microgrid in Photovoltaic power generation during the period For the first An integrated energy microgrid in Wind turbine power generation during a given time period For the first An integrated energy microgrid in Fuel cell power generation during a given time period For the first An integrated energy microgrid in The amount of electricity purchased from the main network during that period. For the first An integrated energy microgrid in The sum of electrical power received from other integrated energy microgrids during a given time period. For the first An integrated energy microgrid in Electricity load during a given time period For the first An integrated energy microgrid in The electrical power consumed by the electrolytic cell during a given period of time. For the first An integrated energy microgrid in The electrical power consumed by the electric boiler during a certain period of time. For the first An integrated energy microgrid in The amount of electricity sold to the main grid during a given time period. For the first An integrated energy microgrid in The sum of electrical power sent to other integrated energy microgrids during a given time period. For the first An integrated energy microgrid in The charging power of battery storage devices during a given time period. For charging efficiency, For the first An integrated energy microgrid in The discharge power of the battery energy storage device during the time period. For discharge efficiency; For the first An integrated energy microgrid in The heat output of solar collectors during a given time period For the first An integrated energy microgrid in The heat output of the fuel cell during a given time period For the first An integrated energy microgrid in The heat output power of the heat pump during a given time period For the first An integrated energy microgrid in The heat output of the electric boiler during a given time period For the first An integrated energy microgrid in The heat release power of the thermal storage equipment during a given period For the first An integrated energy microgrid in Heat load during the period For the first An integrated energy microgrid in The charging power of the thermal storage equipment during the time period For the first An integrated energy microgrid in The amount of heat wasted during a given period; For the first An integrated energy microgrid in The hydrogen production capacity of the electrolyzer during a given time period. For the first An integrated energy microgrid in Hydrogen energy power purchased from external sources during certain periods For the first An integrated energy microgrid in Hydrogen release capacity of the hydrogen storage tank during a given period For the first An integrated energy microgrid in The hydrogen energy consumed by fuel cells during a given period For the first An integrated energy microgrid in Hydrogen load during the period, For the first An integrated energy microgrid in Hydrogen filling power of the hydrogen storage tank during a given period For the first An integrated energy microgrid in Hydrogen disposal power during a given period.
4. The method as described in claim 3, characterized in that, In step S1, the models and sub-constraints corresponding to the energy supply equipment, energy conversion equipment, and energy storage equipment in the integrated energy microgrid are determined, wherein: The electrolytic hydrogen production model and constraints for hydrogen production equipment in the energy supply system are as follows: The combined heat and power model for fuel cells in energy conversion equipment is as follows: The state of charge constraints for energy storage devices are: in, For the first An integrated energy microgrid in Hydrogen energy produced by the time-lapse electrolyzer, For the electrolytic cell in Power consumed during a period of time For the efficiency of electro-hydrogen conversion, To improve the operating efficiency of hydrogen production equipment, This is the lower limit of the minimum electrical power required for the operation of the electrolytic cell. This represents the planned upper limit of the electrolytic cell capacity. For the first An integrated energy microgrid in The power generation of fuel cells during different time periods For fuel cells in Hydrogen energy power consumed during the period The hydrogen-to-electricity conversion coefficient, For the power generation efficiency of fuel cells, For fuel cells in Heat production capacity during a given time period Thermoelectric ratio; For the first An integrated energy microgrid in The percentage of the state of charge of energy storage devices during different time periods. For the first An integrated energy microgrid in The percentage of the state of charge of energy storage devices during different time periods. For energy storage devices Charging or power output during a given period The charging efficiency of energy storage devices. The scheduling interval is used as the time step for a single time period. For the first The rated capacity of energy storage equipment in an integrated energy microgrid plan. For the first An integrated energy microgrid in The discharge or energy release power of the time-limited energy storage device. The discharge efficiency of energy storage devices. This is the minimum permissible state of charge limit for energy storage devices. This represents the upper limit of the maximum permissible state of charge for energy storage devices. This refers to the state of charge of the energy storage device at the end of the dispatch cycle. This represents the initial state of charge of the energy storage device.
5. The method as described in claim 4, characterized in that, In step S2, a distance weight matrix is constructed for every two integrated energy microgrids based on the geographical coordinates corresponding to each integrated energy microgrid. Multiple energy interaction pairs are constructed based on the total distance weight matrix. Each energy interaction pair includes one energy surplus microgrid and one energy shortage microgrid, including: Step S21: Construct a distance weight matrix for every two integrated energy microgrids based on the geographic coordinates of each integrated energy microgrid. ,in: For the first The horizontal axis of an integrated energy microgrid For the first The vertical axis of an integrated energy microgrid For the first The horizontal axis of an integrated energy microgrid For the first The vertical axis of an integrated energy microgrid; , , The first The integrated energy microgrid and the first The comprehensive transmission loss weight matrix of the power of an integrated energy microgrid, the first The integrated energy microgrid and the first The comprehensive transmission loss weight matrix of thermal energy in an integrated energy microgrid, the first The integrated energy microgrid and the first The comprehensive transmission loss weight matrix of hydrogen energy in an integrated energy microgrid. , , These are the energy, heat, and hydrogen energy transmission loss coefficients per unit distance, respectively. Step S22: The integrated energy microgrid calculates the initial net energy exchange demand based on local load forecasting and renewable energy output forecasting. in, For the first An integrated energy microgrid in Initial net energy surplus or deficit for the period; Step S23: Using integrated energy microgrids as nodes, construct the topology of the integrated energy system for the villages to be planned; with the goal of minimizing the transmission loss of the integrated energy system for the villages to be planned, perform graph theory matching based on the entire distance weight matrix and the topology, and take the optimal complementary microgrid combination in the matching results as energy interaction pairs, each energy interaction pair including an energy surplus microgrid and an energy shortage microgrid; wherein, the integrated energy system is a system composed of all integrated energy microgrids.
6. The method as described in claim 5, characterized in that, In step S3, the iteration terminates when one of the following conditions is met: Energy balance tolerance is less than the first threshold: ; The rate of change in the total cost of the integrated energy system in the planned rural area is less than the second threshold: ; The maximum number of iterations has been reached. ; in, For the first The energy exchange volume calculated by an integrated energy microgrid at the current iteration number. The first threshold, This represents the total cost of the integrated energy system for the village to be planned at the current iteration number. The total cost of the integrated energy system for the village to be planned is given when the number of iterations equals the current iteration number minus 1. The second threshold, This represents the current iteration number.
7. The method as described in claim 6, characterized in that, In step S3, the multi-energy management system calculates the energy exchange volume corresponding to the energy interaction pairs of the integrated energy microgrid based on the models and sub-constraints of each device, and then distributes the energy exchange volume to the integrated energy microgrid. The multi-energy management system calculates the total power imbalance corresponding to each energy interaction pair. The calculation formula is: The formula for calculating the energy exchange volume of the energy interaction pairs corresponding to the integrated energy microgrid is as follows: ; in, For the first Each integrated energy microgrid corresponds to a microgrid cluster set divided according to energy type; and The first An integrated energy microgrid and the first An integrated energy microgrid targets energy types. The initial energy exchange requirements, The energy exchange volume corresponding to the energy interaction pairs of the integrated energy microgrid.
8. The method as described in claim 7, characterized in that, In step S3, updating the actual executable quantity corresponding to the integrated energy microgrid based on the energy exchange quantity includes: The energy exchange volume corresponding to the energy interaction pairs of the integrated energy microgrid As the target value for exchange ; Integrated energy microgrids calculate and feedback actual achievable quantities based on exchange target values. Among them, when the exchange target value satisfies the sub-constraints of the integrated energy microgrid, equal When the exchange target value does not satisfy the sub-constraints of the integrated energy microgrid, It equals the actual boundary value of the exchange power that the integrated energy microgrid can respond to due to the extreme operating limits of its internal equipment.
