A hierarchical and group collaborative frequency support method for integrated energy system
By employing a hierarchical and clustered collaborative frequency support method and utilizing a thermal-electric coupling virtual inertia support mechanism, the frequency stability problem of the integrated energy system was solved, achieving coordinated response and safe and stable operation of multi-energy flow resources, expanding support capacity, and avoiding secondary frequency disturbances.
Patent Information
- Application Number
- CN202611332601.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-31
- Publication Date
- 2026-11-24
AI Technical Summary
With the high proportion of renewable energy connected to the grid, the equivalent inertia and frequency regulation capability of the integrated energy system decrease, and the frequency stability problem becomes prominent. Existing technologies are unable to respond quickly and effectively utilize the energy storage potential across energy networks, resulting in a mismatch between control strategies and actual conditions, and even causing secondary frequency disturbances.
A hierarchical and clustered collaborative frequency support method is proposed. By establishing a thermal-electric coupling virtual inertia support mechanism and utilizing a dynamic clustered collaborative architecture, it achieves efficient collaborative support of grid frequencies by multi-energy complementary resources. This includes technical means such as frequency event classification and judgment, quantification of available support capacity of resources, dynamic clustering, distributed consensus protocol, and thermal-electric coupling virtual inertia support.
It enables multi-energy flow resources to participate in frequency support in a coordinated manner, expands the support capacity, ensures the safe and stable operation of the system, avoids secondary frequency disturbances, and ensures the orderliness and security of frequency recovery.
Smart Images

Figure CN123162884A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of power system frequency control technology, and in particular to a hierarchical and clustered coordinated frequency support method for integrated energy systems. Background Technology
[0002] With a high proportion of renewable energy being connected to the grid via power electronic converters, the equivalent inertia and frequency regulation capability of integrated energy systems continue to decline, making frequency stability issues increasingly prominent. Existing frequency support technologies are mostly limited to the independent control of power-side resources or rely on centralized decision-making by upper-level dispatch centers. This not only makes it difficult to achieve rapid response in the early stages of frequency incidents but also fails to effectively utilize the energy storage potential inherent in cross-energy networks such as heating networks. At the same time, dynamic fluctuations in support capacity caused by changes in operating conditions within the system, as well as disordered recovery during the support withdrawal phase, can easily lead to mismatches between control strategies and actual conditions, and even cause secondary frequency disturbances. Summary of the Invention
[0003] In view of this, the purpose of this invention is to propose a hierarchical and clustered collaborative frequency support method for integrated energy systems. By establishing a thermal-electric coupling virtual inertia support mechanism and introducing a dynamic clustered collaborative architecture, it achieves efficient collaborative support of multi-energy complementary resources for grid frequency.
[0004] To achieve the above-mentioned technical objectives, the technical solution adopted by this invention is: a hierarchical and clustered coordinated frequency support method for an integrated energy system, comprising: Acquire frequency measurement data of key nodes in the integrated energy system, extract frequency change rate index and frequency deviation index, classify frequency events based on two-dimensional frequency event feature space, and generate frequency event classification results. In response to the frequency event classification results, the operating status parameters of each adjustable resource are collected, the available support capacity of each adjustable resource is quantified, and an available support capacity vector is generated. Based on the available support capacity vector, the comprehensive response characteristic index of each adjustable resource is calculated. Based on the comprehensive response characteristic index, the adjustable resources are aggregated into inertial support group, fast frequency modulation group, continuous frequency modulation group and thermal inertia buffer group by clustering algorithm to generate dynamic clustering results. The global power deficit is determined based on the frequency event classification results. The global power deficit is then negotiated and allocated among the functional support groups through a distributed consensus protocol to generate the support target power for each functional support group. Each functional support group performs multi-timescale collaborative response within the group based on the target power of the support. The thermal inertia buffer group performs thermal-electric coupling virtual inertia support. Through the dynamic thermal balance model of the heating network, the thermal inertia of the heating network is converted into equivalent virtual inertia, generating virtual inertia support power commands and controlling the execution of the electric-thermal conversion equipment. Real-time monitoring of the multidimensional constraint parameters of each adjustable resource; when the multidimensional constraint parameters approach the constraint boundary, the constraint correction mechanism is triggered, and the supporting task is transferred to the resource with sufficient constraint margin through power reallocation. Once the frequency recovers to the preset exit dead zone range and remains stable for a preset time, an exit trigger signal is generated. Based on the exit trigger signal, the exit timing optimization model is solved through the model predictive control framework to generate an ordered exit sequence and control each adjustable resource to gradually recover to normal operation according to the ordered exit sequence.
[0005] In some embodiments, frequency measurement data of key nodes in an integrated energy system are acquired, and frequency change rate and frequency deviation indices are extracted. Frequency events are then classified and determined based on a two-dimensional frequency event feature space, generating frequency event classification results, including: The voltage signal of the key node is sampled at a preset sampling period. The instantaneous frequency value is extracted by the zero-crossing detection method. The instantaneous frequency value is then subjected to moving average filtering to obtain the filtered frequency measurement value. Based on the filtered frequency measurement, the frequency difference between the current time and the previous time is calculated and divided by the sampling period to obtain the frequency change rate index. The difference between the filtered frequency measurement and the rated frequency value is also calculated to obtain the frequency deviation index. A two-dimensional frequency event feature space is constructed with the frequency change rate index as the horizontal axis and the frequency deviation index as the vertical axis. In the two-dimensional frequency event feature space, a hierarchical boundary line is preset, which includes the inertial support start line, the primary frequency modulation start line and the secondary frequency modulation start line. When the absolute value of the frequency change rate index exceeds the threshold corresponding to the inertial support start line and the frequency deviation index does not reach the primary frequency modulation start threshold, the frequency event is determined to belong to the inertial support level. When the absolute value of the frequency deviation index exceeds the primary frequency modulation start threshold, the frequency event is determined to belong to the primary frequency modulation level. When the absolute value of the frequency deviation index exceeds the secondary frequency modulation start threshold and the duration exceeds the preset delay time, the frequency event is determined to belong to the secondary frequency modulation level. The classification results and corresponding frequency characteristic quantities are uploaded to the cluster coordination layer through the event-triggered communication mechanism, and the event level signal is broadcast to the execution layer of the local device simultaneously to generate the frequency event classification results.
[0006] In some embodiments, in response to the frequency event classification results, the operating status parameters of each adjustable resource are collected, the available support capacity of each adjustable resource is quantified, and an available support capacity vector is generated, including: In response to the frequency event classification results, the system collects the active power output, maximum power output and minimum technical output of distributed power sources, the current state of charge, maximum allowable charging and discharging power and charging and discharging efficiency of energy storage devices, the current load power, reduceable capacity and transferable capacity of controllable loads, the current power consumption, heat power output, power-to-heat conversion efficiency and thermal inertia time constant of electric-to-thermal conversion equipment, and the pipe temperature distribution, circulating water pump flow rate and total heat storage of the heating network system. Based on operating status parameters, the available upward adjustment capacity of distributed power sources is calculated as the difference between the maximum power output and the current active power output; the available downward adjustment capacity of distributed power sources is calculated as the difference between the current active power output and the minimum technical output; the available discharge capacity of energy storage devices is calculated as the difference between the current state of charge and the minimum allowable state of charge multiplied by the rated capacity and discharge efficiency; the available charging capacity of energy storage devices is calculated as the difference between the maximum allowable state of charge and the current state of charge multiplied by the rated capacity and charging efficiency; the available reduction capacity of controllable loads is calculated as the difference between the reduction capacity and the already used reduction capacity; and the available frequency regulation capacity of electric-thermal conversion equipment is calculated as the maximum adjustable power within the power regulation range that meets the thermal inertia constraints of the heating network and the thermal comfort constraints of users. A one-dimensional dynamic heat balance model of the heating network is established, and the temperature distribution changes of each section of the heating network pipeline are transformed into equivalent power changes. Based on the heat capacity parameters of the heating network pipeline, the circulating water flow rate, and the difference between the current temperature of each section and the target temperature, the heat that the heating network can absorb or release through temperature changes within a preset support time window is calculated. The heat is divided by the preset support time window to obtain the equivalent average power, which is used as the available equivalent inertia capacity of the heating network system. The available up-adjustment capacity, available down-adjustment capacity, available equivalent inertia capacity, and corresponding resource identifiers, resource types, response time constants, and sustainable support times of each adjustable resource are summarized to generate an available support capacity vector.
[0007] In some embodiments, based on the available support capacity vector, a comprehensive response characteristic index for each adjustable resource is calculated, including: Based on the available support capacity vector, the response speed component of each adjustable resource is determined. The response speed component is determined according to the time required for the resource to reach 90% of the target value from receiving the power command. The shorter the time required to reach 90% of the target value, the larger the response speed component. The response speed component of the fast electric heater in the energy storage device and the electric-thermal conversion equipment is greater than that of the heating network system, and the response speed component of the heating network system is greater than that of the traditional generator set. Determine the energy constraint component of each adjustable resource. The energy constraint component is determined based on the ratio of available support capacity to rated capacity. The larger the ratio, the more sufficient the current energy margin of the resource. For electro-thermal coupling resources, the coupling strength component is determined. The coupling strength component characterizes the degree of influence of resource electric power regulation on the energy state of the coupled heat network or gas network. The higher the coupling strength, the more significant the energy change on the heat network side when the resource electric power is regulated. The response speed component, energy constraint component, and coupling strength component are weighted and summed according to preset weights to generate a comprehensive response characteristic index for each adjustable resource.
[0008] In some embodiments, based on the comprehensive response characteristic index, a clustering algorithm is used to aggregate the adjustable resources into an inertial support group, a fast frequency tuning group, a continuous frequency tuning group, and a thermal inertia buffer group, generating dynamic clustering results, including: Each adjustable resource is mapped to a clustered feature space with dimensions of response speed, available up-adjustment capacity, available down-adjustment capacity, and coupling strength. Based on the cluster feature space, a clustering algorithm based on density peaks is used to divide each adjustable resource into an inertial support group, a fast frequency modulation group, a continuous frequency modulation group, and a thermal inertia buffer group. Resources with a response time constant less than a first preset time threshold and an available support capacity greater than a first preset capacity threshold are aggregated into an inertial support group. Resources with a response time constant between a first preset time threshold and a second preset time threshold and a power regulation rate that meets preset conditions are aggregated into a fast frequency modulation group. Resources with a response time constant greater than a second preset time threshold and an available support capacity that meets preset conditions are aggregated into a continuous frequency modulation group. Resources composed of an electro-thermal conversion device and a heating network system whose coupling strength meets preset conditions are aggregated into a thermal inertia buffer group. When the frequency event level changes, the comprehensive response characteristic index of each adjustable resource is recalculated. If the ratio of available support capacity to rated capacity decreases due to previous support actions and no longer meets the original grouping conditions, the resource is adjusted to a functional support group that meets the conditions. If the temperature distribution of the heating network changes, causing changes in the degree of heating network energy coupling influence and available capacity of the thermal inertia buffer group, the intra-group resource configuration of the thermal inertia buffer group is updated synchronously, and the updated dynamic grouping results are generated.
[0009] In some embodiments, a global power deficit is determined based on the frequency event classification results, and the global power deficit is negotiated and allocated among the functional support groups through a distributed consensus protocol to generate the support target power for each functional support group, including: When the frequency event classification result is at the inertial support level, the global power deficit is calculated based on the frequency change rate index and the equivalent inertia requirement of the integrated energy system. The global power deficit is directly proportional to the frequency change rate and inversely proportional to the equivalent inertia. When the frequency event classification result is primary frequency modulation level, the global power deficit is calculated based on the frequency deviation index and the system droop coefficient. When the frequency event classification result is secondary frequency modulation level, the global power deficit is calculated based on the integral of the frequency deviation and the system secondary frequency modulation demand coefficient. Group agents are set up for each functional support group. The initial value of the local state variable of each group agent is the ratio of the available support capacity of the group to the global power deficit. The group agents interact with each other through a preset sparse communication topology and iteratively update the local state variables according to the distributed average consensus algorithm driven by the Laplace matrix. In each iteration, the update amount of the local state variable is proportional to the sum of the differences between the local state variables of the group agent and the communication neighbors. The update step size is adaptively adjusted according to the connectivity of the communication topology. When the maximum difference of the local state variables of all group agents is less than the preset convergence threshold, the iteration is considered to have converged. The power deficit share allocated to each functional support group is calculated based on the product of the convergent local state variables and the available support capacity of the group. If the product is greater than the available support capacity of the group, the power deficit share is truncated to the available support capacity and used as the support target power of each functional support group. Among them, the inertial support stage inertial support group has the highest allocation priority, and its allocation share is given priority within the available capacity range. The remaining power deficit is allocated by the fast frequency modulation group and the thermal inertia buffer group according to the available capacity ratio. In the primary frequency modulation stage, the fast frequency modulation group and the continuous frequency modulation group jointly undertake the main support tasks, the inertial support group is switched to standby status, and the thermal inertia buffer group undertakes the task of power fluctuation smoothing. In the secondary frequency modulation stage, the continuous frequency modulation group and the thermal inertia buffer group serve as the main support groups, while the fast frequency modulation group gradually withdraws, and the inertial support group is only activated briefly when the frequency experiences a secondary fluctuation.
[0010] In some embodiments, each functional support group performs multi-timescale collaborative response within the group based on the target power of the support. The thermal inertia buffer group performs thermal-electric coupling virtual inertia support, converts the thermal inertia of the heating network into equivalent virtual inertia through the dynamic thermal balance model of the heating network, generates virtual inertia support power commands, and controls the electro-thermal conversion equipment to execute them, including: Each energy storage converter within the inertial support group simulates the rotor motion equation of a synchronous generator. Virtual electromagnetic power is generated based on the local frequency change rate. The virtual electromagnetic power is proportional to the frequency change rate, and the proportionality coefficient is the virtual inertia coefficient. The virtual inertia coefficient is adaptively adjusted according to the remaining available capacity of the energy storage device. When the state of charge of the energy storage device is close to the upper limit, the virtual inertia coefficient is lowered to avoid overcharging. When the state of charge of the energy storage device is close to the lower limit, the virtual inertia coefficient is lowered to avoid over-discharging. The distributed power sources within the fast frequency modulation group adjust the active power output proportionally according to the local frequency deviation. The droop coefficient setting takes into account the thermal efficiency operating range of the unit. The controllable load gradually reduces the load power according to the preset power change rate. The electric-thermal conversion equipment rapidly changes the power consumption within the range allowed by the thermal inertia of the heating network. The continuous frequency modulation group takes minimizing the total operating cost within the group as the objective function, and constructs an economic scheduling optimization model with constraints such as power balance constraints, output upper and lower limits constraints, ramp rate constraints, and energy continuity constraints. The model predictive control framework is introduced to predict the frequency deviation evolution trend in the next few time steps, and the optimal power allocation scheme for each resource within the group is obtained by solving the problem. The thermal inertia buffer group executes the equivalent virtual inertia support sub-strategy and the thermal power buffer adjustment sub-strategy in parallel, wherein the equivalent virtual inertia support sub-strategy is as follows: A lumped parameter heat balance model for the heating network is established, which equates the heating network to a thermal energy storage body with concentrated heat capacity. The concentrated heat capacity is the sum of the total heat capacity of the circulating water, the equivalent heat capacity of the pipe wall, and the equivalent heat capacity on the user side. Based on the lumped parameter heat balance model, the dynamic transmission relationship between the change in electrical power of the electro-thermal conversion equipment and the change in the average temperature of the heating network is calculated. The dynamic transmission relationship is a first-order inertial process, which makes the frequency response of the heating network system to the change in electrical power have low-pass filtering characteristics. Using the low-pass filtering characteristics, a virtual inertia support power command is generated. The virtual inertia support power command is composed of the superposition of inertial support component and damping support component. The inertial support component is proportional to the frequency change rate, and the proportionality coefficient is the equivalent virtual inertia coefficient of the heating network. The equivalent virtual inertia coefficient of the heating network is adaptively set according to the current heat storage state of the heating network. The damping support component is proportional to the frequency deviation, and the proportionality coefficient is the equivalent damping coefficient of the heating network. The equivalent damping coefficient of the heating network is set according to the sustainable support time of the heating network. The thermal power buffer regulation sub-strategy is as follows: when the power regulation of the fast frequency modulation group or the inertial support group overshoots or fluctuates, the thermal inertia buffer group absorbs or compensates for the fluctuating power by reverse regulating the electro-thermal conversion power, so that the net power output of the integrated energy system to the grid is smooth. The virtual inertia support power command is sent to the electric-thermal conversion equipment for execution. The heat source outlet temperature, the heating network return water temperature, the user's indoor temperature, and the operating status of the circulating water pump are monitored in real time. When any key status parameter approaches the safe operating boundary, the constraint limiting mechanism is triggered to limit the virtual inertia support power command within a safe range.
[0011] In some embodiments, a lumped parameter heat balance model for the heating network is established, which equates the heating network to a thermal energy storage body with concentrated heat capacity, including: The sum of the total heat capacity of the circulating water in the heating network, the equivalent heat capacity of the pipe wall, and the equivalent heat capacity on the user side is taken as the centralized heat capacity, and a dynamic balance equation is constructed between the rate of change of the average temperature of the heating network with time and the heat power input from the heat source and the heat power output from the user. Based on the dynamic equilibrium equation, the dynamic transmission relationship between the change in electric power of the electric-thermal conversion equipment and the change in the average temperature of the heating network is calculated. The dynamic transmission relationship is manifested as a first-order inertial process determined by the heat capacity and the heat exchange coefficient. The frequency domain transfer function of the first-order inertial process gives the heating network system a low-pass filtering characteristic for the frequency response to the change in electric power. High-frequency power fluctuations are attenuated by the heat capacity of the heating network, and low-frequency power changes achieve energy transfer through the change in the temperature of the heating network. By utilizing the low-pass filtering characteristics, the frequency change rate signal and frequency deviation signal are received to generate a virtual inertia support power command. The virtual inertia support power command is composed of the superposition of inertia support component and damping support component. The inertial support component is proportional to the frequency change rate, and the proportionality coefficient is the equivalent virtual inertia coefficient of the heating network. The equivalent virtual inertia coefficient of the heating network is adaptively set according to the current heat storage state of the heating network. When the average temperature of the heating network is higher than the upper temperature threshold, the power down-adjustment capability in the inertial support component is reduced. When the average temperature of the heating network is lower than the lower temperature threshold, the power up-adjustment capability in the inertial support component is reduced. The damping support component is proportional to the frequency deviation, and the proportionality coefficient is the equivalent damping coefficient of the heating network. The equivalent damping coefficient of the heating network is set according to the sustainable support time of the heating network to ensure that the thermal energy storage of the heating network is not depleted too quickly when the frequency deviation persists. The virtual inertia support power command is sent to the electric-thermal conversion equipment for execution. The heat source outlet temperature, the heating network return water temperature, the user's indoor temperature, and the operating status of the circulating water pump are monitored in real time. When any key status parameter approaches the safe operating boundary, the constraint limiting mechanism is triggered to limit the virtual inertia support power command within a safe range.
[0012] In some embodiments, multidimensional constraint parameters of each adjustable resource are monitored in real time. When the multidimensional constraint parameters approach the constraint boundary, a constraint correction mechanism is triggered to transfer the supporting task to a resource with sufficient constraint margin through power reallocation, including: Real-time monitoring of electrical, thermodynamic, energy state, and equipment operation constraints of all adjustable resources. Electrical constraints include upper and lower limits of output, power change rate limits, grid connection point voltage amplitude limits, and line current carrying capacity limits. Thermodynamic constraints include limits on the temperature difference between supply and return water in the heating network, maximum allowable temperature of heating network pipelines, comfortable indoor temperature range for users, and chilled water temperature range in the cold network. Energy state constraints include upper and lower limits of the state of charge of energy storage devices, upper and lower limits of heating network heat storage, lower limit of distributed power reserve capacity, and upper limit of cumulative adjustment time for controllable loads. Equipment operation constraints include minimum start-stop interval of gas turbines, start-stop frequency limits of heat pump compressors, upper limit of temperature of electric boiler thermal elements, and maximum continuous operating current of energy storage converters. For each constraint parameter, calculate the distance margin between the current value and the constraint boundary. Classify and summarize the distance margins according to resource ownership and constraint category to construct a constraint margin matrix. The rows of the constraint margin matrix correspond to each adjustable resource, the columns correspond to each constraint category, and the matrix elements are the minimum distance margin of the corresponding resource under the corresponding constraint category. When any element in the constraint margin matrix is less than the preset safety margin threshold, the risk source of exceeding the limit is identified, and a constraint warning message is sent to the group agent to which the resource belongs. The group agent initiates power reallocation within the group, transferring the support task share of the resource that is about to exceed the limit to other resources in the same group with sufficient constraint margin. The amount of transfer is determined according to the constraint margin ratio of each resource. When resources in the same group lack sufficient constraint margin, the group agent requests the inter-group power reallocation from the inter-group negotiation module, re-executes the negotiation allocation of global power deficit, and transfers some support tasks from the constrained group to the constrained group. For the thermal inertia buffer group, taking advantage of the time delay characteristic of the electric power regulation effect being reflected in the user's indoor temperature after the heat transfer delay of the heating network, the trend of the user's indoor temperature change in the next few time steps is predicted based on the dynamic heat balance model of the heating network. If the prediction results show that the user's indoor temperature will deviate from the comfort range, the power recovery program of the thermal inertia buffer group is initiated in advance to gradually restore the electric-heat conversion power to the normal heating level. At the same time, other functional support groups are requested to temporarily increase their support share to compensate for the withdrawal of the thermal inertia buffer group.
[0013] In some embodiments, after the frequency recovers to a preset exit dead zone range and remains stable for a preset time, an exit trigger signal is generated. Based on the exit trigger signal, an exit timing optimization model is solved using a model predictive control framework to generate an ordered exit sequence and control each adjustable resource to gradually recover to normal operating status according to the ordered exit sequence, including: The frequency measurement unit continuously monitors the filtered frequency measurement value. When the frequency measurement value remains within the exit dead zone range for a duration exceeding the preset stable duration, a local exit trigger signal is generated and broadcast to the upper layer. After receiving the local exit trigger signals from a majority of nodes, the cluster coordination layer confirms that the global exit trigger condition is met and sends an exit start command to each functional support group. After receiving the exit start command, each functional support group quantifies the exit recovery requirements of each adjustable resource. The energy storage device determines the recovery charging power or recovery discharging power based on the change in the state of charge during the support phase. The thermal inertia buffer group calculates the continuous heat input or output required for the recovery of the heating network temperature based on the difference between the current average temperature of the heating network and the target temperature, and converts the heat demand into the recovery power command of the electric-thermal conversion equipment. The controllable load determines the recovery rate based on the preset load recovery sequence. An exit timing optimization model is constructed. The objective function of the exit timing optimization model is to minimize the variance of the grid frequency fluctuation during the exit process. The power recovery rate, recovery start time and recovery duration of each resource are used as decision variables. The constraints are the upper limit of power recovery rate, energy recovery demand, heating network temperature recovery, user comfort recovery and recovery timing coupling constraints. The recovery timing coupling constraints ensure that the total power recovered by the set of resources performing power recovery at any time does not exceed the upper limit of power recovery dynamically set according to the current operating state of the grid and the frequency stability margin. The exit timing optimization model is solved using a model predictive control framework. At each prediction time step, the power grid frequency response trajectory of each resource is predicted in the next few time steps when it is executed according to different recovery strategies based on the current state of each resource and the power grid frequency measurement value. The recovery strategy that minimizes the fluctuation of the predicted frequency trajectory is selected as the execution strategy for the current time step. The exit strategy is continuously updated through rolling optimization to generate an ordered exit sequence. Control each adjustable resource to gradually restore it to normal operation in an orderly exit sequence. After the exit and recovery phase is completed, each resource will be redistributed to the normal operation group.
[0014] By adopting the above technical solution, the present invention has the following beneficial effects compared with the prior art: The present invention provides a hierarchical and clustered collaborative frequency support method for integrated energy systems. It extracts frequency change rate and frequency deviation indicators from frequency measurement data and performs hierarchical judgment based on a two-dimensional frequency event feature space. It collects the operating status parameters of each adjustable resource and quantifies the available support capacity vector. Based on this, it calculates the comprehensive response characteristic index and clusters to generate inertial support groups, fast frequency modulation groups, continuous frequency modulation groups, and thermal inertia buffer groups. Based on the hierarchical results, it determines the global power deficit and negotiates its allocation to each functional support group through a distributed consensus protocol. Each group performs multi-timescale collaborative response. The thermal inertia buffer group converts the thermal inertia of the heating network into equivalent virtual inertia through the dynamic thermal balance model of the heating network. It monitors multi-dimensional constraint parameters in real time and triggers constraint correction mechanisms. After frequency recovery, it generates an orderly exit sequence to control the gradual recovery of resources. This realizes the collaborative participation of multiple energy flow resources in frequency support, expands the support capacity, and ensures the safe and stable operation of the system. Attached Figure Description
[0015] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0016] Figure 1 This is a schematic diagram of steps S101 to S107 of the method described in the specific implementation embodiment; Figure 2 This is a schematic diagram of steps S201 to S204 of the method described in the specific implementation. Detailed Implementation
[0017] The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be particularly noted that the following embodiments are for illustrative purposes only and do not limit the scope of the invention. Similarly, the following embodiments are only some, not all, embodiments of the present invention, and all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0018] Please see Figure 1 This embodiment provides a hierarchical and clustered coordinated frequency support method for an integrated energy system, including: S101. Obtain frequency measurement data of key nodes in the integrated energy system, extract frequency change rate index and frequency deviation index, classify frequency events based on two-dimensional frequency event feature space, and generate frequency event classification results. S102. In response to the frequency event classification results, collect the operating status parameters of each adjustable resource, quantify the available support capacity of each adjustable resource, and generate an available support capacity vector. S103. Based on the available support capacity vector, calculate the comprehensive response characteristic index of each adjustable resource. Based on the comprehensive response characteristic index, use a clustering algorithm to aggregate each adjustable resource into an inertial support group, a fast frequency modulation group, a continuous frequency modulation group, and a thermal inertia buffer group, and generate dynamic clustering results. S104. Determine the global power deficit based on the frequency event classification results, and negotiate and allocate the global power deficit among the functional support groups through a distributed consensus protocol to generate the support target power of each functional support group. S105. Each functional support group performs multi-timescale collaborative response within the group according to the target power of the support. The thermal inertia buffer group performs thermal-electric coupling virtual inertia support. Through the dynamic thermal balance model of the heating network, the thermal inertia of the heating network is converted into equivalent virtual inertia, generating virtual inertia support power commands and controlling the electric-thermal conversion equipment to execute. S106. Real-time monitoring of the multi-dimensional constraint parameters of each adjustable resource. When the multi-dimensional constraint parameters approach the constraint boundary, the constraint correction mechanism is triggered, and the supporting task is transferred to the resource with sufficient constraint margin through power reallocation. S107. When the frequency recovers to the preset exit dead zone range and remains stable for a preset time, an exit trigger signal is generated. Based on the exit trigger signal, the exit timing optimization model is solved through the model predictive control framework to generate an ordered exit sequence and control each adjustable resource to gradually recover to normal operation according to the ordered exit sequence.
[0019] In step S101, the frequency measurement data is obtained by sampling the local voltage signal and extracting the instantaneous frequency value using frequency measurement units deployed at key nodes. The frequency change rate index reflects the severity of frequency fluctuations, and the frequency deviation index reflects the magnitude of frequency deviation from the rated value. These two indicators constitute the coordinate axes of a two-dimensional frequency event feature space. Frequency events are divided into different levels using preset hierarchical boundary conditions, generating a frequency event classification result. This result provides a basis for the subsequent formulation of differentiated support strategies.
[0020] In step S102, adjustable resources include at least distributed power sources, energy storage devices, controllable loads, and electro-thermal conversion equipment with power regulation capabilities. Operating status parameters are collected by the management systems of each resource, reflecting the current operating condition and regulation margin of the resource. Available support capacity characterizes the power regulation capability that a resource can safely provide under the current state, quantified based on the output range, energy state, and regulation rate limits in the operating status parameters. Available support capacity vectors aggregate the capacity information of each resource into structured data in a unified format, providing a data foundation for clustering and power allocation.
[0021] In step S103, the comprehensive response characteristic index is preferably synthesized by weighting multi-dimensional features such as response speed, energy margin, and coupling strength according to preset weights, and is used to quantitatively characterize the comprehensive response capability of resources. The clustering algorithm aggregates resources into inertial support groups, fast frequency modulation groups, continuous frequency modulation groups, and thermal inertia buffer groups based on the similarity of the distribution of the comprehensive response characteristic index of each resource in the feature space. The inertial support group is responsible for instantaneous power support to suppress the rate of frequency change; the fast frequency modulation group is responsible for quickly filling power deficits; the continuous frequency modulation group is responsible for providing continuous power support; and the thermal inertia buffer group is responsible for using the thermal inertia of the heating network to provide equivalent virtual inertia support and smooth power fluctuations.
[0022] In step S104, the global power deficit is determined based on the frequency deviation reflected in the frequency event classification results and the system inertia requirements, representing the total power compensation required to restore frequency balance. The distributed consensus protocol iteratively negotiates through a pre-defined communication topology between the agents of each group, enabling each group to reach a consensus on the power allocation scheme, thus avoiding the communication bottleneck of centralized decision-making. The target power is the power support task undertaken by each group after negotiation and allocation.
[0023] In step S105, the multi-timescale coordinated response within the group refers to each functional support group executing power support at an appropriate timescale based on its own resource characteristics, forming a relay coordination. Thermo-electric coupling virtual inertia support changes the thermal storage state of the heating network by adjusting the electric power of the electro-thermal conversion equipment. Based on the dynamic thermal balance model of the heating network, the thermal inertia of the heating network is converted into an equivalent virtual inertia, generating virtual inertia support power commands and controlling the electro-thermal conversion equipment to execute them, thereby presenting an equivalent inertia response on the grid side.
[0024] In step S106, the multidimensional constraint parameters include at least electrical, thermodynamic, energy state, and equipment operation safety restrictions, reflecting the safety boundaries that resources must not cross during the support process. When the constraint parameters approach the boundary, a constraint correction mechanism is triggered, which transfers the support task to resources with sufficient constraint margins through power reallocation, ensuring that the support process does not violate the system's safe operating boundaries.
[0025] In step S107, the exit dead zone range is the judgment interval where the frequency recovers to near the rated value. When the frequency remains within this range and reaches a preset stabilization time, an exit trigger signal is generated. The model predictive control framework predicts the future frequency response trajectory based on the system state. By solving the exit timing optimization model through rolling optimization, it coordinates the exit order and recovery rate of each resource to generate an ordered exit sequence, avoiding secondary frequency fluctuations caused by the exit process.
[0026] This embodiment determines the severity of events through frequency event classification, triggering resource capacity quantification and dynamic clustering. Heterogeneous resources are organized into four functional support groups based on their response characteristics. Subsequently, a distributed consensus protocol is used to negotiate and allocate power deficits among the groups. Each group performs a coordinated response at its appropriate time scale. The thermal inertia buffer group transforms the thermal inertia of the heating network into equivalent virtual inertia through a thermal-electric coupling mechanism, expanding the support resource pool. During the support process, multi-dimensional constraint monitoring and correction ensure operational safety. After frequency recovery, a smooth termination is achieved by optimizing the exit timing. This method is guided by the results of frequency event classification, uses dynamic clustering as an organizational means, and features thermal-electric coupling virtual inertia support as a unique mechanism. It balances rapid response, resource coordination, and operational safety, realizing the full exploitation and orderly release of frequency support capabilities under a multi-energy complementary framework.
[0027] Please see Figure 2 In some embodiments, frequency measurement data of key nodes in the integrated energy system are acquired, and frequency change rate and frequency deviation indices are extracted. Frequency events are then classified and determined based on a two-dimensional frequency event feature space, generating frequency event classification results, including: S201. Sample the voltage signal of the key node with a preset sampling period, extract the instantaneous frequency value by zero-crossing detection, and perform moving average filtering on the instantaneous frequency value to obtain the filtered frequency measurement value. S202. Based on the filtered frequency measurement value, calculate the frequency difference between the current time and the previous time and divide it by the sampling period to obtain the frequency change rate index, and calculate the difference between the filtered frequency measurement value and the rated frequency value to obtain the frequency deviation index. S203. Construct a two-dimensional frequency event feature space with the frequency change rate index as the horizontal axis and the frequency deviation index as the vertical axis. Preset hierarchical boundary lines in the two-dimensional frequency event feature space. The hierarchical boundary lines include the inertial support start line, the primary frequency modulation start line and the secondary frequency modulation start line. When the absolute value of the frequency change rate index exceeds the threshold corresponding to the inertial support start line and the frequency deviation index does not reach the primary frequency modulation start threshold, the frequency event is determined to belong to the inertial support level. When the absolute value of the frequency deviation index exceeds the primary frequency modulation start threshold, the frequency event is determined to belong to the primary frequency modulation level. When the absolute value of the frequency deviation index exceeds the secondary frequency modulation start threshold and the duration exceeds the preset delay time, the frequency event is determined to belong to the secondary frequency modulation level. S204. Upload the classification judgment result and the corresponding frequency characteristic quantity to the cluster coordination layer through the event-triggered communication mechanism, and simultaneously broadcast the event level signal to the execution layer of the local device to generate the frequency event classification result.
[0028] In step S201, the preset sampling period is adjusted based on the system inertia level and the historical characteristics of frequency fluctuations. The zero-crossing detection method calculates the instantaneous frequency value by detecting the time interval between two consecutive zero-crossings of the voltage waveform in the same direction. It has low computational complexity and fast response speed, making it suitable for local high-frequency sampling scenarios, but it is susceptible to false zero-crossings caused by harmonics and transient disturbances. The moving average filtering process averages multiple instantaneous frequency values within a preset window. The window length is determined by a trade-off between the measurement noise level and the real-time requirements of frequency event detection.
[0029] In step S202, the frequency change rate index is calculated based on the filtered frequency measurement value using differential calculations between adjacent time points to ensure the index's accuracy. The rated frequency value is taken as the grid's rated frequency during integrated energy system grid-connected operation and as the system's nominal frequency during islanded operation. The frequency deviation index reflects the cumulative effect of system power imbalance, while the frequency change rate index reflects the instantaneous impact intensity of power imbalance. Both indexes characterize frequency events from the dimensions of deviation magnitude and change rate, respectively, providing complementary criteria for graded determination.
[0030] In step S203, the inertial support start line, primary frequency modulation start line, and secondary frequency modulation start line correspond to different severity levels of frequency events. Their thresholds are set based on the system's equivalent inertia level, frequency modulation resource allocation, and frequency safety operation standards, and can be dynamically adjusted according to the actual system's frequency safety requirements. The inertial support level represents the initial disturbance stage where the frequency changes rapidly but the deviation is still small. The primary frequency modulation level represents a sustained power imbalance state where the frequency deviation has exceeded the limit. The secondary frequency modulation level represents a severe event where the frequency deviation continues to exceed the limit and the primary frequency modulation resources are insufficient to restore the frequency. The preset delay time is used to prevent misjudgment triggered by instantaneous disturbances, and its value is greater than the duration of short-term disturbances that may occur in the system.
[0031] In step S204, the event-triggered communication mechanism differs from the periodic reporting method, sending data to the upper layer only when the frequency event classification result changes abruptly. The frequency characteristic quantities include the frequency change rate index and frequency deviation index on which the classification determination is based, as well as the corresponding frequency event level identifier. The cluster coordination layer uses this to perceive the system frequency status and coordinate the actions of each functional support group. The execution layer of the local device quickly initiates the corresponding level of response preparation based on the event level signal.
[0032] This embodiment refines the complete implementation process of frequency event classification and determination. It acquires reliable frequency measurement data by combining zero-crossing detection and moving average filtering. A two-dimensional frequency event feature space is constructed from two dimensions: rate of change and deviation magnitude. Frequency events are divided into three levels using classification boundary lines, and an event-triggered communication mechanism is employed to achieve hierarchical transmission of classification results. This embodiment effectively suppresses misjudgments caused by noise interference and transient disturbances while ensuring real-time frequency event detection, providing a reliable basis for the accurate execution of subsequent differentiated frequency support strategies.
[0033] In some embodiments, in response to the frequency event classification results, the operating status parameters of each adjustable resource are collected, the available support capacity of each adjustable resource is quantified, and an available support capacity vector is generated, including: In response to the frequency event classification results, the system collects the active power output, maximum power output and minimum technical output of distributed power sources, the current state of charge, maximum allowable charging and discharging power and charging and discharging efficiency of energy storage devices, the current load power, reduceable capacity and transferable capacity of controllable loads, the current power consumption, heat power output, power-to-heat conversion efficiency and thermal inertia time constant of electric-to-thermal conversion equipment, and the pipe temperature distribution, circulating water pump flow rate and total heat storage of the heating network system. Based on operating status parameters, the available upward adjustment capacity of distributed power sources is calculated as the difference between the maximum power output and the current active power output; the available downward adjustment capacity of distributed power sources is calculated as the difference between the current active power output and the minimum technical output; the available discharge capacity of energy storage devices is calculated as the difference between the current state of charge and the minimum allowable state of charge multiplied by the rated capacity and discharge efficiency; the available charging capacity of energy storage devices is calculated as the difference between the maximum allowable state of charge and the current state of charge multiplied by the rated capacity and charging efficiency; the available reduction capacity of controllable loads is calculated as the difference between the reduction capacity and the already used reduction capacity; and the available frequency regulation capacity of electric-thermal conversion equipment is calculated as the maximum adjustable power within the power regulation range that meets the thermal inertia constraints of the heating network and the thermal comfort constraints of users. A one-dimensional dynamic heat balance model of the heating network is established, and the temperature distribution changes of each section of the heating network pipeline are transformed into equivalent power changes. Based on the heat capacity parameters of the heating network pipeline, the circulating water flow rate, and the difference between the current temperature of each section and the target temperature, the heat that the heating network can absorb or release through temperature changes within a preset support time window is calculated. The heat is divided by the preset support time window to obtain the equivalent average power, which is used as the available equivalent inertia capacity of the heating network system. The available up-adjustment capacity, available down-adjustment capacity, available equivalent inertia capacity, and corresponding resource identifiers, resource types, response time constants, and sustainable support times of each adjustable resource are summarized to generate an available support capacity vector.
[0034] In this embodiment, the active power output, maximum available power output, and minimum technical output of the distributed power source are provided by the unit control system, where the maximum available power output and minimum technical output are determined by the equipment technical parameters in conjunction with the current operating conditions. The current state of charge of the energy storage device is directly read by the battery management system, the maximum allowable charge / discharge power is updated in real time by the battery management system based on temperature and lifespan status, and the charge / discharge efficiency is determined by the equipment's factory calibration parameters. The current load power of the controllable load is collected by the load monitoring terminal, and the scalable capacity and transferable capacity are obtained by the load aggregator based on user agreements and load characteristics. The current electrical power consumption and thermal power output of the electro-thermal conversion equipment are read by the equipment controller, the electro-thermal conversion efficiency is calculated in real time based on the equipment's operating conditions, and the thermal inertia time constant is obtained through equipment step response testing. The pipe temperature distribution of the heating network system is collected by temperature sensors located at measuring points in each section of the pipe, the circulating water pump flow rate is read by the pump station flow meter, and the total heat storage of the heating network is calculated based on the water capacity and corresponding temperature of each section of the pipe.
[0035] The minimum and maximum permissible states of charge (SOCs) are set by the battery management system based on battery chemistry and lifespan management strategies. Used capacity reduction is calculated based on the cumulative reduction duration or charge recorded by the load aggregator. In the calculation of the available frequency regulation capacity of the electro-thermal conversion equipment, the thermal inertia constraint of the heating network refers to the safe range of the heating network temperature change rate and the supply and return water temperature difference, while the user thermal comfort constraint refers to the comfortable range of indoor temperature for users. Both together define the boundaries of electrical power regulation, and the electrical power regulation range is defined by the equipment's rated power and minimum technical output.
[0036] A one-dimensional dynamic heat balance model of the heating network discretizes the network into multiple segments along the pipe axis, establishing heat balance equations for each segment to describe the heat exchange between the circulating water and the pipe walls and surrounding environment during flow. Heat capacity parameters are determined by pipe material, pipe diameter, insulation layer thickness, and water capacity. The difference between the current temperature of each segment and the target temperature reflects the heat potential that the heating network can release or absorb. The value of the preset support time window is determined based on the heating network's thermal inertia constraints and user thermal comfort constraints. This calculation implicitly assumes that the temperature change of the heating network within the preset support time window is approximately linear, and the rate of temperature change in each segment is limited by the heating network's thermal inertia constraints.
[0037] Resource identifiers are used to uniquely distinguish different resources, while resource types identify the category to which a resource belongs. The response time constant is determined through equipment step response tests or data provided by the manufacturer. Sustainable support time is constrained by the resource energy state or external constraints. The sustainable discharge time of energy storage devices is constrained by the difference between the current state of charge and the minimum permissible state of charge, while the sustainable support time of a heating network is constrained by the allowable temperature deviation range and heat exchange rate. The organization of elements in the available support capacity vector is determined based on the actual resource quantity and data type of the system, allowing subsequent clustering algorithms to directly read and calculate.
[0038] This embodiment collects the operating status parameters of various adjustable resources in a unified manner, quantifies the available up-adjustment capacity, available down-adjustment capacity, and available equivalent inertia capacity of each resource, and transforms the adjustment capabilities of heterogeneous resources into a structured data set. The introduction of the one-dimensional dynamic thermal balance model of the heating network enables the thermal inertia of the heating network to be quantified into an equivalent electrical power index, expanding the capacity assessment range of the frequency support resource pool. The available support capacity vector serves as a unified data basis for subsequent dynamic clustering and power allocation, ensuring that the actual support capacity of each resource under the current operating conditions can be accurately reflected and effectively scheduled.
[0039] In some embodiments, based on the available support capacity vector, a comprehensive response characteristic index for each adjustable resource is calculated, including: Based on the available support capacity vector, the response speed component of each adjustable resource is determined. The response speed component is determined according to the time required for the resource to reach 90% of the target value from receiving the power command. The shorter the time required to reach 90% of the target value, the larger the response speed component. The response speed component of the fast electric heater in the energy storage device and the electric-thermal conversion equipment is greater than that of the heating network system, and the response speed component of the heating network system is greater than that of the traditional generator set. Determine the energy constraint component of each adjustable resource. The energy constraint component is determined based on the ratio of available support capacity to rated capacity. The larger the ratio, the more sufficient the current energy margin of the resource. For electro-thermal coupling resources, the coupling strength component is determined. The coupling strength component characterizes the degree of influence of resource electric power regulation on the energy state of the coupled heat network or gas network. The higher the coupling strength, the more significant the energy change on the heat network side when the resource electric power is regulated. The response speed component, energy constraint component, and coupling strength component are weighted and summed according to preset weights to generate a comprehensive response characteristic index for each adjustable resource.
[0040] In this embodiment, the required time for the response speed component is obtained through equipment step response tests or historical operating data. The quantification method for the response speed component is to map the required time to a preset score range. The mapping relationship can use a linear function or a piecewise function; the shorter the required time, the higher the mapped score. The rated capacity for the energy constraint component is determined according to the resource type: rated power for distributed power sources, rated capacity for energy storage devices, rated power for controllable loads, and rated electrical power for electro-thermal conversion equipment. The ratio of available support capacity to rated capacity is obtained through division, and this ratio is then mapped to a preset score range to obtain the energy constraint component.
[0041] The coupling strength component is for electro-thermal coupled resources, measured by the rate of change of the heating network temperature or the amount of change of heat power caused by a unit change in electrical power. For pure electrical resources, the coupling strength component is zero. The preset weights are tuned according to the system frequency support demand characteristics. When the inertial support demand is high, the weight of the response speed component is increased; when the continuous support demand is high, the weight of the energy constraint component is increased. The sum of all weights is 1, and the weighted sum is the comprehensive response characteristic index of each adjustable resource.
[0042] This embodiment quantifies the resource's response speed, energy sufficiency, and cross-network coupling influence through three dimensions: response speed component, energy constraint component, and coupling strength component. A comprehensive response characteristic index is generated by weighted summation. This index provides a unified resource characteristic measurement standard for subsequent dynamic clustering, enabling resources with different response characteristics, energy states, and coupling degrees to be compared and classified on the same scale.
[0043] In some embodiments, based on the comprehensive response characteristic index, a clustering algorithm is used to aggregate the adjustable resources into an inertial support group, a fast frequency tuning group, a continuous frequency tuning group, and a thermal inertia buffer group, generating dynamic clustering results, including: Each adjustable resource is mapped to a clustered feature space with dimensions of response speed, available up-adjustment capacity, available down-adjustment capacity, and coupling strength. Based on the cluster feature space, a clustering algorithm based on density peaks is used to divide each adjustable resource into an inertial support group, a fast frequency modulation group, a continuous frequency modulation group, and a thermal inertia buffer group. Resources with a response time constant less than a first preset time threshold and an available support capacity greater than a first preset capacity threshold are aggregated into an inertial support group. Resources with a response time constant between a first preset time threshold and a second preset time threshold and a power regulation rate that meets preset conditions are aggregated into a fast frequency modulation group. Resources with a response time constant greater than a second preset time threshold and an available support capacity that meets preset conditions are aggregated into a continuous frequency modulation group. Resources composed of an electro-thermal conversion device and a heating network system whose coupling strength meets preset conditions are aggregated into a thermal inertia buffer group. When the frequency event level changes, the comprehensive response characteristic index of each adjustable resource is recalculated. If the ratio of available support capacity to rated capacity decreases due to previous support actions and no longer meets the original grouping conditions, the resource is adjusted to a functional support group that meets the conditions. If the temperature distribution of the heating network changes, causing changes in the degree of heating network energy coupling influence and available capacity of the thermal inertia buffer group, the intra-group resource configuration of the thermal inertia buffer group is updated synchronously, and the updated dynamic grouping results are generated.
[0044] In this embodiment, the coordinate values of each dimension of the cluster feature space are taken from the response velocity component and coupling strength component in the comprehensive response feature index, and the available up-adjustment capacity and available down-adjustment capacity in the available support capacity vector, respectively. Since the four dimensions have different dimensions and numerical ranges, they need to be normalized to map them to a uniform scale. The normalization method can be min-max normalization or z-score standardization. The specific choice is determined according to the data distribution characteristics to avoid one dimension dominating the clustering results due to an excessively large numerical range.
[0045] The density-peak-based clustering algorithm calculates the local density of each resource in the cluster feature space and its distance to higher-density points. It selects points with both high local density and large distances as cluster centers, and assigns the remaining resources to the nearest high-density center based on their density reachability, thus completing the clustering. The first and second preset time thresholds are tuned according to the timescale requirements of the system's frequency support. The first preset time threshold corresponds to the timescale boundary of the inertial response, and the second preset time threshold corresponds to the timescale boundary between primary and secondary frequency modulation. The first preset capacity threshold is determined based on the system's minimum inertia support requirements. The resource composition of each cluster obtained from clustering needs to be verified against the admission conditions of each functional support group to ensure that the resource characteristics of each group meet the functional positioning of the corresponding group. If not, the clustering parameters are adjusted and re-clustering is performed, or the boundary resources are manually adjusted.
[0046] After an update is triggered, the comprehensive response characteristic index of each adjustable resource is recalculated and clustering is re-executed. The minimum retention time or update dead zone of the clustering results is used to avoid frequent fluctuations in the clustering results, and an update is only triggered when the change exceeds a preset range. When a resource simultaneously meets the admission criteria of multiple functional support groups, it is assigned to the nearest cluster center based on the comprehensive response characteristic index of the resource.
[0047] This embodiment maps each adjustable resource to a unified clustering feature space and uses a density peak-based clustering algorithm to automatically classify resources, so that the division of each functional support group can reflect the actual response capability of the resources in the current operating state. By setting a verification mechanism and a dynamic update mechanism for the clustering admission conditions, it ensures that the clustering results are consistent with the actual availability of resources, providing a reliable organizational basis for subsequent inter-cluster power allocation and intra-cluster collaborative response.
[0048] In some embodiments, a global power deficit is determined based on the frequency event classification results, and the global power deficit is negotiated and allocated among the functional support groups through a distributed consensus protocol to generate the support target power for each functional support group, including: When the frequency event classification result is at the inertial support level, the global power deficit is calculated based on the frequency change rate index and the equivalent inertia requirement of the integrated energy system. The global power deficit is directly proportional to the frequency change rate and inversely proportional to the equivalent inertia. When the frequency event classification result is primary frequency modulation level, the global power deficit is calculated based on the frequency deviation index and the system droop coefficient. When the frequency event classification result is secondary frequency modulation level, the global power deficit is calculated based on the integral of the frequency deviation and the system secondary frequency modulation demand coefficient. Group agents are set up for each functional support group. The initial value of the local state variable of each group agent is the ratio of the available support capacity of the group to the global power deficit. The group agents interact with each other through a preset sparse communication topology and iteratively update the local state variables according to the distributed average consensus algorithm driven by the Laplace matrix. In each iteration, the update amount of the local state variable is proportional to the sum of the differences between the local state variables of the group agent and the communication neighbors. The update step size is adaptively adjusted according to the connectivity of the communication topology. When the maximum difference of the local state variables of all group agents is less than the preset convergence threshold, the iteration is considered to have converged. The power deficit share allocated to each functional support group is calculated based on the product of the convergent local state variables and the available support capacity of the group. If the product is greater than the available support capacity of the group, the power deficit share is truncated to the available support capacity and used as the support target power of each functional support group. Among them, the inertial support stage inertial support group has the highest allocation priority, and its allocation share is given priority within the available capacity range. The remaining power deficit is allocated by the fast frequency modulation group and the thermal inertia buffer group according to the available capacity ratio. In the primary frequency modulation stage, the fast frequency modulation group and the continuous frequency modulation group jointly undertake the main support tasks, the inertial support group is switched to standby status, and the thermal inertia buffer group undertakes the task of power fluctuation smoothing. In the secondary frequency modulation stage, the continuous frequency modulation group and the thermal inertia buffer group serve as the main support groups, while the fast frequency modulation group gradually withdraws, and the inertial support group is only activated briefly when the frequency experiences a secondary fluctuation.
[0049] In this embodiment, the equivalent inertia requirement can be calculated based on the inertia constant of each synchronous unit in the integrated energy system, the penetration rate of renewable energy, and the current output level, reflecting the total inertia level required for the system to maintain frequency stability under the current operating mode; the system droop coefficient is set by the dispatching agency according to the system frequency characteristics, reflecting the proportional relationship between frequency deviation and power regulation; the system secondary frequency regulation requirement coefficient is set by the dispatching agency according to the system load characteristics and the allocation of frequency regulation resources; the integral of the frequency deviation is obtained by integrating the frequency deviation index over the duration of the event, reflecting the cumulative effect of the frequency deviation.
[0050] The preset sparse communication topology is determined based on the physical communication conditions or logical correlation between the agents in each group. Ensuring the connectivity of the communication topology guarantees consistent iterative convergence. The update step size is adaptively adjusted based on the connectivity of the communication topology. Connectivity is measured by the algebraic connectivity of the communication topology; a larger algebraic connectivity results in faster convergence, allowing for a correspondingly larger update step size. The local state variables of the group agents need to be constrained during the iterative update process to ensure that they always reflect the actual ratio between the available support capacity of the group and the global power deficit.
[0051] If the sum of the allocated shares of each group after truncation is less than the global power deficit, the difference will be redistributed according to the proportion of the available capacity of the remaining untruncation groups until the allocation is completed or all groups reach their capacity limits.
[0052] In the primary frequency modulation stage, the inertial support group switching to standby mode means that the inertial support group does not actively undertake continuous support tasks, but remains in a standby state. When the frequency change rate exceeds the preset threshold again, it will immediately resume support. In the secondary frequency modulation stage, the fast frequency modulation group gradually withdraws, which means that its support power is gradually reduced according to the preset withdrawal rate or withdrawal sequence.
[0053] This embodiment uses a hierarchical global power deficit calculation method to match the power deficit quantification with the severity of frequency events; it uses a distributed consensus protocol to achieve negotiated allocation of power deficits among groups, avoiding communication bottlenecks and single-point failure risks associated with centralized decision-making; and it uses hierarchical priority rules to ensure that the role allocation of each functional support group under different frequency event levels is adapted to system requirements, so that the most suitable support group undertakes the leading task at different stages of the frequency support process.
[0054] In some embodiments, each functional support group performs multi-timescale collaborative response within the group based on the target power of the support. The thermal inertia buffer group performs thermal-electric coupling virtual inertia support, converts the thermal inertia of the heating network into equivalent virtual inertia through the dynamic thermal balance model of the heating network, generates virtual inertia support power commands, and controls the electro-thermal conversion equipment to execute them, including: Each energy storage converter within the inertial support group simulates the rotor motion equation of a synchronous generator. Virtual electromagnetic power is generated based on the local frequency change rate. The virtual electromagnetic power is proportional to the frequency change rate, and the proportionality coefficient is the virtual inertia coefficient. The virtual inertia coefficient is adaptively adjusted according to the remaining available capacity of the energy storage device. When the state of charge of the energy storage device is close to the upper limit, the virtual inertia coefficient is lowered to avoid overcharging. When the state of charge of the energy storage device is close to the lower limit, the virtual inertia coefficient is lowered to avoid over-discharging. The distributed power sources within the fast frequency modulation group adjust the active power output proportionally according to the local frequency deviation. The droop coefficient setting takes into account the thermal efficiency operating range of the unit. The controllable load gradually reduces the load power according to the preset power change rate. The electric-thermal conversion equipment rapidly changes the power consumption within the range allowed by the thermal inertia of the heating network. The continuous frequency modulation group takes minimizing the total operating cost within the group as the objective function, and constructs an economic scheduling optimization model with constraints such as power balance constraints, output upper and lower limits constraints, ramp rate constraints, and energy continuity constraints. The model predictive control framework is introduced to predict the frequency deviation evolution trend in the next few time steps, and the optimal power allocation scheme for each resource within the group is obtained by solving the problem. The thermal inertia buffer group executes the equivalent virtual inertia support sub-strategy and the thermal power buffer adjustment sub-strategy in parallel, wherein the equivalent virtual inertia support sub-strategy is as follows: A lumped parameter heat balance model for the heating network is established, which equates the heating network to a thermal energy storage body with concentrated heat capacity. The concentrated heat capacity is the sum of the total heat capacity of the circulating water, the equivalent heat capacity of the pipe wall, and the equivalent heat capacity on the user side. Based on the lumped parameter heat balance model, the dynamic transmission relationship between the change in electrical power of the electro-thermal conversion equipment and the change in the average temperature of the heating network is calculated. The dynamic transmission relationship is a first-order inertial process, which makes the frequency response of the heating network system to the change in electrical power have low-pass filtering characteristics. Using the low-pass filtering characteristics, a virtual inertia support power command is generated. The virtual inertia support power command is composed of the superposition of inertial support component and damping support component. The inertial support component is proportional to the frequency change rate, and the proportionality coefficient is the equivalent virtual inertia coefficient of the heating network. The equivalent virtual inertia coefficient of the heating network is adaptively set according to the current heat storage state of the heating network. The damping support component is proportional to the frequency deviation, and the proportionality coefficient is the equivalent damping coefficient of the heating network. The equivalent damping coefficient of the heating network is set according to the sustainable support time of the heating network. The thermal power buffer regulation sub-strategy is as follows: when the power regulation of the fast frequency modulation group or the inertial support group overshoots or fluctuates, the thermal inertia buffer group absorbs or compensates for the fluctuating power by reverse regulating the electro-thermal conversion power, so that the net power output of the integrated energy system to the grid is smooth. The virtual inertia support power command is sent to the electric-thermal conversion equipment for execution. The heat source outlet temperature, the heating network return water temperature, the user's indoor temperature, and the operating status of the circulating water pump are monitored in real time. When any key status parameter approaches the safe operating boundary, the constraint limiting mechanism is triggered to limit the virtual inertia support power command within a safe range.
[0055] In this embodiment, the virtual inertia coefficient is adjusted according to the state of charge of the energy storage device through a preset mapping relationship. The closer the state of charge is to the upper or lower limit, the greater the downward adjustment of the virtual inertia coefficient. The rotor motion equation describes the damping effect of the virtual inertia on the rate of frequency change, so that the energy storage converter exhibits inertia response characteristics similar to those of a synchronous generator when the frequency changes.
[0056] The droop coefficient is set according to the rated capacity of the unit and the preset frequency deviation dead zone. The preset power change rate of the controllable load is determined according to the load type and process constraints. The rapid change of power consumption of the electric-thermal conversion equipment within the range allowed by the thermal inertia of the heating network means that the rate of change of power is limited by the rate of change of the heating network temperature.
[0057] The economic scheduling optimization model can be solved using linear programming or quadratic programming. The predictive model in the model predictive control framework is constructed based on the system frequency response model and the dynamic characteristics of resource output. The prediction time domain and control time domain are set according to the system frequency regulation time scale.
[0058] The calculation method for centralized heat capacity is as follows: the total heat capacity of circulating water is determined by the circulating water flow rate and specific heat capacity; the equivalent heat capacity of the pipe wall is determined by the pipe material, wall thickness, and length; and the equivalent heat capacity on the user side is determined by the heat capacity of the building envelope and the heat exchanger. The time constant of the first-order inertial process is jointly determined by the centralized heat capacity and the heat exchange coefficient.
[0059] Overshoot or fluctuation is detected by monitoring the deviation between the actual output power of the fast frequency modulation group or inertial support group and the target power of the support. When the deviation exceeds the preset range, it is determined that overshoot or fluctuation has occurred.
[0060] The constraint limiting mechanism compares the virtual inertia support power command with the maximum allowable power corresponding to the safety boundary, and outputs the power limited according to the safety boundary when the power exceeds the limit.
[0061] This embodiment achieves power support by coordinating virtual synchronous machine control, droop control, economic scheduling and model predictive control, thermal-electric coupling virtual inertia support, and thermal power buffer regulation. This enables each functional support group to perform power support at its respective suitable time scale. The thermal inertia buffer group transforms the thermal inertia of the heating network into an equivalent virtual inertia through a lumped parameter thermal balance model, realizing the effective utilization of the energy storage potential on the heating network side. Furthermore, a constraint limiting mechanism ensures that the support process does not exceed the safety boundary of the heating network.
[0062] In some embodiments, a lumped parameter heat balance model for the heating network is established, which equates the heating network to a thermal energy storage body with concentrated heat capacity, including: The sum of the total heat capacity of the circulating water in the heating network, the equivalent heat capacity of the pipe wall, and the equivalent heat capacity on the user side is taken as the centralized heat capacity, and a dynamic balance equation is constructed between the rate of change of the average temperature of the heating network with time and the heat power input from the heat source and the heat power output from the user. Based on the dynamic equilibrium equation, the dynamic transmission relationship between the change in electric power of the electric-thermal conversion equipment and the change in the average temperature of the heating network is calculated. The dynamic transmission relationship is manifested as a first-order inertial process determined by the heat capacity and the heat exchange coefficient. The frequency domain transfer function of the first-order inertial process gives the heating network system a low-pass filtering characteristic for the frequency response to the change in electric power. High-frequency power fluctuations are attenuated by the heat capacity of the heating network, and low-frequency power changes achieve energy transfer through the change in the temperature of the heating network. By utilizing the low-pass filtering characteristics, the frequency change rate signal and frequency deviation signal are received to generate a virtual inertia support power command. The virtual inertia support power command is composed of the superposition of inertia support component and damping support component. The inertial support component is proportional to the frequency change rate, and the proportionality coefficient is the equivalent virtual inertia coefficient of the heating network. The equivalent virtual inertia coefficient of the heating network is adaptively set according to the current heat storage state of the heating network. When the average temperature of the heating network is higher than the upper temperature threshold, the power down-adjustment capability in the inertial support component is reduced. When the average temperature of the heating network is lower than the lower temperature threshold, the power up-adjustment capability in the inertial support component is reduced. The damping support component is proportional to the frequency deviation, and the proportionality coefficient is the equivalent damping coefficient of the heating network. The equivalent damping coefficient of the heating network is set according to the sustainable support time of the heating network to ensure that the thermal energy storage of the heating network is not depleted too quickly when the frequency deviation persists. The virtual inertia support power command is sent to the electric-thermal conversion equipment for execution. The heat source outlet temperature, the heating network return water temperature, the user's indoor temperature, and the operating status of the circulating water pump are monitored in real time. When any key status parameter approaches the safe operating boundary, the constraint limiting mechanism is triggered to limit the virtual inertia support power command within a safe range.
[0063] In this embodiment, the heat power input to the heat source is directly read from the heat power output of the electro-thermal conversion device, and the heat power output to the user is determined based on the user-side heat load metering data.
[0064] The time constant of a first-order inertial process is determined by the ratio of lumped heat capacity to the heat exchange coefficient, and this time constant determines the cutoff frequency of the low-pass filter. The heat exchange coefficient is jointly determined by the pipe insulation performance, circulating water flow rate, and the characteristics of the user's heat exchanger.
[0065] The virtual inertial support power command is obtained by directly summing and superimposing the inertial support component and the damping support component. The current heat storage state of the heating network is quantified by comparing the average temperature of the heating network with the rated temperature. The upper and lower temperature thresholds are set according to the safe operating range of the heating network and the user's heating quality requirements. Reducing the power down-adjustment capability in the inertial support component means reducing the amplitude of the inertial support component to limit the continued release of heat from the heating network; reducing the power up-adjustment capability in the inertial support component means reducing the amplitude of the inertial support component to limit the continued absorption of heat from the heating network. The sustainable support time of the heating network is calculated based on the current heat storage of the heating network and the allowable temperature variation range.
[0066] This embodiment uses a lumped parameter thermal balance model to equate the heating network to a thermal energy storage body with concentrated heat capacity. It utilizes the low-pass filtering characteristics of the first-order inertial process to realize the transformation of the thermal inertia of the heating network into equivalent virtual inertia. Through the adaptive setting of the equivalent virtual inertia coefficient and the equivalent damping coefficient of the heating network, the virtual inertia support power command can be dynamically adjusted according to the thermal storage state and sustainable support time of the heating network, so as to fully utilize the energy storage potential of the heating network while ensuring the safe operation boundary of the heating network.
[0067] In some embodiments, multidimensional constraint parameters of each adjustable resource are monitored in real time. When the multidimensional constraint parameters approach the constraint boundary, a constraint correction mechanism is triggered to transfer the supporting task to a resource with sufficient constraint margin through power reallocation, including: Real-time monitoring of electrical, thermodynamic, energy state, and equipment operation constraints of all adjustable resources. Electrical constraints include upper and lower limits of output, power change rate limits, grid connection point voltage amplitude limits, and line current carrying capacity limits. Thermodynamic constraints include limits on the temperature difference between supply and return water in the heating network, maximum allowable temperature of heating network pipelines, comfortable indoor temperature range for users, and chilled water temperature range in the cold network. Energy state constraints include upper and lower limits of the state of charge of energy storage devices, upper and lower limits of heating network heat storage, lower limit of distributed power reserve capacity, and upper limit of cumulative adjustment time for controllable loads. Equipment operation constraints include minimum start-stop interval of gas turbines, start-stop frequency limits of heat pump compressors, upper limit of temperature of electric boiler thermal elements, and maximum continuous operating current of energy storage converters. For each constraint parameter, calculate the distance margin between the current value and the constraint boundary. Classify and summarize the distance margins according to resource ownership and constraint category to construct a constraint margin matrix. The rows of the constraint margin matrix correspond to each adjustable resource, the columns correspond to each constraint category, and the matrix elements are the minimum distance margin of the corresponding resource under the corresponding constraint category. When any element in the constraint margin matrix is less than the preset safety margin threshold, the risk source of exceeding the limit is identified, and a constraint warning message is sent to the group agent to which the resource belongs. The group agent initiates power reallocation within the group, transferring the support task share of the resource that is about to exceed the limit to other resources in the same group with sufficient constraint margin. The amount of transfer is determined according to the constraint margin ratio of each resource. When resources in the same group lack sufficient constraint margin, the group agent requests the inter-group power reallocation from the inter-group negotiation module, re-executes the negotiation allocation of global power deficit, and transfers some support tasks from the constrained group to the constrained group. For the thermal inertia buffer group, taking advantage of the time delay characteristic of the electric power regulation effect being reflected in the user's indoor temperature after the heat transfer delay of the heating network, the trend of the user's indoor temperature change in the next few time steps is predicted based on the dynamic heat balance model of the heating network. If the prediction results show that the user's indoor temperature will deviate from the comfort range, the power recovery program of the thermal inertia buffer group is initiated in advance to gradually restore the electric-heat conversion power to the normal heating level. At the same time, other functional support groups are requested to temporarily increase their support share to compensate for the withdrawal of the thermal inertia buffer group.
[0068] In this embodiment, the output upper and lower limits of the electrical constraint parameters are read by the equipment controller, the power change rate limit is determined by the equipment technical parameters, the grid connection point voltage amplitude limit is obtained by the grid connection point voltage measurement unit, and the line current carrying capacity limit is determined by the line parameters and scheduling procedures. The heating network supply and return water temperature difference limit and the maximum allowable temperature of the heating network pipelines are determined by the heating network design parameters, and the user-end indoor temperature comfort range is determined by the heating agreement or building thermal comfort standards. The energy state constraint parameters are set by the battery management system for the energy storage device's state of charge upper and lower limits, the heating network heat storage upper and lower limits are determined by the heating network's safe operating range, the distributed power source reserve capacity lower limit is determined by the scheduling procedures, and the controllable load cumulative adjustment time upper limit is agreed upon by the user agreement. The equipment operation constraint parameters are determined by the equipment manufacturer's technical specifications for the minimum start-stop interval of the gas turbine, the start-stop frequency limit of the heat pump compressor, the upper temperature limit of the electric boiler's thermal elements, and the maximum continuous operating current of the energy storage converter. The acquisition frequency of the electrical and thermodynamic constraint parameters is higher than that of the energy state constraint parameters and equipment operation constraint parameters.
[0069] The distance margin is calculated as follows: for upper bound constraints, the distance margin is the difference between the constraint boundary value and the current value; for lower bound constraints, the distance margin is the difference between the current value and the constraint boundary value; for interval constraints, the distance margin is the difference between the current value and the nearest boundary value. The minimum distance margin in the constraint margin matrix refers to the smallest distance margin among multiple specific constraint parameters included under the same constraint category for the same resource.
[0070] The transfer amount is determined as follows: the share of support tasks for resources that are about to exceed their limits is allocated according to the proportion of the constraint margin of other resources in the same group to the total available margin. The preset safety margin threshold is set separately based on the constraint type and safety level; the higher the safety level of the constraint, the larger the corresponding preset safety margin threshold.
[0071] When re-performing negotiated allocation for inter-group power reallocation, the latest available support capacity of each group is used as input.
[0072] The prediction step size for the next few time steps is determined based on the heat transfer delay time of the heating network, and the prediction step size is consistent with the temperature monitoring cycle.
[0073] This embodiment constructs a constraint margin matrix to uniformly represent the constraint state of each resource by real-time monitoring of multi-dimensional constraint parameters and quantitative calculation of distance margin. It realizes the dynamic transfer of support tasks through a two-level correction mechanism of intra-group power redistribution and inter-group power redistribution. For thermal inertia buffer groups, it uses the time delay characteristics of heat network temperature transfer to perform feedforward prediction and early recovery to ensure that the operating state of each resource is always kept within the safe boundary during the frequency support process.
[0074] In some embodiments, after the frequency recovers to a preset exit dead zone range and remains stable for a preset time, an exit trigger signal is generated. Based on the exit trigger signal, an exit timing optimization model is solved using a model predictive control framework to generate an ordered exit sequence and control each adjustable resource to gradually recover to normal operating status according to the ordered exit sequence, including: The frequency measurement unit continuously monitors the filtered frequency measurement value. When the frequency measurement value remains within the exit dead zone range for a duration exceeding the preset stable duration, a local exit trigger signal is generated and broadcast to the upper layer. After receiving the local exit trigger signals from a majority of nodes, the cluster coordination layer confirms that the global exit trigger condition is met and sends an exit start command to each functional support group. After receiving the exit start command, each functional support group quantifies the exit recovery requirements of each adjustable resource. The energy storage device determines the recovery charging power or recovery discharging power based on the change in the state of charge during the support phase. The thermal inertia buffer group calculates the continuous heat input or output required for the recovery of the heating network temperature based on the difference between the current average temperature of the heating network and the target temperature, and converts the heat demand into the recovery power command of the electric-thermal conversion equipment. The controllable load determines the recovery rate based on the preset load recovery sequence. An exit timing optimization model is constructed. The objective function of the exit timing optimization model is to minimize the variance of the grid frequency fluctuation during the exit process. The power recovery rate, recovery start time and recovery duration of each resource are used as decision variables. The constraints are the upper limit of power recovery rate, energy recovery demand, heating network temperature recovery, user comfort recovery and recovery timing coupling constraints. The recovery timing coupling constraints ensure that the total power recovered by the set of resources performing power recovery at any time does not exceed the upper limit of power recovery dynamically set according to the current operating state of the grid and the frequency stability margin. The exit timing optimization model is solved using a model predictive control framework. At each prediction time step, the power grid frequency response trajectory of each resource is predicted in the next few time steps when it is executed according to different recovery strategies based on the current state of each resource and the power grid frequency measurement value. The recovery strategy that minimizes the fluctuation of the predicted frequency trajectory is selected as the execution strategy for the current time step. The exit strategy is continuously updated through rolling optimization to generate an ordered exit sequence. Control each adjustable resource to gradually restore it to normal operation in an orderly exit sequence. After the exit and recovery phase is completed, each resource will be redistributed to the normal operation group.
[0075] In this embodiment, the exit dead zone range is set according to the frequency recovery target and frequency safety standards, and its range is smaller than the frequency deviation range corresponding to the primary frequency modulation start threshold. The preset stabilization duration is set according to the system frequency adjustment time constant and load fluctuation characteristics, and its duration is greater than the short-term fluctuation period of the system frequency to avoid false triggering. The determination rule of "majority nodes" is preferably that more than half of the frequency measurement units generate local exit trigger signals to confirm that the global exit trigger condition is met. This proportion can be adjusted according to the system scale and the tolerance for exit misjudgment.
[0076] The recovery charging power or recovery discharging power of the energy storage device is calculated based on the change in state of charge during the support phase and the preset recovery time. The recovery time is determined based on the power change rate that the power grid can withstand. The required recovery heat is obtained by multiplying the difference between the current average temperature of the heating network and the target temperature by the concentrated heat capacity of the heating network, and then dividing by the preset recovery time to obtain the recovery power.
[0077] The upper limit of the power recovery rate is jointly determined by the equipment technical parameters and operational safety requirements; the energy recovery demand constraint requires that the total energy recovered by each resource in the exit phase meet the energy difference consumed or accumulated in the support phase; the upper limit of power recovery is adjusted in real time according to the current frequency deviation and frequency stability margin of the power grid, and the larger the frequency deviation, the smaller the upper limit of power recovery.
[0078] The prediction model is constructed based on the power grid frequency response model and the dynamic characteristics of power recovery of each resource, and predicts the entire recovery process in the time domain.
[0079] After the exit recovery phase ends, the clustering is re-executed according to the aforementioned dynamic clustering method, and each resource is allocated to the functional support group corresponding to the normal operation status.
[0080] This embodiment triggers the exit process by determining the frequency recovery status. It quantifies the exit recovery requirements based on the energy state changes of each resource during the support phase, constructs an exit timing optimization model with the goal of minimizing the variance of grid frequency fluctuations during the exit process, generates an ordered exit sequence through rolling solution using the model predictive control framework, and redistributes each resource to the normal operation group after the exit recovery phase ends, thus achieving a smooth transition of frequency support resources from the support state to the normal operation state.
[0081] By adopting the above technical solutions, this invention differs from existing technologies and has the following beneficial effects: It constructs a two-dimensional frequency event feature space by extracting frequency change rate and frequency deviation indicators, classifies frequency events, collects operating status parameters of each adjustable resource, quantifies available support capacity vectors, and then aggregates resources into inertial support groups, fast frequency modulation groups, continuous frequency modulation groups, and thermal inertia buffer groups based on the comprehensive response characteristic index using a clustering algorithm; it determines the global power deficit based on the frequency event classification results and negotiates and allocates target support power among the functional support groups through a distributed consensus protocol, and each functional support group executes accordingly. The system features multi-timescale coordinated response within the cluster. The thermal inertia buffer cluster transforms the thermal inertia of the heating network into equivalent virtual inertia through a dynamic thermal balance model of the heating network. This virtual inertia generates power commands to support the execution of electro-thermal conversion equipment. Simultaneously, it monitors multi-dimensional constraint parameters in real time and triggers a constraint correction mechanism for power redistribution. After frequency recovery, the system uses a model predictive control framework to solve the exit timing optimization model and generate an ordered exit sequence. This controls each adjustable resource to gradually return to normal operation. This achieves coordinated cooperation and orderly release of heterogeneous resources with multiple energy flows during frequency support, improving the speed, coordination, and security of frequency support in the integrated energy system.
[0082] 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 as a software functional unit.
[0083] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute all or part of the steps of the methods of various embodiments of this 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.
[0084] The above description is only a part of the embodiments of the present invention and does not limit the scope of protection of the present invention. Any equivalent device or equivalent process transformation made based on the content of the present invention specification and drawings, or direct or indirect application in other related technical fields, are similarly included within the patent protection scope of the present invention.
Claims
1. A hierarchical and clustered coordinated frequency support method for an integrated energy system, characterized in that, include: Acquire frequency measurement data of key nodes in the integrated energy system, extract frequency change rate index and frequency deviation index, classify frequency events based on two-dimensional frequency event feature space, and generate frequency event classification results. In response to the frequency event classification results, the operating status parameters of each adjustable resource are collected, the available support capacity of each adjustable resource is quantified, and an available support capacity vector is generated. Based on the available support capacity vector, the comprehensive response characteristic index of each adjustable resource is calculated. Based on the comprehensive response characteristic index, the adjustable resources are aggregated into inertial support group, fast frequency modulation group, continuous frequency modulation group and thermal inertia buffer group by clustering algorithm to generate dynamic clustering results. Based on the frequency event classification results, the global power deficit is determined, and the global power deficit is negotiated and allocated among the functional support groups through a distributed consensus protocol to generate the support target power of each functional support group. Each functional support group performs multi-timescale collaborative response within the group according to the target power of the support. The thermal inertia buffer group performs thermal-electric coupling virtual inertia support, converts the thermal inertia of the heating network into equivalent virtual inertia through the dynamic thermal balance model of the heating network, generates virtual inertia support power command and controls the electric-thermal conversion equipment to execute it. The system monitors the multidimensional constraint parameters of each adjustable resource in real time. When the multidimensional constraint parameters approach the constraint boundary, it triggers a constraint correction mechanism and transfers the support task to a resource with sufficient constraint margin through power reallocation. Once the frequency recovers to the preset exit dead zone range and remains stable for a preset time, an exit trigger signal is generated. Based on the exit trigger signal, the exit timing optimization model is solved through the model predictive control framework to generate an ordered exit sequence and control each adjustable resource to gradually recover to normal operation according to the ordered exit sequence.
2. The hierarchical and clustered coordinated frequency support method for integrated energy systems according to claim 1, characterized in that, Acquire frequency measurement data of key nodes in the integrated energy system, extract frequency change rate and frequency deviation indices, classify frequency events based on a two-dimensional frequency event feature space, and generate frequency event classification results, including: The voltage signal of the key node is sampled at a preset sampling period, the instantaneous frequency value is extracted by the zero-crossing detection method, and the instantaneous frequency value is subjected to moving average filtering to obtain the filtered frequency measurement value. Based on the filtered frequency measurement value, the frequency difference between the current time and the previous time is calculated and divided by the sampling period to obtain the frequency change rate index, and the difference between the filtered frequency measurement value and the rated frequency value is calculated to obtain the frequency deviation index. A two-dimensional frequency event feature space is constructed with the frequency change rate index as the horizontal axis and the frequency deviation index as the vertical axis. A hierarchical boundary line is preset in the two-dimensional frequency event feature space. The hierarchical boundary line includes the inertial support start line, the primary frequency modulation start line and the secondary frequency modulation start line. When the absolute value of the frequency change rate index exceeds the threshold corresponding to the inertial support start line and the frequency deviation index does not reach the primary frequency modulation start threshold, the frequency event is determined to belong to the inertial support level. When the absolute value of the frequency deviation index exceeds the primary frequency modulation start threshold, the frequency event is determined to belong to the primary frequency modulation level. When the absolute value of the frequency deviation index exceeds the secondary frequency modulation start threshold and the duration exceeds the preset delay time, the frequency event is determined to belong to the secondary frequency modulation level. The classification results and corresponding frequency characteristic quantities are uploaded to the cluster coordination layer through the event-triggered communication mechanism, and the event level signal is broadcast to the execution layer of the local device simultaneously to generate the frequency event classification results.
3. The hierarchical and clustered coordinated frequency support method for integrated energy systems according to claim 1, characterized in that, In response to the frequency event classification results, the operating status parameters of each adjustable resource are collected, the available support capacity of each adjustable resource is quantified, and an available support capacity vector is generated, including: In response to the frequency event classification results, the active power output, maximum power output and minimum technical output of the distributed power source are collected; the current state of charge, maximum allowable charging and discharging power and charging and discharging efficiency of the energy storage device are collected; the current load power, reduceable capacity and transferable capacity of the controllable load are collected; the current power consumption, heat power output, power conversion efficiency and thermal inertia time constant of the electric-thermal conversion equipment are collected; and the pipe temperature distribution, circulating water pump flow rate and total heat storage of the heating network system are collected. Based on the aforementioned operating status parameters, the available upward adjustment capacity of the distributed power source is calculated as the difference between the maximum power output and the current active power output; the available downward adjustment capacity of the distributed power source is calculated as the difference between the current active power output and the minimum technical output; the available discharge capacity of the energy storage device is calculated as the difference between the current state of charge and the minimum allowable state of charge multiplied by the rated capacity and discharge efficiency; the available charging capacity of the energy storage device is calculated as the difference between the maximum allowable state of charge and the current state of charge multiplied by the rated capacity and charging efficiency; the available reduction capacity of the controllable load is calculated as the difference between the reduction capacity and the used reduction capacity; and the available frequency regulation capacity of the electric-thermal conversion equipment is calculated as the maximum adjustable power within the power regulation range that meets the thermal inertia constraints of the heating network and the thermal comfort constraints of the users. A one-dimensional dynamic heat balance model of the heating network is established, and the temperature distribution changes of each section of the heating network pipeline are converted into equivalent electrical power changes. Based on the heat capacity parameters of the heating network pipeline, the circulating water flow rate, and the difference between the current temperature of each section and the target temperature, the heat that the heating network can absorb or release through temperature changes within a preset support time window is calculated. The heat is divided by the preset support time window to obtain the equivalent average electrical power, which is used as the available equivalent inertia capacity of the heating network system. The available up-adjustment capacity, available down-adjustment capacity, available equivalent inertia capacity, and corresponding resource identifiers, resource types, response time constants, and sustainable support times of each adjustable resource are summarized to generate an available support capacity vector.
4. The hierarchical and clustered coordinated frequency support method for integrated energy systems according to claim 1, characterized in that, Based on the available support capacity vector, calculate the comprehensive response characteristic index of each adjustable resource, including: Based on the available support capacity vector, the response speed component of each adjustable resource is determined. The response speed component is determined based on the time required for the resource to reach 90% of the target value from receiving the power command. The shorter the time required to reach 90% of the target value, the larger the response speed component. The response speed component of the fast electric heater in the energy storage device and the electric-thermal conversion equipment is greater than that of the heating network system, and the response speed component of the heating network system is greater than that of the traditional generator set. Determine the energy constraint component of each adjustable resource. The energy constraint component is determined based on the ratio of available support capacity to rated capacity. The larger the ratio, the more sufficient the current energy margin of the resource. For electro-thermal coupling resources, a coupling strength component is determined. The coupling strength component characterizes the degree of influence of resource electric power regulation on the energy state of the coupled heat network or gas network. The higher the coupling strength, the more significant the energy change on the heat network side when the resource electric power is regulated. The response speed component, energy constraint component, and coupling strength component are weighted and summed according to preset weights to generate a comprehensive response characteristic index for each adjustable resource.
5. The hierarchical and clustered coordinated frequency support method for integrated energy systems according to claim 1, characterized in that, Based on the comprehensive response characteristic index, a clustering algorithm is used to aggregate the adjustable resources into inertial support groups, fast frequency tuning groups, continuous frequency tuning groups, and thermal inertia buffer groups, generating dynamic clustering results, including: Each adjustable resource is mapped to a clustered feature space with dimensions of response speed, available up-adjustment capacity, available down-adjustment capacity, and coupling strength. Based on the cluster feature space, a clustering algorithm based on density peaks is used to divide each adjustable resource into an inertial support group, a fast frequency modulation group, a continuous frequency modulation group, and a thermal inertia buffer group. Resources with a response time constant less than a first preset time threshold and an available support capacity greater than a first preset capacity threshold are aggregated into an inertial support group. Resources with a response time constant between a first preset time threshold and a second preset time threshold and a power regulation rate that meets preset conditions are aggregated into a fast frequency modulation group. Resources with a response time constant greater than a second preset time threshold and an available support capacity that meets preset conditions are aggregated into a continuous frequency modulation group. Resources composed of an electric-thermal conversion device and a heating network system whose coupling strength meets preset conditions are aggregated into a thermal inertia buffer group. When the frequency event level changes, the comprehensive response characteristic index of each adjustable resource is recalculated. If the ratio of available support capacity to rated capacity of a resource decreases due to previous support actions and no longer meets the original grouping conditions, the resource is adjusted to a functional support group that meets the conditions. If the temperature distribution of the heating network changes, causing a change in the degree of heating network energy coupling influence and available capacity of the thermal inertia buffer group, the intra-group resource configuration of the thermal inertia buffer group is updated synchronously, and an updated dynamic grouping result is generated.
6. The hierarchical and clustered coordinated frequency support method for integrated energy systems according to claim 1, characterized in that, Based on the frequency event classification results, a global power deficit is determined. This global power deficit is then negotiated and allocated among the functional support groups using a distributed consensus protocol, generating the target support power for each functional support group. When the frequency event classification result is at the inertial support level, the global power deficit is calculated based on the frequency change rate index and the equivalent inertia requirement of the integrated energy system. The global power deficit is directly proportional to the frequency change rate and inversely proportional to the equivalent inertia. When the frequency event classification result is primary frequency modulation level, the global power deficit is calculated based on the frequency deviation index and the system droop coefficient. When the frequency event classification result is secondary frequency modulation level, the global power deficit is calculated based on the integral of the frequency deviation and the system secondary frequency modulation demand coefficient. Group agents are set up for each functional support group. The initial value of the local state variable of each group agent is the ratio of the available support capacity of the group to the global power deficit. The group agents interact with each other through a preset sparse communication topology and iteratively update the local state variables according to the distributed average consensus algorithm driven by the Laplace matrix. In each iteration, the update amount of the local state variable is proportional to the sum of the differences between the local state variables of the group agent and the communication neighbors. The update step size is adaptively adjusted according to the connectivity of the communication topology. When the maximum difference of the local state variables of all group agents is less than the preset convergence threshold, the iteration is determined to be converged. The power deficit share allocated to each functional support group is calculated based on the product of the convergent local state variables and the available support capacity of the group. If the product is greater than the available support capacity of the group, the power deficit share is truncated to the available support capacity and used as the support target power of each functional support group. Among them, the inertial support stage inertial support group has the highest allocation priority, and its allocation share is given priority within the available capacity range. The remaining power deficit is allocated by the fast frequency modulation group and the thermal inertia buffer group according to the available capacity ratio. In the primary frequency modulation stage, the fast frequency modulation group and the continuous frequency modulation group jointly undertake the main support tasks, the inertial support group is switched to standby status, and the thermal inertia buffer group undertakes the task of power fluctuation smoothing. In the secondary frequency modulation stage, the continuous frequency modulation group and the thermal inertia buffer group serve as the main support groups, while the fast frequency modulation group gradually withdraws, and the inertial support group is only activated briefly when the frequency experiences a secondary fluctuation.
7. The hierarchical and clustered coordinated frequency support method for integrated energy systems according to claim 1, characterized in that, Each functional support group executes a multi-timescale coordinated response within the group based on the target power. The thermal inertia buffer group executes thermal-electric coupling virtual inertia support, converting the thermal inertia of the heating network into equivalent virtual inertia through a dynamic thermal balance model of the heating network, generating virtual inertia support power commands, and controlling the electro-thermal conversion equipment to execute them, including: Each energy storage converter within the inertial support group simulates the rotor motion equation of a synchronous generator, generating virtual electromagnetic power based on the local frequency change rate. This virtual electromagnetic power is proportional to the frequency change rate, with the proportionality coefficient being the virtual inertia coefficient. The virtual inertia coefficient is adaptively adjusted based on the remaining available capacity of the energy storage device. When the state of charge of the energy storage device approaches the upper limit, the virtual inertia coefficient is lowered to avoid overcharging; when the state of charge of the energy storage device approaches the lower limit, the virtual inertia coefficient is lowered to avoid over-discharging. The distributed power sources within the fast frequency modulation group adjust the active power output proportionally according to the local frequency deviation. The droop coefficient setting takes into account the thermal efficiency operating range of the unit. The controllable load gradually reduces the load power according to the preset power change rate. The electric-thermal conversion equipment rapidly changes the power consumption within the range allowed by the thermal inertia of the heating network. The continuous frequency modulation group takes minimizing the total operating cost within the group as the objective function, and constructs an economic scheduling optimization model with constraints such as power balance constraints, output upper and lower limits constraints, ramp rate constraints, and energy continuity constraints. The model predictive control framework is introduced to predict the frequency deviation evolution trend in the next few time steps, and the optimal power allocation scheme for each resource within the group is obtained by solving the problem. The thermal inertia buffer group executes the equivalent virtual inertia support sub-strategy and the thermal power buffer adjustment sub-strategy in parallel, wherein the equivalent virtual inertia support sub-strategy is: A lumped parameter heat balance model for the heating network is established, which equates the heating network to a thermal energy storage body with concentrated heat capacity. The concentrated heat capacity is the sum of the total heat capacity of the circulating water, the equivalent heat capacity of the pipe wall, and the equivalent heat capacity on the user side. Based on the lumped parameter heat balance model, the dynamic transmission relationship between the change in electrical power of the electro-thermal conversion equipment and the change in the average temperature of the heating network is calculated. The dynamic transmission relationship is a first-order inertial process, which gives the heating network system a low-pass filtering characteristic in the frequency response to changes in electrical power. Utilizing the low-pass filtering characteristics, a virtual inertia support power command is generated. This virtual inertia support power command is composed of an inertial support component and a damping support component. The inertial support component is proportional to the frequency change rate, and the proportionality coefficient is the equivalent virtual inertia coefficient of the heating network. The equivalent virtual inertia coefficient of the heating network is adaptively set according to the current thermal storage state of the heating network. The damping support component is proportional to the frequency deviation, and the proportionality coefficient is the equivalent damping coefficient of the heating network. The equivalent damping coefficient of the heating network is set according to the sustainable support time of the heating network. The thermal power buffer regulation sub-strategy is as follows: when the power regulation of the fast frequency modulation group or the inertial support group experiences overshoot or fluctuation, the thermal inertia buffer group absorbs or compensates for the fluctuating power by reverse regulating the electro-thermal conversion power, so that the net power output of the integrated energy system to the grid is smooth. The virtual inertia support power command is sent to the electro-thermal conversion equipment for execution. The heat source outlet temperature, the heating network return water temperature, the user's indoor temperature, and the operating status of the circulating water pump are monitored in real time. When any key status parameter approaches the safe operating boundary, the constraint limiting mechanism is triggered to limit the virtual inertia support power command within a safe range.
8. The hierarchical and clustered coordinated frequency support method for integrated energy systems according to claim 7, characterized in that, Establish a lumped-parameter heat balance model for the heating network, equating the heating network to a thermal energy storage body with concentrated heat capacity, including: The sum of the total heat capacity of the circulating water in the heating network, the equivalent heat capacity of the pipe wall, and the equivalent heat capacity on the user side is taken as the centralized heat capacity, and a dynamic balance equation is constructed between the rate of change of the average temperature of the heating network with time and the heat power input from the heat source and the heat power output from the user. Based on the dynamic equilibrium equation, the dynamic transfer relationship between the change in electric power of the electric-thermal conversion equipment and the change in the average temperature of the heating network is calculated. The dynamic transfer relationship is manifested as a first-order inertial process determined by the heat capacity and the heat exchange coefficient. The frequency domain transfer function of the first-order inertial process gives the heating network system a low-pass filtering characteristic for the frequency response to the change in electric power. High-frequency power fluctuations are attenuated by the heat capacity of the heating network, and low-frequency power changes achieve energy transfer through changes in the temperature of the heating network. Utilizing the low-pass filtering characteristics, the frequency change rate signal and frequency deviation signal are received to generate a virtual inertia support power command, which is composed of the superposition of inertia support component and damping support component. The inertial support component is proportional to the frequency change rate, and the proportionality coefficient is the equivalent virtual inertia coefficient of the heating network. The equivalent virtual inertia coefficient of the heating network is adaptively set according to the current heat storage state of the heating network. When the average temperature of the heating network is higher than the upper temperature threshold, the power down-adjustment capability in the inertial support component is reduced, and when the average temperature of the heating network is lower than the lower temperature threshold, the power up-adjustment capability in the inertial support component is reduced. The damping support component is proportional to the frequency deviation, and the proportionality coefficient is the equivalent damping coefficient of the heating network. The equivalent damping coefficient of the heating network is set according to the sustainable support time of the heating network to ensure that the thermal energy storage of the heating network is not depleted too quickly when the frequency deviation persists. The virtual inertia support power command is sent to the electro-thermal conversion equipment for execution. The heat source outlet temperature, the heating network return water temperature, the user's indoor temperature, and the operating status of the circulating water pump are monitored in real time. When any key status parameter approaches the safe operating boundary, the constraint limiting mechanism is triggered to limit the virtual inertia support power command within a safe range.
9. The hierarchical and clustered coordinated frequency support method for integrated energy systems according to claim 1, characterized in that, Real-time monitoring of the multidimensional constraint parameters of each adjustable resource; when the multidimensional constraint parameters approach the constraint boundary, a constraint correction mechanism is triggered, which transfers the support task to resources with sufficient constraint margin through power reallocation, including: Real-time monitoring of electrical constraint parameters, thermodynamic constraint parameters, energy state constraint parameters, and equipment operation constraint parameters for each adjustable resource. The electrical constraint parameters include upper and lower limits of output, power change rate limit, grid connection point voltage amplitude limit, and line current carrying capacity limit. The thermodynamic constraint parameters include the supply and return water temperature difference limit of the heating network, the maximum allowable temperature of the heating network pipeline, the comfortable indoor temperature range for users, and the chilled water temperature range of the cold network. The energy state constraint parameters include the upper and lower limits of the state of charge of the energy storage device, the upper and lower limits of the heating network heat storage capacity, the lower limit of the standby capacity of the distributed power source, and the upper limit of the cumulative adjustment time of the controllable load. The equipment operation constraint parameters include the minimum start-stop time interval of the gas turbine, the start-stop frequency limit of the heat pump compressor, the upper limit of the temperature of the electric boiler thermal element, and the maximum continuous operating current of the energy storage converter. For each constraint parameter, calculate the distance margin between the current value and the constraint boundary. Classify and summarize the distance margin according to resource ownership and constraint category to construct a constraint margin matrix. The rows of the constraint margin matrix correspond to each adjustable resource, the columns correspond to each constraint category, and the matrix elements are the minimum distance margin of the corresponding resource under the corresponding constraint category. When any element in the constraint margin matrix is less than the preset safety margin threshold, the risk source of exceeding the limit is identified, and a constraint warning message is sent to the group agent to which the resource belongs. The group agent initiates power reallocation within the group, transferring the support task share of the resource that is about to exceed the limit to other resources in the same group with sufficient constraint margin. The amount of transfer is determined according to the constraint margin ratio of each resource. When resources in the same group lack sufficient constraint margin, the group agent requests the inter-group power reallocation from the inter-group negotiation module, re-executes the negotiation allocation of global power deficit, and transfers some support tasks from the constrained group to the constrained group. For the thermal inertia buffer group, taking advantage of the time delay characteristic of the electric power regulation effect being reflected in the user's indoor temperature after the heat transfer delay of the heating network, the trend of the user's indoor temperature change in the next few time steps is predicted based on the dynamic heat balance model of the heating network. If the prediction results show that the user's indoor temperature will deviate from the comfort range, the power recovery program of the thermal inertia buffer group is initiated in advance to gradually restore the electric-heat conversion power to the normal heating level. At the same time, other functional support groups are requested to temporarily increase their support share to compensate for the withdrawal of the thermal inertia buffer group.
10. The hierarchical and clustered coordinated frequency support method for an integrated energy system according to claim 1, characterized in that, Once the frequency recovers to the preset exit dead zone range and remains stable for a preset time, an exit trigger signal is generated. Based on the exit trigger signal, an exit timing optimization model is solved using a model predictive control framework to generate an ordered exit sequence. Each adjustable resource is then controlled to gradually recover to normal operating status according to this ordered exit sequence, including: The frequency measurement unit continuously monitors the filtered frequency measurement value. When the frequency measurement value is continuously within the exit dead zone range and the duration exceeds the preset stable duration, a local exit trigger signal is generated and broadcast to the upper layer. After receiving the local exit trigger signals from most nodes, the cluster coordination layer confirms that the global exit trigger condition is met and sends an exit start command to each functional support group. After receiving the exit start command, each functional support group quantifies the exit recovery requirements of each adjustable resource. The energy storage device determines the recovery charging power or recovery discharging power based on the change in the state of charge during the support phase. The thermal inertia buffer group calculates the continuous heat input or output required for the recovery of the heating network temperature based on the difference between the current average temperature of the heating network and the target temperature, and converts the heat demand into the recovery power command of the electric-thermal conversion equipment. The controllable load determines the recovery rate according to the preset load recovery sequence. An exit timing optimization model is constructed. The exit timing optimization model takes minimizing the variance of grid frequency fluctuations during the exit process as the objective function, and uses the power recovery rate, recovery start time, and recovery duration of each resource as decision variables. The model uses the upper limit constraint of power recovery rate, energy recovery demand constraint, heating network temperature recovery constraint, user comfort recovery constraint, and recovery timing coupling constraint as constraints. The recovery timing coupling constraint ensures that the total power recovered by the set of resources performing power recovery at any time does not exceed the power recovery upper limit dynamically set according to the current operating state of the grid and frequency stability margin. The exit timing optimization model is solved using a model predictive control framework. At each prediction time step, the power grid frequency response trajectory of each resource is predicted in the next few time steps when it is executed according to different recovery strategies based on the current state of each resource and the power grid frequency measurement value. The recovery strategy that minimizes the fluctuation of the predicted frequency trajectory is selected as the execution strategy for the current time step. The exit strategy is continuously updated through rolling optimization to generate an ordered exit sequence. Control each adjustable resource to gradually restore it to normal operation according to the ordered exit sequence. After the exit and recovery phase is completed, each resource is redistributed to the normal operation group.
