A water heating control method, device, computer program product and storage medium based on three-section variable frequency division
Patent Information
- Application Number
- CN202610865673.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-06-16
- Publication Date
- 2026-10-16
AI Technical Summary
例如在酒店非入住高峰期,仅有少量房间需要热水,但加热设备依然满功率运转,无端消耗大量能源
本发明提出了一种基于三段变频划分的水加热控制方法、计算机程序产品及存储介质,划分为三个电价时段,并将三个电价时段中的每一个电价时段划分为对应的三个频率加热时段;所述三个频段分别对应的频率不同。基于每一个电价时段的电价、每一个电价时段对应的三个频率加热时段、三个频段分别对应的加热能效比和制热量,计算每一个电价时段的电费。以三个电价时段的总电费最低为目标函数,考虑每一个电价时段的允许加热时长约束、三个电价时段的总允许加热时长约束、总加热量约束,建立变频加热优化模型。通过求解所述变频加热优化模型,分别得到三个电价时段中每一个电价时段对应的三个频率加热时段的时长。基于所述每一个电价时段对应的三个频率加热时段的时长,在三个电价时段,分别对水进行加热。本发明能够基于峰谷电价信息、用户设定的允许加热时间、加热量等动态规划各频率段运行时长,使得加热系统能够根据用户的实际需求,精准规划加热过程,避免提前加热导致热量散失或延迟加热造成额外能耗,提升了用户体验,显著提高了能源利用效率,且有效降低了电费支出。这不仅减轻了企业的运营成本压力,还从宏观层面优化了能源资源的配置,促进了电力资源的合理利用。
Smart Images

Figure CN122927798A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of hot water heating control, and in particular to a water heating control method, device, computer program product and storage medium based on three-segment frequency conversion. Background Technology
[0002] Commercial hot water supply systems are systems that centrally provide domestic and process hot water to commercial venues such as hotels, hospitals, schools, and shopping malls. Common hot water heating methods include gas boilers, air source heat pumps, and solar thermal collectors. Compared to decentralized heating, centralized supply is more efficient and less expensive, making it a crucial infrastructure for ensuring the normal operation of commercial buildings and improving user experience. However, traditional heating control technologies have significant shortcomings in energy conservation.
[0003] On the one hand, most traditional heating methods currently use fixed-frequency heating, meaning that the heating equipment operates at a fixed frequency regardless of the demand for hot water. For example, during off-peak hotel occupancy periods, only a few rooms require hot water, but the heating equipment still operates at full power, needlessly consuming a large amount of energy. On the other hand, traditional heating methods often heat according to a preset fixed program and lack the ability to adjust heating power and time according to peak and off-peak electricity prices. During peak electricity price periods, even if the demand for hot water is not very urgent, traditional heating methods continue to heat at high power, leading to a significant increase in electricity costs; while during off-peak electricity price periods, traditional heating methods cannot take full advantage of the lower electricity prices for efficient heating, missing the opportunity to reduce operating costs, which is not conducive to the rational use of energy and also increases high heating costs. Summary of the Invention
[0004] Therefore, it is necessary to provide a water heating control method, computer program product and storage medium based on three-segment frequency conversion that can reasonably plan heating power and heating time according to actual hot water demand and peak and off-peak electricity price periods to address the above-mentioned technical problems.
[0005] A water heating control method based on three-segment frequency conversion includes the following steps: Based on the pre-acquired peak and valley electricity price information, a day is divided into three electricity price periods: peak electricity price period, flat electricity price period, and low electricity price period; Based on three preset frequency bands, each of the three electricity price periods is divided into three corresponding frequency heating periods; the three frequency bands correspond to different frequencies. Calculate the electricity cost for each electricity price period based on the electricity price for each electricity price period, the three frequency heating periods corresponding to each electricity price period, and the heating efficiency ratio and heating capacity corresponding to the three frequency bands respectively; Based on the electricity cost for each electricity price period, the total electricity cost for the three electricity price periods is calculated. Taking the minimum total electricity cost for the three electricity price periods as the objective function, and considering the allowable heating time constraints for each electricity price period, the total allowable heating time constraints for the three electricity price periods, and the total heating amount constraints, a variable frequency heating optimization model is established. Solve the variable frequency heating optimization model to obtain the duration of the three frequency heating periods corresponding to each of the three electricity price periods; Based on the duration of the three frequency heating periods corresponding to each electricity price period, the water is heated in each of the three electricity price periods.
[0006] Preferably, the three preset frequency bands include: low-frequency energy efficiency frequency F1, medium-frequency equalization frequency F2, and high-frequency load frequency F3. The low-frequency energy efficiency frequency F1 is the frequency corresponding to the highest heating energy efficiency ratio, the high-frequency load frequency F3 is the highest allowable frequency, and the frequency of the medium-frequency equalization frequency F2 is between the low-frequency energy efficiency frequency F1 and the high-frequency load frequency F3.
[0007] Preferably, dividing each of the three electricity price periods into three corresponding frequency heating periods includes: Peak electricity price periods are divided into low-frequency energy efficiency frequency (F1) heating periods. Medium-frequency equalization frequency F2 heating period and high-frequency load frequency F3 heating period ; The period of flat electricity price is divided into the low-frequency energy efficiency frequency F1 heating period. Medium-frequency equalization frequency F2 heating period and high-frequency load frequency F3 heating period ; The off-peak electricity price period is divided into low-frequency energy efficiency frequency F1 heating period. Medium-frequency equalization frequency F2 heating period and high-frequency load frequency F3 heating period .
[0008] Preferably, the heating time Heating time Heating time Heating time Heating time Heating time Heating time Heating time and heating time All are greater than or equal to 0 and are integers.
[0009] Preferably, the calculation of the electricity cost for each electricity price period based on the electricity price for each electricity price period, the three frequency heating periods corresponding to each electricity price period, and the heating efficiency ratio and heating capacity corresponding to the three frequency bands respectively includes: Calculate electricity charges during peak hours The expression is:
[0010] in, This indicates the electricity price during peak hours. , , These represent the heating efficiency ratios corresponding to the low-frequency energy efficiency frequency F1, the medium-frequency equalization frequency F2, and the high-frequency load frequency F3, respectively. , , These represent the heating capacity corresponding to low-frequency energy efficiency frequency F1, medium-frequency equilibrium frequency F2, and high-frequency load frequency F3, respectively. Electricity price during the flat electricity price period Calculate the electricity cost during the flat electricity price period. The expression is:
[0011] Electricity prices during off-peak hours Calculate electricity charges during off-peak hours. The expression is: .
[0012] Preferably, the variable frequency heating optimization model includes an objective function and constraints, with the objective function being the minimum total electricity cost across three electricity price periods. The objective function satisfies the following expression:
[0013] in, This indicates that the minimum value is being sought.
[0014] Preferably, considering the allowable heating duration constraint for each electricity price period, the total allowable heating duration constraint for the three electricity price periods, and the total heating amount constraint, the constraint conditions are constructed, including: The allowable heating duration for each electricity price period is defined as follows: The sum of the three heating frequency periods within each electricity price period should not exceed the allowable heating duration for that period.
[0015]
[0016]
[0017] in, This indicates the permitted heating duration during peak electricity pricing periods. This indicates the permitted heating duration during periods of flat electricity pricing. Indicates the permitted heating duration during off-peak electricity pricing periods; The total heating duration for the three electricity price periods is no greater than the preset total allowable heating duration, satisfying the expression:
[0018] in, Indicates the total allowable heating time; The total heating amount during the three electricity price periods is not less than the total heat demand, satisfying the expression:
[0019] in, This indicates the total heat required.
[0020] The present invention also proposes a computer device, including a processor and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, it implements the steps of a water heating control method based on three-segment frequency division.
[0021] The present invention also proposes a readable storage medium for storing computer program instructions, which, when executed by a processor, implement the steps in a water heating control method based on three-segment frequency conversion.
[0022] The present invention also proposes a computer program product, including computer instructions, which, when executed by a processor, implement the steps in the water heating control method based on three-segment frequency conversion.
[0023] Compared with the prior art, the beneficial effects of the technical solution of the present invention are: This invention proposes a water heating control method, computer program product, and storage medium based on three-segment variable frequency division. The method divides the electricity into three price periods, and each of these periods is further divided into three corresponding frequency heating periods; the three frequency bands correspond to different frequencies. Based on the electricity price of each price period, the three frequency heating periods corresponding to each price period, and the heating efficiency ratio and heating capacity of each frequency band, the electricity cost for each price period is calculated. Using the minimum total electricity cost across the three price periods as the objective function, and considering the allowable heating time constraints for each price period, the total allowable heating time constraints for the three price periods, and the total heating capacity constraints, a variable frequency heating optimization model is established. By solving the variable frequency heating optimization model, the duration of the three frequency heating periods corresponding to each of the three price periods is obtained. Based on the duration of the three frequency heating periods corresponding to each price period, water is heated in each of the three price periods. This invention dynamically plans the operating duration of each frequency segment based on peak and off-peak electricity prices, user-defined allowable heating time, and heating capacity. This allows the heating system to accurately plan the heating process according to the user's actual needs, avoiding heat loss due to premature heating or additional energy consumption due to delayed heating. This improves the user experience, significantly increases energy efficiency, and effectively reduces electricity costs. This not only alleviates the operating cost pressure on enterprises but also optimizes the allocation of energy resources at a macro level, promoting the rational use of electricity resources. Attached Figure Description
[0024] Figure 1 This is a flowchart illustrating a water heating control method based on three-segment frequency conversion in one embodiment; Figure 2 This is a diagram showing the traversal results of solving the variable frequency heating optimization model in one embodiment; Figure 3 This is a diagram showing the traversal results of solving the frequency conversion heating optimization model without electricity price information in one embodiment; Figure 4 This is a structural diagram of a computer device in one embodiment. Detailed Implementation
[0025] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0026] Example 1 This embodiment provides a water heating control method based on three-segment frequency conversion. The flowchart of this method can be found here. Figure 1 This includes the following steps: S1: Based on the pre-acquired peak and valley electricity price information, the day is divided into three electricity price periods: peak electricity price period, flat electricity price period, and low valley electricity price period; S2: Based on three preset frequency bands, each of the three electricity price periods is divided into three corresponding frequency heating periods; the three frequency bands correspond to different frequencies; S3: Calculate the electricity cost for each electricity price period based on the electricity price for each electricity price period, the three frequency heating periods corresponding to each electricity price period, and the heating efficiency ratio and heating capacity corresponding to the three frequency bands respectively; S4: Based on the electricity cost of each electricity price period, calculate the total electricity cost of the three electricity price periods. With the minimum total electricity cost of the three electricity price periods as the objective function, and considering the allowable heating time constraints of each electricity price period, the total allowable heating time constraints of the three electricity price periods, and the total heating amount constraints, establish a variable frequency heating optimization model. S5: Solve the variable frequency heating optimization model to obtain the duration of the three frequency heating periods corresponding to each of the three electricity price periods; S6: Based on the duration of the three frequency heating periods corresponding to each electricity price period, the water is heated in each of the three electricity price periods.
[0027] In this embodiment, based on pre-acquired peak and off-peak electricity price information, a day is divided into three electricity price periods: peak price period, flat price period, and off-peak price period. Based on three preset frequency bands, each of the three electricity price periods is further divided into three corresponding frequency heating periods. The three frequency bands correspond to different frequencies. Based on the electricity price of each electricity price period, the three frequency heating periods corresponding to each electricity price period, and the heating efficiency ratio and heating capacity corresponding to each of the three frequency bands, the electricity cost for each electricity price period is calculated. The total heat required is calculated based on the water tank capacity, the current water tank temperature, and the target water tank temperature. The total allowable heating time is calculated based on the absolute time point set by the user.
[0028] Based on the electricity cost for each electricity price period, the total electricity cost for the three electricity price periods is calculated. Taking the minimum total electricity cost for the three electricity price periods as the objective function, and considering the allowable heating duration constraints for each electricity price period, the total allowable heating duration constraints for the three electricity price periods, and the total heating amount constraints, a variable frequency heating optimization model is established. The variable frequency heating optimization model is solved to obtain the duration of the three frequency heating periods corresponding to each of the three electricity price periods.
[0029] Based on the duration of the three frequency heating periods corresponding to each electricity price period, water is heated separately during the three electricity price periods. The settings are updated every 10 minutes or when the operating conditions change, reducing the impact of dynamic water tank temperature and ambient temperature on the duration of the three frequency heating periods.
[0030] In this embodiment, the three preset frequency bands include: low-frequency energy efficiency frequency F1, medium-frequency equalization frequency F2, and high-frequency load frequency F3. The low-frequency energy efficiency frequency F1 is the frequency corresponding to the highest heating energy efficiency ratio, the high-frequency load frequency F3 is the highest allowable frequency, and the frequency of the medium-frequency equalization frequency F2 is between the low-frequency energy efficiency frequency F1 and the high-frequency load frequency F3.
[0031] Specifically, the high-frequency load frequency F3 is the highest permissible frequency at which the corresponding unit can operate safely for a long time under the target operating conditions. The frequency of the medium-frequency equalization frequency F2 is between the low-frequency energy efficiency frequency F1 and the high-frequency load frequency F3. It is usually selected as the point where the energy efficiency and heating capacity are well balanced within the commonly used temperature rise range.
[0032] In this embodiment, the low-frequency energy efficiency frequency F1, the medium-frequency equalization frequency F2, and the high-frequency load frequency F3 are all nominal values. During actual control, the low-frequency energy efficiency frequency F1, the medium-frequency equalization frequency F2, and the high-frequency load frequency F3 are corrected by referring to the unit's variable operating condition performance table based on the real-time ambient temperature and water tank temperature. The corresponding input power P1, input power P2, input power P3, and heating capacity Q1, heating capacity Q2, and heating capacity Q3 are obtained. That is, based on the operating conditions, the low-frequency frequency table, the medium-frequency frequency table, and the high-frequency frequency table are obtained through experiments. The corresponding low-frequency power table, the medium-frequency power table, and the high-frequency power table are obtained for the power, and the corresponding low-frequency heating capacity table, the medium-frequency heating capacity table, and the high-frequency heating capacity table are obtained for the heating capacity.
[0033] This embodiment, through precise calibration of three optimal energy efficiency operating points, enables the heating system to find the best energy-saving operating frequency under different load conditions. In particular, the low-frequency energy efficiency frequency F1, when operating at low loads, can significantly reduce energy consumption compared to traditional heating systems, effectively reducing energy waste. By dynamically adjusting the parameter table, the heating system can adapt to different ambient temperatures, always maintaining highly efficient and energy-saving operation, which can save enterprises a significant amount of energy costs in the long run.
[0034] The method of dividing each of the three electricity price periods into three corresponding frequency heating periods includes: Peak electricity price periods are divided into low-frequency energy efficiency frequency (F1) heating periods. Medium-frequency equalization frequency F2 heating period and high-frequency load frequency F3 heating period ; The period of flat electricity price is divided into the low-frequency energy efficiency frequency F1 heating period. Medium-frequency equalization frequency F2 heating period and high-frequency load frequency F3 heating period ; The off-peak electricity price period is divided into low-frequency energy efficiency frequency F1 heating period. Medium-frequency equalization frequency F2 heating period and high-frequency load frequency F3 heating period .
[0035] Specifically, the total duration of the low-frequency energy efficiency F1 heating period The expression is: Total duration of medium-frequency equalization frequency F2 heating period The expression is: High-frequency load frequency F3 heating period The expression is: .
[0036] Heating time Heating time Heating time Heating time Heating time Heating time Heating time Heating time and heating time All are greater than or equal to 0 and are integers.
[0037] The calculation of electricity costs for each electricity price period, based on the electricity price for each electricity price period, the three frequency heating periods corresponding to each electricity price period, and the heating efficiency ratio and heating capacity corresponding to the three frequency bands, includes: Calculate electricity charges during peak hours The expression is:
[0038] in, This indicates the electricity price during peak hours. , , These represent the heating efficiency ratios corresponding to the low-frequency energy efficiency frequency F1, the medium-frequency equalization frequency F2, and the high-frequency load frequency F3, respectively. , , These represent the heating capacity corresponding to low-frequency energy efficiency frequency F1, medium-frequency equilibrium frequency F2, and high-frequency load frequency F3, respectively. Electricity price during the flat electricity price period Calculate the electricity cost during the flat electricity price period. The expression is:
[0039] Electricity prices during off-peak hours Calculate electricity charges during off-peak hours. The expression is: .
[0040] Specifically, the heating efficiency ratio is calculated based on the input power and heating capacity corresponding to each frequency, i.e., the heating efficiency ratio of the low-frequency efficiency frequency F1. The heating energy efficiency ratio of medium-frequency balanced frequency F2 High-frequency load frequency F3 heating energy efficiency ratio .
[0041] The variable frequency heating optimization model includes an objective function and constraints. The objective function is to minimize the total electricity cost during the three electricity price periods. The objective function satisfies the following expression:
[0042] in, This indicates that the minimum value is being sought.
[0043] Considering the allowable heating duration constraints for each electricity price period, the total allowable heating duration constraints for the three electricity price periods, and the total heating amount constraints, construct the following constraint conditions: The allowable heating duration for each electricity price period is defined as follows: The sum of the three heating frequency periods within each electricity price period should not exceed the allowable heating duration for that period.
[0044]
[0045]
[0046] in, This indicates the permitted heating duration during peak electricity pricing periods. This indicates the permitted heating duration during periods of flat electricity pricing. Indicates the permitted heating duration during off-peak electricity pricing periods; The total heating duration for the three electricity price periods is not greater than the preset total allowable heating duration, satisfying the expression:
[0047] in, Indicates the total allowable heating time; The total heating amount during the three electricity price periods is not less than the total heat demand, satisfying the expression:
[0048] in, This indicates the total heat required.
[0049] In this embodiment, the operating time of each frequency segment is dynamically planned based on peak and off-peak electricity price information, user-defined allowable heating time, and heating capacity. This allows the heating system to accurately plan the heating process according to the user's actual needs, avoiding heat loss due to premature heating or additional energy consumption due to delayed heating. This improves the user experience, significantly increases energy efficiency, and effectively reduces electricity costs. This not only alleviates the operating cost pressure on enterprises but also optimizes the allocation of energy resources at a macro level, promoting the rational use of electricity resources.
[0050] Example 2 Furthermore, this embodiment provides a specific example of constructing and solving a variable frequency heating optimization model: Based on the pre-acquired peak and off-peak electricity price information, a 24-hour day is divided into three electricity price periods: Peak electricity price period: 08:00–20:00, a total of 12 hours, with an electricity price of 1.2 yuan / kWh; Flat electricity price period: 07:00, 20:00–23:00, a total of 6 hours, with an electricity price of 0.7 yuan / kWh; Off-peak electricity price period: 23:00–07:00, a total of 6 hours, with an electricity price of 0.3 yuan / kWh.
[0051] The data to be acquired includes: a total allowable heating time (total operating time of the entire unit) of less than or equal to 8 hours, heating starting at 5:00 AM to meet the hysteresis requirement, and ending the heating process at 1:00 PM; therefore, the allowable heating time is 5 hours during peak electricity price periods, 1 hour during flat electricity price periods, and 2 hours during off-peak electricity price periods; and a total heat demand ≥ 100kW. h; Heating capacity corresponding to low-frequency energy efficiency frequency F1 10kW, heating energy efficiency ratio The heating capacity is 4.0, corresponding to the medium-frequency equalization frequency F2. 15kW, heating energy efficiency ratio The heating capacity is 3.5, corresponding to the high-frequency load frequency F3. 20kW, heating energy efficiency ratio It is version 2.0.
[0052] Calculate the electricity cost during peak electricity price periods based on the electricity price for each price period, the three frequency heating periods corresponding to each price period, and the heating efficiency ratio and heating capacity corresponding to the three frequency bands. Electricity charges during off-peak electricity pricing periods Electricity charges during off-peak hours The expression is:
[0053]
[0054]
[0055] The constructed variable frequency heating optimization model includes an objective function and constraints. The objective function is to minimize the total electricity cost during the three electricity price periods. The objective function satisfies the following expression:
[0056] Considering the allowable heating duration constraints for each electricity price period, the total allowable heating duration constraints for the three electricity price periods, and the total heating amount constraints, construct the following constraint conditions: The constraint that the sum of the three heating frequency periods for each electricity price period is not greater than the allowable heating duration for that electricity price period satisfies the following expression:
[0057]
[0058]
[0059] The constraint that the total heating time of the three electricity price periods shall not exceed the preset total allowable heating time satisfies the following expression:
[0060] The constraint that the total heating amount during the three electricity price periods is not less than the total heat demand satisfies the following expression:
[0061] Solve the variable frequency heating optimization model, iterate through all cases, and the iteration results are as follows: Figure 2 As shown, the horizontal axis represents the index of all feasible solutions, and the vertical axis represents the total electricity cost for the three electricity price periods. The feasible solution with the lowest total electricity cost for the three electricity price periods is taken as the optimal solution. The duration of the three frequency heating periods corresponding to each of the three electricity price periods is obtained as follows: Peak electricity price period: Low-frequency energy efficiency F1 heating period Medium-frequency equalization frequency F2 heating period High-frequency load frequency F3 heating period ; Electricity pricing period: Low-frequency energy efficiency F1 heating period Medium-frequency equalization frequency F2 heating period High-frequency load frequency F3 heating period ; Off-peak electricity pricing periods: Low-frequency energy efficiency F1 heating periods Medium-frequency equalization frequency F2 heating period High-frequency load frequency F3 heating period .
[0062] The total electricity cost for the three electricity price periods is as low as 22.286 yuan.
[0063] Based on the duration of the three frequency heating periods corresponding to each electricity price period, the water is heated in each of the three electricity price periods.
[0064] Example 3 In this embodiment, without peak and off-peak electricity price information (i.e., without setting three electricity price periods), the objective function is to minimize total power consumption. Considering constraints on total allowable heating time and total heating amount, a variable frequency heating optimization model without electricity price information is constructed, specifically as follows: Based on the heating efficiency ratio and heating capacity corresponding to the three frequency heating periods and the three frequency bands, the total power consumption is calculated as follows:
[0065] in, This is the low-frequency energy efficiency frequency F1 heating period. This is the heating period for the medium-frequency equalization frequency F2. For the high-frequency load frequency F3 heating period, X, Y, Z ≥ 0 and are integers.
[0066] The variable frequency heating optimization model without electricity price information includes an objective function and constraints. The objective function satisfies the following expression:
[0067] The total heating time of the three frequency heating periods shall not exceed the preset total allowable heating time. Satisfies the expression:
[0068] The total heating amount during the three heating periods is greater than the preset total heat demand. Satisfies the expression:
[0069] Solve the variable frequency heating optimization model without electricity price information to obtain the duration of the heating period for the three frequencies; based on the duration of the three heating periods, heat the water respectively.
[0070] This embodiment also provides a specific example of constructing and solving a variable frequency heating optimization model without electricity price information: The data to be acquired includes: total heat demand. Total allowable heating time Heating capacity corresponding to low-frequency energy efficiency frequency F1 10kW, heating energy efficiency ratio The value is 4.0, corresponding to the heating capacity at the mid-frequency equalization frequency F2. 15kW, heating energy efficiency ratio The value is 3.5, corresponding to the heating capacity under high-frequency load frequency F3. 20kW, heating energy efficiency ratio It is version 2.0.
[0071] The objective function of the variable frequency heating optimization model without electricity price information satisfies the following expression:
[0072] The constraints of the variable frequency heating optimization model without electricity price information include: The total heating time of the three frequency heating periods shall not exceed the preset total allowable heating time. Satisfies the expression:
[0073] The total heating amount during the three heating periods is greater than the preset total heat demand. Satisfies the expression:
[0074] Solve the variable frequency heating optimization model, iterate through all cases, and the iteration results are as follows: Figure 3 As shown, the horizontal axis represents the total allowable heating time, and the vertical axis represents the total power consumption. The feasible solution with the lowest total power consumption is taken as the optimal solution, and the duration of the heating periods at the three frequencies is obtained as follows: Low-frequency energy efficiency F1 heating period Medium-frequency equalization frequency F2 heating period During the high-frequency load F3 heating period The total power consumption was as low as 27.14 kW·h. Water was heated based on the duration of three heating periods at different frequencies.
[0075] Example 4 This application provides a computer device, including a processor, a memory, and a program stored in the memory and executable on the processor. When the program is executed by the processor, it implements the various processes of the above-described water heating control method embodiment based on three-segment frequency division and achieves the same technical effect. To avoid repetition, it will not be described again here.
[0076] For details, see Figure 4 This application also provides a computer device, including a bus 401, a transceiver 402, an antenna 403, a bus interface 404, a processor 405, and a memory 406.
[0077] The transceiver 402 is used to acquire peak and valley electricity price information and at least one of the heating energy efficiency ratio and heating capacity corresponding to the three frequency bands respectively; The processor 405 is used to divide a day into three electricity price periods based on pre-acquired peak and off-peak electricity price information: peak electricity price period, flat electricity price period, and off-peak electricity price period; based on three preset frequency bands, each of the three electricity price periods is divided into three corresponding frequency heating periods; the three frequency bands correspond to different frequencies; based on the electricity price of each electricity price period, the three frequency heating periods corresponding to each electricity price period, and the heating efficiency ratio and heating capacity corresponding to the three frequency bands, the electricity cost of each electricity price period is calculated; based on the electricity cost of each electricity price period, the total electricity cost of the three electricity price periods is calculated, and with the minimum total electricity cost of the three electricity price periods as the objective function, considering the allowable heating duration constraint of each electricity price period, the total heating duration constraint of the three electricity price periods, and the total heating capacity constraint, a variable frequency heating optimization model is established; the variable frequency heating optimization model is solved to obtain the duration of the three frequency heating periods corresponding to each of the three electricity price periods; based on the duration of the three frequency heating periods corresponding to each electricity price period, water is heated in each of the three electricity price periods.
[0078] exist Figure 4 In this context, a bus architecture (represented by bus 401) is used. Bus 401 can include any number of interconnected buses and bridges, linking various circuits including one or more processors represented by processor 405 and memory represented by memory 406. Bus 401 can also link various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and therefore will not be described further herein. Bus interface 404 provides an interface between bus 401 and transceiver 402. Transceiver 402 can be a single element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices over a transmission medium. Data processed by processor 405 is transmitted over a wireless medium via antenna 403, which further receives data and transmits data to processor 405.
[0079] Processor 405 is responsible for managing bus 401 and general processing, and can also provide various functions, including timing, peripheral interface, voltage regulation, power management, and other control functions. Memory 406 can be used to store data used by processor 405 during operation.
[0080] Optionally, the processor 405 may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or a complex programmable logic device (CPLD).
[0081] This application also provides a computer-readable storage medium storing a computer program. When executed by a processor, this computer program implements the various processes of the above-described water heating control method embodiment based on three-segment frequency division, and achieves the same technical effect. To avoid repetition, it will not be described again here. The computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, etc.
[0082] This application also provides a computer program product, including computer instructions. When executed by a processor, these computer instructions implement the various processes of the above-described water heating control method embodiment based on three-segment frequency division, and achieve the same technical effect. To avoid repetition, they will not be described again here.
Claims
1. A water heating control method based on three-segment frequency conversion, characterized in that, Includes the following steps: Based on the pre-acquired peak and valley electricity price information, a day is divided into three electricity price periods: peak electricity price period, flat electricity price period, and low electricity price period; Based on three preset frequency bands, each of the three electricity price periods is divided into three corresponding frequency heating periods; the three frequency bands correspond to different frequencies. Calculate the electricity cost for each electricity price period based on the electricity price for each electricity price period, the three frequency heating periods corresponding to each electricity price period, and the heating efficiency ratio and heating capacity corresponding to the three frequency bands respectively; Based on the electricity cost for each electricity price period, the total electricity cost for the three electricity price periods is calculated. Taking the minimum total electricity cost for the three electricity price periods as the objective function, and considering the allowable heating time constraints for each electricity price period, the total allowable heating time constraints for the three electricity price periods, and the total heating amount constraints, a variable frequency heating optimization model is established. Solve the variable frequency heating optimization model to obtain the duration of the three frequency heating periods corresponding to each of the three electricity price periods; Based on the duration of the three frequency heating periods corresponding to each electricity price period, the water is heated in each of the three electricity price periods.
2. The water heating control method based on three-segment frequency conversion according to claim 1, characterized in that, The three preset frequency bands include: low-frequency energy efficiency frequency F1, medium-frequency equalization frequency F2, and high-frequency load frequency F3. The low-frequency energy efficiency frequency F1 is the frequency corresponding to the highest heating energy efficiency ratio, the high-frequency load frequency F3 is the highest allowable frequency, and the frequency of the medium-frequency equalization frequency F2 is between the low-frequency energy efficiency frequency F1 and the high-frequency load frequency F3.
3. The water heating control method based on three-segment frequency conversion according to claim 2, characterized in that, The method of dividing each of the three electricity price periods into three corresponding frequency heating periods includes: Peak electricity price periods are divided into low-frequency energy efficiency frequency (F1) heating periods. Medium-frequency equalization frequency F2 heating period and high-frequency load frequency F3 heating period ; The period of flat electricity price is divided into the low-frequency energy efficiency frequency F1 heating period. Medium-frequency equalization frequency F2 heating period and high-frequency load frequency F3 heating period ; The off-peak electricity price period is divided into low-frequency energy efficiency frequency F1 heating period. Medium-frequency equalization frequency F2 heating period and high-frequency load frequency F3 heating period .
4. The water heating control method based on three-segment frequency conversion according to claim 3, characterized in that, Heating time Heating time Heating time Heating time Heating time Heating time Heating time Heating time and heating time All are greater than or equal to 0 and are integers.
5. The water heating control method based on three-segment frequency conversion according to claim 3, characterized in that, The calculation of electricity costs for each electricity price period, based on the electricity price for each electricity price period, the three frequency heating periods corresponding to each electricity price period, and the heating efficiency ratio and heating capacity corresponding to the three frequency bands, includes: Calculate electricity charges during peak hours The expression is: in, This indicates the electricity price during peak hours. , , These represent the heating efficiency ratios corresponding to the low-frequency energy efficiency frequency F1, the medium-frequency equalization frequency F2, and the high-frequency load frequency F3, respectively. , , These represent the heating capacity corresponding to low-frequency energy efficiency frequency F1, medium-frequency equilibrium frequency F2, and high-frequency load frequency F3, respectively. Electricity price during the flat electricity price period Calculate the electricity cost during the flat electricity price period. The expression is: Electricity prices during off-peak hours Calculate electricity charges during off-peak hours. The expression is: 。 6. A water heating control method based on three-segment frequency conversion according to claim 5, characterized in that, The variable frequency heating optimization model includes an objective function and constraints. The objective function is to minimize the total electricity cost during the three electricity price periods. The objective function satisfies the following expression: in, This indicates that the minimum value is being sought.
7. A water heating control method based on three-segment frequency conversion according to claim 6, characterized in that, Considering the allowable heating duration constraints for each electricity price period, the total allowable heating duration constraints for the three electricity price periods, and the total heating amount constraints, construct the following constraint conditions: The allowable heating duration for each electricity price period is defined as follows: The sum of the three heating frequency periods within each electricity price period should not exceed the allowable heating duration for that period. in, This indicates the permitted heating duration during peak electricity pricing periods. This indicates the permitted heating duration during periods of flat electricity pricing. Indicates the permitted heating duration during off-peak electricity pricing periods; The total heating duration for the three electricity price periods is not greater than the preset total allowable heating duration, satisfying the expression: in, Indicates the total allowable heating time; The total heating amount during the three electricity price periods is not less than the total heat demand, satisfying the expression: in, This indicates the total heat required.
8. A computer device, characterized in that, It includes a processor and a memory, the memory storing a computer program, which, when executed by the processor, implements the steps of a water heating control method based on three-segment frequency division as described in any one of claims 1 to 7.
9. A readable storage medium for storing computer program instructions, characterized in that, When the computer program instructions are executed by the processor, they implement the steps in the water heating control method based on three-segment frequency division as described in any one of claims 1 to 7.
10. A computer program product, characterized in that, It includes computer program instructions, which, when executed by a processor, implement the steps in a water heating control method based on three-segment frequency division as described in any one of claims 1 to 7.