Energy system boundary condition processing method, device and computer equipment

By obtaining and updating the boundary condition set of the energy system, splitting and converting the boundary conditions of the subsystems that do not meet the equilibrium conditions, the problem of boundary condition conflicts in traditional energy flow calculations is solved, and the rationalization and stable calculation of the energy system is achieved.

CN116305718BActive Publication Date: 2025-09-23SHENZHEN POWER SUPPLY BUREAU
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211101247.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-09
Publication Date
2025-09-23
Estimated Expiration
2042-09-09

AI Technical Summary

Technical Problem

Traditional energy flow calculation methods do not analyze the rationality of input boundary conditions, which leads to conflicts between different input boundary conditions in multi-energy systems and causes the energy flow calculation to crash.

Method used

By obtaining the system boundary condition set of the energy system, including the power boundary condition set, the balance node boundary condition set and the topology relationship boundary condition set, the topology map is updated, the energy system is split, the subsystem boundary condition set is divided, and the boundary conditions of the target subsystem that does not meet the balance conditions are converted to ensure the rationality of the boundary conditions.

Benefits of technology

It avoids the collapse of energy flow calculation, ensures the rationality of energy system boundary conditions, conforms to the actual operation process, and prevents conflicts between different boundary conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116305718B_ABST
    Figure CN116305718B_ABST
Patent Text Reader

Abstract

The present application relates to a method, apparatus, computer equipment, storage medium and computer program product for processing boundary conditions of an energy system. The method includes obtaining a system boundary condition set and a system topology diagram of an energy system; updating the topology relationship in the system topology diagram through the topology relationship boundary condition set to obtain an updated topology diagram, and converting the topology relationship boundary conditions in the topology relationship boundary condition set into corresponding power boundary conditions to obtain an updated power boundary condition set; splitting the energy system based on the updated topology diagram to obtain at least two energy subsystems; dividing the updated power boundary condition set and the balance node boundary condition set to obtain a subsystem boundary condition set for each energy subsystem; when it is determined according to the subsystem boundary condition set that there is a target subsystem that does not meet the balance condition, converting the boundary conditions of the target subsystem to obtain a boundary condition processing result. The use of this method can support the implementation of energy flow calculation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of energy technology, and in particular to a method, apparatus, computer equipment, storage medium, and computer program product for processing boundary conditions of an energy system. Background Art

[0002] With the development of energy technologies, multi-energy systems have emerged. These systems couple multiple energy subsystems of different energy types, achieving energy complementarity among these subsystems through rational scheduling. Common multi-energy systems include electricity, heat, cooling, gas, and other energy types. Each energy type can exist in a multi-energy system as one or more energy subsystems, and each subsystem can also couple with one or more subsystems of different energy types.

[0003] In traditional technologies, it is often necessary to perform energy flow calculations on multi-energy systems. The purpose of energy flow calculations is to predict the operating conditions of various subsystems such as electricity, gas, and heat under specific boundary conditions.

[0004] However, traditional methods do not analyze the rationality of input boundary conditions during simulation analysis and calculation. If unreasonable input boundary conditions are directly applied to energy flow calculations, the energy flow calculations will often crash due to conflicts between different input boundary conditions in multi-energy systems. Summary of the Invention

[0005] Based on this, it is necessary to provide an energy system boundary condition processing method, device, computer equipment, computer-readable storage medium and computer program product that can support energy flow calculation to address the above technical problems.

[0006] In a first aspect, the present application provides a method for processing boundary conditions of an energy system. The method comprises:

[0007] Obtaining a system boundary condition set and a system topology diagram of the energy system, wherein the system boundary condition set includes a power boundary condition set, a balance node boundary condition set, and a topology relationship boundary condition set;

[0008] The topological relationship in the system topology graph is updated through the topological relationship boundary condition set to obtain an updated topological graph, and the topological relationship boundary conditions in the topological relationship boundary condition set are converted into corresponding power boundary conditions to obtain an updated power boundary condition set;

[0009] Splitting the energy system based on the updated topology graph to obtain at least two energy subsystems;

[0010] Divide the updated power boundary condition set and the balance node boundary condition set to obtain the subsystem boundary condition set of each energy subsystem;

[0011] When it is determined according to the subsystem boundary condition set that there is a target subsystem that does not meet the equilibrium condition, the boundary conditions of the target subsystem are transformed to obtain a boundary condition processing result.

[0012] In one embodiment, updating the topological relationship in the system topology graph using the topological relationship boundary condition set to obtain the updated topology graph includes:

[0013] Based on the set of topological relationship boundary conditions, determine the closed connection area in the system topology graph;

[0014] The closed connection area is updated to a non-closed connection area to obtain an updated topology map.

[0015] In one embodiment, the subsystem boundary condition set includes a subsystem power boundary condition and a subsystem balance node boundary condition corresponding to the subsystem power boundary condition;

[0016] When it is determined based on the subsystem boundary condition set that there is a target subsystem that does not meet the equilibrium condition, the boundary conditions of the target subsystem are converted, and before obtaining the boundary condition processing result, the following steps are also included:

[0017] An energy subsystem whose subsystem power boundary condition in the subsystem boundary condition set is different from the corresponding subsystem balance node boundary condition is determined as a target subsystem that does not meet the balance condition.

[0018] In one embodiment, converting the boundary conditions of the target subsystem to obtain the boundary condition processing results includes:

[0019] When there is a target power boundary condition that can be converted into a balancing node boundary condition among the boundary conditions of the target subsystem, the target power boundary condition is converted into a corresponding target balancing node boundary condition to obtain a boundary condition processing result.

[0020] In one embodiment, converting the boundary conditions of the target subsystem to obtain the boundary condition processing results further includes:

[0021] When there is no target power boundary condition that can be converted into a balance node boundary condition in the boundary conditions of the target subsystem, the power boundary conditions of the target subsystem are converted into zero power boundary conditions, and the boundary conditions of the coupled subsystem coupled with the target subsystem are converted to obtain the boundary condition processing results.

[0022] In one embodiment, converting the boundary conditions of the coupled subsystem coupled to the target subsystem to obtain the boundary condition processing result includes:

[0023] Converting the associated boundary conditions associated with the power boundary conditions of the target subsystem in the boundary conditions of the coupled subsystem into zero-power boundary conditions to obtain an updated boundary condition set of the coupled subsystem;

[0024] The latest subsystem boundary condition set of each energy subsystem is traversed to convert the boundary conditions that do not meet the energy system operation requirements until all boundary conditions in the latest subsystem boundary condition set of each energy subsystem meet the energy system operation requirements, thereby obtaining the boundary condition processing results.

[0025] In a second aspect, the present application also provides an energy system boundary condition processing device. The device includes:

[0026] An acquisition module is used to obtain a system boundary condition set and a system topology diagram of the energy system. The system boundary condition set includes a power boundary condition set, a balance node boundary condition set, and a topology relationship boundary condition set;

[0027] The first processing module is configured to update the topological relationship in the system topology graph through the topological relationship boundary condition set to obtain an updated topological graph, and convert the topological relationship boundary conditions in the topological relationship boundary condition set into corresponding power boundary conditions to obtain an updated power boundary condition set;

[0028] A system splitting module, configured to split the energy system based on the updated topology map to obtain at least two energy subsystems;

[0029] A boundary condition set partitioning module is used to partition the updated power boundary condition set and the balance node boundary condition set to obtain the subsystem boundary condition set of each energy subsystem;

[0030] The boundary condition conversion module is used to convert the boundary conditions of the target subsystem when it is determined according to the subsystem boundary condition set that there is a target subsystem that does not meet the equilibrium condition, and obtain the boundary condition processing result.

[0031] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are performed:

[0032] Obtaining a system boundary condition set and a system topology diagram of the energy system, wherein the system boundary condition set includes a power boundary condition set, a balance node boundary condition set, and a topology relationship boundary condition set;

[0033] The topological relationship in the system topology graph is updated through the topological relationship boundary condition set to obtain an updated topological graph, and the topological relationship boundary conditions in the topological relationship boundary condition set are converted into corresponding power boundary conditions to obtain an updated power boundary condition set;

[0034] Splitting the energy system based on the updated topology graph to obtain at least two energy subsystems;

[0035] Divide the updated power boundary condition set and the balance node boundary condition set to obtain the subsystem boundary condition set of each energy subsystem;

[0036] When it is determined according to the subsystem boundary condition set that there is a target subsystem that does not meet the equilibrium condition, the boundary conditions of the target subsystem are transformed to obtain a boundary condition processing result.

[0037] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the following steps:

[0038] Obtaining a system boundary condition set and a system topology diagram of the energy system, wherein the system boundary condition set includes a power boundary condition set, a balance node boundary condition set, and a topology relationship boundary condition set;

[0039] The topological relationship in the system topology graph is updated through the topological relationship boundary condition set to obtain an updated topological graph, and the topological relationship boundary conditions in the topological relationship boundary condition set are converted into corresponding power boundary conditions to obtain an updated power boundary condition set;

[0040] Splitting the energy system based on the updated topology graph to obtain at least two energy subsystems;

[0041] Divide the updated power boundary condition set and the balance node boundary condition set to obtain the subsystem boundary condition set of each energy subsystem;

[0042] When it is determined according to the subsystem boundary condition set that there is a target subsystem that does not meet the equilibrium condition, the boundary conditions of the target subsystem are transformed to obtain a boundary condition processing result.

[0043] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program that, when executed by a processor, implements the following steps:

[0044] Obtaining a system boundary condition set and a system topology diagram of the energy system, wherein the system boundary condition set includes a power boundary condition set, a balance node boundary condition set, and a topology relationship boundary condition set;

[0045] The topological relationship in the system topology graph is updated through the topological relationship boundary condition set to obtain an updated topological graph, and the topological relationship boundary conditions in the topological relationship boundary condition set are converted into corresponding power boundary conditions to obtain an updated power boundary condition set;

[0046] Splitting the energy system based on the updated topology graph to obtain at least two energy subsystems;

[0047] Divide the updated power boundary condition set and the balance node boundary condition set to obtain the subsystem boundary condition set of each energy subsystem;

[0048] When it is determined according to the subsystem boundary condition set that there is a target subsystem that does not meet the equilibrium condition, the boundary conditions of the target subsystem are transformed to obtain a boundary condition processing result.

[0049] The above-mentioned boundary condition processing method, device, computer equipment, storage medium and computer program product for energy flow calculation first obtains the power boundary condition set, balance node boundary condition set, topology relationship boundary condition set and system topology diagram of the energy system in the system boundary condition set, and then determines the topology relationship that can be updated in the system topology diagram through the topology relationship boundary condition set, thereby updating the topology relationship in the system topology diagram to obtain an updated topology diagram, and then converts the topology relationship boundary conditions in the topology relationship boundary condition set into corresponding power boundary conditions to obtain an updated power boundary condition set, and then splits the energy system based on the updated topology diagram to obtain at least two energy subsystems, and then divides the updated power boundary condition set and the balance node boundary condition set to obtain the subsystem boundary condition set of each energy subsystem. When it is determined according to the subsystem boundary condition set that there is a target subsystem that does not meet the balance condition, the boundary conditions that do not meet the balance condition in the target subsystem are converted to obtain the boundary condition processing result. During the entire process, the boundary conditions in the target subsystem that does not meet the equilibrium conditions can be converted, and the unreasonable subsystem boundary conditions in each energy subsystem can be converted into reasonable subsystem boundary conditions, so that the boundary conditions in the energy system are rationalized and in line with the actual operation process of the energy system, avoiding the collapse of energy flow calculation due to conflicts between different boundary conditions. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Figure 1 This is an application environment diagram of a method for processing energy system boundary conditions in one embodiment;

[0051] Figure 2 Schematic diagram of a flow chart of a method for processing energy system boundary conditions in one embodiment;

[0052] Figure 3 A schematic diagram of updating the topological relationship boundary conditions corresponding to the target switch in one embodiment;

[0053] Figure 4 is a system topology diagram of an energy system in one embodiment;

[0054] Figure 5A schematic flow chart of a method for processing energy system boundary conditions in another embodiment;

[0055] Figure 6 This is a structural block diagram of an energy system boundary condition processing device in one embodiment;

[0056] Figure 7 FIG. 1 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0057] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.

[0058] The energy system boundary condition processing method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown, energy system 102 communicates with server 104 via a network. A data storage system can store data that server 104 needs to process. The data storage system can be integrated with server 104, or placed on a cloud or other network server. Server 104 obtains a system boundary condition set and a system topology map of energy system 102. The system boundary condition set includes a power boundary condition set, a balancing node boundary condition set, and a topology boundary condition set. Server 104 then updates the topology relationships in the system topology map using the topology boundary condition set to obtain an updated topology map. The topology boundary conditions in the topology boundary condition set are converted into corresponding power boundary conditions to obtain an updated power boundary condition set. Based on the updated topology map, energy system 102 is split into at least two energy subsystems. The updated power boundary condition set and the balancing node boundary condition set are then partitioned to obtain subsystem boundary condition sets for each energy subsystem. When a target subsystem is determined to not meet the balance conditions based on the subsystem boundary condition set, the boundary conditions of the target subsystem are converted to obtain boundary condition processing results. Energy system 102 can be, but is not limited to, various multi-energy systems. The server 104 may be implemented as an independent server or a server cluster consisting of multiple servers.

[0059] In one embodiment, Figure 2 As shown in the figure, a method for processing energy system boundary conditions is provided. Figure 1 Taking the server 104 in FIG. 1 as an example, the method includes the following steps:

[0060] Step 202 : Obtain a system boundary condition set and a system topology diagram of the energy system. The system boundary condition set includes a power boundary condition set, a balancing node boundary condition set, and a topology relationship boundary condition set.

[0061] Among them, the energy system is a multi-energy system composed of multiple energy subsystems of different energy types coupled to each other. The power boundary condition set is a collection of real-time power operating parameters of each device in the energy system. The real-time power operating parameters of each device are the power boundary conditions of each device. The balance node boundary condition set is a collection of operating parameters corresponding to each device in the energy system for maintaining the power balance of the energy system. The operating parameters corresponding to each device for maintaining the power balance of the energy system are the balance node boundary conditions of each device. The topological relationship boundary condition set is a collection of the states of each topological connection area in the energy system. The states of each topological connection area are the topological relationship boundary conditions of each topological connection area. The topological connection area can specifically be switches and valves in the energy system.

[0062] Specifically, when energy system boundary condition processing is required, the server will obtain the power boundary condition set, the balance node boundary condition set, the topology relationship boundary condition set and the system topology diagram of the energy system in the energy system boundary condition set.

[0063] In a specific application, assuming that the system boundary condition set of the energy system is B, the system boundary condition set B includes the power boundary condition set B p , equilibrium node boundary condition set B s And the topological boundary condition set B t .

[0064] Among them, when the energy type of the energy system is electric energy, the power boundary condition set B p It can include active power and reactive power, balance node boundary condition set B s Can include voltage and phase angle, topological relationship boundary condition set B t It can include the switch state. When the energy type of the energy system is thermal energy, the power boundary condition set B p Can include heating power, balance node boundary condition set B s Can include temperature, topological relationship boundary condition set B t Can include valve status.

[0065] In specific applications, to obtain the power boundary condition set B p For example, the server can collect the real-time power operating parameters of each device in the energy system at the pre-configured collection time, that is, the power boundary conditions b of each device. pi , thus obtaining the power boundary condition set B p , that is, B p ={b p1 ,b p2 ,...,b pi}, i = 1, 2, …, m, where m is the number of devices in the energy system. There must be at least one device in the energy system. For example, you can collect real-time electrical power and real-time thermal power from a heat pump in the energy system at a preconfigured collection time to obtain the heat pump's power boundary conditions. The preconfigured collection time and method for collecting real-time power operating parameters can be configured based on the actual application scenario.

[0066] In a specific application, to obtain the equilibrium node boundary condition set B s For example, the server can obtain the corresponding operating parameters of each device that can be used to maintain the power balance of the energy system from the historical operation records of each device in the energy system, that is, the balance node boundary conditions b of each device. sk , thus obtaining the equilibrium node boundary condition set B s , that is, B S ={b s1 ,b s2 ,...,b sk},=1,2,…,, where m is the number of devices in the energy system.

[0067] In specific applications, to obtain the topological boundary condition set B t For example, the server can collect the topological connection relationship of each topological connection area in the energy system at the preconfigured collection time, that is, the topological relationship boundary conditions b of each topological connection area tj , thus obtaining the topological boundary condition set B t , B t ={b t1 ,b t2 ,...,b tj}, j = 1, 2, ..., n, where n is the number of topologically connected areas in the energy system. Specifically, n can be the total number of switches and valves in the energy system. The preconfigured collection time and the collection method for topological connection relationships can be configured according to the actual application scenario.

[0068] In a specific application, when obtaining the power boundary condition set B of the energy system p and the equilibrium node boundary condition set B s Afterwards, the server can establish a corresponding relationship between the real-time power operating parameters of the same device and the corresponding operating parameters that can be used to maintain the power balance of the energy system, that is, the power boundary conditions b of the same device pi With equilibrium node boundary condition b sk Establish a corresponding relationship.

[0069] Step 204 , updating the topology relationship in the system topology graph through the topology relationship boundary condition set to obtain an updated topology graph, and converting the topology relationship boundary conditions in the topology relationship boundary condition set into corresponding power boundary conditions to obtain an updated power boundary condition set.

[0070] Specifically, the server determines the topological relationships in the system topology graph that meet the update conditions based on the topological relationship boundary conditions in the topological relationship boundary condition set, thereby updating the topological relationships in the system topology graph that meet the update conditions to obtain an updated topological graph. The server then converts the topological relationship boundary conditions in the topological relationship boundary condition set into corresponding power boundary conditions to obtain an updated power boundary condition set. The topological relationships that meet the update conditions correspond to topological connection areas that are in a "closed" state.

[0071] In a specific application, an energy system including multiple switches is taken as an example for explanation, wherein the multiple switches in the energy system may include switches in a closed state and switches in a non-closed state. The server first determines the target switch that meets the update conditions based on the topological relationship boundary conditions of each switch in the topological relationship boundary condition set, wherein the topological relationship boundary conditions corresponding to the target switch represent the state of the target switch as "closed". Then, the target topological relationship corresponding to the target switch in the system topology map is determined, wherein the target topological relationship corresponding to the target switch is "closed", and then the target topological relationship in the system topology map is updated to "non-closed" to obtain an updated topological map. After updating the target topological relationship, the server can also update the topological relationship boundary conditions corresponding to the target switch to obtain the updated topological relationship boundary conditions corresponding to the target switch, so that the updated topological relationship boundary conditions corresponding to the target switch represent the state of the target switch as "non-closed".

[0072] In a specific application, after the server updates the target topology, the process of updating the topology boundary conditions corresponding to the target switch is described as an example. The schematic diagram of updating the topology boundary conditions corresponding to the target switch is as follows: Figure 3 shown.

[0073] Assume that the two ends of the target switch are A and B respectively. Before the server updates the topological boundary conditions corresponding to the target switch, the topological boundary conditions corresponding to the target switch represent that the state of the target switch is "closed". The active power P at the A end of the target switch is A , reactive power Q A The active power P at the target switch B B , reactive power Q BAfter updating the topological boundary conditions corresponding to the target switch, the topological boundary conditions corresponding to the target switch represent the state of the target switch as "non-closed". Since the target switch is disconnected, the active power and reactive power at both ends of the target switch are updated to 0, that is, P A =0, Q A =0, P B =0, Q B =0, so that the power boundary condition corresponding to the target switch is updated to the zero power boundary condition.

[0074] In a specific application, when the energy system only includes a target switch in a closed state, the server can convert the updated topological boundary conditions corresponding to the target switch into corresponding power boundary conditions, i.e., zero power boundary conditions, thereby obtaining an updated power boundary condition set, so that the system boundary condition set B no longer includes the topological boundary condition set B. t .

[0075] In a specific application, when the energy system includes a target switch in a closed state and a switch in an open state, the server converts the updated topological boundary conditions corresponding to the target switch into zero power boundary conditions, and also converts the topological boundary conditions corresponding to the switch in the open state into corresponding zero power boundary conditions, thereby obtaining an updated power boundary condition set, so that the system boundary condition set B no longer includes the topological boundary condition set B. t .

[0076] Step 206: split the energy system based on the updated topology map to obtain at least two energy subsystems.

[0077] Specifically, the server splits the energy system based on energy type and the updated topology map to obtain at least two energy subsystems. Energy type can be specifically divided into electric energy, thermal energy, etc.

[0078] In a specific application, taking an energy system including electric energy and thermal energy as an example, the server can first preliminarily split the energy system based on the energy type to obtain a preliminarily split energy system, and then further split the preliminarily split energy system based on the topological relationship in the updated topology diagram to obtain at least two energy subsystems.

[0079] In one embodiment, Figure 4 Taking the energy system shown in the figure as an example, the process of splitting the energy system of the server is explained. Figure 4As shown, the energy system includes energy subsystem 1, energy subsystem 2, and energy subsystem 3. Energy subsystem 1 and energy subsystem 2 are connected through a switch. The energy types corresponding to energy subsystem 1 and energy subsystem 2 are electric energy, and the energy type corresponding to energy subsystem 3 is thermal energy.

[0080] Before splitting the energy system, the server first splits the energy system into an electric energy subsystem and a thermal energy subsystem based on energy type, and then splits the energy system based on the updated topology map. When obtaining the updated topology map, the topological relationships corresponding to the switches in the system topology map have been converted to "open," disconnecting the connection between Energy Subsystem 1 and Energy Subsystem 2. Therefore, when splitting the energy system based on the updated topology map, the electric energy subsystem can be further split into Energy Subsystem 1 and Energy Subsystem 2, resulting in Energy Subsystem 1, Energy Subsystem 2, and Energy Subsystem 3.

[0081] Step 208 : Divide the updated power boundary condition set and the balancing node boundary condition set to obtain subsystem boundary condition sets of each energy subsystem.

[0082] Specifically, the server may divide the updated power boundary condition set and the balance node boundary condition set while splitting the energy system, to obtain the subsystem boundary condition set of each energy subsystem.

[0083] In specific applications, Figure 4 Taking the energy system in the example as an example, while splitting the energy system to obtain energy subsystem 2, the server can centrally update the power boundary conditions. Figure 4 The zero power boundary conditions corresponding to the middle switch, the power boundary conditions corresponding to electric load 1, and the power boundary conditions corresponding to electric load 2 are divided into sub-power boundary conditions corresponding to energy subsystem 2. The server can also concentrate the balancing node boundary conditions, and divide the balancing node boundary conditions corresponding to electric load 1 and the balancing node boundary conditions corresponding to electric load 2 into subsystem balancing node boundary conditions corresponding to energy subsystem 2.

[0084] In step 210 , when it is determined according to the subsystem boundary condition set that there is a target subsystem that does not meet the equilibrium condition, the boundary conditions of the target subsystem are converted to obtain a boundary condition processing result.

[0085] Specifically, the server can compare the power boundary conditions of each device in each energy subsystem with the balance node boundary conditions based on the corresponding relationship between the power boundary conditions of the same device in each energy subsystem and the balance node boundary conditions. When the subsystem boundary conditions of the energy subsystem are concentrated and there are no identical power boundary conditions and balance node boundary conditions, the energy subsystem is determined to be the target subsystem. It is further determined whether there are boundary conditions in the target subsystem that meet the conversion conditions. If there are boundary conditions in the target subsystem that meet the conversion conditions, the boundary conditions in the target subsystem that meet the conversion conditions are converted to obtain the boundary condition processing results.

[0086] The above-mentioned boundary condition processing method for energy flow calculation first obtains the power boundary condition set, the balance node boundary condition set, the topology relationship boundary condition set, and the system topology diagram of the energy system in the system boundary condition set, and then determines the topology relationship that can be updated in the system topology diagram through the topology relationship boundary condition set, thereby updating the topology relationship in the system topology diagram to obtain an updated topology diagram, and then converts the topology relationship boundary conditions in the topology relationship boundary condition set into corresponding power boundary conditions to obtain an updated power boundary condition set, and then splits the energy system based on the updated topology diagram to obtain at least two energy subsystems, and then divides the updated power boundary condition set and the balance node boundary condition set to obtain the subsystem boundary condition set of each energy subsystem, and when it is determined according to the subsystem boundary condition set that there is a target subsystem that does not meet the balance condition, the boundary conditions that do not meet the balance condition in the target subsystem are converted to obtain the boundary condition processing result. During the entire process, the boundary conditions in the target subsystem that does not meet the equilibrium conditions can be converted, and the unreasonable subsystem boundary conditions in each energy subsystem can be converted into reasonable subsystem boundary conditions, so that the boundary conditions in the energy system are rationalized and in line with the actual operation process of the energy system, avoiding the collapse of energy flow calculation due to conflicts between different boundary conditions.

[0087] In one embodiment, updating the topological relationship in the system topology graph using the topological relationship boundary condition set to obtain the updated topology graph includes:

[0088] Based on the set of topological relationship boundary conditions, determine the closed connection area in the system topology graph;

[0089] The closed connection area is updated to a non-closed connection area to obtain an updated topology map.

[0090] The closed connection area in the system topology diagram may specifically be a closed switch or a closed valve in the system topology diagram.

[0091] Specifically, the server determines the closed connection area in the system topology map based on the topology boundary condition set that represents the "closed" topology boundary condition, and updates the closed connection area to a non-closed connection area in the system topology map to obtain an updated topology map.

[0092] In a specific application, an energy system including multiple switches is taken as an example. The server collects the states of each switch according to the topological relationship boundary conditions, that is, the topological relationship boundary conditions of each switch, and determines the target switch that meets the update conditions, wherein the topological relationship boundary condition corresponding to the target switch is "closed". Then, the closed connection area corresponding to the target switch in the system topology map is determined. Then, the server updates the closed connection area corresponding to the target switch in the system topology map to a non-closed connection area, that is, updates the topological relationship of the target switch in the system topology map from "closed" to "non-closed", thereby obtaining an updated topology map.

[0093] In this embodiment, by updating the closed connection area in the system topology diagram to a non-closed connection area, the situation of disconnection of switches and valves in the actual energy system can be taken into account, avoiding the neglect of the disconnection of switches and valves in traditional energy flow calculations, thereby simulating the actual operation process of the energy system.

[0094] In one embodiment, the subsystem boundary condition set includes a subsystem power boundary condition and a subsystem balance node boundary condition corresponding to the subsystem power boundary condition;

[0095] When it is determined based on the subsystem boundary condition set that there is a target subsystem that does not meet the equilibrium condition, the boundary conditions of the target subsystem are converted, and before obtaining the boundary condition processing result, the following steps are also included:

[0096] An energy subsystem whose subsystem power boundary condition in the subsystem boundary condition set is different from the corresponding subsystem balance node boundary condition is determined as a target subsystem that does not meet the balance condition.

[0097] Specifically, the server compares the subsystem power boundary conditions of the subsystem boundary conditions of each energy subsystem with the corresponding subsystem balance node boundary conditions, and determines the energy subsystem whose subsystem power boundary conditions are different from the corresponding subsystem balance node boundary conditions as a target subsystem that does not meet the balance conditions.

[0098] In specific applications, Figure 4Taking energy subsystem 2 as an example, the subsystem power boundary conditions corresponding to energy subsystem 2 include: the power boundary conditions corresponding to load 1, the power boundary conditions corresponding to load 2, and the zero power boundary conditions corresponding to the switch. The subsystem balancing node boundary conditions corresponding to energy subsystem 2 include: the balancing node boundary conditions corresponding to load 1, and the balancing node boundary conditions corresponding to load 2. When comparing the subsystem power boundary conditions in the subsystem boundary condition set of each energy subsystem with the corresponding subsystem balancing node boundary conditions, the server compares the power boundary conditions corresponding to load 1 with the balancing node boundary conditions corresponding to load 1. At the same time, the server may also compare the power boundary conditions corresponding to load 2 with the balancing node boundary conditions corresponding to load 2. When the power boundary conditions corresponding to load 1 differ from the balancing node boundary conditions corresponding to load 1, and the power boundary conditions corresponding to load 2 differ from the balancing node boundary conditions corresponding to load 2, energy subsystem 2 is determined to be a target subsystem that does not meet the balancing conditions.

[0099] In this embodiment, the target subsystem that does not meet the equilibrium condition is determined through the comparison process of the boundary conditions, so that the boundary conditions in the target subsystem can be subsequently converted.

[0100] In one embodiment, converting the boundary conditions of the target subsystem to obtain the boundary condition processing results includes:

[0101] When there is a target power boundary condition that can be converted into a balancing node boundary condition among the boundary conditions of the target subsystem, the target power boundary condition is converted into a corresponding target balancing node boundary condition to obtain a boundary condition processing result.

[0102] Specifically, the server can determine whether there are devices corresponding to the target power boundary conditions in the target subsystem based on the properties of each device in the target subsystem. When there are target power boundary conditions in the boundary conditions of the target subsystem that can be converted into balance node boundary conditions, the target power boundary conditions are converted into corresponding target balance node boundary conditions to obtain the boundary condition processing results.

[0103] In a specific application, assume that the target subsystem includes the following devices: an external power supply unit, a wind turbine generator set, a photovoltaic generator set, a small energy storage unit, and a thermal power generator set. The external power supply unit and the thermal power generator set are high-power devices and can be used to maintain power balance within the target subsystem. Therefore, the power boundary conditions corresponding to the external power supply unit and the thermal power generator set can be used as target power boundary conditions. For example, when the target subsystem's power is insufficient, the power generated by the thermal power generator set can be increased to maintain power balance within the target subsystem. However, wind turbines and photovoltaic generator sets are susceptible to factors such as weather, and their generated power is unstable. Therefore, the power boundary conditions corresponding to these units cannot be used as target power boundary conditions. The small energy storage unit is a low-power device and is generally not used to maintain power balance within the target subsystem. Therefore, the power boundary conditions corresponding to these units cannot be used as target power boundary conditions.

[0104] In a specific application, after determining the target power boundary conditions in the target subsystem, the server can convert any target power boundary conditions into corresponding target balancing node boundary conditions. Taking the target subsystem including an external power supply unit and a thermal power generator unit as an example, the server can convert the target power boundary conditions corresponding to the thermal power generator unit to obtain the converted target power boundary conditions, i.e., the target balancing node boundary conditions, wherein the target balancing node boundary conditions of the thermal power generator unit are the same as the balancing node boundary conditions of the thermal power generator unit. Alternatively, the server can convert the target power boundary conditions corresponding to the external power supply unit into the target balancing node boundary conditions. That is, when there are multiple devices in the target subsystem that correspond to target power boundary conditions, the server only needs to convert the target power boundary conditions corresponding to one of the devices to obtain the converted target power boundary conditions, so that the converted target power boundary conditions are the same as the balancing node boundary conditions of the device.

[0105] In this embodiment, by converting any target power boundary condition in the target subsystem, the target subsystem satisfies the balance condition, thereby supporting energy flow calculation.

[0106] In one embodiment, converting the boundary conditions of the target subsystem to obtain the boundary condition processing results further includes:

[0107] When there is no target power boundary condition that can be converted into a balance node boundary condition in the boundary conditions of the target subsystem, the power boundary conditions of the target subsystem are converted into zero power boundary conditions, and the boundary conditions of the coupled subsystem coupled with the target subsystem are converted to obtain the boundary condition processing results.

[0108] Specifically, when there is no target power boundary condition in the boundary conditions of the target subsystem that can be converted into a balance node boundary condition, the target subsystem cannot operate normally. Therefore, it is necessary to convert all power boundary conditions of the target subsystem into zero power boundary conditions, and convert the boundary conditions of the coupled subsystem coupled with the target subsystem to obtain the boundary condition processing results.

[0109] In specific applications, Figure 4 Taking the energy system shown as an example, when there are no target power boundary conditions in energy subsystem 2 that can be converted to balanced node boundary conditions, energy subsystem 2 cannot operate normally. Therefore, the server converts all power boundary conditions in energy subsystem 2 to zero power boundary conditions. For example, the power boundary conditions of heat pump 2 in energy subsystem 2 are converted to zero power boundary conditions. Since energy subsystem 2 is coupled to energy subsystem 3 through heat pump 2, the server also converts the boundary conditions of energy subsystem 3 to which energy subsystem 2 is coupled, that is, converts the boundary conditions of heat pump 2 in energy subsystem 3 and converts the boundary conditions of heat pump 2 in energy subsystem 3 to zero power boundary conditions.

[0110] In the above process, since energy subsystem 2 cannot operate normally, and energy subsystem 2 is coupled with energy subsystem 3 through heat pump 2, and considering that heat pump 2 will be affected by energy subsystem 2, the server converts the boundary condition of heat pump 2 in energy system 3 into a zero-power boundary condition.

[0111] In this embodiment, by converting the associated boundary conditions in the coupled subsystem coupled with the target subsystem, it is possible to simulate the situation in which some energy subsystems cannot operate normally during the actual operation of the energy system, so that the boundary conditions of the energy system are more consistent with the actual operation process of the energy system.

[0112] In one embodiment, converting the boundary conditions of the coupled subsystem coupled to the target subsystem to obtain the boundary condition processing result includes:

[0113] Converting the associated boundary conditions associated with the power boundary conditions of the target subsystem in the boundary conditions of the coupled subsystem into zero-power boundary conditions to obtain an updated boundary condition set of the coupled subsystem;

[0114] The latest subsystem boundary condition set of each energy subsystem is traversed to convert the boundary conditions that do not meet the energy system operation requirements until all boundary conditions in the latest subsystem boundary condition set of each energy subsystem meet the energy system operation requirements, thereby obtaining the boundary condition processing results.

[0115] Specifically, the server will convert the associated boundary conditions in the boundary conditions of the coupled subsystem that are associated with the power boundary conditions of the target subsystem into zero-power boundary conditions, obtain the updated boundary condition set of the coupled subsystem, and then traverse the latest subsystem boundary condition set of each energy subsystem to convert the boundary conditions that do not conform to the operation of the energy system, until the boundary conditions in the latest subsystem boundary condition set of each energy subsystem all conform to the operation of the energy system, and obtain the boundary condition processing results.

[0116] In specific applications, Figure 4 The energy system shown in the figure is used as an example for explanation, where energy subsystem 2 is the target subsystem and energy subsystem 3 is the coupled subsystem. The energy type in energy subsystem 2 is electric energy and the energy type in energy subsystem 3 is thermal energy. Since energy subsystem 2 is coupled to energy subsystem 3 through heat pump 2, the boundary conditions of heat pump 2 in energy subsystem 3 are associated with the power boundary conditions of heat pump 2 in energy subsystem 3. Assume that the boundary condition of heat pump 2 in energy subsystem 3 is T OUT =50℃, the equilibrium node boundary condition T corresponding to heat pump 2 OUT =50℃, the heat pump 2 is in a state of equilibrium operation in the energy subsystem 3, where T OUT is the heating temperature of heat pump 2.

[0117] When there is no target power boundary condition in the energy subsystem 2 that can be converted into a balance node boundary condition, the energy subsystem 2 cannot operate normally. Therefore, the power boundary condition of the heat pump 2 in the energy subsystem 2 is P = 0, and P = COP·Q h .

[0118] Where P is the electrical power of heat pump 2 in energy subsystem 2, Q h is the heating power of the heat pump 2 in the energy subsystem 3, and COP is the ratio of the electric power of the heat pump 2 to the heating power, which is a constant.

[0119] Since P = 0 and COP is a constant, based on P = COP·Q h , we can know that the heating power Q of heat pump 2 in energy subsystem 3 is h = 0, so that the boundary condition of heat pump 2 in energy subsystem 3 is determined by T OUT =50℃ Updated to zero power boundary condition Q h =0, the server thus completes the conversion of the boundary conditions of the heat pump 2 in the energy subsystem 3 and obtains the updated boundary condition set of the energy subsystem 3.

[0120] In a specific application, the server traverses the latest subsystem boundary condition set of each energy subsystem to convert the boundary conditions that do not conform to the actual operation process of the energy system until the boundary conditions in the latest subsystem boundary condition set of each energy subsystem conform to the actual operation process of the energy system, obtains the boundary condition processing results, and finally applies the reasonable boundary conditions that conform to the actual operation process of the energy system to the energy flow calculation.

[0121] In this embodiment, by converting the associated boundary conditions associated with the power boundary conditions of the target subsystem, it is possible to simulate the actual situation in which, during the actual operation of the energy system, when the target subsystem cannot operate normally, the equipment associated with the target subsystem will be affected and cannot operate normally.

[0122] In one embodiment, Figure 5 As shown, a method for processing energy system boundary conditions applied to energy flow calculation is provided.

[0123] Step 502: Obtain a system boundary condition set and a system topology diagram of the energy system, where the system boundary condition set includes a power boundary condition set, a balancing node boundary condition set, and a topology relationship boundary condition set;

[0124] Step 504: Based on the topological relationship boundary condition set, determine the closed connection area in the system topology map, and update the closed connection area to a non-closed connection area to obtain an updated topology map;

[0125] Step 506: convert the topology boundary conditions in the topology boundary condition set into corresponding power boundary conditions to obtain an updated power boundary condition set;

[0126] Step 508: Split the energy system based on the updated topology graph to obtain at least two energy subsystems, and divide the updated power boundary condition set and the balancing node boundary condition set to obtain a subsystem boundary condition set for each energy subsystem;

[0127] Step 510 , determining an energy subsystem whose subsystem power boundary condition in the subsystem boundary condition set is different from the boundary condition of the corresponding subsystem balance node as a target subsystem that does not meet the balance condition;

[0128] Step 512: When the target power boundary condition that can be converted into a balancing node boundary condition exists among the boundary conditions of the target subsystem, the process jumps to step 514; when the target power boundary condition that can be converted into a balancing node boundary condition does not exist among the boundary conditions of the target subsystem, the process jumps to step 516;

[0129] Step 514: convert the target power boundary condition into the corresponding target balancing node boundary condition to obtain a boundary condition processing result;

[0130] Step 516, converting the power boundary conditions of the target subsystem to zero power boundary conditions;

[0131] Step 518 , converting the associated boundary conditions associated with the power boundary conditions of the target subsystem in the boundary conditions of the coupled subsystem coupled to the target subsystem into zero power boundary conditions, thereby obtaining an updated boundary condition set of the coupled subsystem;

[0132] Step 520, traverse the latest subsystem boundary condition set of each energy subsystem to convert the boundary conditions that do not meet the energy system operation requirements until all boundary conditions in the latest subsystem boundary condition set of each energy subsystem meet the energy system operation requirements, thereby obtaining the boundary condition processing results.

[0133] It should be understood that, although the various steps in the flowcharts involved in the various embodiments described above are displayed in sequence according to the instructions of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowcharts involved in the various embodiments described above can include multiple steps or multiple stages, and these steps or stages are not necessarily executed and completed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of steps or stages in other steps.

[0134] Based on the same inventive concept, embodiments of the present application also provide an energy system boundary condition processing device for implementing the aforementioned energy system boundary condition processing method. The solution provided by this device is similar to the solution described in the aforementioned method. Therefore, the specific limitations of one or more embodiments of the energy system boundary condition processing device provided below can be found in the above-mentioned limitations of the energy system boundary condition processing method and will not be further elaborated here.

[0135] In one embodiment, Figure 6 As shown, an energy system boundary condition processing device is provided, including: an acquisition module 602, a first processing module 604, a system splitting module 606, a boundary condition set partitioning module 608 and a boundary condition conversion module 610, wherein:

[0136] An acquisition module 602 is configured to acquire a system boundary condition set and a system topology diagram of an energy system, wherein the system boundary condition set includes a power boundary condition set, a balance node boundary condition set, and a topology relationship boundary condition set;

[0137] The first processing module 604 is configured to update the topology relationship in the system topology graph using the topology relationship boundary condition set to obtain an updated topology graph, and convert the topology relationship boundary conditions in the topology relationship boundary condition set into corresponding power boundary conditions to obtain an updated power boundary condition set;

[0138] A system splitting module 606 is configured to split the energy system based on the updated topology map to obtain at least two energy subsystems;

[0139] The boundary condition set partitioning module 608 is configured to partition the updated power boundary condition set and the balancing node boundary condition set to obtain a subsystem boundary condition set for each energy subsystem;

[0140] The boundary condition conversion module 610 is used to convert the boundary conditions of the target subsystem to obtain a boundary condition processing result when it is determined according to the subsystem boundary condition set that there is a target subsystem that does not meet the equilibrium condition.

[0141] The boundary condition processing device for the above-mentioned energy flow calculation first obtains the power boundary condition set, the balance node boundary condition set, the topology relationship boundary condition set, and the system topology diagram of the energy system in the system boundary condition set, and then determines the topology relationship that can be updated in the system topology diagram through the topology relationship boundary condition set, thereby updating the topology relationship in the system topology diagram to obtain an updated topology diagram, and then converts the topology relationship boundary conditions in the topology relationship boundary condition set into corresponding power boundary conditions to obtain an updated power boundary condition set, and then splits the energy system based on the updated topology diagram to obtain at least two energy subsystems, and then divides the updated power boundary condition set and the balance node boundary condition set to obtain the subsystem boundary condition set of each energy subsystem, and when it is determined according to the subsystem boundary condition set that there is a target subsystem that does not meet the balance condition, the boundary conditions that do not meet the balance condition in the target subsystem are converted to obtain the boundary condition processing result. During the entire process, the boundary conditions in the target subsystem that does not meet the equilibrium conditions can be converted, and the unreasonable subsystem boundary conditions in each energy subsystem can be converted into reasonable subsystem boundary conditions, so that the boundary conditions in the energy system are rationalized and in line with the actual operation process of the energy system, avoiding the collapse of energy flow calculation due to conflicts between different boundary conditions.

[0142] In one embodiment, the first processing module is further configured to determine a closed connection area in the system topology map based on a set of topological relationship boundary conditions, and update the closed connection area to a non-closed connection area to obtain an updated topology map.

[0143] In one embodiment, the energy system boundary condition processing device also includes a target subsystem determination module, which is used to determine an energy subsystem whose subsystem power boundary condition in the subsystem boundary condition set is different from the corresponding subsystem balance node boundary condition as a target subsystem that does not meet the balance condition.

[0144] In one embodiment, the boundary condition conversion module is further used to convert the target power boundary condition into a corresponding target balancing node boundary condition when there is a target power boundary condition that can be converted into a balancing node boundary condition in the boundary conditions of the target subsystem, so as to obtain a boundary condition processing result.

[0145] In one embodiment, the boundary condition conversion module is also used to convert the power boundary conditions of the target subsystem into zero power boundary conditions when there is no target power boundary condition that can be converted into a balance node boundary condition in the boundary conditions of the target subsystem, and to convert the boundary conditions of the coupled subsystem coupled with the target subsystem to obtain the boundary condition processing results.

[0146] In one embodiment, the energy system boundary condition processing device also includes a second processing module, which is used to convert the associated boundary conditions associated with the power boundary conditions of the target subsystem in the boundary conditions of the coupled subsystem into zero power boundary conditions, obtain an updated boundary condition set of the coupled subsystem, and then traverse the latest subsystem boundary condition set of each energy subsystem to convert the boundary conditions that do not comply with the operation of the energy system, until the boundary conditions in the latest subsystem boundary condition set of each energy subsystem comply with the operation of the energy system, and obtain the boundary condition processing results.

[0147] Each module in the aforementioned energy system boundary condition processing device can be implemented in whole or in part through software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in hardware form, or can be stored in a computer device memory in software form, so that the processor can call and execute the corresponding operations of each module.

[0148] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 7As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, abbreviated as I / O) and a communication interface. The processor, memory and input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store energy system boundary condition processing data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for processing energy system boundary conditions is implemented.

[0149] Those skilled in the art will understand that Figure 7 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.

[0150] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0151] Obtaining a system boundary condition set and a system topology diagram of the energy system, wherein the system boundary condition set includes a power boundary condition set, a balance node boundary condition set, and a topology relationship boundary condition set;

[0152] The topological relationship in the system topology graph is updated through the topological relationship boundary condition set to obtain an updated topological graph, and the topological relationship boundary conditions in the topological relationship boundary condition set are converted into corresponding power boundary conditions to obtain an updated power boundary condition set;

[0153] Splitting the energy system based on the updated topology graph to obtain at least two energy subsystems;

[0154] Divide the updated power boundary condition set and the balance node boundary condition set to obtain the subsystem boundary condition set of each energy subsystem;

[0155] When it is determined according to the subsystem boundary condition set that there is a target subsystem that does not meet the equilibrium condition, the boundary conditions of the target subsystem are transformed to obtain a boundary condition processing result.

[0156] In one embodiment, when the processor executes the computer program, the processor further implements the following steps: based on the topological relationship boundary condition set, determining the closed connection area in the system topology map, and updating the closed connection area to a non-closed connection area to obtain an updated topology map.

[0157] In one embodiment, when the processor executes the computer program, the following steps are further implemented: an energy subsystem whose subsystem power boundary conditions in the subsystem boundary condition set are different from the corresponding subsystem balance node boundary conditions is determined as a target subsystem that does not meet the balance condition.

[0158] In one embodiment, when the processor executes the computer program, the following steps are further implemented: when there is a target power boundary condition that can be converted into a balancing node boundary condition among the boundary conditions of the target subsystem, the target power boundary condition is converted into a corresponding target balancing node boundary condition to obtain a boundary condition processing result.

[0159] In one embodiment, when the processor executes the computer program, the following steps are also implemented: converting the associated boundary conditions associated with the power boundary conditions of the target subsystem in the boundary conditions of the coupled subsystem into zero power boundary conditions, obtaining an updated boundary condition set of the coupled subsystem, and then traversing the latest subsystem boundary condition set of each energy subsystem to convert the boundary conditions that do not comply with the operation of the energy system, until the boundary conditions in the latest subsystem boundary condition set of each energy subsystem comply with the operation of the energy system, and obtaining the boundary condition processing results.

[0160] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:

[0161] Obtaining a system boundary condition set and a system topology diagram of the energy system, wherein the system boundary condition set includes a power boundary condition set, a balance node boundary condition set, and a topology relationship boundary condition set;

[0162] The topological relationship in the system topology graph is updated through the topological relationship boundary condition set to obtain an updated topological graph, and the topological relationship boundary conditions in the topological relationship boundary condition set are converted into corresponding power boundary conditions to obtain an updated power boundary condition set;

[0163] Splitting the energy system based on the updated topology graph to obtain at least two energy subsystems;

[0164] Divide the updated power boundary condition set and the balance node boundary condition set to obtain the subsystem boundary condition set of each energy subsystem;

[0165] When it is determined according to the subsystem boundary condition set that there is a target subsystem that does not meet the equilibrium condition, the boundary conditions of the target subsystem are transformed to obtain a boundary condition processing result.

[0166] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: based on the topological relationship boundary condition set, a closed connection area in the system topology map is determined, and the closed connection area is updated to a non-closed connection area to obtain an updated topology map.

[0167] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: an energy subsystem whose subsystem power boundary conditions in the subsystem boundary condition set are different from the corresponding subsystem balance node boundary conditions is determined as a target subsystem that does not meet the balance condition.

[0168] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: when there is a target power boundary condition that can be converted into a balancing node boundary condition among the boundary conditions of the target subsystem, the target power boundary condition is converted into a corresponding target balancing node boundary condition to obtain a boundary condition processing result.

[0169] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: converting the associated boundary conditions associated with the power boundary conditions of the target subsystem in the boundary conditions of the coupled subsystem into zero power boundary conditions, obtaining an updated boundary condition set of the coupled subsystem, and then traversing the latest subsystem boundary condition set of each energy subsystem to convert the boundary conditions that do not comply with the operation of the energy system, until the boundary conditions in the latest subsystem boundary condition set of each energy subsystem comply with the operation of the energy system, and obtaining the boundary condition processing results.

[0170] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:

[0171] Obtaining a system boundary condition set and a system topology diagram of the energy system, wherein the system boundary condition set includes a power boundary condition set, a balance node boundary condition set, and a topology relationship boundary condition set;

[0172] The topological relationship in the system topology graph is updated through the topological relationship boundary condition set to obtain an updated topological graph, and the topological relationship boundary conditions in the topological relationship boundary condition set are converted into corresponding power boundary conditions to obtain an updated power boundary condition set;

[0173] Splitting the energy system based on the updated topology graph to obtain at least two energy subsystems;

[0174] Divide the updated power boundary condition set and the balance node boundary condition set to obtain the subsystem boundary condition set of each energy subsystem;

[0175] When it is determined according to the subsystem boundary condition set that there is a target subsystem that does not meet the equilibrium condition, the boundary conditions of the target subsystem are transformed to obtain a boundary condition processing result.

[0176] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: based on the topological relationship boundary condition set, a closed connection area in the system topology map is determined, and the closed connection area is updated to a non-closed connection area to obtain an updated topology map.

[0177] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: an energy subsystem whose subsystem power boundary conditions in the subsystem boundary condition set are different from the corresponding subsystem balance node boundary conditions is determined as a target subsystem that does not meet the balance condition.

[0178] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: when there is a target power boundary condition that can be converted into a balancing node boundary condition among the boundary conditions of the target subsystem, the target power boundary condition is converted into a corresponding target balancing node boundary condition to obtain a boundary condition processing result.

[0179] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: converting the associated boundary conditions associated with the power boundary conditions of the target subsystem in the boundary conditions of the coupled subsystem into zero power boundary conditions, obtaining an updated boundary condition set of the coupled subsystem, and then traversing the latest subsystem boundary condition set of each energy subsystem to convert the boundary conditions that do not comply with the operation of the energy system, until the boundary conditions in the latest subsystem boundary condition set of each energy subsystem comply with the operation of the energy system, and obtaining the boundary condition processing results.

[0180] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions.

[0181] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, database or other media used in the embodiments provided in this application may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory may include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in the various embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, distributed databases based on blockchains. The processor involved in the various embodiments provided herein may be, but are not limited to, a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, and the like.

[0182] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0183] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present application. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present application, and these modifications and improvements fall within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be determined by the appended claims.

Claims

1. A method for processing boundary conditions of an energy system, characterized in that: The method comprises: Obtaining a system boundary condition set and a system topology diagram of the energy system, wherein the system boundary condition set includes a power boundary condition set, a balance node boundary condition set, and a topology relationship boundary condition set; Based on the topological relationship boundary condition set, a closed connection area in the system topology graph is determined; the closed connection area is updated to a non-closed connection area to obtain an updated topological graph, and the topological relationship boundary conditions in the topological relationship boundary condition set are converted into corresponding power boundary conditions to obtain an updated power boundary condition set; Splitting the energy system based on the updated topology graph to obtain at least two energy subsystems; Dividing the updated power boundary condition set and the balancing node boundary condition set to obtain a subsystem boundary condition set for each energy subsystem, wherein the subsystem boundary condition set includes a subsystem power boundary condition and a subsystem balancing node boundary condition corresponding to the subsystem power boundary condition; An energy subsystem whose subsystem power boundary condition in the subsystem boundary condition set is different from the corresponding subsystem balance node boundary condition is determined as a target subsystem that does not meet the balance condition; when it is determined according to the subsystem boundary condition set that there is a target subsystem that does not meet the balance condition, when there is a target power boundary condition that can be converted into a balance node boundary condition in the boundary conditions of the target subsystem, the target power boundary condition is converted into a corresponding target balance node boundary condition to obtain a boundary condition processing result; when there is no target power boundary condition that can be converted into a balance node boundary condition in the boundary conditions of the target subsystem, the power boundary conditions of the target subsystem are all converted into zero power boundary conditions, and the boundary conditions of the coupled subsystem coupled to the target subsystem are converted to obtain a boundary condition processing result.

2. The method according to claim 1, characterized in that The converting the boundary conditions of the coupled subsystem coupled to the target subsystem to obtain the boundary condition processing result includes: Converting the associated boundary conditions associated with the power boundary conditions of the target subsystem in the boundary conditions of the coupled subsystem into zero-power boundary conditions to obtain an updated boundary condition set of the coupled subsystem; The latest subsystem boundary condition sets of each of the energy subsystems are traversed to convert boundary conditions that do not conform to the operation of the energy system, until the boundary conditions in the latest subsystem boundary condition sets of each of the energy subsystems conform to the operation of the energy system, thereby obtaining boundary condition processing results.

3. An energy system boundary condition processing device, characterized in that: The device comprises: An acquisition module is used to acquire a system boundary condition set and a system topology diagram of the energy system, wherein the system boundary condition set includes a power boundary condition set, a balance node boundary condition set, and a topology relationship boundary condition set; A first processing module is configured to determine a closed connection area in the system topology graph based on the topology boundary condition set; update the closed connection area to a non-closed connection area to obtain an updated topology graph; and convert the topology boundary conditions in the topology boundary condition set into corresponding power boundary conditions to obtain an updated power boundary condition set; a system splitting module, configured to split the energy system based on the updated topology map to obtain at least two energy subsystems; a boundary condition set partitioning module, configured to partition the updated power boundary condition set and the balancing node boundary condition set to obtain a subsystem boundary condition set for each energy subsystem, wherein the subsystem boundary condition set includes a subsystem power boundary condition and a subsystem balancing node boundary condition corresponding to the subsystem power boundary condition; A target subsystem determination module is configured to determine an energy subsystem whose subsystem power boundary condition in the subsystem boundary condition set is different from the boundary condition of the corresponding subsystem balance node as a target subsystem that does not meet the balance condition; A boundary condition conversion module is used to, when it is determined according to the subsystem boundary condition set that there is a target subsystem that does not meet the balance condition, and when there is a target power boundary condition that can be converted into a balance node boundary condition in the boundary conditions of the target subsystem, convert the target power boundary condition into a corresponding target balance node boundary condition to obtain a boundary condition processing result; when there is no target power boundary condition that can be converted into a balance node boundary condition in the boundary conditions of the target subsystem, convert all power boundary conditions of the target subsystem into zero power boundary conditions, and convert the boundary conditions of the coupled subsystem coupled to the target subsystem to obtain a boundary condition processing result.

4. The device according to claim 3, characterized in that The device also includes: a second processing module, which is used to convert the associated boundary conditions associated with the power boundary conditions of the target subsystem in the boundary conditions of the coupled subsystem into zero power boundary conditions to obtain an updated boundary condition set of the coupled subsystem; traverse the latest subsystem boundary condition sets of each of the energy subsystems to convert boundary conditions that do not comply with the operation of the energy system, until the boundary conditions in the latest subsystem boundary condition sets of each of the energy subsystems comply with the operation of the energy system, and obtain a boundary condition processing result.

5. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to claim 1 or 2 are implemented.

6. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to claim 1 or 2 are implemented.

7. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to claim 1 or 2 are implemented.

Citation Information

Patent Citations

  • Voltage stability margin-based multi-microgrid system islanding method

    CN104485671A

  • Power system power flow calculation method andsystem and electronic device

    CN109066687A