Heating quality evaluation and source-grid-load regulation method and device based on digital twinning

By constructing a digital twin model of the heating network, calculating the heating quality index, and optimizing the opening of the electrically controlled regulating valve, the problems of environmental noise interference and insufficient global prediction capability in the heating system were solved, and high-precision assessment and stable control of heating quality were achieved.

CN123159178APending Publication Date: 2026-11-24HUANENG CLEAN ENERGY RES INST +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611312475.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-27
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing heating systems rely on indoor thermostats, which are susceptible to environmental noise interference. They lack global hydraulic-thermal spatial coupling prediction capabilities and a closed-loop coordination mechanism at the source-grid-load level, resulting in inaccurate heating quality assessment and unstable regulation.

Method used

A digital twin model of the heating network is constructed, and the heating quality index is calculated based on the model simulation. Target nodes are selected for virtual valve adjustment, hydraulic-thermal coupling simulation is performed, the opening degree of the electrically controlled regulating valve is optimized, and the three-level linkage compensation of source-network-load is realized.

Benefits of technology

It achieves high-precision heating quality assessment, eliminates environmental noise interference, predicts the thermal evolution trend of the entire network, ensures balanced heating quality and minimum energy consumption, and realizes closed-loop coordinated control of source-network-load.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123159178A_ABST
    Figure CN123159178A_ABST
Patent Text Reader

Abstract

This invention discloses a method and device for heat supply quality assessment and source-grid-load regulation based on digital twins, belonging to the field of intelligent regulation technology for centralized heating systems. The method includes: constructing a digital twin model of the heating network and solving for the state parameters of each node; calculating the heat supply quality index based on the actual operating parameters of each user node and the simulation results of the digital twin model; after selecting target nodes, virtually pre-simulating valve regulation in the digital twin model and solving for the optimal coordinated opening parameters; issuing commands to regulate the electrically controlled regulating valves; and calculating the total heat loss in the entire network under extreme conditions and coordinating with the heat source control system for compensation. Using this invention, the interference of environmental noise on heat supply quality assessment can be decoupled, the thermodynamic evolution trend can be pre-simulated in virtual space to avoid secondary heat loss, and closed-loop linkage compensation of the entire source-grid-load chain can be achieved, effectively improving the regulation accuracy and operational efficiency of the heating system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of intelligent control technology for centralized heating systems, specifically to a method and device for assessing heating quality and controlling source-grid-load based on digital twins. Background Technology

[0002] As a crucial component of urban energy supply, centralized heating systems directly impact energy efficiency and the heating experience for end-users through their operational and regulatory levels. With the rapid development of next-generation information technologies such as the Internet of Things (IoT), big data, and artificial intelligence (AI), the digital and intelligent transformation of heating systems has become an industry consensus. Digital twin technology, by constructing a virtual mapping of the physical system, provides a new technological path for achieving precise perception and intelligent regulation of heating systems. Currently, research has attempted to apply digital twin technology to heating system modeling and simulation optimization, for example, by establishing digital twin models of heating pipe networks for hydraulic condition analysis and operational parameter optimization.

[0003] However, existing heating system control technologies still suffer from the following prominent problems. First, traditional heating systems heavily rely on individual thermostats in individual households for assessing and controlling heating quality. The actual indoor temperature is easily affected by factors such as window ventilation, direct sunlight, indoor occupancy density, and noise from private heating equipment, making it impossible for the system to scientifically and accurately quantify the actual heat quality delivered by the heating network to end users. Second, heating networks exhibit strong hydraulic-thermal spatial coupling; any local adjustment at any single point at the end will trigger a redistribution of the pressure and flow field across the entire network. Existing systems lack the global predictive ability for this spatial evolution trend, easily leading to frequent oscillations and secondary underheating during the control process. Third, there are severe information gaps and a lack of closed-loop coordination mechanisms between the "source-network-load" levels of the heating system. When end-user heating demand changes, the heat source side struggles to detect and make timely adaptive adjustments.

[0004] Therefore, how to construct a high-precision digital twin model of the pipeline network to decouple environmental noise, accurately assess multi-dimensional heating quality online, and pre-simulate the thermal evolution trend in virtual space to achieve dynamic compensation of source-network-load linkage has become a technical problem that urgently needs to be solved by those skilled in the art. Summary of the Invention

[0005] The purpose of this invention is to provide a method and apparatus for assessing heating quality and regulating the source-grid-load system based on digital twins, so as to overcome the problems of existing technologies that rely on indoor thermostats for heating quality assessment, are easily affected by environmental noise, lack global prediction capability for spatial hydraulic reconfiguration waveforms caused by terminal regulation, and lack closed-loop coordination mechanism among the various levels of "source-grid-load".

[0006] The present invention solves the above-mentioned technical problems through the following technical solution: This invention provides a method for assessing heating quality and regulating source-grid-load based on digital twins, comprising the following steps: A digital twin model of the heating pipeline network is constructed, and the state parameters of each node of the entire heating pipeline network are obtained by simulation based on the digital twin model.

[0007] Based on the actual operating parameters of each user node and the simulation results of the digital twin model of the pipeline network, the heating quality index of each user node is calculated.

[0008] User nodes with a heating quality index below a preset threshold are selected as target nodes. In the digital twin model of the pipeline network, the virtual valves of the target nodes are subjected to opening adjustment variables and hydraulic-thermal coupling simulation is performed. The impact of the opening adjustment variables on the flow of each user node is evaluated based on the simulation results. With the goal of balancing the heating quality of the entire network and minimizing the energy consumption of transmission and distribution, the optimal coordinated opening parameters of the electrically controlled regulating valves of each user node are obtained.

[0009] Based on the optimal coordinated opening parameters, control commands are sent to the electrically controlled regulating valves of each user node to drive each electrically controlled regulating valve to adjust to the corresponding opening.

[0010] When the simulation results of the digital twin model of the pipeline network show that the heating quality index is still lower than the preset threshold when the electric control valve of the target node is opened to the maximum degree, the heat loss of the whole network is calculated and the compensation flow is obtained based on the heat loss of the whole network, and a compensation command is sent to the heat source control system; otherwise, the current opening degree of the electric control valve of each user node is maintained.

[0011] A further improvement of this invention lies in constructing a digital twin model of the heating network, specifically including: The network parameters of the physical heating network and the thermal parameters of the building envelope are input into the cloud platform to construct a digital twin model of the network that corresponds one-to-one with the physical heating network. The boundary conditions of the physical heating network are collected by the edge IoT gateway at a preset period and uploaded to the cloud platform. The one-dimensional transient fluid dynamics equations are run in the digital twin model of the network to solve for the pressure field and temperature field of each node in the entire network.

[0012] A further improvement of this invention is that the pipeline parameters include pipe diameter, pipe length, friction coefficient, and local resistance coefficient; the building envelope thermal parameters include building orientation, wall thermal resistance, and wall heat capacity; the one-dimensional transient fluid dynamics equations include the continuity equation, momentum equation, and energy conservation equation; and the boundary conditions include the supply water temperature, return water temperature, and total flow rate of the physical heating network.

[0013] A further improvement of this invention is that the heating quality index is specifically:

[0014] in, For the first Heating quality index of each user node For the first The actual supply and return water temperature difference for each user node. The average supply and return water temperature difference for all user nodes on the current branch. For the first The actual instantaneous heat absorption per unit building area of ​​each user node For the first Design thermal load of each user node , The weighting coefficients and ; The total heat loss across the network is calculated using the following formula:

[0015] in, The entire internet lacks heat, This refers to the set of user nodes whose heating quality index is below a preset threshold. The compensation flow is as follows:

[0016] in, To compensate for the data usage, Specific heat capacity of the fluid The total water supply temperature of the secondary heat source network. This refers to the total return water temperature of the secondary heat source network.

[0017] A further improvement of this invention lies in applying an opening adjustment variable to the virtual valve of the target node in the digital twin model of the pipeline network and performing hydraulic-thermal coupling simulation, specifically including: Within the digital twin model of the pipeline network, an opening adjustment variable is applied to the virtual valve of the target node. The opening adjustment variable is an variable that increases the opening, causing the local resistance coefficient corresponding to the virtual valve to decrease. Based on the adjusted local resistance coefficient, the pipeline network admittance matrix is ​​corrected, and the pipeline network matrix equation composed of the pipeline network admittance matrix, the pressure vector of all nodes in the network, and the known boundary vector is solved to obtain the reconstructed pressure of all nodes in the network.

[0018] The impact of the opening adjustment variable on the traffic of each user node is evaluated based on the simulation results, specifically including: Based on the reconstruction results of the network node pressure, the change in circulating traffic at adjacent user nodes is calculated. When the change in circulating traffic is lower than the preset reduction, it is determined that there is a risk of secondary underheating; when the change in circulating traffic is not lower than the preset reduction, it is determined that there is no risk of secondary underheating.

[0019] A further improvement of this invention lies in that, with the optimization objectives of achieving balanced heating quality across the entire network and minimizing transmission and distribution energy consumption, the optimal coordinated opening parameters of the electrically controlled regulating valves at each user node are obtained by solving the problem. Specifically, this includes: With the optimization objectives of minimizing the variance of the heating quality index of all user nodes in the network and minimizing the secondary energy consumption of the entire network, the optimal coordinated opening parameters are solved iteratively by genetic algorithm or particle swarm algorithm. The optimal coordinated opening parameters are column vectors containing the target opening of all electronically controlled regulating valves participating in the joint commissioning of the entire network, where each element takes the value of an opening percentage from 0% to 100%.

[0020] Sending compensation commands to the heat source control system, specifically including: A compensation command is sent to the heat exchange station control system. The compensation command is used to adjust the operating frequency of the secondary network circulation pump or the opening degree of the primary network regulating valve.

[0021] This invention also provides a heating quality assessment and source-grid-load control system based on digital twins, comprising: The first module is used to construct a digital twin model of the heating network and to simulate the state parameters of each node in the entire heating network based on the digital twin model.

[0022] The second module is used to calculate the heating quality index of each user node based on the actual operating parameters of each user node and the simulation results of the digital twin model of the pipeline network.

[0023] The third module is used to select user nodes whose heating quality index is lower than a preset threshold as target nodes. In the digital twin model of the pipeline network, the opening adjustment variable is applied to the virtual valve of the target node and a hydraulic-thermal coupling simulation is performed. Based on the simulation results, the impact of the opening adjustment variable on the flow of each user node is evaluated. With the goal of balancing the heating quality of the entire network and minimizing the energy consumption of transmission and distribution, the optimal coordinated opening parameters of the electrically controlled regulating valve of each user node are solved.

[0024] The fourth module is used to send control commands to the electronically controlled regulating valves of each user node according to the optimal coordinated opening parameters, so as to drive each electronically controlled regulating valve to adjust to the corresponding opening.

[0025] The fifth module is used to calculate the total heat loss in the network and calculate the compensation flow based on the total heat loss when the simulation results of the digital twin model of the pipeline network show that the heating quality index is still lower than the preset threshold when the electrically controlled regulating valve of the target node is opened to the maximum degree. Then, it sends a compensation command to the heat source control system. Otherwise, it maintains the current opening degree of the electrically controlled regulating valve of each user node.

[0026] The present invention also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the above-described method for heat supply quality assessment and source-grid-load regulation based on digital twins.

[0027] The present invention also provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the above-described method for assessing heating quality and regulating source-grid-load based on digital twins.

[0028] The present invention also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the above-described method for assessing heating quality and regulating source-grid-load based on digital twins.

[0029] Compared with the prior art, the positive and progressive effects of the present invention are as follows: The present invention provides a digital twin-based method for heating quality assessment and source-grid-load regulation. First, by constructing a digital twin model of the heating network and simulating the model, the state parameters of each node in the entire heating network are obtained. This achieves a 1:1 mapping of the physical heating network's operating state in virtual space, providing a high-fidelity simulation platform for subsequent heating quality assessment, virtual simulation, and optimized regulation, overcoming the shortcomings of traditional methods that lack global state perception. Second, by calculating the heating quality index of each user node based on its actual operating parameters and the simulation results of the digital twin model, a quantitative assessment of the network's heating quality is achieved. This index comprehensively reflects the fairness of heat distribution and the sufficiency of heat delivery to each user node, effectively eliminating interference from non-network environmental noise such as window ventilation, direct sunlight, and changes in population density, ensuring that the assessment results truly reflect the heating service quality at the network level. Third, by selecting user nodes whose heating quality index is below a preset threshold as target nodes, the opening adjustment variable is applied to the virtual valves of the target nodes in the pipeline network digital twin model, and hydraulic-thermal coupling simulation is performed. This enables a spatial thermodynamic evolution prediction of the control effect before the physical valves are activated. Based on the simulation results, the impact of the opening adjustment variable on the flow of each user node is evaluated. This can effectively predict and avoid the risk of network-wide hydraulic reconfiguration and secondary underheating caused by single-point adjustment, solving the problem that traditional methods lack the ability to predict the global spatial evolution trend. Fourth, with the optimization objectives of network-wide heating quality balance and minimum transmission and distribution energy consumption, the optimal coordinated opening parameters of the electrically controlled regulating valves of each user node are obtained. This achieves a leap from single-point local adjustment to network-wide coordinated optimization, ensuring the global optimality of the control decision. Fifth, by setting up a source-end compensation mechanism, when the simulation results of the pipeline network digital twin model show that the heating quality index is still lower than the preset threshold when the electric control regulating valve of the target node is opened to the maximum degree, the missing heat of the whole network is automatically calculated and the compensation flow is obtained based on the missing heat of the whole network and a compensation command is sent to the heat source control system, realizing closed-loop linkage dynamic compensation of the source-network-load three levels; if the simulation results show that no compensation is needed, the current opening degree of the electric control regulating valve of each user node is maintained to ensure the complete closed loop of the control logic, overcoming the defects of information disconnection and lack of coordination between the source-network-load levels in the traditional method.

[0030] Furthermore, by inputting the network parameters of the physical heating network and the thermal parameters of the building envelope into the cloud platform to construct a digital twin model of the network that corresponds one-to-one with the physical heating network, the accurate correspondence between the virtual model and the physical system in terms of structure and thermal characteristics is ensured. By collecting the boundary conditions of the physical heating network at preset intervals through the edge IoT gateway and uploading them to the cloud platform, real-time synchronization of the physical system's operating data is achieved. By running a set of one-dimensional transient fluid dynamics equations in the network digital twin model to solve for the pressure and temperature fields of each node in the entire network, the online reconstruction of the flow and temperature fields of hidden locations in the physical heating network where sensor nodes cannot be placed is realized, providing a complete data foundation for heating quality assessment and virtual simulation. Attached Figure Description

[0031] The accompanying drawings are provided to further understand the invention and constitute a part of this invention. The illustrative embodiments of the invention and their descriptions are used to explain the invention and do not constitute an improper limitation of the invention.

[0032] Figure 1 This is a flowchart illustrating the method of the present invention. Detailed Implementation

[0033] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0034] In the description of this invention, it should be understood that the terms "comprising" and "including" indicate the presence of the described features, integrals, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or collections thereof.

[0035] It should also be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the invention. As used in this specification and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms unless the context clearly indicates otherwise.

[0036] It should be understood that although terms such as first, second, third, etc., may be used in the embodiments of the present invention to describe the preset range, these preset ranges should not be limited to these terms. These terms are only used to distinguish the preset ranges from one another. For example, without departing from the scope of the embodiments of the present invention, the first preset range may also be referred to as the second preset range, and similarly, the second preset range may also be referred to as the first preset range.

[0037] Depending on the context, the word "if" as used here can be interpreted as "when," "when," "in response to determination," or "in response to detection." Similarly, depending on the context, the phrase "if determination" or "if detection (of the stated condition or event)" can be interpreted as "when determination," "in response to determination," "when detection (of the stated condition or event)," or "in response to detection (of the stated condition or event)."

[0038] The operational control level of centralized heating systems directly impacts energy efficiency and the heating experience for end users. Existing heating systems rely on individual thermostats in each household for quality assessment and control. Indoor temperatures are easily affected by factors such as open windows, direct sunlight, population density, and noise from non-network environments like private heating devices, making it difficult to accurately quantify the actual heat quality delivered by the network. The heating network exhibits strong hydraulic-thermal spatial coupling; single-point adjustments at the end point can easily trigger a redistribution of pressure and flow fields across the entire network, leading to control oscillations and secondary underheating. Information gaps exist between the source, network, and load levels, making it difficult for the heat source side to promptly detect and compensate for changes in end-user demand.

[0039] Based on the above background, this invention provides a method for heat supply quality assessment and source-grid-load regulation based on digital twins. This method constructs a digital twin model of the heating network and simulates the state parameters of each node in the network. Based on the actual operating parameters of each user node and the simulation results, it calculates the heat supply quality index. After screening out underheating target nodes, it applies opening adjustment variables to virtual valves in the network's digital twin model and performs hydraulic-thermal coupling simulation. With the goal of achieving balanced heat supply quality and minimizing transmission and distribution energy consumption across the entire network, it solves for the optimal coordinated opening parameters and issues control commands. When the valve is opened to its maximum but still results in underheating, it calculates the missing heat and sends compensation commands to the heat source. This method decouples environmental noise interference through the digital twin model, pre-simulates the thermal evolution trend in virtual space, and achieves source-grid-load linkage compensation.

[0040] The technical solutions in the embodiments of the present invention will now be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative effort are within the scope of protection of the present invention.

[0041] Example 1 See Figure 1 This embodiment provides a method for assessing heating quality and regulating the source-grid-load system based on digital twins.

[0042] A digital twin model of the heating pipeline network is constructed, and the state parameters of each node in the entire network are obtained through simulation based on the digital twin model. The digital twin model corresponds one-to-one with the physical heating pipeline network, enabling the reconstruction of the physical network's topology and operating status in virtual space. The state parameters of each node include operating status variables such as pressure and temperature at each node in the entire network, providing a data foundation for subsequent heating quality assessment and control decisions.

[0043] Based on the actual operating parameters of each user node and the simulation results of the pipeline network digital twin model, the heating quality index of each user node is calculated. The actual operating parameters of each user node are obtained through on-site collection and combined with the simulation results of the pipeline network digital twin model. The heating quality of each user node is quantitatively evaluated from two dimensions: heat distribution balance and heat delivery sufficiency, thereby eliminating the interference of indoor environmental noise on the judgment of heating quality.

[0044] User nodes with a heating quality index below a preset threshold are selected as target nodes. In the digital twin model of the pipeline network, opening adjustment variables are applied to the virtual valves of the target nodes, and hydraulic-thermal coupling simulations are performed. The impact of the opening adjustment variables on the flow of each user node is evaluated based on the simulation results. With the optimization objectives of achieving balanced heating quality across the entire network and minimizing transmission and distribution energy consumption, the optimal coordinated opening parameters of the electrically controlled regulating valves for each user node are obtained. Before the physical valves are activated, the hydraulic-thermal evolution trend of the entire network caused by the adjustment action is pre-simulated in the virtual space of the pipeline network digital twin model to assess whether the adjustment action will cause flow crowding of neighboring user nodes, thereby avoiding network imbalance and secondary underheating caused by blind adjustment. The optimization objectives are balanced heating quality across the entire network and minimum transmission and distribution energy consumption, ensuring that the opening of the electrically controlled regulating valves of each user node improves the heating quality of underheated nodes while taking into account the overall balance and operational economy of the entire network.

[0045] Control commands are issued to the electrically controlled regulating valves of each user node based on the optimal coordinated opening parameters, driving each valve to adjust to the corresponding opening. The optimal coordinated opening parameters obtained from the digital twin model of the pipeline network are converted into executable control commands and issued to the electrically controlled regulating valves of each user node in the physical heating pipeline network, driving each valve to synchronously adjust to the corresponding opening, thereby achieving hydraulic and thermal balance at the terminal.

[0046] When the simulation results of the digital twin model of the pipeline network show that the heating quality index is still lower than the preset threshold when the electrically controlled regulating valve of the target node is opened to its maximum degree, the total network heat deficit is calculated and the compensation flow rate is converted based on the total network heat deficit. A compensation command is then sent to the heat source control system. Otherwise, the current opening degree of the electrically controlled regulating valves of each user node is maintained. When the terminal regulation capacity reaches its limit and still cannot eliminate the heat deficit, it indicates that the total heat input of the system is insufficient. At this time, the total network heat deficit is calculated and converted into a compensation flow rate. A compensation command is then sent to the heat source control system to increase the input on the heat source side, thereby realizing dynamic heat compensation through three-level linkage of source, network, and load. When the terminal regulation can meet the heating quality requirements, the current opening degree of each electrically controlled regulating valve is maintained to avoid unnecessary adjustment actions.

[0047] Example 2 Based on the above embodiments, the construction of a digital twin model of the heating network can be achieved as follows: The network parameters of the physical heating network and the thermal parameters of the building envelope are input into a cloud platform to construct a digital twin model that corresponds one-to-one with the physical heating network. Boundary conditions of the physical heating network are collected at preset intervals via an edge IoT gateway and uploaded to the cloud platform. A one-dimensional transient fluid dynamics equation set is run within the digital twin model to solve for the pressure and temperature fields of each node in the entire network.

[0048] The pipeline parameters include pipe diameter, pipe length, friction coefficient, and local resistance coefficient; the building envelope thermal parameters include building orientation, wall thermal resistance, and wall heat capacity; the one-dimensional transient fluid dynamics equations include the continuity equation, momentum equation, and energy conservation equation; and the boundary conditions include the supply water temperature, return water temperature, and total flow rate of the physical heating network.

[0049] The momentum equation can be expressed as:

[0050] In the formula, For fluid pressure; For the axial distance coordinates of the one-dimensional flow in the pipeline; For fluid density; It is the acceleration due to gravity; This is the friction coefficient; This refers to the inner diameter of the pipe. This represents the fluid velocity.

[0051] By running a set of one-dimensional transient fluid dynamics equations within a digital twin model of the pipeline network, the hidden water flow pressure and temperature fields that cannot be accommodated by sensor nodes in the physical network can be reconstructed in a 1:1 ratio in the virtual space, providing global and high-precision state data support for subsequent heating quality assessment and control decisions.

[0052] The heating quality index for each user node can be calculated as follows. The specific heating quality index is:

[0053] In the formula, For the first Heating quality index of each user node For the first The actual supply and return water temperature difference for each user node. This represents the average supply and return water temperature difference across all user nodes in the entire building (or the current branch). For the first The actual instantaneous heat absorption per unit building area of ​​each user node (calculated by individual household flow rate and temperature difference). For the first Design thermal load of each user node , The weighting coefficients and .

[0054] The left half of the above formula assesses the fairness of the distribution of hydraulic and thermal power, i.e., the thermal balance, while the right half assesses the adequacy of heat input. If a resident opens a window, resulting in an extremely low room temperature, but the supply and return water temperature difference and heat absorption still meet the building's baseline and design standards, then its... It is still qualified, thus decoupling the quality of pipeline heating from indoor environmental noise.

[0055] When the heating quality index is still lower than the preset threshold when the electronically controlled regulating valve of the target node is opened to its maximum degree, the heat loss of the entire network is calculated according to the following formula:

[0056] in, The entire internet lacks heat, This refers to the set of user nodes whose heating quality index is below a preset threshold.

[0057] The compensation flow is as follows:

[0058] in, To compensate for the data usage, Specific heat capacity of the fluid The total water supply temperature of the secondary heat source network. This refers to the total return water temperature of the secondary heat source network.

[0059] Applying an opening adjustment variable to the virtual valves of the target node in a pipeline network digital twin model and performing hydraulic-thermal coupling simulation can be achieved as follows: Within the pipeline network digital twin model, an opening adjustment variable is applied to the virtual valves of the target node. This variable increases the opening, causing a decrease in the local resistance coefficient corresponding to the virtual valve. Based on the adjusted local resistance coefficient, the pipeline network admittance matrix is ​​corrected. The pipeline network matrix equation, composed of the pipeline network admittance matrix, the pressure vectors of all network nodes, and the known boundary vectors, is then solved to obtain the reconstructed pressure results for all network nodes.

[0060] The pipeline network matrix equation can be expressed as:

[0061] In the formula, The pipeline admittance matrix is ​​a matrix composed of the topology of each branch of the pipeline network and its admittance (the reciprocal of the resistance). When the valve opening of each household is adjusted to... When, the corresponding local drag coefficient The change directly affects the admittance matrix. The element values ​​are corrected in real time; The network-wide node pressure vector represents the instantaneous dynamic water pressure head (m or MPa) at each intersection and branch point in the pipeline network. Each value in this vector will be reconstructed after a valve operation. : The known boundary vector contains a mathematical matrix of a known constant pressure driving source or a known constant flow source given by the heat exchange station.

[0062] The impact of the opening adjustment variable on the flow rate of each user node is evaluated based on the simulation results. Specifically, this includes: calculating the change in circulating flow rate at adjacent user nodes based on the reconstructed pressure of all nodes in the network; determining the risk of secondary underheating when the change in circulating flow rate is lower than the preset reduction; and determining the risk of secondary underheating when the change in circulating flow rate is not lower than the preset reduction. By calculating the spatial hydraulic reconstruction waveform caused by the adjustment action online, the focus is on examining whether the circulating flow rate at adjacent nodes will drop sharply due to the water flow competition effect, thereby triggering new underheating, thus predicting and avoiding the risk of secondary underheating before the physical valve is activated.

[0063] With the optimization objectives of achieving balanced heating quality across the entire network and minimizing transmission and distribution energy consumption, the optimal coordinated opening parameters of the electrically controlled regulating valves at each user node can be obtained as follows: The optimal coordinated opening parameters are iteratively solved using a genetic algorithm or particle swarm optimization algorithm, with the optimization objectives of minimizing the variance of the heating quality index of all user nodes across the network and minimizing the secondary energy consumption of the entire network. The optimal coordinated opening parameters are a column vector containing the target openings of all electrically controlled regulating valves participating in the joint commissioning across the entire network, where each element takes an opening percentage ranging from 0% to 100%.

[0064] The optimal cooperative opening parameter can be expressed as:

[0065] In the formula, A one-dimensional column vector matrix containing the target opening degrees of all individual electronic control valves participating in the joint commissioning of the entire building. The system assigns the first The target opening percentage of the electronically controlled proportional-integral control valve for each underheated (or overheated) household, where 0% represents fully closed and 100% represents fully open.

[0066] Sending compensation commands to the heat source control system specifically includes sending compensation commands to the heat exchange station control system. These commands are used to adjust the operating frequency of the secondary network circulation pumps or the opening of the primary network regulating valves. Dynamic heat compensation is achieved through a three-stage closed loop between the source, network, and load by sending commands to the heat exchange station frequency converter to increase the pump operating frequency or to the primary network regulating valve to increase heat source input.

[0067] Corresponding to the above methods, this invention also provides a heating quality assessment and source-grid-load control system based on digital twins, comprising a first module, a second module, a third module, a fourth module, and a fifth module. The first module is used to construct a digital twin model of the heating network and simulate the state parameters of each node in the entire heating network based on the digital twin model. The second module is used to calculate the heating quality index of each user node based on the actual operating parameters of each user node and the simulation results of the digital twin model. The third module is used to select user nodes with heating quality indices below a preset threshold as target nodes, apply opening adjustment variables to the virtual valves of the target nodes in the digital twin model, and perform hydraulic-thermal coupling simulation. Based on the simulation results, the impact of the opening adjustment variables on the flow of each user node is evaluated. With the optimization objectives of balanced heating quality and minimum transmission and distribution energy consumption, the optimal coordinated opening parameters of the electrically controlled regulating valves of each user node are obtained. The fourth module is used to issue control commands to the electrically controlled regulating valves of each user node according to the optimal coordinated opening parameters, driving each electrically controlled regulating valve to adjust to the corresponding opening. The fifth module is used to calculate the total heat loss of the entire network and calculate the compensation flow based on the total heat loss when the simulation results of the digital twin model of the pipeline network show that the heating quality index is still lower than the preset threshold when the electrically controlled regulating valve of the target node is opened to the maximum degree. Then, it sends a compensation command to the heat source control system. Otherwise, it maintains the current opening degree of the electrically controlled regulating valve of each user node.

[0068] Example 3 This embodiment further illustrates the above method in conjunction with the complete operation process.

[0069] The topology, pipe diameter, pipe length, friction coefficient, local resistance coefficient, and building envelope thermal parameters such as building orientation, wall thermal resistance, and wall heat capacity of the physical heating network are entered into the cloud to build a 1:1 digital twin model of the network. Edge IoT gateways upload boundary data such as supply water temperature, return water temperature, and total flow rate of the physical heating network to the cloud platform in real time according to a preset cycle. The digital twin model of the network runs a set of one-dimensional transient fluid dynamics equations, including continuity, momentum, and energy conservation equations, to solve the pressure and temperature fields of every unknown node in the network online in virtual space, recreating the hidden water flow states where sensor nodes cannot be placed in the physical network.

[0070] The cloud platform utilizes its algorithm engine to calculate the heating quality index for each user node, taking into account the actual supply and return water temperature difference, the average supply and return water temperature difference of the current branch, the actual instantaneous heat absorption, and the design heat load, according to the heating quality index formula. This approach integrates the fairness of heat distribution within the pipeline network with the sufficiency of heat delivery, eliminating interference with room temperature caused by non-pipeline factors such as residents opening windows, dense indoor populations, or the use of private heating equipment, thereby accurately assessing the quality of heating services at the pipeline network level.

[0071] The system automatically identifies underheating target nodes with a heating quality index below a preset threshold (e.g., 0.85). Within the digital twin space of the pipeline network, an increased opening variable is applied to the virtual valves of the target nodes, causing a decrease in the local resistance coefficient corresponding to the virtual valves. The pipeline admittance matrix is ​​corrected based on the adjusted local resistance coefficient, and the pipeline matrix equation A×H=B is solved to obtain the reconstructed pressure results for all network nodes. Based on the reconstructed pressure results for all network nodes, the change in circulating flow at adjacent user nodes is calculated. When the change in circulating flow is lower than a preset reduction, a risk of secondary underheating is identified, thus predicting and avoiding secondary underheating caused by water flow competition before physical valve operation. Using a genetic algorithm or particle swarm optimization algorithm, iterative optimization is performed with multiple objectives: minimizing the variance of the heating quality index of all user nodes and minimizing the secondary energy consumption of the entire network. The optimal coordinated opening parameters of the electrically controlled regulating valves at each user node in the entire network are then determined.

[0072] To ensure the most balanced heating quality across the entire network and the lowest energy consumption for transmission and distribution.

[0073] The digital twin cloud platform transforms the solved optimal cooperative opening parameters into control commands and sends them to the bidirectional control execution layer. The electrically controlled regulating valves of each user node in the physical entity receive the commands and adjust their actions synchronously to adjust the entire network to the optimal hydraulic balance state, eliminating thermal imbalance at the end.

[0074] If the simulation results of the pipeline network digital twin model show that even if the electrically controlled regulating valve of the target node is opened to its maximum opening (100%), its heating quality index is still lower than the preset threshold, it indicates that the total heat input is insufficient. The system automatically calculates the missing heat across the entire network and then converts it into a compensation flow rate. A compensation command is sent to the heat exchange station control system to adjust the operating frequency of the secondary network circulation pumps or the opening of the primary network regulating valve, achieving dynamic heat compensation across the entire network at the source-network-load levels. If the simulation results show that the terminal adjustment can meet the heating quality requirements, the current opening of the electrically controlled regulating valves at each user node is maintained.

[0075] Based on the same inventive concept, embodiments of this application provide a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the steps of a digital twin-based heating quality assessment and source-grid-load control method. The memory may include main memory, such as high-speed random access memory, or it may also include non-volatile memory, such as at least one disk storage device. The processor, network interface, and memory are interconnected via an internal bus, which may be an industry-standard architecture bus, a peripheral component interconnection standard bus, an extended industry-standard architecture bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. The memory stores the program; specifically, the program may include program code, which includes computer operation instructions. The memory may include main memory and non-volatile memory, and provides instructions and data to the processor.

[0076] Based on the same inventive concept, embodiments of this application provide a computer-readable storage medium storing a computer program. When executed by a processor, the computer program implements the steps of the digital twin-based heating quality assessment and source-grid-load control method. Specifically, the computer-readable storage medium includes, but is not limited to, volatile memory and / or non-volatile memory. The volatile memory may include RAM (Random Access Memory) and / or cache memory, etc. The non-volatile memory may include ROM (Read-Only Memory), hard disk, flash memory, optical disk, magnetic disk, etc.

[0077] Based on the same inventive concept, this application provides a computer program product, which includes a computer program stored on a computer-readable storage medium. The computer program includes program instructions, which, when executed by a computer device, cause the computer device to perform the steps of the above-described method for assessing heating quality and regulating source-grid-load based on digital twins.

[0078] Those skilled in the art will understand that embodiments of the present invention can be provided as methods or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM (Compact Disc Read-Only Memory), optical storage, etc.) containing computer-usable program code.

[0079] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, as well as combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer apparatus or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0080] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer device or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0081] These computer program instructions may also be loaded onto a computer device or other programmable data processing equipment to cause a series of operational steps to be performed on the computer device or other programmable equipment to produce a process implemented by the computer device, thereby providing instructions that execute on the computer device or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0082] Although preferred embodiments of the invention have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including both the preferred embodiments and all changes and modifications falling within the scope of the invention.

[0083] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Therefore, if these modifications and variations fall within the scope of the claims of this invention and their equivalents, this invention also intends to include these modifications and variations.

Claims

1. A method for assessing heating quality and regulating source-grid-load based on digital twins, characterized in that, Includes the following steps: A digital twin model of the heating network is constructed, and the state parameters of each node of the entire heating network are obtained by simulation based on the digital twin model. Based on the actual operating parameters of each user node and the simulation results of the pipeline network digital twin model, the heating quality index of each user node is calculated. User nodes with a heating quality index below a preset threshold are selected as target nodes. In the digital twin model of the pipeline network, the opening adjustment variable is applied to the virtual valve of the target node and a hydraulic-thermal coupling simulation is performed. The impact of the opening adjustment variable on the flow of each user node is evaluated based on the simulation results. With the goal of balancing the heating quality of the entire network and minimizing the energy consumption of transmission and distribution, the optimal coordinated opening parameters of the electrically controlled regulating valve of each user node are obtained. Based on the optimal cooperative opening parameters, control commands are sent to the electronically controlled regulating valves of each user node to drive each electronically controlled regulating valve to adjust to the corresponding opening degree; When the simulation results of the digital twin model of the pipeline network show that the heating quality index is still lower than the preset threshold when the electric control valve of the target node is opened to the maximum degree, the heat loss of the whole network is calculated and the compensation flow is obtained based on the heat loss of the whole network, and a compensation command is sent to the heat source control system; otherwise, the current opening degree of the electric control valve of each user node is maintained.

2. The method for assessing heating quality and regulating source-grid-load based on digital twins according to claim 1, characterized in that, Constructing a digital twin model of the heating network specifically includes: Input the network parameters of the physical heating network and the thermal parameters of the building envelope into the cloud platform to construct a digital twin model of the network that corresponds one-to-one with the physical heating network. The boundary conditions of the physical heating network are collected by the edge IoT gateway at a preset cycle and uploaded to the cloud platform. The pressure and temperature fields of each node in the entire network are obtained by running a set of one-dimensional transient fluid dynamics equations within the digital twin model of the pipeline network.

3. The method for assessing heating quality and regulating source-grid-load based on digital twins according to claim 2, characterized in that, Pipeline parameters include pipe diameter, pipe length, friction coefficient, and local resistance coefficient; building envelope thermal parameters include building orientation, wall thermal resistance, and wall heat capacity; one-dimensional transient fluid dynamics equations include continuity equation, momentum equation, and energy conservation equation; boundary conditions include the supply water temperature, return water temperature, and total flow rate of the physical heating network.

4. The method for assessing heating quality and regulating source-grid-load based on digital twins according to claim 1, characterized in that, The heating quality index is as follows: in, For the first Heating quality index of each user node For the first The actual supply and return water temperature difference for each user node. The average supply and return water temperature difference for all user nodes on the current branch. For the first The actual instantaneous heat absorption per unit building area of ​​each user node For the first Design thermal load of each user node , The weighting coefficients and ; The total heat loss across the network is calculated using the following formula: in, The entire internet lacks heat, This refers to the set of user nodes whose heating quality index is below a preset threshold. The compensation flow is as follows: in, To compensate for the data usage, Specific heat capacity of the fluid The total water supply temperature of the secondary heat source network. This refers to the total return water temperature of the secondary heat source network.

5. The method for assessing heating quality and regulating source-grid-load based on digital twins according to claim 1, characterized in that, In the digital twin model of the pipeline network, an opening adjustment variable is applied to the virtual valve of the target node, and a hydraulic-thermal coupling simulation is performed, specifically including: In the digital twin model of the pipeline network, an opening adjustment variable is applied to the virtual valve of the target node. The opening adjustment variable is the variable that increases the opening, so that the local resistance coefficient of the virtual valve decreases. The network admittance matrix is ​​corrected based on the adjusted local resistance coefficient. The network matrix equation, which consists of the network admittance matrix, the pressure vector of all network nodes, and the known boundary vector, is solved to obtain the reconstructed pressure of all network nodes. The impact of the opening adjustment variable on the traffic of each user node is evaluated based on the simulation results, specifically including: Based on the reconstruction results of the network node pressure, the change in circulating traffic at adjacent user nodes is calculated. When the change in circulating traffic is lower than the preset reduction, it is determined that there is a risk of secondary underheating; when the change in circulating traffic is not lower than the preset reduction, it is determined that there is no risk of secondary underheating.

6. The method for assessing heating quality and regulating source-grid-load based on digital twins according to claim 1, characterized in that, With the optimization objectives of achieving balanced heating quality across the entire network and minimizing transmission and distribution energy consumption, the optimal coordinated opening parameters of the electrically controlled regulating valves at each user node are obtained by solving the problem. Specifically, these parameters include: With the optimization objectives of minimizing the variance of the heating quality index of all user nodes in the network and minimizing the secondary energy consumption of the entire network, the optimal cooperative opening parameters are solved iteratively by genetic algorithm or particle swarm algorithm. The optimal coordinated opening parameter is a column vector containing the target opening of all electronically controlled regulating valves participating in the joint commissioning of the entire network, where each element takes the value of an opening percentage from 0% to 100%. Sending compensation commands to the heat source control system, specifically including: A compensation command is sent to the heat exchange station control system. The compensation command is used to adjust the operating frequency of the secondary network circulation pump or the opening degree of the primary network regulating valve.

7. A heating quality assessment and source-grid-load control system based on digital twins, characterized in that, include: The first module is used to construct a digital twin model of the heating network and to simulate the state parameters of each node of the entire heating network based on the digital twin model. The second module is used to calculate the heating quality index of each user node based on the actual operating parameters of each user node and the simulation results of the digital twin model of the pipeline network. The third module is used to select user nodes whose heating quality index is lower than a preset threshold as target nodes. In the digital twin model of the pipeline network, the opening adjustment variable is applied to the virtual valve of the target node and hydraulic-thermal coupling simulation is performed. Based on the simulation results, the impact of the opening adjustment variable on the flow of each user node is evaluated. With the goal of balancing the heating quality of the whole network and minimizing the energy consumption of transmission and distribution, the optimal coordinated opening parameters of the electrically controlled regulating valve of each user node are solved. The fourth module is used to send control commands to the electronically controlled regulating valves of each user node according to the optimal coordinated opening parameters, so as to drive each electronically controlled regulating valve to adjust to the corresponding opening. The fifth module is used to calculate the total heat loss in the network and calculate the compensation flow based on the total heat loss when the simulation results of the digital twin model of the pipeline network show that the heating quality index is still lower than the preset threshold when the electrically controlled regulating valve of the target node is opened to the maximum degree. Then, it sends a compensation command to the heat source control system. Otherwise, it maintains the current opening degree of the electrically controlled regulating valve of each user node.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the heating quality assessment and source-grid-load control method based on digital twins as described in any one of claims 1 to 6.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the heating quality assessment and source-grid-load control method based on digital twins as described in any one of claims 1 to 6.

10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the steps of the digital twin-based heating quality assessment and source-grid-load control method as described in any one of claims 1 to 6.