A heating load prediction method and system

By building historical data and prediction models within the heating area, combined with weather and electricity consumption data, the accuracy and efficiency issues of heating load prediction are solved, and faster and more accurate heat supply predictions are achieved.

CN118569457BActive Publication Date: 2024-10-22北京热力智能控制技术有限责任公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411059842.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-05
Publication Date
2024-10-22
Estimated Expiration
2044-08-05

AI Technical Summary

Technical Problem

How to integrate outdoor temperature and electricity consumption to predict the heating load, especially when the characteristics of the house and the density of people change less, and effectively deal with frequent changes in the heating load.

Method used

By dividing heating areas, we construct the corresponding relationship between historical heat supply and temperature, create prediction trees and random forests, combine weather forecast data and current electricity consumption growth, and use linear regression models and digital twin models to calculate predicted heat supply. And perform data integration and calibration through dual-domain linked list and random forest.

Benefits of technology

It improves the response speed of the heating system and the accuracy of predicted heat supply, optimizes resource allocation, simplifies the calculation process, and improves the prediction efficiency and speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118569457B_ABST
    Figure CN118569457B_ABST
Patent Text Reader

Abstract

The present invention is applicable to the technical field of load prediction, and in particular to a method and system for predicting heating load, the method comprising: S100: determining the boundary of a heating area, dividing the heating area into a plurality of blocks in combination with the location of a heating station, recording the historical heating amount and the historical temperature of the blocks, establishing a corresponding relationship, collecting the growth of electricity consumption and the growth of heating load of the blocks, and constructing a comparison table; S200: creating a prediction tree, and dividing the prediction tree into a left subtree and a right subtree. The present invention can correct the predicted heating amount by constructing a comparison table and combining the growth of electricity consumption at the current moment, further improve the accuracy of the predicted heating amount, optimize resource allocation, and enhance user experience. By constructing a prediction tree and a random forest, the calculation process of the predicted heating amount is greatly simplified, thereby greatly improving the efficiency and speed of the prediction while ensuring accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of load forecasting, and in particular to a heating load forecasting method and system. Background Art

[0002] Changes in heating load are usually closely related to multiple factors. First, outdoor temperature is one of the main factors affecting heating load. As the outdoor temperature decreases, buildings require more heat to maintain a comfortable indoor temperature, thereby increasing the heating load. Secondly, the thermal insulation performance of the building also plays an important role. The quality of the insulation material, the sealing of the windows, and the overall structure will affect the loss and demand of heat. Therefore, the better the thermal insulation performance of the building, the smaller the heating load. In addition, the higher the frequency of use of other indoor heating equipment, the smaller the heating load. Finally, the density of people will also have an impact on the heating load.

[0003] However, the house characteristics and population density do not change under normal circumstances. That is to say, only the outdoor temperature and the use of other indoor heating equipment will cause the heating load to change frequently. Therefore, "how to integrate outdoor temperature and electricity consumption to predict heating load" is the technical problem that the present invention needs to solve. Summary of the invention

[0004] The object of the present invention is to provide a heating load prediction method and system to solve the problem of "how to integrate outdoor temperature and electricity consumption to predict heating load" raised in the above background technology.

[0005] To achieve the above object, the present invention provides the following technical solutions:

[0006] A method for predicting heating load, the method comprising:

[0007] S100: Determine the boundary of the heating area, divide the heating area into several blocks in combination with the location of the heating station, record the historical heating amount and historical temperature of the blocks, establish a corresponding relationship, collect the electricity consumption growth and heating load growth of the blocks, and construct a comparison table;

[0008] S200: creating a prediction tree, dividing the prediction tree into a left subtree and a right subtree, importing the historical heating supply, historical temperature and corresponding relationship into the left subtree, and importing the comparison table into the right subtree;

[0009] S300: embedding a double-domain linked list for retrieval and output at the starting position of the prediction tree, and pointing two groups of pointer domains of the double-domain linked list to the left subtree and the right subtree respectively, defining the input data of the prediction tree as a trigger, and binding the trigger and the double-domain linked list;

[0010] S400: Obtain weather forecast data for the heating area and the current electricity consumption growth, input them into the prediction tree, activate the dual-domain linked list, and use a preset linear regression model to calculate and output the predicted heating amount.

[0011] Furthermore, the S100 includes:

[0012] Constructing a digital twin model of the heating area, and training the digital twin model using a data set consisting of historical heating amounts and historical temperatures;

[0013] The weather forecast data is input into the digital twin model, the forecast result is determined, and the forecast heating amount is fine-tuned.

[0014] Furthermore, the S100 further includes:

[0015] Randomly select a test block from the blocks, and collect the power consumption and heat supply of the test block;

[0016] Use natural time as the horizontal axis and power consumption as the vertical axis to draw a trend chart;

[0017] Draw a comparison chart with natural time as the horizontal axis and heat supply as the vertical axis, and superimpose the comparison chart on the change trend chart;

[0018] Representative points are selected from natural time, and the slopes at the representative points are compared.

[0019] Further, the S200 includes:

[0020] Establish a prediction tree corresponding to each block, parse out the attributes of the prediction tree, and generate a label, wherein the attributes at least include: the number of people in the block, age structure and house characteristics, and insert the label into the prediction tree;

[0021] Aggregate all prediction trees, create a random forest, and build the interface of the random forest.

[0022] Further, the S300 includes:

[0023] Splitting the double-field linked list into two groups of digital fields and two groups of pointer fields, wherein the two groups of pointer fields point to the left subtree and the right subtree respectively, and the two groups of digital fields include a first digital field and a second digital field;

[0024] Transfer the input data into the left subtree, traverse at least one set of historical heat supply, and transfer the traversed result into the first digital domain;

[0025] The input data is transferred to the right subtree, the comparison table is queried, and the query result is transferred to the second digital field.

[0026] Further, the S400 includes:

[0027] The weather forecast data of the heating area and the increase in electricity consumption at the current moment are defined as input values, and the input values ​​are transferred to the random forest via the interface;

[0028] The input value is divided into prediction trees, and the predicted heating amount corresponding to each prediction tree is calculated and summarized, and the summary result is output through the interface.

[0029] Furthermore, the S400 further includes:

[0030] Based on the corresponding relationship, a nearby value is selected in the first digital domain, and a predicted heating amount of each prediction tree is calculated using a preset linear regression model;

[0031] The preset linear regression model is:

[0032] ;

[0033] in is the predicted heating supply of the prediction tree, T is the weather forecast data, and is the regression coefficient;

[0034] Using the preset regression coefficient calculation formula, calculate and ;

[0035] The preset regression coefficients include:

[0036] ;

[0037] ;

[0038] in For the Historical temperatures in the vicinity of For The historical heating supply with the corresponding relationship, n is the number of nearby values;

[0039] The predicted heating amount is deviated by utilizing the query result in the second digital domain.

[0040] Furthermore, the system comprises:

[0041] A construction module is used to determine the boundaries of the heating area, divide the heating area into several blocks in combination with the location of the heating station, record the historical heating amount and historical temperature of the blocks, establish a corresponding relationship, collect the growth of electricity consumption and heating load of the blocks, and construct a comparison table;

[0042] An import module is used to create a prediction tree, divide the prediction tree into a left subtree and a right subtree, import the historical heating amount, historical temperature and corresponding relationship into the left subtree, and import the comparison table into the right subtree;

[0043] A binding module is used to embed a double-domain linked list for retrieval and output at the starting position of the prediction tree, and point two groups of pointer domains of the double-domain linked list to the left subtree and the right subtree respectively, define the input data of the prediction tree as a trigger, and bind the trigger and the double-domain linked list;

[0044] The activation module is used to obtain the weather forecast data of the heating area and the current electricity consumption growth, input them into the prediction tree, activate the dual-domain linked list, and use the preset linear regression model to calculate and output the predicted heating amount.

[0045] Furthermore, the building blocks include:

[0046] A training unit, used to construct a digital twin model of the heating area, and train the digital twin model using a data set consisting of historical heating amount and historical temperature;

[0047] A fine-tuning unit, used to input the weather forecast data into the digital twin model, determine the forecast result, and fine-tune the forecast heating supply;

[0048] A collection unit, used for randomly selecting a test block from the blocks, and collecting the power consumption and heat supply of the test block;

[0049] A drawing unit, used to draw a change trend graph with natural time as the horizontal axis and power consumption as the vertical axis, draw a comparison graph with natural time as the horizontal axis and heat supply as the vertical axis, and superimpose the comparison graph on the change trend graph;

[0050] The comparison unit is used to select representative points from natural time and compare the slopes at the representative points.

[0051] Furthermore, the import module includes:

[0052] An insertion unit is used to establish a prediction tree corresponding to each block, parse the attributes of the prediction tree, and generate a label, wherein the attributes at least include: the number of people in the block, the age structure and the characteristics of the house, and insert the label into the prediction tree;

[0053] The aggregation unit is used to aggregate all prediction trees, create a random forest, and build an interface for the random forest.

[0054] Compared with the prior art, the present invention has the following beneficial effects:

[0055] By establishing a corresponding relationship between historical heating supply and historical temperature, and combining it with weather forecast data, the predicted heating supply can be determined, the response speed of the heating system can be improved, and data support can be provided for the adjustment of the heating load. By constructing a comparison table and combining it with the current electricity consumption growth, the predicted heating supply can be corrected to further improve the accuracy of the predicted heating supply, optimize resource allocation, and enhance user experience. By constructing prediction trees and random forests, the calculation process of the predicted heating supply is greatly simplified, thereby greatly improving the efficiency and speed of the prediction while ensuring accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] Figure 1 A flowchart of a heating load prediction method provided by an embodiment of the present invention;

[0057] Figure 2 A first sub-flow chart of the heating load prediction method provided by an embodiment of the present invention;

[0058] Figure 3 A second sub-flow chart of the heating load prediction method provided by an embodiment of the present invention;

[0059] Figure 4 A third sub-flow chart of the heating load prediction method provided in an embodiment of the present invention;

[0060] Figure 5 A fourth sub-flow chart of the heating load prediction method provided in an embodiment of the present invention;

[0061] Figure 6 A block diagram of the heating load prediction system provided by an embodiment of the present invention;

[0062] Figure 7 A block diagram of the components of the building blocks in the heating load prediction system provided in an embodiment of the present invention;

[0063] Figure 8 A block diagram of the composition of the import module in the heating load prediction system provided in an embodiment of the present invention;

[0064] Fig. 9 A block diagram of the composition of a binding module in a heating load prediction system provided in an embodiment of the present invention;

[0065] Fig.10 A block diagram of the composition of an activation module in a heating load prediction system provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0066] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0067] It is understood that the terms "first", "second", etc. used in this application may be used herein to describe various elements, but unless otherwise specified, these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, without departing from the scope of this application, a first heating load prediction method script may be referred to as a second heating load prediction method script, and similarly, a second heating load prediction method script may be referred to as a first heating load prediction method script.

[0068] In Example 1, Figure 1 The implementation process of the heating load prediction method provided by the embodiment of the present invention is shown and described in detail below:

[0069] S100: Determine the boundary of the heating area, divide the heating area into several blocks based on the location of the heating station, record the historical heating amount and historical temperature of the blocks, establish a corresponding relationship, collect the increase in electricity consumption and heating load of the blocks, and construct a comparison table.

[0070] Determine the area that needs to be heated, determine the boundaries of the heating area, determine the location of the heating station in the heating area, and divide the heating area into multiple blocks according to the heating range of the heating station; it should be noted that the number of blocks is the same as the number of heating stations, record the daily temperature of each block, and then determine the daily heating amount, and determine the collected data as historical heating and historical temperature; according to time, establish the corresponding relationship between historical heating and historical temperature; at the same time, record the daily change in electricity consumption of the block, and then record the change in heating load on the same day, and determine these two changes as electricity consumption growth and heating load growth respectively; it should be noted that both electricity consumption growth and heating load growth may be negative, that is, electricity consumption and heating load are decreasing. According to the daily electricity consumption growth and heating load growth, a comparison table is constructed. In the comparison table, the "rows" are the electricity consumption growth items and the heating load growth items, and the columns are the block numbers or names.

[0071] S200: Create a prediction tree, divide the prediction tree into a left subtree and a right subtree, import the historical heating amount, historical temperature and corresponding relationship into the left subtree, and import the comparison table into the right subtree.

[0072] Create a prediction tree, where the prediction tree is divided into a left subtree and a right subtree, import the historical heating supply and historical temperature into the left subtree, and import the comparison table into the right subtree.

[0073] S300: embed a double-domain linked list for retrieval and output at the starting position of the prediction tree, and point the two groups of pointer domains of the double-domain linked list to the left subtree and the right subtree respectively, define the input data of the prediction tree as a trigger, and bind the trigger and the double-domain linked list.

[0074] A double-domain linked list is embedded at the starting position of the prediction tree, where the starting position is the root of the prediction tree. The double-domain linked list consists of two sets of digital domains and two sets of pointer domains, with the two sets of pointer domains pointing to the left subtree and the right subtree respectively. The result of the left subtree in the prediction tree is transferred to one set of digital domains, and the result of the right subtree is transferred to the other set of digital domains. Only after the prediction tree receives input data will the double-domain linked list be started for retrieval and output.

[0075] S400: Obtain weather forecast data for the heating area and the current electricity consumption growth, input them into the prediction tree, activate the dual-domain linked list, and use a preset linear regression model to calculate and output the predicted heating amount.

[0076] The double domain linked list is activated only after the prediction tree receives input data. The weather forecast data should include the predicted temperature. The predicted temperature is transferred to the left subtree, and the historical heating corresponding to the same historical temperature as the predicted temperature is found. The predicted heating is calculated using the linear regression model and output from the prediction tree. The current electricity consumption growth is transferred to the right subtree, the heating load growth is retrieved and determined, and the predicted heating is deviated according to the current heating load. The benefit of this is that the accuracy of the predicted heating can be improved.

[0077] In Example 2, Figure 2 The implementation process of the heating load prediction method provided by the embodiment of the present invention is shown, and S100 is described in detail below, as follows:

[0078] S101: Construct a digital twin model of the heating area, and train the digital twin model using a data set consisting of historical heating amount and historical temperature.

[0079] Build a digital twin model of the heating area and use historical heating supply and historical temperature to train the digital twin model.

[0080] S102: Input the weather forecast data into the digital twin model, determine the forecast result, and fine-tune the forecast heating amount.

[0081] The weather forecast data is input into the trained digital twin model, the forecast results are output, and the forecast heating supply is calibrated using the forecast results. The specific calibration method should be that if the forecast heating supply is not much different from the forecast result, the forecast heating supply should be deviated. If the difference is large, more temperature and heating supply data should be selected from the existing data to continue training the digital twin model.

[0082] In Example 3, Figure 3 The implementation process of the heating load prediction method provided by the embodiment of the present invention is shown, and S100 is further described in detail below, as follows:

[0083] S201: randomly selecting a test block from the blocks, and collecting the power consumption and heat supply of the test block.

[0084] A test block is randomly selected from the blocks. The main purpose of selecting the test block is to find out the relationship between temperature and heating supply. Therefore, there are no other special requirements for the selection of the test block. The real-time power consumption and real-time heating supply of the test block are collected.

[0085] S202: Draw a change trend graph with natural time as the horizontal axis and power consumption as the vertical axis, draw a comparison graph with natural time as the horizontal axis and heat supply as the vertical axis, and superimpose the comparison graph on the change trend graph.

[0086] With natural time as the horizontal axis, where natural time is Beijing time, and electricity consumption as the vertical axis, draw a trend graph, where the trend graph can be a line graph or a curve graph; then continue to use natural time as the horizontal axis and heat supply as the vertical axis to draw a comparison graph, where the comparison graph is also a line graph or a curve graph, and then overlay the two line graphs on the same graph.

[0087] S203: Select representative points from the natural time, and compare the slopes at the representative points.

[0088] Select two adjacent natural times from the two line graphs and determine the slope. Compare the slopes of the two line graphs to determine the changing trend and judge whether there is a connection between the changing trends.

[0089] In Example 4, Figure 3 The implementation process of the heating load prediction method provided by the embodiment of the present invention is shown, and S200 is described in detail below, as follows:

[0090] S204: Establish a prediction tree corresponding to each block one by one, parse out the attributes of the prediction tree, and generate a label, wherein the attributes at least include: the number of people in the block, age structure and house characteristics, and insert the label into the prediction tree.

[0091] Based on each block, a corresponding prediction tree is established, and the attributes of the block are extracted, including: the area, number of people, age structure of the residents and house characteristics of the block, and the label is inserted into the prediction tree; the advantage of this is that it can more intuitively judge the impact of other factors on the heating supply.

[0092] S205: Aggregate all prediction trees, create a random forest, and build an interface for the random forest.

[0093] The prediction trees corresponding to all blocks are aggregated together to construct a random forest. The heating value of the random forest is the total heating value of the heating area. The interface is determined in the random forest, where the interface is mainly used for input and output.

[0094] In Example 5, Figure 4 The implementation process of the heating load prediction method provided by the embodiment of the present invention is shown, and S300 is described in detail as follows:

[0095] S301: splitting the dual-field linked list into two groups of digital fields and two groups of pointer fields, wherein the two groups of pointer fields point to the left subtree and the right subtree respectively, and the two groups of digital fields include a first digital field and a second digital field.

[0096] The function of the pointer domain is to establish a mapping relationship between data to avoid data integration difficulties. In addition, the two groups of digital domains are named the first digital domain and the second digital domain.

[0097] S302: transferring the input data into the left subtree, traversing at least one set of historical heating values, and transferring the traversed results into the first digital domain;

[0098] Transfer the predicted temperature in the weather forecast data into the left subtree, and find the historical temperature that is the same as the predicted temperature in the weather forecast data. As long as the amount of historical temperature data is large enough, it is certain that multiple groups of historical temperatures that are the same as the predicted temperature in the weather forecast data can be traversed, and the traversed multiple groups of historical temperatures are imported into the first digital domain.

[0099] S303: Transfer the input data into the right subtree, query the comparison table, and transfer the query result into the second digital field.

[0100] The current electricity consumption increase in the input data is transferred to the right subtree, the comparison table is queried to determine the heating load increase corresponding to the electricity consumption increase, and the queried heating load increase is transferred to the second digital domain.

[0101] The predicted heating amount is calibrated according to the current electricity load and the queried heating load growth to further improve the accuracy of the predicted heating amount.

[0102] In Example 6, Figure 5 The implementation process of the heating load prediction method provided by the embodiment of the present invention is shown, and S400 is described in detail as follows:

[0103] S401: The weather forecast data of the heating area and the current electricity consumption growth are defined as input values, and the input values ​​are transferred to the random forest via the interface.

[0104] The weather forecast data of the heating area and the current electricity consumption growth are defined as input values, and the input values ​​are transferred to the random forest through the interface.

[0105] S402: Divide the input value into prediction trees, calculate the predicted heating amount corresponding to each prediction tree, summarize the results, and output the summary results through the interface.

[0106] The input value is divided into two parts, one of which is the weather forecast data of the heating area, and the other is the growth in electricity consumption at the current moment. Based on these two parts, the predicted heating supply of each prediction tree is determined, and all the predicted heating supplies are summarized. The summary result is the total predicted heating supply of the heating area.

[0107] In Example 7, Figure 5 The implementation process of the heating load prediction method provided by the embodiment of the present invention is shown, and S400 is further described in detail below, as follows:

[0108] S403: Based on the corresponding relationship, select nearby values ​​in the first digital domain, and use a preset linear regression model to calculate the predicted heating amount of each prediction tree.

[0109] The technical problem to be solved by this embodiment is how to further improve the accuracy of the predicted heating supply. Determining the heating load by simply finding the historical heating supply corresponding to the same historical temperature as the temperature in the weather forecast data is highly accidental, and the change in heating supply may also be related to the change in temperature.

[0110] For example, a district in a city has four heating stations A, B, C, and D. The current time is January 2, 2024, the temperature is 15 degrees, and the predicted temperature for the next day is 11 degrees. Then find the corresponding heating load when the temperature is 11 degrees, and use this heating load as the predicted value of the heating load for the next day. However, the temperature of the previous day, January 1, will also affect the actual heating load, so it is necessary to compare the temperature and heating load of several consecutive days to make the predicted heating load more accurate. In other words, find the historical heating load when the temperature was 15 degrees the day before and 11 degrees the next day, and find multiple groups of historical temperatures for multiple days.

[0111] For example, the predicted temperature for the next day is 11 degrees. By searching, the following data is found:

[0112]

[0113] The preset linear regression model is:

[0114] ;

[0115] in is the predicted heating supply of the prediction tree, T is the weather forecast data, and is the regression coefficient.

[0116] Continuing with the above example, Q is the predicted heating amount on January 3, 2024, and T is the predicted temperature on January 3, 2024.

[0117] S404: Calculate the regression coefficient using the preset formula and ;

[0118] The preset regression coefficients include:

[0119] ;

[0120] ;

[0121] in For the Historical temperatures in the vicinity of For The historical heating amount for which the corresponding relationship exists, and n is the number of nearby values.

[0122] Continuing with the above example, For 19, For 11, is 8..., is 1023, For 1108 1301..., n=4, calculate the predicted heating amount.

[0123] S405: Utilize the query result in the second digital domain to deviate from the predicted heating supply.

[0124] After the predicted heating amount is calculated, the predicted heating amount is corrected using the query result in the second digital domain.

[0125] Figure 6 The structure block diagram of the heating load prediction system provided by the embodiment of the present invention is shown. The heating load prediction system 1 comprises:

[0126] The construction module 11 is used to determine the boundary of the heating area, divide the heating area into several blocks in combination with the location of the heating station, record the historical heating amount and historical temperature of the blocks, establish a corresponding relationship, collect the electricity consumption growth and heating load growth of the blocks, and construct a comparison table;

[0127] An import module 12 is used to create a prediction tree, divide the prediction tree into a left subtree and a right subtree, import the historical heating amount, historical temperature and corresponding relationship into the left subtree, and import the comparison table into the right subtree;

[0128] A binding module 13 is used to embed a double-domain linked list for retrieval and output at the starting position of the prediction tree, and point two groups of pointer domains of the double-domain linked list to the left subtree and the right subtree respectively, define the input data of the prediction tree as a trigger, and bind the trigger and the double-domain linked list;

[0129] The activation module 14 is used to obtain the weather forecast data of the heating area and the current electricity consumption growth, input them into the prediction tree, activate the dual-domain linked list, and use the preset linear regression model to calculate and output the predicted heating amount.

[0130] Figure 7 The structure block diagram of the heating load prediction system provided by the embodiment of the present invention is shown, and the building module 11 includes:

[0131] A training unit 111 is used to construct a digital twin model of the heating area, and train the digital twin model using a data set consisting of historical heating amount and historical temperature;

[0132] A fine-tuning unit 112 is used to input the weather forecast data into the digital twin model, determine the forecast result, and fine-tune the forecast heating amount;

[0133] A collection unit 113 is used to randomly select a test block from the blocks and collect the power consumption and heat supply of the test block;

[0134] A drawing unit 114 is used to draw a change trend graph with natural time as the horizontal axis and power consumption as the vertical axis, draw a comparison graph with natural time as the horizontal axis and heat supply as the vertical axis, and superimpose the comparison graph on the change trend graph;

[0135] The comparison unit 115 is used to select representative points from the natural time and compare the slopes at the representative points.

[0136] Figure 8 The structure block diagram of the heating load prediction system provided by the embodiment of the present invention is shown, and the import module 12 includes:

[0137] Insertion unit 121, used to establish a prediction tree corresponding to each block, parse the attributes of the prediction tree, and generate a label, wherein the attributes at least include: the number of people in the block, age structure and house characteristics, and insert the label into the prediction tree;

[0138] The summarizing unit 122 is used to summarize all prediction trees, create a random forest, and build an interface of the random forest.

[0139] Fig. 9 The structure diagram of the heating load prediction system provided by the embodiment of the present invention is shown, and the binding module 13 includes:

[0140] A splitting unit 131 is used to split the dual-domain linked list into two groups of digital domains and two groups of pointer domains, wherein the two groups of pointer domains point to the left subtree and the right subtree respectively, and the two groups of digital domains include a first digital domain and a second digital domain;

[0141] A traversal unit 132, used to transfer the input data into the left subtree, traverse at least one set of historical heat supply, and transfer the traversal result into the first digital domain;

[0142] The query unit 133 is used to transfer the input data into the right subtree, query the comparison table, and transfer the query result into the second digital field.

[0143] Fig.10 The structure diagram of the heating load prediction system provided by the embodiment of the present invention is shown, and the activation module 14 includes:

[0144] A transfer unit 141, used to define the weather forecast data of the heating area and the current electricity consumption growth as input values, and transfer the input values ​​to the random forest via the interface;

[0145] The output unit 142 is used to divide the input value into prediction trees, calculate the predicted heating amount corresponding to each prediction tree, summarize the results, and output the summary results through the interface;

[0146] A selection unit 143, configured to select a nearby value in the first digital domain according to the corresponding relationship, and calculate the predicted heating amount of each prediction tree using a preset linear regression model;

[0147] The preset linear regression model is:

[0148] ;

[0149] in is the predicted heating supply of the prediction tree, T is the weather forecast data, and is the regression coefficient;

[0150] The calculation unit 144 is used to calculate the regression coefficient using a preset formula. and ;

[0151] The preset regression coefficients include:

[0152] ;

[0153] ;

[0154] in For the Historical temperatures in the vicinity of For The historical heating supply with the corresponding relationship, n is the number of nearby values;

[0155] The deviation unit 145 is used to use the query result in the second digital domain to deviate the predicted heating amount.

[0156] The construction module 11 is mainly used to complete step S100, the import module 12 is mainly used to complete step S200, the binding module 13 is mainly used to complete step S300, and the activation module 14 is mainly used to complete step S400;

[0157] The training unit 111 is mainly used to complete step S101, the fine-tuning unit 112 is mainly used to complete step S102, the acquisition unit 113 is mainly used to complete step S103, the drawing unit 114 is mainly used to complete step S104, and the comparison unit 115 is mainly used to complete step S105;

[0158] The inserting unit 121 is mainly used to complete step S201, and the summarizing unit 122 is mainly used to complete step S202;

[0159] The splitting unit 131 is mainly used to complete step S301, the traversing unit 132 is mainly used to complete step S302, and the querying unit 133 is mainly used to complete step S303;

[0160] The transfer unit 141 is mainly used to complete step S401, the output unit 142 is mainly used to complete step S402, the selection unit 143 is mainly used to complete step S403, the calculation unit 144 is mainly used to complete step S404, and the deviation unit 145 is mainly used to complete step S405.

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

[0162] The above-mentioned embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the present invention. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.

[0163] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for predicting heating load, characterized in that: The method comprises: S100: Determine the boundary of the heating area, divide the heating area into several blocks in combination with the location of the heating station, record the historical heating amount and historical temperature of the blocks, establish a corresponding relationship, collect the electricity consumption growth and heating load growth of the blocks, and construct a comparison table; S200: creating a prediction tree, dividing the prediction tree into a left subtree and a right subtree, importing the historical heating supply, historical temperature and corresponding relationship into the left subtree, and importing the comparison table into the right subtree; S300: embedding a double-domain linked list for retrieval and output at the starting position of the prediction tree, and pointing two groups of pointer domains of the double-domain linked list to the left subtree and the right subtree respectively, defining the input data of the prediction tree as a trigger, and binding the trigger and the double-domain linked list; S400: Obtain weather forecast data of the heating area and the current electricity consumption growth, input them into the prediction tree, activate the dual-domain linked list, and use a preset linear regression model to calculate and output the predicted heating amount; The S200 includes: Establish a prediction tree corresponding to the blocks one by one, parse out the attributes of the prediction tree, and generate a label, wherein the attributes at least include: the number of people in the block, the age structure and the house characteristics, and insert the label into the prediction tree; Aggregate all prediction trees, create a random forest, and build an interface for the random forest; The S300 includes: Splitting the double-field linked list into two groups of digital fields and two groups of pointer fields, wherein the two groups of pointer fields point to the left subtree and the right subtree respectively, and the two groups of digital fields include a first digital field and a second digital field; Transfer the input data into the left subtree, traverse at least one set of historical heat supply, and transfer the traversed result into the first digital domain; Transferring the input data into the right subtree, querying the comparison table, and transferring the query result into the second digital domain; The S400 includes: The weather forecast data of the heating area and the increase in electricity consumption at the current moment are defined as input values, and the input values ​​are transferred to the random forest via the interface; Divide the input value into prediction trees, calculate the predicted heat supply corresponding to each prediction tree, summarize them, and output the summary results through the interface; The S400 further includes: Based on the corresponding relationship, a nearby value is selected in the first digital domain, and a predicted heating amount of each prediction tree is calculated using a preset linear regression model; The preset linear regression model is: ; in is the predicted heating supply of the prediction tree, T is the weather forecast data, and is the regression coefficient; Using the preset regression coefficient calculation formula, calculate and ; The preset regression coefficients include: ; ; in For the Historical temperatures in the vicinity of For The historical heating supply with the corresponding relationship, n is the number of nearby values; The predicted heating amount is deviated by utilizing the query result in the second digital domain.

2. The heating load prediction method according to claim 1, characterized in that: The S100 includes: Constructing a digital twin model of the heating area, and training the digital twin model using a data set consisting of historical heating amounts and historical temperatures; The weather forecast data is input into the digital twin model, the forecast result is determined, and the forecast heating amount is fine-tuned.

3. The heating load prediction method according to claim 1, characterized in that: The S100 further includes: Randomly select a test block from the blocks, and collect the power consumption and heat supply of the test block; Use natural time as the horizontal axis and power consumption as the vertical axis to draw a trend chart; Draw a comparison chart with natural time as the horizontal axis and heat supply as the vertical axis, and superimpose the comparison chart on the change trend chart; Representative points are selected from natural time, and the slopes at the representative points are compared.

4. A heating load prediction system, characterized in that: The system is used to execute the heating load prediction method according to any one of claims 1 to 3, and the system comprises: A construction module is used to determine the boundaries of the heating area, divide the heating area into several blocks in combination with the location of the heating station, record the historical heating amount and historical temperature of the blocks, establish a corresponding relationship, collect the growth of electricity consumption and heating load of the blocks, and construct a comparison table; An import module is used to create a prediction tree, divide the prediction tree into a left subtree and a right subtree, import the historical heating amount, historical temperature and corresponding relationship into the left subtree, and import the comparison table into the right subtree; A binding module is used to embed a double-domain linked list for retrieval and output at the starting position of the prediction tree, and point two groups of pointer domains of the double-domain linked list to the left subtree and the right subtree respectively, define the input data of the prediction tree as a trigger, and bind the trigger and the double-domain linked list; The activation module is used to obtain the weather forecast data of the heating area and the current electricity consumption growth, input them into the prediction tree, activate the dual-domain linked list, and use the preset linear regression model to calculate and output the predicted heating amount.

5. The heating load prediction system according to claim 4, wherein the building module comprises: A training unit, used to construct a digital twin model of the heating area, and train the digital twin model using a data set consisting of historical heating amount and historical temperature; A fine-tuning unit, used to input the weather forecast data into the digital twin model, determine the forecast result, and fine-tune the forecast heating supply; A collection unit, used for randomly selecting a test block from the blocks, and collecting the power consumption and heat supply of the test block; A drawing unit, for drawing a change trend graph with natural time as the horizontal axis and power consumption as the vertical axis, and drawing a comparison graph with natural time as the horizontal axis and heat supply as the vertical axis, and superimposing the comparison graph on the change trend graph; The comparison unit is used to select representative points from natural time and compare the slopes at the representative points.

6. The heating load prediction system according to claim 4, wherein the import module comprises: An insertion unit is used to establish a prediction tree corresponding to each block, parse the attributes of the prediction tree, and generate a label, wherein the attributes at least include: the number of people in the block, the age structure and the characteristics of the house, and insert the label into the prediction tree; The aggregation unit is used to aggregate all prediction trees, create a random forest, and build the above interface.