Intelligent heating control system and method based on Python to perceive weather information
Patent Information
- Application Number
- CN202410560491.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-08
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2044-05-08
AI Technical Summary
[0003]北方的冬季由于气温低,因此,在冬季,供暖是北方一件非常重要的事情,目前一般采用集中供暖的方式,然而,供暖中的矛盾是非常明显的,经常出现用于与供暖企业因为供暖效果不达标而产生很大的矛盾,有的可能是因为企业为了节约成本导致的热源不足,但也有相当一部分是由于供暖的设备不够智能,造成供暖在外部温度高低时保持相同的热源或者简单的根据人的感知来调整,比如今天温度低就烧的高一点,明天温度高就烧的低一点,这样很难达到良好的效果,而且,根据观察天气而进行改变,这样由于管网系统非常庞大,导致供暖的调节是很滞后的,有时造成资源浪费,有时又达不到供暖效果
[0034] The method of the present invention is based on Python's perception of weather information and feedback adjustment through algorithms to make the control more accurate. At the same time, it also monitors the water source temperature of the heating side, which can not only supervise enterprises, but also reduce conflicts between enterprises and users.
Smart Images

Figure FHA0000007139780000031 
Figure FHA0000007139780000032 
Figure FHA0000007139780000033
Abstract
Description
Technical Field
[0001] The present invention relates to the field of heating technology, and in particular to an intelligent heating control system and method based on Python sensing weather information. Background Art
[0002] The description of the background technology in the present invention belongs to the related technology related to the present invention, which is only used to illustrate and facilitate the understanding of the invention content of the present invention, and should not be understood as the applicant explicitly believes or inferred that the applicant believes that it is the prior art of the present invention on the filing date of the first application.
[0003] Due to the low temperature in the north in winter, heating is a very important thing in the north. At present, centralized heating is generally used. However, the contradictions in heating are very obvious. There are often big conflicts between users and heating companies because the heating effect does not meet the standards. Some may be due to insufficient heat source caused by the company's efforts to save costs, but a considerable part of it is due to the fact that the heating equipment is not smart enough, resulting in the heating to maintain the same heat source when the external temperature is high or low, or simply adjust according to human perception. For example, if the temperature is low today, it will be burned higher, and if the temperature is high tomorrow, it will be burned lower. It is difficult to achieve good results. Moreover, changes are made based on weather observations. Since the pipeline system is very large, the heating adjustment is very delayed, sometimes resulting in waste of resources, and sometimes failing to achieve the heating effect. Summary of the invention
[0004] The purpose of an embodiment of the present invention is to provide an intelligent heating control system and method based on python to perceive weather information. The method of the present invention perceives weather information based on python and performs feedback adjustment through an algorithm to make the control more precise. At the same time, the water source temperature of the heating party is also monitored, which can not only supervise the enterprise, but also reduce the conflict between the enterprise and the user.
[0005] The purpose of this application is achieved through the following technical solutions:
[0006] An intelligent heating control system based on Python sensing weather information, comprising:
[0007] Python weather information sensing module, used to obtain weather forecast;
[0008] Historical data storage module, used to store local weather historical data and corresponding heating strategies;
[0009] The heating system comprises a hot water source, a water inlet pipe heating part and a water return pipe which are connected in sequence, wherein the end of the water return pipe is connected to the water inlet of the hot water source; and a valve for controlling the opening is provided on the water inlet pipe;
[0010] The temperature monitoring module includes a room temperature monitoring unit, which is arranged in the user's room and is used to monitor the temperature in the user's room; the water temperature monitoring unit includes a first water temperature monitoring unit arranged on the hot water source, a second water temperature monitoring unit arranged on the water inlet pipe, and a third water temperature monitoring unit arranged on the water return pipe; the second water temperature monitoring unit is arranged at the inlet end of the water inlet pipe; the third water temperature monitoring unit is arranged at the outlet end of the water return pipe;
[0011] The flow meter comprises a first flow meter arranged at the inlet end of the water inlet pipe and a second flow meter arranged at the outlet end of the water return pipe;
[0012] A data acquisition module, wherein the data acquisition module is respectively connected with a flow meter, a Python weather information sensing module, a weather history data storage module, a temperature monitoring module and a valve signal for controlling the opening;
[0013] The computer is connected with the data acquisition module and the valve signal for controlling the opening, and includes an analysis unit for analyzing weather forecasts and historical data and generating instructions according to the analysis results, wherein the instructions include instructions for adjusting the opening and the temperature of the hot water source; and an instruction sending unit for sending instructions for adjusting the opening and the temperature of the hot water source to the valve for controlling the opening.
[0014] An intelligent heating control method based on Python sensing weather information is implemented using the above system and includes the following steps:
[0015] Obtain weather forecast; the computer analyzes flow data, weather forecast, historical data and temperature monitoring information and generates instructions according to the analysis results, wherein the instructions include instructions for adjusting the opening and the temperature of the hot water source; an instruction sending unit is used to send instructions for adjusting the opening and the temperature of the hot water source to the valve controlling the opening.
[0016] Furthermore, the analysis unit generates instructions in the following manner: matching corresponding historical weather data according to weather forecasts, finding heating strategies corresponding to the historical weather data, and sending instructions for adjusting the opening and the temperature of the hot water source to the valve controlling the opening according to the heating strategy.
[0017] Furthermore, matching the corresponding weather historical data according to the weather forecast specifically includes the following steps: the weather forecast includes time, temperature and humidity; finding the temperature and humidity data corresponding to the time consistent with the weather forecast time in previous years in the weather historical data; the time consistent with the weather forecast time in previous years includes N days before and after the same date as the weather forecast time in previous years, where N is a positive integer; finding M dates among the times consistent with the weather forecast time in previous years whose temperature-over-time curves are closest to the weather forecast time, and selecting a date among the M dates whose humidity-over-time curves are closest to the weather forecast time, that is, matching the corresponding weather historical data according to the weather forecast.
[0018] Further, the heating strategy corresponding to the weather history data is found, and according to the heating strategy, an instruction to adjust the opening and the temperature of the hot water source is sent to the valve controlling the opening, and the heating strategy is adjusted according to the flow data, temperature data and opening data obtained by the data acquisition module, specifically including the following steps:
[0019] Determine whether the temperature data of the room temperature monitoring module is within the set range. If not, determine in turn whether the water temperature data of the first water temperature monitoring module, the second water temperature monitoring module and the third water temperature monitoring module are within the set range. If the water temperature data of the first water temperature monitoring module is not within the set range, issue an instruction to adjust the temperature of the hot water source; if the water temperature data of the second water temperature monitoring module is not within the set range, issue an instruction to inspect the external pipeline; if the water temperature data of the third water temperature monitoring module is not within the set range, determine whether the difference in water flow per unit time between the first flow meter and the second flow meter is within the set range. If so, issue an instruction to increase the valve opening; if not, issue an instruction to inspect the indoor pipeline; if the temperature of the room temperature monitoring module is still not within the set range after the inspection, adjust the water temperature of the hot water source and / or the valve opening until the temperature of the room temperature monitoring module is within the set range.
[0020] Furthermore, after the step of adjusting the heating strategy according to the flow data, temperature data and opening data acquired by the data acquisition module, the method further includes the step of forming the adjustment instructions into a separate file and storing the file as a trimming file into the original heating strategy.
[0021] Furthermore, before issuing the instruction to increase the valve opening, the method further includes the step of determining whether the temperatures of the second temperature monitoring module and the third temperature monitoring module satisfy the following relationship:
[0022]
[0023] in,
[0024] T 预报 : Forecasted outdoor temperature; t, standard deviation, 10-20; T第二 : The temperature of the second temperature monitoring module; T 第三 : The temperature of the third temperature monitoring module; 0.3 and 0.6: humidity values.
[0025] Furthermore, before issuing the instruction to increase the valve opening, the method further includes the step of determining whether the temperatures of the second temperature monitoring module and the third temperature monitoring module satisfy the following relationship:
[0026]
[0027] in,
[0028] T 预报 : Forecasted outdoor temperature; S, indoor humidity value, 0.3-0.6; T 第二 : The temperature of the second temperature monitoring module; T 第三 : The temperature of the third temperature monitoring module; 10 and 20: The upper and lower limits of the standard deviation.
[0029] Furthermore, before issuing the instruction to increase the valve opening, the method further includes the step of determining whether the temperatures of the second temperature monitoring module and the third temperature monitoring module satisfy the following relationship:
[0030]
[0031] in,
[0032] T 预报 : Forecasted outdoor temperature; S, indoor humidity value, 0.3-0.6; T 第二 : The temperature of the second temperature monitoring module; T 第三 : The temperature of the third temperature monitoring module; t, standard deviation, 10-20.
[0033] The embodiments of the present invention have the following beneficial effects:
[0034] The method of the present invention senses weather information based on python and performs feedback adjustment through an algorithm to make the control more precise. At the same time, the water source temperature of the heating party is also monitored, which can not only supervise the enterprise, but also reduce the conflict between the enterprise and the user. DETAILED DESCRIPTION
[0035] The present application is further described below in conjunction with embodiments.
[0036] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, in the following description, different "one embodiment" or "embodiment" does not necessarily refer to the same embodiment. Different embodiments can be replaced or combined, and for ordinary technicians in this field, other implementation methods can be obtained based on these embodiments without creative work.
[0037] An intelligent heating control system based on Python sensing weather information, comprising:
[0038] Python weather information sensing module, used to obtain weather forecast;
[0039] Historical data storage module, used to store local weather historical data and corresponding heating strategies;
[0040] The heating system comprises a hot water source, a water inlet pipe heating part and a water return pipe which are connected in sequence, wherein the end of the water return pipe is connected to the water inlet of the hot water source; and a valve for controlling the opening is provided on the water inlet pipe;
[0041] The temperature monitoring module includes a room temperature monitoring unit, which is arranged in the user's room and is used to monitor the temperature in the user's room; the water temperature monitoring unit includes a first water temperature monitoring unit arranged on the hot water source, a second water temperature monitoring unit arranged on the water inlet pipe, and a third water temperature monitoring unit arranged on the water return pipe; the second water temperature monitoring unit is arranged at the inlet end of the water inlet pipe; the third water temperature monitoring unit is arranged at the outlet end of the water return pipe;
[0042] The flow meter comprises a first flow meter arranged at the inlet end of the water inlet pipe and a second flow meter arranged at the outlet end of the water return pipe;
[0043] A data acquisition module, wherein the data acquisition module is respectively connected with a flow meter, a Python weather information sensing module, a weather history data storage module, a temperature monitoring module and a valve signal for controlling the opening;
[0044] The computer is connected with the data acquisition module and the valve signal for controlling the opening, and includes an analysis unit for analyzing weather forecasts and historical data and generating instructions according to the analysis results, wherein the instructions include instructions for adjusting the opening and the temperature of the hot water source; and an instruction sending unit for sending instructions for adjusting the opening and the temperature of the hot water source to the valve for controlling the opening.
[0045] An intelligent heating control method based on Python sensing weather information is implemented using the above system and includes the following steps:
[0046] Obtain weather forecast; the computer analyzes flow data, weather forecast, historical data and temperature monitoring information and generates instructions according to the analysis results, wherein the instructions include instructions for adjusting the opening and the temperature of the hot water source; an instruction sending unit is used to send instructions for adjusting the opening and the temperature of the hot water source to the valve controlling the opening.
[0047] In some embodiments of the present invention, the analysis unit generates instructions in the following manner: matching corresponding weather historical data according to the weather forecast, finding the heating strategy corresponding to the weather historical data, and sending instructions for adjusting the opening and the hot water source temperature to the valve controlling the opening according to the heating strategy.
[0048] In some embodiments of the present invention, matching corresponding weather historical data according to the weather forecast specifically includes the following steps: the weather forecast includes time, temperature and humidity; finding temperature and humidity data corresponding to the time consistent with the weather forecast time in previous years in the weather historical data; the time consistent with the weather forecast time in previous years includes N days before and after the same date as the weather forecast time in previous years, where N is a positive integer; finding M dates among the times consistent with the weather forecast time in previous years whose temperature-over-time curves are closest to the weather forecast time, and selecting a date among the M dates whose humidity-over-time curves are closest to the weather forecast time, that is, matching the corresponding weather historical data according to the weather forecast.
[0049] In some embodiments of the present invention, a heating strategy corresponding to the weather history data is found, and an instruction to adjust the opening and the temperature of the hot water source is sent to the valve controlling the opening according to the heating strategy, and then the step of adjusting the heating strategy according to the flow data, temperature data and opening data obtained by the data acquisition module is included, which specifically includes the following steps:
[0050] Determine whether the temperature data of the room temperature monitoring module is within the set range. If not, determine in turn whether the water temperature data of the first water temperature monitoring module, the second water temperature monitoring module and the third water temperature monitoring module are within the set range. If the water temperature data of the first water temperature monitoring module is not within the set range, issue an instruction to adjust the temperature of the hot water source; if the water temperature data of the second water temperature monitoring module is not within the set range, issue an instruction to inspect the external pipeline; if the water temperature data of the third water temperature monitoring module is not within the set range, determine whether the difference in water flow per unit time between the first flow meter and the second flow meter is within the set range. If so, issue an instruction to increase the valve opening; if not, issue an instruction to inspect the indoor pipeline; if the temperature of the room temperature monitoring module is still not within the set range after the inspection, adjust the water temperature of the hot water source and / or the valve opening until the temperature of the room temperature monitoring module is within the set range.
[0051] In some embodiments of the present invention, after the step of adjusting the heating strategy according to the flow data, temperature data and opening data acquired by the data acquisition module, the step is also included: forming the adjustment instructions into a separate file as a trimming file and storing it in the original heating strategy.
[0052] In some embodiments of the present invention, before issuing the instruction to increase the valve opening, the step of determining whether the temperatures of the second temperature monitoring module and the third temperature monitoring module satisfy the following relationship:
[0053]
[0054] in,
[0055] T 预报 : Forecasted outdoor temperature; t, standard deviation, 10-20; T 第二 : The temperature of the second temperature monitoring module; T 第三 : The temperature of the third temperature monitoring module; 0.3 and 0.6: humidity values.
[0056] In this embodiment, the algorithm uses the upper and lower limits of the humidity value as the determined value, and the standard deviation value and the predicted temperature as variables, so that users with relatively stable humidity (generally in areas with more snow) can
[0057] )Using this calculation method, the effect is more reliable.
[0058] In some embodiments of the present invention, before issuing the instruction to increase the valve opening, the step of determining whether the temperatures of the second temperature monitoring module and the third temperature monitoring module satisfy the following relationship:
[0059]
[0060] in,
[0061] T 预报 : Forecasted outdoor temperature; S, indoor humidity value, 0.3-0.6; T 第二 : The temperature of the second temperature monitoring module; T 第三 : The temperature of the third temperature monitoring module; 10 and 20: The upper and lower limits of the standard deviation.
[0062] In this embodiment, the upper and lower limits of the standard deviation are set as constants, and the indoor humidity and the forecast temperature are used as variables. This is applicable to places where the standard deviation is relatively stable. The characteristics of these places are that the outdoor temperature variation range is small (such as the Northeast region, where the temperature is generally very low). In this way, the temperature difference between the inlet water and the return water is relatively stable, and the standard deviation can be set to limit the upper and lower limits of the difference.
[0063] In some embodiments of the present invention, before issuing the instruction to increase the valve opening, the step of determining whether the temperatures of the second temperature monitoring module and the third temperature monitoring module satisfy the following relationship:
[0064]
[0065] in,
[0066] T 预报 : Forecasted outdoor temperature; S, indoor humidity value, 0.3-0.6; T 第二 : The temperature of the second temperature monitoring module; T 第三 : The temperature of the third temperature monitoring module; t, standard deviation, 10-20.
[0067] In this embodiment, the three variables are not fixed, and the predicted values or measured values are used. This has the advantage of being suitable for areas with large temperature differences and unstable humidity, such as central areas such as North China.
[0068] It should be noted that the above embodiments can be freely combined as needed. The above description is only the preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention can have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. An intelligent heating control system based on Python to perceive weather information, characterized in that: include: Python weather information sensing module, used to obtain weather forecast; Historical data storage module, used to store local weather historical data and corresponding heating strategies; The heating system comprises a hot water source, a water inlet pipe heating part and a water return pipe which are connected in sequence, wherein the end of the water return pipe is connected to the water inlet of the hot water source; and a valve for controlling the opening is provided on the water inlet pipe; The temperature monitoring module includes a room temperature monitoring unit, which is arranged in the user's room and is used to monitor the temperature in the user's room; The water temperature monitoring unit includes a first water temperature monitoring unit arranged on the hot water source, a second water temperature monitoring unit arranged on the water inlet pipe, and a third water temperature monitoring unit arranged on the water return pipe; the second water temperature monitoring unit is arranged at the inlet end of the water inlet pipe; the third water temperature monitoring unit is arranged at the outlet end of the water return pipe; The flow meter comprises a first flow meter arranged at the inlet end of the water inlet pipe and a second flow meter arranged at the outlet end of the water return pipe; A data acquisition module, wherein the data acquisition module is respectively connected with a flow meter, a Python weather information sensing module, a weather history data storage module, a temperature monitoring module and a valve signal for controlling the opening; The computer is connected with the data acquisition module and the valve signal for controlling the opening, and includes an analysis unit for analyzing weather forecasts and historical data and generating instructions according to the analysis results, wherein the instructions include instructions for adjusting the opening and the temperature of the hot water source; and an instruction sending unit for sending instructions for adjusting the opening and the temperature of the hot water source to the valve for controlling the opening.
2. An intelligent heating control method based on Python sensing weather information, characterized in that: The system of claim 1 is used to implement the method, comprising the following steps: Obtain weather forecast; the computer analyzes flow data, weather forecast, historical data and temperature monitoring information and generates instructions according to the analysis results, wherein the instructions include instructions for adjusting the opening and the temperature of the hot water source; an instruction sending unit is used to send instructions for adjusting the opening and the temperature of the hot water source to the valve controlling the opening.
3. The intelligent heating control method based on Python sensing weather information according to claim 2 is characterized in that: The analysis unit generates instructions in the following manner: matching corresponding weather historical data according to weather forecast, finding heating strategies corresponding to weather historical data, and sending instructions for adjusting the opening and hot water source temperature to the valve controlling the opening according to the heating strategy.
4. The intelligent heating control method based on Python sensing weather information according to claim 3 is characterized in that: Matching the corresponding weather historical data according to the weather forecast specifically includes the following steps: the weather forecast includes time, temperature and humidity; finding the temperature and humidity data corresponding to the time consistent with the weather forecast time in previous years in the weather historical data; the time consistent with the weather forecast time in previous years includes N days before and after the same date as the weather forecast time in previous years, N is a positive integer; finding M dates among the times consistent with the weather forecast time in previous years whose temperature-over-time curves of the day are closest to the weather forecast time, and selecting a date from the M dates that is closest to the humidity-over-time curve of the weather forecast time, that is, matching the corresponding weather historical data according to the weather forecast.
5. The intelligent heating control method based on Python sensing weather information according to claim 4 is characterized in that: Find the heating strategy corresponding to the weather history data, and send instructions for adjusting the opening and the temperature of the hot water source to the valve controlling the opening according to the heating strategy, and then also include the steps of adjusting the heating strategy according to the flow data, temperature data and opening data obtained by the data acquisition module, specifically including the following steps: Determine whether the temperature data of the room temperature monitoring module is within the set range. If not, determine whether the water temperature data of the first water temperature monitoring module, the second water temperature monitoring module and the third water temperature monitoring module are within the set range in turn. If the water temperature data of the first water temperature monitoring module is not within the set range, issue an instruction to adjust the temperature of the hot water source; If the water temperature data of the second water temperature monitoring module is not within the set range, an instruction to inspect the external pipeline is issued; if the water temperature data of the third water temperature monitoring module is not within the set range, it is determined whether the difference in water flow rate per unit time between the first flow meter and the second flow meter is within the set range. If so, an instruction to increase the valve opening is issued; if not, an instruction to inspect the indoor pipeline is issued; if the temperature of the room temperature monitoring module is still not within the set range after the inspection, the water temperature of the hot water source and / or the valve opening is adjusted until the temperature of the room temperature monitoring module is within the set range.
6. The intelligent heating control method based on Python sensing weather information according to claim 5 is characterized in that: After the step of adjusting the heating strategy according to the flow data, temperature data and opening data acquired by the data acquisition module, the method further includes the step of forming the adjustment instructions into a separate file and storing it in the original heating strategy as a trimming file.
7. The intelligent heating control method based on Python sensing weather information according to claim 6 is characterized in that: Before issuing the instruction to increase the valve opening, the method further includes the step of determining whether the temperatures of the second temperature monitoring module and the third temperature monitoring module satisfy the following relationship: in, T 预报 : Forecasted outdoor temperature; t, standard deviation, 10-20; T 第二 : The temperature of the second temperature monitoring module; T 第三 : The temperature of the third temperature monitoring module; 0.3 and 0.6: humidity values.
8. The intelligent heating control method based on Python sensing weather information according to claim 6 is characterized in that: Before issuing the instruction to increase the valve opening, the method further includes the step of determining whether the temperatures of the second temperature monitoring module and the third temperature monitoring module satisfy the following relationship: in, T 预报 : Forecasted outdoor temperature; S, indoor humidity value, 0.3-0.6; T 第二 : The temperature of the second temperature monitoring module; T 第三 : The temperature of the third temperature monitoring module; 10 and 20: The upper and lower limits of the standard deviation.
9. The intelligent heating control method based on Python sensing weather information according to claim 6 is characterized in that: Before issuing the instruction to increase the valve opening, the method further includes the step of determining whether the temperatures of the second temperature monitoring module and the third temperature monitoring module satisfy the following relationship: in, T 预报 : Forecasted outdoor temperature; S, indoor humidity value, 0.3-0.6; T 第二 : The temperature of the second temperature monitoring module; T 第三 : The temperature of the third temperature monitoring module; t, standard deviation, 10-20.
