An intelligent control method based on solar water heating system

Through intelligent control methods, prediction models and air source heat pump operation time optimization are used to solve the problem that traditional solar hot water systems cannot meet users' water needs, realize intelligent coupling of solar hot water systems and air source heat pumps, and improve hot water efficiency. Accuracy and efficiency of supply.

CN118517807BActive Publication Date: 2024-09-24ANHUI XUANRI ENERGY TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411001152.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-25
Publication Date
2024-09-24
Estimated Expiration
2044-07-25

AI Technical Summary

Technical Problem

Traditional solar hot water systems cannot accumulate sufficient hot water in advance based on weather data and users' water usage habits, resulting in the inability to meet users' water needs. Especially when the solar collectors are insufficient, they cannot be intelligently coupled with air source heat pumps.

Method used

An intelligent control method based on solar hot water system is used to generate a feature sequence by collecting weather data, which is input into the prediction model to predict the user's hot water demand, and the operation of the air source heat pump is calculated based on the difference between the hot water storage capacity and demand. time to ensure hot water supply. The method involves using a predictive model built with a recurrent neural network (RNN) or a gated network (GRU), combined with a classifier and gradient descent algorithm to optimize weight parameters to calculate the required heat and operating time of the air source heat pump.

Benefits of technology

It improves the prediction accuracy of hot water demand, ensures that users' water needs are met, realizes intelligent coupling of solar hot water systems and air source heat pumps, and improves system efficiency and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118517807B
    Figure CN118517807B
Patent Text Reader

Abstract

The invention relates to the technical field of solar water heating system control, and discloses an intelligent control method based on a solar water heating system, comprising the following steps: step S101, collecting weather data at a preset time interval t within a first preset time period T, and generating a feature sequence; step S102, inputting the feature sequence into a prediction model, and the output value represents the hot water demand of a user within a second preset time period G; step S103, obtaining the hot water storage capacity of the solar water heating system, and when the hot water storage capacity is less than or equal to the hot water demand, entering step S104; step S104, calculating the operating time of an air source heat pump according to the difference between the hot water storage capacity and the hot water demand; the invention establishes a nonlinear mapping relationship between weather data and hot water demand through a prediction model, thereby improving the prediction accuracy of the hot water demand, and thus meeting the water demand of the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of solar water heating system control, and more specifically, to an intelligent control method based on a solar water heating system. Background Art

[0002] Solar water heating systems have become an important part of global sustainable energy development due to their environmental and economic benefits. Traditional solar water heating systems mainly convert solar radiation energy into heat energy through solar collectors, and then use circulating pumps to guide the heated heat transfer fluid in the solar collectors to the water tank, and heat the cold water in the water tank through heat exchange, or when the solar collectors are not enough to provide the required heat, such as rainy days and insufficient sunlight in winter, the cold water in the water tank is directly heated by air source heat pumps.

[0003] However, when the solar collector is not sufficient to provide the required heat, the traditional solar water heating system cannot be intelligently coupled with the air source heat pump, that is, it is impossible to accumulate sufficient hot water in advance based on weather data and user water usage habits, resulting in an inability to meet user water needs. Summary of the invention

[0004] The present invention provides an intelligent control method based on a solar water heating system, which solves the technical problem in the related art that a traditional solar water heating system cannot accumulate sufficient hot water in advance according to weather data and user's water use habits, resulting in failure to meet the user's water demand.

[0005] The present invention provides an intelligent control method based on a solar water heating system, comprising the following steps:

[0006] Step S101, within a first preset time period T, collecting weather data at preset time intervals t, and generating a feature sequence;

[0007] The i-th sequence unit of the feature sequence represents the weather data in the i-th time period, where 1≤i≤N, N=T / t;

[0008] Weather data includes: temperature, humidity, rainfall and sunshine duration;

[0009] Step S102, inputting the feature sequence into the prediction model, and the output value represents the hot water demand of the user in the second preset time period G;

[0010] Step S103, obtaining the hot water storage capacity of the solar water heating system, when the hot water storage capacity is less than or equal to the hot water demand, proceeding to step S104;

[0011] Step S104, calculating the operating time of the air source heat pump according to the difference between the hot water storage amount and the hot water demand amount.

[0012] Furthermore, T, t, and G are all custom parameters.

[0013] Furthermore, the prediction model includes N hidden units, the i-th hidden unit inputs the i-th sequence unit of the feature sequence, and outputs the updated feature;

[0014] The updated features output by the Nth hidden unit are input to the first classifier, and the classification space of the first classifier represents the hot water demand of the user within the second preset time period G.

[0015] Furthermore, the calculation formula of the i-th hidden unit includes:

[0016] ;

[0017] ;

[0018] ;

[0019] ;

[0020] ;

[0021] ;

[0022] in and Represent the updated features of the output of the i-th and i-1-th hidden units, respectively. Assign a value of 0, represents the i-th sequence unit of the feature sequence input to the i-th hidden unit, , , , and Respectively represent the forget gate, input gate, first intermediate feature, second intermediate feature and output gate of the i-th hidden unit, represents the second intermediate feature of the i-1th hidden unit, , , , , , , and denote the first, second, third, fourth, fifth, sixth, seventh and eighth weight parameters respectively, , , and denote the first, second, third and fourth bias parameters respectively, represents the Hadamard product, sigmoid represents the sigmoid activation function, and tanh represents the hyperbolic tangent activation function.

[0023] Furthermore, the sample labels of the training samples used to train the prediction model are constructed according to the historical hot water demands of the users within the second preset time period G.

[0024] Furthermore, during the training process of the prediction model, the difference between the value output by the prediction model at each iteration and the sample label of the training sample is designated as the loss function, and the weight parameters and bias parameters of the prediction model are updated by the gradient descent algorithm.

[0025] Furthermore, before the prediction model is trained, the prediction model is pre-trained, and the updated features output by the Nth hidden unit are input into the second classifier, and the classification space of the second classifier represents the wind pressure in the next time period.

[0026] Further, the operation time of the air source heat pump is calculated according to the difference between the hot water storage amount and the hot water demand amount, including the following steps:

[0027] Step S201, obtaining the temperature of the water tank of the solar water heating system and the target heating temperature of the user, and calculating the temperature difference between the two;

[0028] Step S202, calculating the required heat of the solar water heating system according to the difference between the hot water storage amount and the hot water demand amount and the temperature difference;

[0029] Step S203, calculating and obtaining the operating time of the air source heat pump according to the required heat of the solar water heating system, the energy efficiency ratio of the air source heat pump and the rated power of the air source heat pump.

[0030] Furthermore, the calculation formula for the required heat of the solar water heating system includes:

[0031] ;

[0032] ;

[0033] in Indicates the required heat of the solar water heating system, A mass expression that represents the difference between the hot water storage and the hot water demand. is the specific heat capacity of water, Indicates the temperature difference between the water tank temperature of the solar water heating system and the user's target heating temperature. The user's target heating temperature is a custom parameter. Indicates the difference between hot water storage and hot water demand. Represents the density of water.

[0034] Furthermore, the calculation formula for the operation time of the air source heat pump is as follows:

[0035] ;

[0036] Where RunTime represents the running time of the air source heat pump. It represents the required heat of the solar water heating system, P represents the rated power of the air source heat pump, and COP represents the energy efficiency ratio of the air source heat pump, which is provided by the air source heat pump manufacturer.

[0037] The beneficial effect of the present invention is that the present invention establishes a nonlinear mapping relationship between weather data and hot water demand through a prediction model, thereby improving the prediction accuracy of hot water demand and meeting the water demand of users. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 It is a flow chart of an intelligent control method based on a solar water heating system of the present invention;

[0039] Figure 2 It is a flow chart of the present invention for calculating the operating time of an air source heat pump according to the difference between the hot water storage amount and the hot water demand amount. DETAILED DESCRIPTION

[0040] The subject matter described herein will now be discussed with reference to example embodiments. It should be understood that the discussion of these embodiments is only to enable those skilled in the art to better understand and implement the subject matter described herein, and the functions and arrangements of the elements discussed may be changed without departing from the scope of protection of the present specification. Various examples may omit, replace or add various processes or components as needed. In addition, the features described relative to some examples may also be combined in other examples.

[0041] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in one or more embodiments of the present invention should be understood by people with ordinary skills in the field to which the present invention belongs. The words "first", "second" and similar words used in one or more embodiments of the present invention do not indicate any order, quantity or importance, but are only used to distinguish different components. "Include" or "comprise" and similar words mean that the elements or objects appearing before the word include the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0042] like Figure 1-2 As shown, an intelligent control method based on a solar water heating system comprises the following steps:

[0043] Step S101, within a first preset time period T, collecting weather data at preset time intervals t, and generating a feature sequence;

[0044] The i-th sequence unit of the feature sequence represents the weather data in the i-th time period, where 1≤i≤N, N=T / t;

[0045] Weather data includes: temperature, humidity, rainfall and sunshine duration;

[0046] Step S102, inputting the feature sequence into the prediction model, and the output value represents the hot water demand of the user in the second preset time period G;

[0047] Step S103, obtaining the hot water storage capacity of the solar water heating system, when the hot water storage capacity is less than or equal to the hot water demand, proceeding to step S104;

[0048] Step S104, calculating the operating time of the air source heat pump according to the difference between the hot water storage amount and the hot water demand amount.

[0049] In one embodiment of the present invention, T, t and G are all custom parameters. Preferably, T is set to 1 hour, t is set to 5 minutes, and G is set to 1 hour.

[0050] In one embodiment of the present invention, temperature and humidity are collected by a temperature and humidity sensor, rainfall is collected by a rainfall sensor, and sunshine duration is collected by a sunshine duration sensor, such as MS-093, which is only sensitive to direct radiation and digitally outputs radiation exceeding 120W / m².

[0051] In one embodiment of the present invention, weather data may also include: wind speed, wind direction, visibility, snowfall, air pressure, etc.

[0052] In one implementation of the present invention, the weather data for each time period can also be preprocessed. For example, the missing values ​​of a time period can be filled by taking the average value of the data of the two previous and next time periods. The abnormal values ​​of a time period can be filled by filling in default values, and then the weather data for each time period can be normalized by standard scores.

[0053] In one implementation of the present invention, the prediction model includes N hidden units, the i-th hidden unit inputs the i-th sequence unit of the feature sequence, and outputs an updated feature;

[0054] The updated features output by the Nth hidden unit are input to the first classifier, and the classification space of the first classifier represents the hot water demand of the user within the second preset time period G.

[0055] In one implementation of the present invention, the calculation formula for the i-th hidden unit includes:

[0056] ;

[0057] ;

[0058] ;

[0059] ;

[0060] ;

[0061] ;

[0062] in and Represent the updated features of the output of the i-th and i-1-th hidden units, respectively. Assign a value of 0, represents the i-th sequence unit of the feature sequence input to the i-th hidden unit, , , , and Respectively represent the forget gate, input gate, first intermediate feature, second intermediate feature and output gate of the i-th hidden unit, represents the second intermediate feature of the i-1th hidden unit, , , , , , , and denote the first, second, third, fourth, fifth, sixth, seventh and eighth weight parameters respectively, , , and denote the first, second, third and fourth bias parameters respectively, represents the Hadamard product, sigmoid represents the sigmoid activation function, and tanh represents the hyperbolic tangent activation function.

[0063] In one embodiment of the present invention, the hidden unit may also be constructed based on an RNN (recurrent neural network) unit or a GRU (gated unit network) unit.

[0064] In one implementation of the present invention, the sample labels of the training samples used to train the prediction model are constructed according to the historical hot water demands of the users within the second preset time period G.

[0065] For example, weather data from 4 pm to 5 pm is collected to generate a feature sequence as training data for a training sample, and then the hot water demand of users from 5 pm to 6 pm is collected as a sample label for a training sample.

[0066] In one embodiment of the present invention, during the training process of the prediction model, the difference between the value output by the prediction model at each iteration and the sample label of the training sample is designated as the loss function, and the weight parameters and bias parameters of the prediction model are updated by the gradient descent algorithm.

[0067] In one implementation of the present invention, before the prediction model is trained, the prediction model is pre-trained, and the updated features output by the Nth hidden unit are input into the second classifier, and the classification space of the second classifier represents the wind pressure in the next time period.

[0068] It should be noted that by pre-training the prediction model, the feature extraction capability of the prediction model for feature sequences can be improved, thereby improving the prediction accuracy of the model.

[0069] In one embodiment of the present invention, Figure 2 As shown, the operation time of the air source heat pump is calculated according to the difference between the hot water storage amount and the hot water demand amount, including the following steps:

[0070] Step S201, obtaining the temperature of the water tank of the solar water heating system and the target heating temperature of the user, and calculating the temperature difference between the two;

[0071] Step S202, calculating the required heat of the solar water heating system according to the difference between the hot water storage amount and the hot water demand amount and the temperature difference;

[0072] Step S203, calculating and obtaining the operating time of the air source heat pump according to the required heat of the solar water heating system, the energy efficiency ratio of the air source heat pump and the rated power of the air source heat pump.

[0073] In one embodiment of the present invention, the calculation formula for the required heat of the solar water heating system includes:

[0074] ;

[0075] ;

[0076] in Indicates the required heat of the solar water heating system, A mass expression that represents the difference between the hot water storage and the hot water demand. is the specific heat capacity of water, Indicates the temperature difference between the water tank temperature of the solar water heating system and the user's target heating temperature. The user's target heating temperature is a custom parameter. Indicates the difference between hot water storage and hot water demand. Represents the density of water.

[0077] In one embodiment of the present invention, the calculation formula for the running time of the air source heat pump is as follows:

[0078] ;

[0079] Where RunTime represents the running time of the air source heat pump. It represents the required heat of the solar water heating system, P represents the rated power of the air source heat pump, and COP represents the energy efficiency ratio of the air source heat pump, which is provided by the air source heat pump manufacturer.

[0080] For example, if the hot water demand is 300 liters, the hot water storage capacity is 150 liters, the water density is 1 kg / L, the specific heat capacity of water is 4.186 kJ / (kg·°C), the temperature difference is 40°C, the energy efficiency ratio of the air source heat pump is 3, and the rated power of the air source heat pump is 3kW, then according to the above formula, the operating time of the air source heat pump is approximately 0.775 hours, or about 46.5 minutes.

[0081] The above describes an embodiment of the present embodiment, but the present embodiment is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present embodiment, ordinary technicians in this field can also make many forms, all of which are within the protection of the present embodiment.

Claims

1. An intelligent control method based on solar water heating system, It is characterized in that The following steps are involved: Step S101, within a first preset time period T, collecting weather data at preset time intervals t, and generating a feature sequence; The i-th sequence unit of the feature sequence represents the weather data in the i-th time period, where 1≤i≤N, N=T / t; Weather data includes: temperature, humidity, rainfall and sunshine duration; Step S102, inputting the feature sequence into the prediction model, and the output value represents the hot water demand of the user in the second preset time period G; Step S103, obtaining the hot water storage capacity of the solar water heating system, when the hot water storage capacity is less than or equal to the hot water demand, proceeding to step S104; Step S104, calculating the operating time of the air source heat pump according to the difference between the hot water storage amount and the hot water demand amount; The prediction model includes N hidden units, the i-th hidden unit inputs the i-th sequence unit of the feature sequence and outputs the updated feature; The updated features output by the Nth hidden unit are input to the first classifier, and the classification space of the first classifier represents the hot water demand of the user in the second preset time period G; The calculation formula for the i-th hidden unit includes: ; ; ; ; ; ; in and Represent the updated features of the output of the i-th and i-1-th hidden units, respectively. Assign a value of 0, represents the i-th sequence unit of the feature sequence input to the i-th hidden unit, , , , and Respectively represent the forget gate, input gate, first intermediate feature, second intermediate feature and output gate of the i-th hidden unit, represents the second intermediate feature of the i-1th hidden unit, , , , , , , and denote the first, second, third, fourth, fifth, sixth, seventh and eighth weight parameters respectively, , , and denote the first, second, third and fourth bias parameters respectively, represents the Hadamard product, sigmoid represents the sigmoid activation function, and tanh represents the hyperbolic tangent activation function.

2. According to claim 1, an intelligent control method based on a solar water heating system, It is characterized in that T, t, and G are all custom parameters.

3. According to claim 1, an intelligent control method based on a solar water heating system, It is characterized in that The sample labels of the training samples used to train the prediction model are constructed according to the historical hot water demands of the users in the second preset time period G.

4. According to claim 3, an intelligent control method based on a solar water heating system, It is characterized in that During the training process of the prediction model, the difference between the value output by the prediction model at each iteration and the sample label of the training sample is specified as the loss function, and the weight parameters and bias parameters of the prediction model are updated through the gradient descent algorithm.

5. According to claim 1, an intelligent control method based on a solar water heating system, It is characterized in that Before the prediction model is trained, the prediction model is pre-trained, and the updated features output by the Nth hidden unit are input into the second classifier, and the classification space of the second classifier represents the wind pressure in the next time period.

6. An intelligent control method based on a solar water heating system according to claim 1, It is characterized in that The operation time of the air source heat pump is calculated based on the difference between the hot water storage amount and the hot water demand amount, including the following steps: Step S201, obtaining the temperature of the water tank of the solar water heating system and the target heating temperature of the user, and calculating the temperature difference between the two; Step S202, calculating the required heat of the solar water heating system according to the difference between the hot water storage amount and the hot water demand amount and the temperature difference; Step S203, calculating and obtaining the operating time of the air source heat pump according to the required heat of the solar water heating system, the energy efficiency ratio of the air source heat pump and the rated power of the air source heat pump.

7. An intelligent control method based on a solar water heating system according to claim 6, It is characterized in that The calculation formula for the required heat of the solar water heating system includes: ; ; in Indicates the required heat of the solar water heating system, A mass expression that represents the difference between the hot water storage and the hot water demand. is the specific heat capacity of water, Indicates the temperature difference between the water tank temperature of the solar water heating system and the user's target heating temperature. The user's target heating temperature is a custom parameter. Indicates the difference between hot water storage and hot water demand. Represents the density of water.

8. An intelligent control method based on a solar water heating system according to claim 7, It is characterized in that The calculation formula for the operating time of the air source heat pump is as follows: ; Where RunTime represents the running time of the air source heat pump. It represents the required heat of the solar water heating system, P represents the rated power of the air source heat pump, and COP represents the energy efficiency ratio of the air source heat pump, which is provided by the air source heat pump manufacturer.