Heat supply load prediction method and system

By dividing the heating area into blocks, establishing a comparison table and prediction tree, combining weather forecast data and electricity consumption growth, and using linear regression models and random forests, the problem of frequent changes in heating load is solved and the heating system is improved. The response speed and prediction accuracy optimize resource allocation and user experience.

CN118569457AActive Publication Date: 2024-08-30北京热力智能控制技术有限责任公司

Patent Information

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

AI Technical Summary

Technical Problem

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

Method used

By dividing the heating area, recording the historical heat supply and temperature, establishing a comparison table, constructing prediction trees and random forests, combining weather prediction data and electricity consumption growth, using linear regression models and dual-domain linked lists, calculating the predicted heat supply, And fine-tune prediction results through digital twin models.

Benefits of technology

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

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118569457A
    Figure CN118569457A
Patent Text Reader

Abstract

The invention is suitable for the technical field of load prediction, and particularly relates to a heat supply load prediction method and system, and the method comprises the steps: S100, determining the boundary of a heat supply region, dividing the heat supply region into a plurality of blocks through combining with the position of a heat supply station, recording the historical heat supply amount and historical temperature of the blocks, and building a corresponding relation, collecting the power utilization increment and the heat supply load increment of the blocks, and constructing a comparison table; s200, creating a prediction tree, and segmenting the prediction tree into a left sub-tree and a right sub-tree; according to the method, the predicted heat supply amount can be corrected by constructing the comparison table and combining with the power consumption increase amount at the current moment, the accuracy of the predicted heat supply amount is further improved, resource allocation is optimized, user experience is improved, the calculation process of the predicted heat supply amount is greatly simplified by constructing the prediction tree and the random forest, and therefore the calculation efficiency of the predicted heat supply amount is improved while the accuracy is guaranteed. And the prediction efficiency and speed are greatly improved.
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 the heating load. As the outdoor temperature drops, the building requires 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 more frequently other indoor heating equipment is used, 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 generally do not change. 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: A heating load prediction method, comprising: S100: Determine the boundaries of the heating area and divide the heating area into several blocks based on the location of the heating station. Record the historical heating amount and temperature of the blocks and 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: Embed a dual-domain linked list for retrieval and output at the starting position of the prediction tree, and point two groups of pointer fields of the dual-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 to the dual-domain linked list; 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.

[0006] Furthermore, the S100 includes: Constructing a digital twin model of the heating area, and training the digital twin model using a dataset consisting of historical heating supply and historical temperature; The weather forecast data is input into the digital twin model to determine the forecast result and fine-tune the forecast heating amount.

[0007] Furthermore, 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 graph; 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.

[0008] Furthermore, the S200 includes: Establish a prediction tree corresponding to each block, parse the attributes of the prediction tree, and generate labels, where the attributes include at least the number of people in the block, age structure, and housing characteristics, and insert the labels into the prediction tree; Aggregate all prediction trees to create a random forest and build an interface for the random forest.

[0009] Furthermore, the S300 includes: Splitting the dual-field linked list into two groups of numeric 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 numeric fields include a first numeric field and a second numeric field; 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; The input data is transferred to the right subtree, the comparison table is searched, and the search result is transferred to the second digital field.

[0010] Furthermore, the S400 includes: 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; The input value is divided into prediction trees, and the predicted heat supply corresponding to each prediction tree is calculated and summarized, and the summary result is output through the interface.

[0011] Furthermore, the S400 further includes: Based on the corresponding relationship, a nearby value is selected in the first digital domain, and a preset linear regression model is used to calculate the predicted heating amount of each prediction tree; The preset linear regression model is: ; in is the predicted heat 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 values ​​for which the corresponding relationship exists, n is the number of nearby values; The predicted heating amount is deviated by utilizing the query result in the second digital field.

[0012] Furthermore, the system includes: A construction module is used to determine the boundaries 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 electricity consumption growth and heating load growth 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, configured to embed a dual-domain linked list for retrieval and output at the starting position of the prediction tree, point two sets of pointer domains of the dual-domain linked list to the left subtree and the right subtree respectively, define input data of the prediction tree as a trigger, and bind the trigger to the dual-domain linked list; The activation module is used to 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 the preset linear regression model to calculate and output the predicted heating amount.

[0013] Furthermore, the building blocks include: A training unit, configured to construct a digital twin model of the heating area, and train the digital twin model using a dataset consisting of historical heating amounts and historical temperatures; A fine-tuning unit, configured to input the weather forecast data into the digital twin model, determine a forecast result, and fine-tune the forecasted heating amount; A collection unit is used to randomly select a test block from the blocks and collect the power consumption and heat supply of the test block; a drawing unit, configured to draw a change trend graph with natural time as the abscissa and power consumption as the ordinate, and to draw a comparison graph with natural time as the abscissa and heat supply as the ordinate, and to superimpose the comparison graph on the change trend graph; The comparison unit is used to select a representative point from the natural time and compare the slope at the representative point.

[0014] Furthermore, the import module includes: an insertion unit, configured to establish a prediction tree corresponding to each block, parse the attributes of the prediction tree, generate a label, wherein the attributes include at least 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 an interface for the random forest.

[0015] Compared with the prior art, the present invention has the following beneficial effects: By establishing a correspondence 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 heating load adjustment. 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

[0016] Figure 1 A flowchart of a heating load prediction method provided by an embodiment of the present invention; Figure 2 A first sub-flow chart of the heating load prediction method provided by an embodiment of the present invention; Figure 3 A second sub-flow chart of the heating load prediction method provided by an embodiment of the present invention; Figure 4 A third sub-flow chart of the heating load prediction method provided in an embodiment of the present invention; Figure 5 A fourth sub-flow chart of the heating load prediction method provided in an embodiment of the present invention; Figure 6 A block diagram of the heating load forecasting system provided in an embodiment of the present invention; Figure 7 A block diagram of the components of the building blocks in the heating load forecasting system provided by an embodiment of the present invention; Figure 8 A block diagram of the composition of the import module in the heating load forecasting system provided in an embodiment of the present invention; Figure 9 A block diagram of the composition of the binding module in the heating load forecasting system provided in an embodiment of the present invention; Figure 10 This is a block diagram of the composition of the activation module in the heating load forecasting system provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0017] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention will be further described in detail below with reference to 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.

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

[0019] 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 is described in detail below: S100: Determine the boundaries 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 electricity consumption growth and heating load growth of the blocks, and construct a comparison table.

[0020] Identify the area requiring heating and its boundaries. Position the heating stations within the area, and divide the area into multiple blocks based on the heating range provided by the stations. Note that the number of blocks should be the same as the number of heating stations. Record the daily temperature for each block, then determine the daily heating supply. This collected data is then converted into historical heating supply and temperature data. A time-based relationship is established between historical heating supply and temperature data. Also, record the daily change in electricity consumption for each block, along with the change in heating load for the same day. These two changes are then converted into electricity consumption growth and heating load growth, respectively. Note that both electricity consumption growth and heating load growth can be negative, indicating a decrease in electricity consumption and heating load. Construct a comparison table based on the daily electricity consumption growth and heating load growth data. In this comparison table, the rows are the electricity consumption growth and heating load growth items, respectively, and the columns are the block numbers or names.

[0021] 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.

[0022] 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.

[0023] S300: Embed a dual-domain linked list for retrieval and output at the starting position of the prediction tree, and point the two groups of pointer fields of the dual-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 dual-domain linked list.

[0024] A dual-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 dual-domain linked list consists of two sets of numeric fields and two sets of pointer fields. The two sets of pointer fields point to the left and right subtrees respectively. The results of the left subtree in the prediction tree are transferred to one set of numeric fields, and the results of the right subtree are transferred to the other set of numeric fields. The dual-domain linked list is activated for retrieval and output only after the prediction tree receives input data.

[0025] 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.

[0026] The dual-domain linked list is activated only after the prediction tree receives input data. The weather forecast data should include a predicted temperature. This temperature is transferred to the left subtree. The historical heating values ​​corresponding to the same historical temperature are found. Using a linear regression model, the predicted heating values ​​are calculated and output from the prediction tree. The current electricity consumption increase is transferred to the right subtree. The heating load increase is determined and the predicted heating value is deviated based on the current heating load. This improves the accuracy of the predicted heating value.

[0027] In Example 2, Figure 2 The implementation process of the heating load prediction method provided by the embodiment of the present invention is shown. S100 is described in detail below: 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.

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

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

[0030] The weather forecast data is fed into the trained digital twin model, which then outputs the forecast results. The forecast results are then used to calibrate the predicted heat supply. If the predicted heat supply is close to the predicted heat supply, the forecast should be adjusted accordingly. If the difference is significant, more temperature and heat supply data should be selected from the existing data to continue training the digital twin model.

[0031] In Example 3, Figure 3 The implementation process of the heating load prediction method provided by the embodiment of the present invention is shown. S100 is further described below as follows: S201: randomly selecting a test block from the blocks, and collecting the power consumption and heat supply of the test block.

[0032] 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.

[0033] 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.

[0034] Use natural time as the horizontal axis, where natural time is Beijing time, and electricity consumption as the vertical axis to draw a trend chart, where the trend chart can be a line chart or a curve chart; then continue to use natural time as the horizontal axis and heat supply as the vertical axis to draw a comparison chart, where the comparison chart is also a line chart or a curve chart, and then superimpose the two line charts on the same picture.

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

[0036] 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.

[0037] In Example 4, Figure 3 The implementation process of the heating load prediction method provided by the embodiment of the present invention is shown. S200 is described in detail below: S204: Establish a prediction tree corresponding to each block, parse the attributes of the prediction tree, and generate a label, where the attributes include at least the number of people in the block, age structure and house characteristics, and insert the label into the prediction tree.

[0038] For each block, a corresponding prediction tree is established, and the block attributes are extracted, including: the area of ​​the block, the number of people, the age structure of the residents, and the characteristics of the house, and the labels are inserted into the prediction tree. The advantage of this is that the impact of other factors on the heating supply can be judged more intuitively.

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

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

[0041] In Example 5, Figure 4 The implementation process of the heating load prediction method provided by the embodiment of the present invention is shown. S300 is described in detail below: S301: Split the dual-field linked list into two groups of number 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 number fields include a first number field and a second number field.

[0042] The function of the pointer field is to establish a mapping relationship between data to avoid data integration difficulties. In addition, the two sets of digital fields are named the first digital field and the second digital field respectively.

[0043] S302: 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; 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, 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.

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

[0045] 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.

[0046] The predicted heat supply is calibrated based on the current electricity load and the queried heating load growth to further improve the accuracy of the predicted heat supply.

[0047] In Example 6, Figure 5 The implementation process of the heating load prediction method provided by the embodiment of the present invention is shown. S400 is described in detail below: 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.

[0048] 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.

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

[0050] 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 electricity consumption growth 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.

[0051] In Example 7, Figure 5 The implementation process of the heating load prediction method provided by the embodiment of the present invention is shown. S400 is further described below as follows: 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.

[0052] The technical problem to be solved by this embodiment is how to further improve the accuracy of heat supply prediction. Determining the heating load by simply finding the historical heat supply corresponding to the temperature in the weather forecast data is highly accidental, and the change in heat supply may also be related to the change in temperature. For example, a district in a city has four heating stations, A, B, C, and D. The current temperature is 15 degrees Celsius on January 2, 2024, and the predicted temperature for the next day is 11 degrees Celsius. The corresponding heating load for a temperature of 11 degrees Celsius is determined and used as the predicted heating load for the next day. However, the temperature on the previous day, January 1, also affects the actual heating load, so a comparison of the temperature and heating load on several consecutive days is necessary to make the heating load prediction more accurate. In other words, the historical heating load for the cases where the temperature was 15 degrees Celsius the previous day and 11 degrees Celsius the next day must be determined, and multiple sets of historical temperatures must be found for multiple days.

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

[0054] The preset linear regression model is: ; in is the predicted heat supply of the prediction tree, T is the weather forecast data, and is the regression coefficient.

[0055] 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.

[0056] S404: Calculate the regression coefficient using the preset formula and ; The preset regression coefficients include: ; ; in For the Historical temperatures in the vicinity of For The historical heating amount with the corresponding relationship, n is the number of nearby values.

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

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

[0059] After the predicted heat supply is calculated, the predicted heat supply is corrected using the query result in the second digital field.

[0060] Figure 6 The following is a structural block diagram of a heating load forecasting system according to an embodiment of the present invention. The heating load forecasting system 1 includes: Construction module 11 is used to determine the boundaries 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 electricity consumption growth and heating load growth of the blocks, and construct a comparison table; 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; A binding module 13 is configured to embed a dual-domain linked list for retrieval and output at the starting position of the prediction tree, point two groups of pointer domains of the dual-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 to the dual-domain linked list; 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.

[0061] Figure 7 The following is a structural block diagram of the heating load prediction system provided by an embodiment of the present invention. The building block 11 includes: A training unit 111 is configured to construct a digital twin model of the heating area, and train the digital twin model using a dataset consisting of historical heating amounts and historical temperatures; A fine-tuning unit 112 is configured to input the weather forecast data into the digital twin model, determine the forecast result, and fine-tune the forecast heating amount; A collection unit 113 is configured to randomly select a test block from the blocks and collect the power consumption and heat supply of the test block; A drawing unit 114 is configured 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; The comparison unit 115 is configured to select representative points from the natural time and compare the slopes at the representative points.

[0062] Figure 8 The following is a structural block diagram of the heating load forecasting system provided by an embodiment of the present invention. The import module 12 includes: Insertion unit 121 is used to establish a prediction tree corresponding to each block, parse the attributes of the prediction tree, and generate a label, where the attributes include at least the number of people in the block, age structure and housing characteristics, and insert the label into the prediction tree; The summarizing unit 122 is used to summarize all prediction trees, create a random forest, and build an interface for the random forest.

[0063] Figure 9 The structure block diagram of the heating load prediction system provided by an embodiment of the present invention is shown. The binding module 13 includes: a splitting unit 131, configured to split the dual-field linked list into two groups of numeric 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 numeric fields include a first numeric field and a second numeric field; A traversal unit 132 is configured to transfer the input data into the left subtree, traverse at least one set of historical heat supply values, and transfer the traversal result into the first digital domain; The query unit 133 is configured to transfer the input data into the right subtree, query the comparison table, and transfer the query result into the second digital field.

[0064] Figure 10 The following is a structural block diagram of the heating load forecasting system provided by an embodiment of the present invention. The activation module 14 includes: The input unit 141 is used to define the weather forecast data of the heating area and the electricity consumption growth at the current moment as input values, and transfer the input values ​​to the random forest via the interface; The output unit 142 is used to divide the input value into prediction trees, calculate the predicted heat supply corresponding to each prediction tree, summarize the results, and output the summary results through the interface; a selection unit 143 configured to select nearby values ​​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; The preset linear regression model is: ; in is the predicted heat supply of the prediction tree, T is the weather forecast data, and is the regression coefficient; The calculation unit 144 is used to calculate the regression coefficient using a preset formula. and ; The preset regression coefficients include: ; ; in For the Historical temperatures in the vicinity of For The historical heating values ​​for which the corresponding relationship exists, n is the number of nearby values; The deviation unit 145 is configured to use the query result in the second digital domain to deviate the predicted heating amount.

[0065] 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; 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; The inserting unit 121 is mainly used to complete step S201, and the summarizing unit 122 is mainly used to complete step S202; 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; 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.

[0066] The technical features of the above-mentioned embodiments can be combined arbitrarily. In order to make the description concise, not all possible combinations of the technical features in the above-mentioned 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.

[0067] The above-described embodiments merely illustrate several implementations of the present invention, and while their descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that a person skilled in the art would be able to make numerous modifications and improvements without departing from the spirit of the present invention, all of which fall within the scope of protection of the present invention. Therefore, the scope of protection of the patent for this invention shall be determined by the appended claims.

[0068] 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 scope of protection 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 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.

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. The heating load prediction method according to claim 3, characterized in that: 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 the interface of the random forest.

5. The heating load prediction method according to claim 1, characterized in that: 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; 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.

6. The method for predicting heating load according to claim 4, characterized in that: 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; 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.

7. The heating load prediction method according to claim 5, characterized in that: 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.

8. A heating load prediction system, characterized in that: 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.

9. The heating load prediction system according to claim 8, 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.

10. The heating load prediction system according to claim 8, 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 an interface for the random forest.

Citation Information

Patent Citations

  • Model for predicting winter short-term power load in northern area containing temperature-sensitive load

    CN116865257A

  • Heating load prediction method and system based on hybrid model and multivariable analysis

    CN118350600A

  • System for providing information management service of sanitation vehicle using global positioning system and internet of things

    KR102499015B1

  • Predictive building control system and method for optimizing energy use and thermal comfort for a building or network of buildings

    US20160305678A1

Cited By

  • Intelligent heat supply energy load prediction method

    CN122175102A

  • Intelligent heating energy load prediction method

    CN122175102B