A method for predicting heat exchange performance of energy pile
By obtaining the temperature data of the energy pile and inputting it into the temperature prediction network model, the problem of the inability of the existing technology to accurately predict the heat exchange performance of the energy pile is solved, achieving more accurate prediction and reducing energy consumption.
Patent Information
- Application Number
- CN202211493490.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-25
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2042-11-25
AI Technical Summary
Existing technology cannot accurately predict the heat exchange performance of energy piles, resulting in high operating energy consumption and long investment recovery time.
By obtaining the water inlet temperature, water outlet temperature and soil temperature field around the pile, input into the pre-trained temperature prediction network model to predict the water outlet temperature at the target time, thereby calculating the heat transfer performance data.
It achieves more accurate prediction of energy pile heat exchange performance, reduces operating energy consumption and shortens the investment recovery time.
Smart Images

Figure CN115719042B
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of energy pile heat exchange, and in particular to a method for predicting the heat exchange performance of an energy pile. Background Art
[0002] Obtaining the required energy from renewable energy is one of the important ways to reduce the carbon emissions of buildings. Geothermal energy, as a renewable energy source, can be extracted through the energy pile ground source heat pump system and provided to the building, thereby reducing the carbon emissions of the building.
[0003] Since energy piles have high initial investment costs and low later operation and maintenance efficiency, it is necessary to predict the heat exchange performance of energy piles during the actual operation stage of energy piles to assist in formulating more accurate and dynamic control strategies, thereby reducing the energy consumption of energy piles and shortening the investment recovery time.
[0004] At present, the method of predicting the heat exchange performance of energy piles is usually to fit and predict the heat exchange performance of energy piles based on real-time monitoring data using linear regression and other methods. However, this prediction method has the problem of being unable to accurately predict the heat exchange performance of energy piles. Summary of the invention
[0005] The present invention provides a method for predicting the heat exchange performance of an energy pile, so as to achieve more accurate prediction of the heat exchange performance data of the energy pile, thereby reducing the energy consumption of the energy pile operation and shortening the investment recovery time.
[0006] According to one aspect of the present invention, a method for predicting heat exchange performance of an energy pile is provided, the method comprising the following steps:
[0007] S1: Obtaining the water inlet temperature of the energy pile at the current moment, the water outlet temperature at the current moment, the soil temperature field around the pile at the current moment, and the water inlet temperature at the target moment, where the target moment is the moment next to the current moment;
[0008] S2: Input the water inlet temperature at the current moment, the water outlet temperature at the current moment and the temperature field of the soil around the pile at the current moment into the temperature prediction network model to obtain the water outlet temperature of the energy pile at the target moment, wherein the target moment is the next moment of the current moment;
[0009] S3: Based on the water inlet temperature at the target moment and the water outlet temperature at the target moment, the heat exchange performance data of the energy pile is obtained.
[0010] According to another aspect of the present invention, a device for predicting heat exchange performance of an energy pile is provided. The device comprises:
[0011] The current temperature acquisition module is used to obtain the water inlet temperature of the energy pile at the current moment, the water outlet temperature at the current moment, the temperature field of the soil around the pile at the current moment, and the water inlet temperature at the target moment, where the target moment is the moment after the current moment;
[0012] The next temperature acquisition module is used to input the water inlet temperature at the current moment, the water outlet temperature at the current moment and the temperature field of the soil around the pile at the current moment into the temperature prediction network model to obtain the water outlet temperature of the energy pile at the target moment;
[0013] The performance data obtaining module is used to obtain the heat exchange performance data of the energy pile based on the water inlet temperature at the target moment and the water outlet temperature at the target moment.
[0014] The technical solution of the embodiment of the present invention obtains the water inlet temperature of the energy pile at the current moment, the water outlet temperature at the current moment, the temperature field of the soil around the pile at the current moment, and the water inlet temperature at the target moment, wherein the target moment is the next moment of the current moment. The water inlet temperature at the current moment, the water outlet temperature at the current moment, and the temperature field of the soil around the pile at the current moment are input into the temperature prediction network model to obtain the water outlet temperature of the energy pile at the target moment. The technical solution of the embodiment of the present invention can more accurately predict the temperature of the water outlet of the energy pile at the next moment of the current moment through the pre-trained temperature prediction network model. Furthermore, based on the water inlet temperature at the target moment and the water outlet temperature at the target moment, the heat exchange performance data of the energy pile can be obtained, which solves the technical problem that the prior art cannot accurately predict the heat exchange performance data of the energy pile, and realizes a more accurate prediction of the heat exchange performance of the energy pile, thereby achieving the technical effect of reducing the energy consumption of the energy pile operation and shortening the investment recovery time.
[0015] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0017] Figure 1 A schematic flow chart of a method for predicting heat exchange performance of an energy pile is provided for the first embodiment of the present invention;
[0018] Figure 2 This is an example diagram of the distribution of temperature sensors around the energy pile provided in the first embodiment of the present invention;
[0019] Figure 3 A schematic diagram of a flow chart of a method for predicting heat exchange performance of an energy pile provided in the second embodiment of the present invention;
[0020] Figure 4 A schematic diagram of predicting the heat exchange performance data of an energy pile based on the heat exchange performance prediction method of an energy pile is provided for the second embodiment of the present invention;
[0021] Figure 5 A schematic diagram of a flow chart of a method for predicting heat exchange performance of an energy pile provided in Embodiment 3 of the present invention;
[0022] Figure 6 A schematic diagram of a framework for constructing a model based on a method for predicting heat exchange performance of an energy pile provided in the third embodiment of the present invention;
[0023] Figure 7 This is a schematic structural diagram of a device for predicting heat exchange performance of an energy pile provided in Embodiment 4 of the present invention. DETAILED DESCRIPTION
[0024] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0025] It should be noted that the terms "including" and "having" and any variations thereof in the specification and claims of the present invention and the above-mentioned drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or apparatus comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or apparatus.
[0026] Embodiment 1
[0027] Figure 1A schematic flow chart of a method for predicting the heat exchange performance of an energy pile is provided for the first embodiment of the present invention. This embodiment is applicable to the scenario of predicting the heat exchange performance of an energy pile, and is particularly applicable to the scenario of predicting the heat exchange performance of an energy pile in operation. The method can be executed by an energy pile heat exchange performance prediction device, which can be implemented in the form of hardware and / or software, and can be configured in electronic devices such as computers or servers. Figure 1 As shown, the method of this embodiment includes:
[0028] S110, obtaining the water inlet temperature of the energy pile at the current moment, the water outlet temperature at the current moment, the temperature field of the soil around the pile at the current moment, and the water inlet temperature at the target moment, wherein the target moment is the next moment of the current moment.
[0029] Among them, the water inlet temperature at the current moment refers to the temperature of the water inlet of the energy pile at the current moment. The water inlet temperature at the current moment can be collected and obtained by the temperature sensor of the water inlet of the energy pile. The water outlet temperature at the current moment refers to the temperature of the water outlet of the energy pile at the current moment. The water outlet temperature at the current moment can be collected and obtained by the temperature sensor of the water outlet of the energy pile. The soil temperature field around the pile at the current moment refers to the set of soil temperatures around the energy pile at the current moment, and the temperature of the soil around the energy pile can be collected and obtained by at least two temperature sensors arranged around the energy pile. The target moment is the next moment of the current moment. The interval between the next moment of the current moment and the current moment can be set according to actual needs, that is, the interval between the target moment and the current moment can be set according to actual needs, such as 20min, 30min or 1h, etc. In an embodiment of the present invention, the interval between the next moment of the current moment and the current moment is 30min. The water inlet temperature at the target moment can be obtained by using an existing model that has been trained to predict the water inlet temperature of the energy pile at the target moment.
[0030] In the embodiment of the present invention, twelve temperature sensors are arranged around the energy pile soil. The specific distribution of the twelve temperature sensors is as follows: Figure 2 As shown in Figure 1, this setting can reflect the spatial distribution of soil temperature around the energy pile, so that the soil temperature at different depths can be obtained.
[0031] S120, inputting the water inlet temperature at the current moment, the water outlet temperature at the current moment and the temperature field of the soil around the pile at the current moment into the temperature prediction network model to obtain the water outlet temperature of the energy pile at the target moment.
[0032] In an embodiment of the present invention, the interval between the next moment of the current moment and the current moment is 30 minutes. Exemplarily, the current moment is 7:00, the target moment is 7:30, the outlet temperature of the current moment is the temperature of the energy pile outlet at 7:00, and the outlet temperature of the target moment is the temperature of the energy pile outlet at 7:30, that is, the outlet temperature of the next moment of the current moment is the temperature of the energy pile outlet at 7:30. The temperature prediction network model can be a model obtained by training a preset initial network model, which can be used to predict the temperature of the energy pile outlet at the target moment. Among them, the preset initial network model can be set according to actual needs. Optionally, the network of the preset initial network model can be a CNN-LSTM combined neural network formed by a convolutional neural network and a long short-term memory network. Correspondingly, the network of the temperature prediction network model can be a CNN-LSTM combined neural network.
[0033] Specifically, the water inlet temperature at the current moment, the water outlet temperature at the current moment and the temperature field of the soil around the pile at the current moment are input into the pre-trained temperature prediction network model, and then the actual output result of the temperature prediction network model can be obtained, that is, the temperature of the water outlet of the energy pile at the target moment can be obtained, that is, the water outlet temperature at the next moment of the current moment.
[0034] Continuing with the above example, the temperature of the energy pile water inlet at 7:00, the temperature of the energy pile water outlet at 7:00, and the temperature of the soil around the energy pile at 7:00 are input into the temperature prediction network model to obtain the temperature of the energy pile water outlet at 7:30. In an embodiment of the present invention, the number of sensors around the energy pile can be set according to actual needs, as long as it can reflect the distribution of the temperature field of the soil around the pile, and the number is not specifically limited here, such as 12, 14 or 20. In an embodiment of the present invention, the number of sensors around the energy pile is 12.
[0035] S130. Based on the water inlet temperature at the target time and the water outlet temperature at the target time, obtain the heat exchange performance data of the energy pile.
[0036] Specifically, after obtaining the water inlet temperature at the target moment and the water outlet temperature at the target moment, the water inlet temperature at the target moment and the water outlet temperature at the target moment can be calculated by difference, that is, the water inlet temperature at the next moment after the current moment and the water outlet temperature at the next moment after the current moment can be calculated by difference. Thus, the result of the difference calculation can be obtained, that is, the temperature difference between the water inlet temperature at the next moment after the current moment and the water outlet temperature at the next moment after the current moment can be obtained. Then, the heat exchange performance data of the energy pile can be obtained based on the temperature difference.
[0037] Optionally, the heat exchange performance data of the energy pile is obtained according to the following formula:
[0038]
[0039] in, Indicates the heat transfer performance of the energy pile, the unit is: ; Indicates the mass flow rate of circulating liquid, unit: kg / s; It represents the specific heat capacity of the circulating liquid in kJ / kg K; Indicates the current time, the unit is: h; Indicates the next moment of the current moment, the unit is: h; Indicates the water inlet temperature of the energy pile at the next moment from the current moment, in K; Indicates the outlet temperature of the energy pile at the next moment after the current moment, in K.
[0040] In an embodiment of the present invention, it also includes: displaying the water inlet temperature at the current moment, the water outlet temperature at the current moment, and the temperature field of the soil around the pile at the current moment, so that the water inlet temperature at the current moment, the water outlet temperature at the current moment, and the temperature field of the soil around the pile at the current moment can be displayed more intuitively.
[0041] In order to more intuitively present the water outlet temperature at the next moment after the current moment, after obtaining the water outlet temperature at the next moment after the current moment, the water outlet temperature at the next moment after the current moment may be displayed.
[0042] The technical solution of the embodiment of the present invention obtains the water inlet temperature of the energy pile at the current moment, the water outlet temperature at the current moment, the temperature field of the soil around the pile at the current moment, and the water inlet temperature at the target moment, wherein the target moment is the next moment of the current moment. The water inlet temperature at the current moment, the water outlet temperature at the current moment, and the temperature field of the soil around the pile at the current moment are input into the temperature prediction network model to obtain the water outlet temperature of the energy pile at the target moment. The technical solution of the embodiment of the present invention can more accurately predict the temperature of the water outlet of the energy pile at the next moment of the current moment through the pre-trained temperature prediction network model. Then, based on the water inlet temperature at the target moment and the water outlet temperature at the target moment, the heat exchange performance data of the energy pile can be obtained, which solves the technical problem that the prior art cannot accurately predict the heat exchange performance data of the energy pile, and realizes a more accurate prediction of the heat exchange performance of the energy pile, thereby achieving the technical effect of reducing the energy consumption of the energy pile operation and shortening the investment recovery time.
[0043] Embodiment 2
[0044] Figure 3A flow chart of a method for predicting the heat exchange performance of an energy pile provided in the second embodiment of the present invention. Based on the above embodiment, optionally, the temperature prediction network model includes a CNN-LSTM combined neural network composed of a convolutional neural network and a long short-term memory network; step S120 specifically includes steps S220, S230 and S240. The technical terms that are the same or corresponding to the above embodiment are not repeated here. Figure 3 As shown, the method of this embodiment specifically includes:
[0045] S210, obtaining the water inlet temperature of the energy pile at the current moment, the water outlet temperature at the current moment, the temperature field of the soil around the pile at the current moment, and the water inlet temperature at a target moment, wherein the target moment is the next moment of the current moment.
[0046] S220, inputting the temperature field of the soil around the pile at the current moment into the convolution layer of the convolutional neural network to obtain the spatial characteristic data of the temperature field of the soil around the pile at the current moment.
[0047] Specifically, after obtaining the temperature field of the soil around the pile at the current moment, the temperature field of the soil around the pile at the current moment can be input into the convolutional neural network of the temperature prediction network model. Then, the temperature field of the soil around the pile at the current moment can be convoluted through the convolution layer of the convolutional neural network. Thus, the result after convolution can be obtained, that is, the spatial characteristic data of the temperature field of the soil around the pile at the current moment can be obtained.
[0048] In order to avoid the loss of data features, padding is performed in the convolutional layer of the convolutional neural network. The so-called padding is to add a layer of 0 values to the outer circle of the input data to keep the size of the feature map consistent with the original data, so that the deeper network layers and inputs still have enough data and do not destroy the characteristics of the original input data.
[0049] S230, inputting the spatial feature data into a pooling layer of a convolutional neural network to obtain feature dimension reduction data of the spatial feature data, and inputting the feature dimension reduction data into a flattening layer of a convolutional neural network to obtain flattened data.
[0050] Among them, feature dimension reduction data can be understood as data obtained by reducing the dimension of spatial feature data.
[0051] Specifically, after obtaining the spatial feature data, the spatial feature data can be pooled through the pooling layer of the convolutional neural network. Then the pooling result can be obtained, that is, the feature dimension reduction data of the spatial feature data can be obtained. After obtaining the feature dimension reduction data, the feature dimension reduction data can be flattened through the flattening layer of the convolutional neural network. Then the flattened data can be obtained.
[0052] S240, input the flattened data, the water inlet temperature at the current moment, and the water outlet temperature at the current moment into the long short-term memory network to obtain the water outlet temperature of the energy pile at the target moment.
[0053] Specifically, after obtaining the flattened data, the flattened data, the water inlet temperature at the current moment, and the water outlet temperature at the current moment can be input into the long short-term memory network of the temperature prediction network model. Thus, the temperature of the water outlet of the energy pile at the next moment of the current moment can be obtained. Among them, inputting the flattened data, the water inlet temperature at the current moment, and the water outlet temperature at the current moment into the long short-term memory network, and obtaining the water outlet temperature of the energy pile at the target moment can include: inputting the water inlet temperature at the current moment and the water outlet temperature at the current moment into the long short-term memory layer of the long short-term memory network. Thus, the time characteristic data of the operation data of the energy pile can be obtained. After obtaining the time characteristic data and the flattened data, the flattened data and the time characteristic data can be input into the fully connected layer of the long short-term memory network. Then, the water outlet temperature of the energy pile at the target moment can be obtained.
[0054] It is understandable that in order to improve the accuracy of predicting the heat exchange performance of the energy pile, the water inlet temperature at the current moment, the water outlet temperature at the current moment, and the temperature field of the soil around the pile at the current moment can be input into the convolutional layer of the convolutional neural network, so as to obtain the corresponding spatial feature data. After obtaining each spatial feature data, each spatial feature data can be pooled and flattened in turn to obtain the flattened result. The flattened result can be further input into the long short-term memory network to extract the time series characteristics of the water inlet temperature at the current moment, the water outlet temperature at the current moment, and the temperature field of the soil around the pile at the current moment, and then the outlet temperature at the next moment can be predicted based on the time series characteristics (see Figure 4 ). The embodiment of the present invention can obtain the spatial and temporal characteristics of these data from the current water inlet temperature, the current water outlet temperature and the current lateral and longitudinal characteristics of the temperature field of the soil around the pile, and further more accurately predict the heat exchange performance of the energy pile.
[0055] S250. Based on the water inlet temperature at the target time and the water outlet temperature at the target time, obtain the heat exchange performance data of the energy pile.
[0056] The technical solution of the embodiment of the present invention, the temperature prediction network model includes a convolutional neural network and a long short-term memory network. By inputting the temperature field of the soil around the pile at the current moment into the convolution layer of the convolutional neural network of the temperature prediction network model, the spatial feature data of the temperature field of the soil around the pile at the current moment is obtained. The spatial feature data is input into the pooling layer of the convolutional neural network to obtain the feature dimension reduction data of the spatial feature data, and the feature dimension reduction data is input into the flattening layer of the convolutional neural network to obtain the flattened data. The flattened data, the water inlet temperature at the current moment and the water outlet temperature at the current moment are input into the long short-term memory network of the temperature prediction network model to obtain the outlet temperature of the energy pile at the target moment. By processing the data through the convolutional neural network and the long short-term memory network of the temperature prediction network model, the lateral and longitudinal features of the water inlet temperature at the current moment, the water outlet temperature at the current moment and the temperature field of the soil around the pile at the current moment can be extracted, thereby obtaining the characteristics of these data in space and time. Further more accurately predict the heat exchange performance of the energy pile.
[0057] Embodiment 3
[0058] Figure 5 A flow chart of a method for predicting the heat exchange performance of an energy pile provided in the third embodiment of the present invention. Based on the above embodiments, optionally, the method for predicting the heat exchange performance of an energy pile implemented in the present invention further includes: obtaining sample data and expected data corresponding to the sample data, the sample data including the water inlet temperature of the energy pile at a certain historical moment, the water outlet temperature at the certain historical moment, and the temperature field of the soil around the pile at the certain historical moment, and the expected data is the water outlet temperature of the energy pile at the next moment after the certain historical moment; inputting the sample data into a pre-constructed initial network model to obtain the actual output result of the initial network model; adjusting the network parameters of the initial network model according to the expected data and the actual output result to obtain the trained temperature prediction network model. Among them, technical terms that are the same as or corresponding to the above embodiments are not repeated here. Figure 5 As shown, the method of this embodiment specifically includes:
[0059] S310: Obtain sample data and expected data corresponding to the sample data.
[0060] Among them, the sample data may include: the water inlet temperature, water outlet temperature and the temperature field of the soil around the energy pile at a certain historical moment, that is, the sample data may include: the water inlet temperature of the energy pile at a certain historical moment, the water outlet temperature of the energy pile at a certain historical moment and the soil temperature field of the energy pile at a certain historical moment. A certain historical moment can be understood as any moment before the current moment. The expected data corresponding to the sample data can be the outlet temperature of the energy pile at the next moment after a certain moment.
[0061] In the embodiment of the present invention, the time interval between a certain historical moment and the next moment of a certain historical moment is the same as the time interval between the current moment and the target moment. Exemplarily, the time interval between a certain historical moment and the next moment of a certain historical moment can be 30 minutes. The time interval between the current moment and the target moment can be 30 minutes.
[0062] Specifically, a data set for training the temperature prediction network model is obtained from a database. The data in the data set is divided according to a preset ratio to obtain sample data and expected data corresponding to the sample data. The preset ratio is that 60% of the data in the data set is training data, 10% of the data is verification data, and 30% of the data is test data.
[0063] Optionally, before obtaining the data set for training the temperature prediction network model from the database, it is necessary to obtain the water inlet temperature, water outlet temperature and the temperature field of the soil around the energy pile at each moment during operation, and store each water inlet temperature, each water outlet temperature and each soil temperature field around the pile in the database.
[0064] It should be noted that, in the embodiment of the present invention, the data in the data set can be arranged in chronological order in the columns, and arranged in rows according to the water inlet temperature, the water outlet temperature, and the soil temperature field around the pile. The number of soil temperatures in the soil temperature field around the pile is usually multiple, and in this case, they can be arranged according to the sequence number of the temperature sensors of the soil around the energy pile.
[0065] S320: Input the sample data into the pre-built initial network model to obtain the actual output result of the initial network model.
[0066] The initial network model can be a model built using a deep learning framework built using Keras. Figure 6 , which is a schematic diagram of the framework of the initial network model constructed by the embodiment of the present invention. The network of the initial network model may include a neural network and a long short-term memory network. In the process of constructing the initial network model, model training parameters such as the number of training times and batch size may be preliminarily set.
[0067] Specifically, the sample data is input into the pre-built initial network model, specifically including the water inlet temperature, water outlet temperature and the temperature field of the soil around the pile at a certain historical moment into the initial network model. In other words, the water inlet temperature at a certain historical moment, the water outlet temperature at a certain historical moment and the temperature field of the soil around the pile at a certain historical moment are input into the initial network model. Thus, the actual output result of the initial network model can be obtained.
[0068] Since the physical value fluctuation range of the water inlet temperature at a certain historical moment, the water outlet temperature at a certain historical moment, and the temperature field of the soil around the pile at a certain historical moment is relatively large, before the sample data is input into the pre-built initial network model, the water inlet temperature at a certain historical moment, the water outlet temperature at a certain historical moment, and the temperature field of the soil around the pile at a certain historical moment can be scaled according to the corresponding preset scaling ratio, so that the water inlet temperature at a certain historical moment, the water outlet temperature at a certain historical moment, and the temperature field of the soil around the pile at a certain historical moment are mapped to the preset data interval. Among them, the preset scaling ratio can be set according to the actual situation and actual needs of the data. Optionally, the preset data interval can be [0,1].
[0069] Furthermore, the sample data can be scaled according to the following normalization method:
[0070]
[0071] in, Represents the i-th sample data in the data set. It represents the data obtained after data scaling processing is performed on the i-th sample data, that is, the normalized data of the i-th sample data.
[0072] Represents the sample data with the smallest value in the data set. Represents the sample data with the largest value in the data set.
[0073] S330, adjusting the network parameters of the initial network model according to the expected data and the actual output results to obtain a trained temperature prediction network model.
[0074] Specifically, after obtaining the actual output result, the convergence function of the initial network model can be obtained according to the expected data and the actual output result. Then, the network parameters of the initial network model can be adjusted based on the convergence function. If the convergence function reaches the preset convergence condition, a trained temperature prediction network model can be obtained. Among them, the preset convergence condition can be set according to the actual needs of the user.
[0075] Optionally, the network parameters of the initial network model can be adjusted according to the expected data and the actual output results in the following manner:
[0076] According to the actual output result and the expected output result, the evaluation index data of the initial network model is obtained. The network parameters of the initial network model are adjusted based on the evaluation index data. The evaluation index data includes at least one of the root mean square error, mean absolute error, mean absolute percentage error and determination coefficient of the actual output result and the expected output result.
[0077] In the embodiment of the present invention, the root mean square error (RMSE), mean absolute error (MAE), mean absolute percentage error (MAPE) and coefficient of determination (R²) of the actual output result and the expected output result can be calculated according to the following formulas: Where n represents the total amount of predicted data. Indicates the actual output results and Indicates the expected output result.
[0078]
[0079]
[0080]
[0081]
[0082] It should be noted that, in the embodiment of the present invention, the purpose of adjusting the network parameters of the model is to, on the one hand, ensure the prediction accuracy of the model, and on the other hand, obtain a network model structure and training parameters with high prediction efficiency.
[0083] Furthermore, after the trained temperature prediction network model is obtained, the actual output result prediction data of the temperature prediction network model can be verified through the verification data in the data set.
[0084] S340, obtaining the water inlet temperature of the energy pile at the current moment, the water outlet temperature at the current moment, the temperature field of the soil around the pile at the current moment, and the water inlet temperature at the target moment, wherein the target moment is the next moment of the current moment.
[0085] S350, input the water inlet temperature at the current moment, the water outlet temperature at the current moment and the temperature field of the soil around the pile at the current moment into the pre-trained temperature prediction network model to obtain the water outlet temperature of the energy pile at the target moment, wherein the target moment is the next moment of the current moment.
[0086] S360. Based on the water inlet temperature at the target time and the water outlet temperature at the target time, obtain the heat exchange performance data of the energy pile.
[0087] The technical solution of the embodiment of the present invention obtains sample data and expected data corresponding to the sample data to train a pre-built initial model, thereby obtaining a temperature prediction network model with high prediction efficiency.
[0088] Embodiment 4
[0089] Figure 7 This is a schematic diagram of the structure of a device for predicting the heat exchange performance of an energy pile provided in the fourth embodiment of the present invention. Figure 7As shown, the device includes: a current temperature acquisition module 410 , a next temperature acquisition module 420 and a performance data acquisition module 430 .
[0090] The current temperature acquisition module 410 is used to acquire the water inlet temperature of the energy pile at the current moment, the water outlet temperature at the current moment, the soil temperature field around the pile at the current moment, and the water inlet temperature at the target moment, where the target moment is the next moment of the current moment;
[0091] The next temperature acquisition module 420 is used to input the water inlet temperature at the current moment, the water outlet temperature at the current moment and the temperature field of the soil around the pile at the current moment into the temperature prediction network model to obtain the water outlet temperature of the energy pile at the target moment, wherein the target moment is the next moment of the current moment;
[0092] The performance data obtaining module 430 is used to obtain the heat exchange performance data of the energy pile based on the water inlet temperature at the target moment and the water outlet temperature at the target moment.
[0093] The technical solution of the embodiment of the present invention obtains the water inlet temperature of the energy pile at the current moment, the water outlet temperature at the current moment, the temperature field of the soil around the pile at the current moment, and the water inlet temperature at the target moment through the current temperature acquisition module, and the target moment is the next moment of the current moment. Through the next temperature acquisition module, the water inlet temperature at the current moment, the water outlet temperature at the current moment, and the temperature field of the soil around the pile at the current moment are input into the temperature prediction network model to obtain the water outlet temperature of the energy pile at the target moment. The technical solution of the embodiment of the present invention can more accurately predict the temperature of the water outlet of the energy pile at the next moment of the current moment, that is, the water outlet temperature at the next moment of the current moment, through the pre-trained temperature prediction network model. Then, the heat exchange performance data of the energy pile can be obtained based on the water inlet temperature at the target moment and the water outlet temperature at the target moment through the performance data acquisition module, which solves the technical problem that the prior art cannot accurately predict the heat exchange performance data of the energy pile, and realizes a more accurate prediction of the heat exchange performance of the energy pile, thereby achieving the technical effect of reducing the energy consumption of the energy pile and shortening the investment recovery time.
[0094] Optionally, the performance data obtaining module 430 is used to obtain the heat exchange performance data of the energy pile according to the following formula:
[0095]
[0096] Wherein, Q represents the heat transfer performance of the energy pile, and the unit is: kW h; Indicates the mass flow rate of the circulating liquid, unit: kg / s ; Indicates the specific heat capacity of the circulating liquid, unit: kJ / kg K; Indicates the current time, the unit is: h; Indicates the next moment of the current moment, the unit is: h; Indicates the water inlet temperature of the energy pile at the next moment after the current moment, in K; Indicates the outlet temperature of the energy pile at the next moment after the current moment, in K.
[0097] Optionally, the temperature prediction network model includes a convolutional neural network and a long short-term memory network; the next temperature acquisition module 420 is used to input the temperature field of the soil around the pile at the current moment into the convolution layer of the convolutional neural network to obtain the spatial feature data of the temperature field of the soil around the pile at the current moment; input the spatial feature data into the pooling layer of the convolutional neural network to obtain feature dimension reduction data of the spatial feature data, and input the feature dimension reduction data into the flattening layer of the convolutional neural network to obtain flattened data; input the flattened data, the water inlet temperature at the current moment, and the water outlet temperature at the current moment into the long short-term memory network to obtain the outlet temperature of the energy pile at the target moment.
[0098] Optionally, the next temperature acquisition module 420 is used to input the water inlet temperature at the current moment and the water outlet temperature at the current moment into the long short-term memory layer of the long short-term memory network to obtain the time characteristic data of the operation data of the energy pile; input the flattened data and the time characteristic data into the fully connected layer of the long short-term memory network to obtain the water outlet temperature of the energy pile at the target moment.
[0099] Optionally, the device further comprises: a temperature prediction network model obtaining module, the temperature prediction network model obtaining module comprising: a sample data obtaining unit, an actual output result obtaining unit and a model parameter adjustment unit; wherein,
[0100] The sample data acquisition unit is used to acquire sample data and expected data corresponding to the sample data, wherein the sample data includes the water inlet temperature of the energy pile at a certain historical moment, the water outlet temperature at the certain historical moment, and the temperature field of the soil around the pile at the certain historical moment, and the expected data is the water outlet temperature of the energy pile at the next moment after the certain historical moment;
[0101] The actual output result obtaining unit is used to input the sample data into a pre-built initial network model to obtain the actual output result of the initial network model;
[0102] The model parameter adjustment unit is used to adjust the network parameters of the initial network model according to the expected data and the actual output result to obtain the trained temperature prediction network model.
[0103] Optionally, a model parameter adjustment unit is used to obtain evaluation index data of the initial network model based on the actual output result and the expected output result, wherein the evaluation index data includes at least one of the root mean square error, mean absolute error, mean absolute percentage error and coefficient of determination of the actual output result and the expected output result; and perform parameter adjustment on the network parameters of the initial network model based on the evaluation index data.
[0104] Optionally, before inputting the sample data into the pre-built initial network model, the device also includes a data processing module, which is used to perform data scaling processing on the water inlet temperature at a certain historical moment, the water outlet temperature at a certain historical moment, and the temperature field of the soil around the pile at a certain historical moment according to a corresponding preset scaling ratio, so that the water inlet temperature at a certain historical moment, the water outlet temperature at a certain historical moment, and the temperature field of the soil around the pile at a certain historical moment are mapped to a preset data interval.
[0105] Optionally, the current temperature acquisition module 410 is used to collect the temperature field of the soil around the energy pile at the current moment through at least two temperature sensors around the energy pile.
[0106] Optionally, the device further comprises: a current data display module, for displaying the water inlet temperature at the current moment, the water outlet temperature at the current moment, and the temperature field of the soil around the pile at the current moment.
[0107] Optionally, the device further comprises: a target data display module, configured to display the water outlet temperature at the target moment.
[0108] The energy pile heat exchange performance prediction device provided in the embodiment of the present invention can execute the energy pile heat exchange performance prediction method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0109] It is worth noting that the various units and modules included in the above-mentioned energy pile heat exchange performance prediction device are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present invention.
[0110] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0111] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for predicting heat exchange performance of an energy pile, characterized in that: The following steps are involved: S1: Obtaining the water inlet temperature of the energy pile at the current moment, the water outlet temperature at the current moment, the soil temperature field around the pile at the current moment, and the water inlet temperature at the target moment, where the target moment is the moment next to the current moment; S2: inputting the water inlet temperature at the current moment, the water outlet temperature at the current moment and the temperature field of the soil around the pile at the current moment into the temperature prediction network model to obtain the water outlet temperature of the energy pile at the target moment; The temperature prediction network model includes a convolutional neural network and a long short-term memory network; the water inlet temperature at the current moment, the water outlet temperature at the current moment and the temperature field of the soil around the pile at the current moment are input into the temperature prediction network model to obtain the water outlet temperature of the energy pile at the target moment, including: Inputting the soil temperature field around the pile at the current moment into the convolution layer of the convolutional neural network to obtain spatial characteristic data of the soil temperature field around the pile at the current moment; Inputting the spatial feature data into the pooling layer of the convolutional neural network to obtain feature dimension reduction data of the spatial feature data, and inputting the feature dimension reduction data into the flattening layer of the convolutional neural network to obtain flattened data; Input the flattened data, the water inlet temperature at the current moment, and the water outlet temperature at the current moment into the long short-term memory network to obtain the water outlet temperature of the energy pile at the target moment; The flattened data, the water inlet temperature at the current moment, and the water outlet temperature at the current moment are input into the long short-term memory network to obtain the water outlet temperature of the energy pile at the target moment, including: Inputting the water inlet temperature at the current moment and the water outlet temperature at the current moment into the long short-term memory layer of the long short-term memory network to obtain time characteristic data of the operation data of the energy pile; Input the flattened data and the time characteristic data into the fully connected layer of the long short-term memory network to obtain the water outlet temperature of the energy pile at the target time; S3: Based on the water inlet temperature at the target moment and the water outlet temperature at the target moment, the heat exchange performance data of the energy pile is obtained.
2. The method according to claim 1, characterized in that The heat exchange performance data of the energy pile is obtained based on the water inlet temperature at the target time and the water outlet temperature at the target time, including: The heat exchange performance data of the energy pile is obtained according to the following formula: ; in, Q Indicates the heat exchange performance data of the energy pile. represents the mass flow rate of the circulating liquid, represents the specific heat capacity of the circulating liquid, Indicates the current moment, Indicates the next moment after the current moment. Indicates the water inlet temperature of the energy pile at the next moment from the current moment. Indicates the water outlet temperature of the energy pile at the next moment after the current moment.
3. The method according to claim 1, characterized in that The method further comprises: Acquire sample data and expected data corresponding to the sample data, wherein the sample data includes the water inlet temperature of the energy pile at a certain historical moment, the water outlet temperature at the certain historical moment, and the temperature field of the soil around the pile at the certain historical moment, and the expected data is the water outlet temperature of the energy pile at the next moment after the certain historical moment; Inputting the sample data into a pre-built initial network model to obtain an actual output result of the initial network model; The network parameters of the initial network model are adjusted according to the expected data and the actual output result to obtain a trained temperature prediction network model.
4. The method according to claim 3, characterized in that The adjusting the network parameters of the initial network model according to the expected data and the actual output result includes: Obtaining evaluation index data of the initial network model according to the actual output result and the expected data, wherein the evaluation index data includes at least one of a root mean square error, a mean absolute error, a mean absolute percentage error, and a coefficient of determination of the actual output result and the expected data; The network parameters of the initial network model are adjusted based on the evaluation index data.
5. The method according to claim 3, characterized in that: Before inputting the sample data into the pre-built initial network model, the method further includes: The water inlet temperature at a certain historical moment, the water outlet temperature at a certain historical moment, and the temperature field of the soil around the pile at a certain historical moment are data scaled according to the corresponding preset scaling ratio, so that the water inlet temperature at a certain historical moment, the water outlet temperature at a certain historical moment, and the temperature field of the soil around the pile at a certain historical moment are mapped to the preset data interval.
6. The method according to claim 1, characterized in that Obtain the soil field temperature around the energy pile at the current moment, including: The soil field temperature around the energy pile at the current moment is collected by at least two temperature sensors around the energy pile.
7. The method according to claim 1, characterized in that The method further comprises: The water inlet temperature at the current moment, the water outlet temperature at the current moment, and the temperature field of the soil around the pile at the current moment are displayed.
8. The method according to claim 1, characterized in that The method further comprises: The water outlet temperature at the target moment is displayed.
