Control method, heat pump system, and computer-readable storage medium
By optimizing the operating mode of the heat pump system and utilizing grid data and temperature data, the goal of reducing electricity costs under the peak-valley electricity price difference was achieved, solving the problem of high operating costs during peak electricity periods in existing technologies, and ensuring system stability and economy.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- TCL AIR CONDITIONER ZHONGSHAN CO LTD
- Filing Date
- 2026-06-04
- Publication Date
- 2026-07-31
AI Technical Summary
The control of existing residential heat pump systems does not take into account grid electricity price data, resulting in high operating costs during peak electricity periods and higher electricity bills for users.
By acquiring power grid data, system water temperature data, and ambient temperature data, the operating modes of the heat pump system are determined, including heat pump heating, heat pump heat storage, and water tank electric heating heat storage modes. The control strategy is then optimized to take advantage of peak and off-peak electricity price differences and reduce electricity costs.
While meeting heating demand, it reduces users' electricity costs and maintains system stability under constraints, reducing electricity consumption during peak hours.
Smart Images

Figure CN122486264A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of heat pump heating technology, specifically to a control method, a heat pump system, and a computer-readable storage medium. Background Technology
[0002] In related technologies, residential heat pump systems typically operate using simple timer control or manual user control to meet heating needs.
[0003] Because the control of heat pump systems does not take into account grid data, such as grid electricity price data, the operating cost is high during peak electricity hours, which will result in higher electricity bills for users when using heat pump systems. Summary of the Invention
[0004] This application provides a control method, a heat pump system, and a computer-readable storage medium that can utilize peak and off-peak electricity periods of the power grid for heat pump heat storage and electric heating heat storage, thereby meeting heating demand, ensuring system operation, and reducing users' electricity costs.
[0005] In a first aspect, embodiments of this application provide a control method applied to a heat pump system. The heat pump system has a first mode, a second mode, a third mode, and a fourth mode. The first mode is a heat pump heating mode, the second mode is a heat pump heating and water tank heat storage mode, the third mode is a heat pump heating and water tank electric heating heat storage mode, and the fourth mode is a water tank heating mode. The control method includes: The system acquires grid data, system water temperature data, ambient temperature data, and power capacity data of the heat pump system during the control period; the control period includes off-peak electricity periods and peak electricity periods. Based on the power grid data and the power capacity data, determine the target correspondence between the combination of the first target duration corresponding to the second mode and the second target duration corresponding to the third mode and the total target electricity cost; Based on the power grid data, the system water temperature data, and the ambient temperature data, the target constraints are determined. With the goal of minimizing the total target electricity cost, the first target duration and the second target duration are determined based on the target constraints and the target correspondence. Based on the power grid data, the first target duration, and the second target duration, the heat pump system is controlled to operate sequentially in the first mode, the second mode, the third mode, and the fourth mode within the control cycle.
[0006] In some embodiments, the power capacity data includes generator power and rated electric heating power, and the grid data includes off-peak electricity price. Determining the target correspondence between the combination of the first target duration corresponding to the second mode and the second target duration corresponding to the third mode, and the total target electricity cost based on the grid data and the power capacity data includes: determining a first correspondence between the first target duration and the first electricity cost corresponding to the second mode based on the generator power, the first target duration, and the off-peak electricity price; determining a second correspondence between the second target duration and the second electricity cost corresponding to the third mode based on the rated electric heating power, the second target duration, and the off-peak electricity price; and determining the target correspondence based on the first and second correspondences.
[0007] In some embodiments, the power grid data includes off-peak electricity duration, and the target constraints include heat constraints, water temperature constraints, heating constraints, and time constraints. Determining the target constraints based on the power grid data, the system water temperature data, and the ambient temperature data includes: determining the total heat storage, the peak electricity supply required for the peak electricity period, the first water tank temperature at the end of the third mode, and the upper limit of the heating duration corresponding to the second mode, based on the power grid data, the system water temperature data, and the ambient temperature data; determining the total target duration based on the first target duration and the second target duration; using the total heat storage ≥ the peak electricity supply as the heat constraint; using the first water tank temperature ≤ the upper limit of the water tank temperature as the water temperature constraint; using 0 ≤ the first target duration ≤ the upper limit of the heating duration as the heating constraint; and using 0 ≤ the total target duration ≤ the off-peak electricity duration as the time constraint.
[0008] In some embodiments, the total heat storage is determined based on the following methods: calculating the heating capacity of the second mode corresponding to the second mode based on the power capacity data and the first target duration; calculating the terminal load of the second mode corresponding to the second mode based on the system water temperature data and the first target duration; subtracting the heating capacity of the second mode from the terminal load of the second mode to obtain the heat storage of the second mode corresponding to the second mode; calculating the heat storage of the third mode corresponding to the third mode based on the power capacity data and the second target duration; and adding the heat storage of the second mode to the heat storage of the third mode to obtain the total heat storage.
[0009] In some embodiments, the power grid data includes peak electricity duration, the system water temperature data includes average inlet temperature and average outlet temperature at the off-peak electricity terminal, the ambient temperature data includes indoor temperature, average outdoor temperature at the off-peak electricity terminal, and average outdoor temperature at the peak electricity terminal, and the peak electricity heating supply is determined based on the following method: prediction based on the indoor temperature, the average inlet temperature and average outlet temperature at the off-peak electricity terminal, the average outdoor temperature at the off-peak electricity terminal, and the average outdoor temperature at the peak electricity terminal to obtain the average inlet temperature and average outlet temperature at the peak electricity terminal; calculation based on the average inlet temperature and average outlet temperature at the peak electricity terminal and the peak electricity duration to obtain the peak electricity heating supply.
[0010] In some embodiments, the system water temperature data includes the current water tank temperature, and the first water tank temperature is determined based on the following methods: the second water tank temperature at the end of the second mode is calculated based on the heat storage of the second mode, the current water tank temperature, and the water tank capacity; the first water tank temperature is calculated based on the heat storage of the third mode, the second water tank temperature, and the water tank capacity.
[0011] In some embodiments, the system water temperature data includes the current water tank temperature, the average inlet water temperature at the off-peak electricity terminal, and the average outlet water temperature at the off-peak electricity terminal; the power capacity data includes the unit's heating capacity; and the upper limit of the heating duration is determined based on the following method: the upper limit of the heating duration is calculated based on the upper limit of the unit's outlet water temperature, a preset water temperature difference, the current water tank temperature, the unit's heating capacity, the average inlet water temperature at the off-peak electricity terminal, and the average outlet water temperature at the off-peak electricity terminal.
[0012] In some embodiments, the grid data includes the start time of off-peak electricity, the duration of off-peak electricity, the end time of off-peak electricity, the duration of peak electricity, and the end time of peak electricity. Controlling the heat pump system to sequentially operate in the first mode, the second mode, the third mode, and the fourth mode within the control cycle based on the grid data, the first target duration, and the second target duration includes: determining the start time of the third mode corresponding to the third mode based on the end time of off-peak electricity and the second target duration; determining the start time of the second mode corresponding to the second mode based on the start time of the third mode and the first target duration; controlling the heat pump system to operate in the first mode during the time from the start time of off-peak electricity to the start time of the second mode; controlling the heat pump system to operate in the second mode during the time from the start time of the second mode to the start time of the third mode; controlling the heat pump system to operate in the third mode during the time from the start time of the third mode to the end time of off-peak electricity; and controlling the heat pump system to operate in the fourth mode during the time from the end time of off-peak electricity to the end time of peak electricity.
[0013] Secondly, embodiments of this application provide a heat pump system, which includes a heat pump module, a heat transfer module, a thermal storage and heating module, a flow regulation module, an energy-consuming terminal module, and a control module. The output terminal of the heat pump module is connected to the input terminal of the heat transfer module and the input terminal of the thermal storage and heating module. The output terminals of the heat transfer module and the thermal storage and heating module are both connected to a first terminal of the flow regulation module. The second terminal of the flow regulation module is connected to the input terminal of the energy-consuming terminal module. The output terminal of the flow regulation module is connected to the input terminal of the heat pump module. The control module is connected to the heat pump module, the heat transfer module, the thermal storage and heating module, the flow regulation module, and the energy-consuming terminal module. The control module is configured to execute the control method described in any of the above embodiments.
[0014] Thirdly, embodiments of this application provide a computer-readable storage medium having a computer program stored thereon, the computer program being loaded by a processor to execute the steps of the control method described in any of the above embodiments.
[0015] This application provides a control method, a heat pump system, and a computer-readable storage medium. By acquiring grid data, system water temperature data, ambient temperature data, and the power capacity data of the heat pump system within a control cycle, this application can obtain information on electricity price periods, heating demand, and system operating capacity, providing a basis for subsequent optimized control. Based on the grid data and power capacity data, the application determines the target correspondence between the combination of the first target duration corresponding to the second mode and the second target duration corresponding to the third mode, and the total target electricity cost. This quantifies the electricity cost differences under different control strategies (i.e., different combinations of the first and second target durations). Based on the grid data, system water temperature data, and ambient temperature data, target constraints are determined, enabling the control strategy to meet conditions such as heating stability, water temperature safety, and equipment operating limitations, thus providing a reasonable control boundary. With the goal of minimizing the total target electricity cost, the application determines the first and second target durations based on the target constraints and target correspondence. This allows the use of peak-valley electricity price differences to achieve the goal of low electricity costs while maintaining system stability under the constraints. Based on grid data, the first target duration, and the second target duration, the heat pump system is controlled to operate in the first mode, the second mode, the third mode, and the fourth mode sequentially within the control cycle. This enables the orderly implementation of heat pump direct supply, heat pump heat storage, heat pump combined with electric heating heat storage, and water tank heat release modes. While stably meeting users' heating needs and ensuring system operation, this reduces off-peak electricity heat storage costs and decreases electricity consumption during peak hours. Attached Figure Description
[0016] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0017] Figure 1 This is a structural block diagram of a heat pump system provided in an embodiment of the present invention.
[0018] Figure 2 This is a schematic diagram of the structure of a heat pump system provided in an embodiment of the present invention.
[0019] Figure 3 This is a flowchart illustrating a control method provided in an embodiment of the present invention.
[0020] Figure 4 This is a flowchart illustrating the steps of determining target constraints in a control method provided by an embodiment of the present invention.
[0021] Figure 5 This is a schematic diagram of the timeline of mode switching of a heat pump system within a control cycle, provided by an embodiment of the present invention.
[0022] Figure 6 This is a schematic diagram of the timeline of mode switching of a heat pump system within a control cycle, provided by another embodiment of the present invention. Detailed Implementation
[0023] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0024] In the description of this application, the terms "first," "second," "third," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined with "first," "second," "third," etc., may explicitly or implicitly include one or more features.
[0025] In this application, the term "exemplary" is used to mean "used as an example, illustration, or description." Any embodiment described as "exemplary" in this application is not necessarily to be construed as being more preferred or advantageous than other embodiments. The following description is provided to enable any person skilled in the art to make and use this application. Details are set forth in the following description for purposes of explanation. It should be understood that those skilled in the art will recognize that this application can be made without using these specific details. In other instances, well-known structures and processes are not described in detail to avoid obscuring the description of this application with unnecessary detail. Therefore, this application is not intended to be limited to the embodiments shown, but is consistent with the broadest scope of the principles and features disclosed in this application.
[0026] It should be noted that since the method in this application embodiment is executed in a computer device, the processing objects of each computer device exist in the form of data or information, such as time, which is essentially time information. It is understood that if size, quantity, position, etc. are mentioned in subsequent embodiments, they are all corresponding data that exist so that the computer device can process them. Specific details will not be elaborated here.
[0027] This application provides a heat pump system 100, such as... Figure 1 As shown, the heat pump system 100 includes a heat pump module 101, a heat transfer module 102, a heat storage heating module 103, a flow regulation module 104, an energy consumption terminal module 105, and a control module 106 (not shown). Specifically, the output terminal of the heat pump module 101 is connected to the input terminals of the heat transfer module 102 and the heat storage heating module 103. The output terminals of both the heat transfer module 102 and the heat storage heating module 103 are connected to the first terminal of the flow regulation module 104. The second terminal of the flow regulation module 104 is connected to the input terminal of the energy consumption terminal module 105. The output terminal of the flow regulation module 104 is connected to the input terminal of the heat pump module 101. The control module 106 is connected to the heat pump module 101, the heat transfer module 102, the heat storage heating module 103, the flow regulation module 104, and the energy consumption terminal module 105. The control module 106 is configured to execute the control method of any of the following embodiments.
[0028] The heat pump module 101 may include an air source heat pump unit for heat pump heating.
[0029] The heat transfer module 102 may include a valve switch structure for adjusting the on / off state and flow rate of the heat pump module 101 supplying hot water to the downstream stage.
[0030] The heat storage heating module 103 may include a heat storage structure (e.g., a water tank) and a heating structure (e.g., an electric heater) for receiving hot water output from the heat pump module 101 and for heating the water in the heat storage structure.
[0031] The flow regulation module 104 includes a flow regulation structure, such as a water valve or a three-way valve, and has the functions of flow ratio regulation and inlet / outlet water temperature detection.
[0032] The energy-consuming terminal module 105 includes terminal devices, such as domestic water faucets and heating equipment, which are used to provide hot water or heat at the terminal.
[0033] The control module 106 is capable of executing the control method described in the following embodiments to utilize peak and off-peak electricity periods of the power grid for heat pump heat storage and electric heating heat storage, thereby meeting heating demand, ensuring system operation, and reducing user electricity costs. The control module 106 includes a controller, a memory, a driver, and other structures to perform its logical operations, storage, and driving functions (such as driving the opening and closing of electric valves and the switching on and off of water pumps).
[0034] In some embodiments, such as Figure 2 As shown, the heat pump module 101 includes a heat pump unit 1, a unit water pump 2, and a first temperature sensor 3. The heat transfer module 102 includes a first electric valve 4 and a second temperature sensor 5. The heat storage heating module 103 includes a second electric valve 6, a hot water storage tank 7, a third temperature sensor 8, and an electric heater 9. The flow regulation module 104 includes a three-way valve 10. The energy consumption terminal module 105 includes a circulating water pump 11, a fourth temperature sensor 12, a terminal device 13, and a fifth temperature sensor 14.
[0035] Specifically, in the heat pump module 101, the heat pump unit 1 can be an air source heat pump unit, used to provide heat by means of a compression cycle according to the instructions of the control module 106. The heat pump unit 1 has a unit water pump 2, which provides power for water circulation and drives water flow according to the instructions of the control module 106. The first temperature sensor 3 is used to connect to the control module 106 to collect the water temperature at the output end of the heat pump unit 1.
[0036] In the heat transfer module 102, the first electric valve 4 is used to automatically open, close, or adjust the opening degree according to the instructions of the control module 106. The second temperature sensor 5 is used to monitor the water temperature at the output end of the heat transfer module 102 (i.e., the unit outlet water temperature).
[0037] In the heat storage heating module 103, the second electric valve 6 is used to automatically open, close, or adjust its opening degree according to the instructions of the control module 106. The hot water storage tank 7 is used to store hot water, realizing the storage and release of heat. The third temperature sensor 8 is used to detect the water temperature in the tank in real time. The electric heater 9 is used to heat the water in the hot water storage tank 7 according to the instructions of the control module 106, thereby increasing the water temperature in the hot water storage tank 7.
[0038] In the flow regulation module 104, ports A and B of the three-way valve 10 are the inlet, and port C is the outlet. The three-way valve 10 has a flow ratio regulation function and an inlet / outlet water temperature detection function, and can collect water temperature data at these three measuring points (ports A, B, and C) in real time. The control module 106 can allocate the water flow ratio from the heat transfer module 102 and the heat storage heating module 103 by adjusting the opening and flow direction of the three-way valve 10.
[0039] In the energy-consuming terminal module 105, the circulating water pump 11 provides power for water circulation according to the instructions of the control module 106. The circulating water pump 11 has a load-side water flow detector to detect water volume. The fourth temperature sensor 12 monitors the inlet water temperature of the terminal device 13. The terminal device 13 releases heat to the user to provide heating or domestic hot water. The fifth temperature sensor 14 monitors the outlet water temperature of the terminal device 13.
[0040] Specifically, the heat pump system 100 has a first mode, a second mode, a third mode, and a fourth mode.
[0041] The first mode is the heat pump heating mode. For example... Figure 2 As shown, in the first mode, the control module 106 (not shown) controls the heat pump unit 1 to start, the first electric valve 4 to open, the second electric valve 6 to close, and the electric heater 9 to be de-energized. Thus, the heat generated by the heat pump unit 1 is transferred to the terminal device 13 through the heat transfer module 102.
[0042] The second mode is a combination of heat pump heating and water tank heat storage. For example... Figure 2 As shown, in the second mode, the control module 106 controls the heat pump unit 1 to start, both the first electric valve 4 and the second electric valve 6 are turned on, and the electric heater 9 is de-energized. Thus, part of the heat generated by the heat pump unit 1 is transferred to the terminal device 13, and the other part is injected into the hot water storage tank 7 for heat storage.
[0043] The third mode is a combination of heat pump heating and electric heating storage in a water tank. For example... Figure 2 As shown, in the third mode, the control module 106 controls the heat pump unit 1 to start, the first electric valve 4 to open, the second electric valve 6 to close, and the electric heater 9 to be powered on. Thus, the heat pump unit 1 and the electric heater 9 supply heat simultaneously, meeting the heating needs of the terminal equipment 13 while raising the water temperature of the hot water storage tank through the electric heater 9.
[0044] The fourth mode is the water tank heating mode. For example... Figure 2 As shown, in the fourth mode, the control module 106 controls the heat pump unit 1 to stop, the first electric valve 4 closes, the second electric valve 6 opens (at this time, water is injected from the bypass of the heat pump unit 1 into the hot water storage tank 7), and the electric heater 9 is de-energized. Thus, the heat stored in the hot water storage tank 7 is transferred to the terminal device 13.
[0045] In some embodiments, the heat pump system 100 may also have a fifth mode. This fifth mode is a heat storage and heating mode. For example... Figure 2 As shown, in the fifth mode, the control module 106 controls the heat pump unit 1 to stop, the first electric valve 4 closes, the second electric valve 6 opens (at this time, water is injected from the bypass of the heat pump unit 1 into the hot water storage tank 7), and the electric heater 9 is energized. Thus, the electric heater 9 raises the water temperature in the hot water storage tank, and simultaneously delivers the hot water in the hot water storage tank 7 to the terminal device 13.
[0046] In this embodiment, the heat pump system 100 includes a heat pump module 101, a heat transfer module 102, a heat storage heating module 103, a flow regulation module 104, and an energy consumption terminal module 105. A control module 106 is configured to execute the following control method, thereby realizing an intelligent control mode for the heat pump system 100 based on peak and off-peak electricity prices. Specifically, the heat pump system 100 supports flexible switching between a first mode, a second mode, a third mode, and a fourth mode, enabling the use of heat pump heating and water tank heat storage during off-peak hours, and the use of stored heat energy for heating during peak hours, thus reducing users' heating electricity costs.
[0047] This application provides a control method applied to the aforementioned heat pump system 100. The heat pump system 100 has a first mode, a second mode, a third mode, and a fourth mode. The first mode is a heat pump heating mode, the second mode is a heat pump heating and water tank heat storage mode, the third mode is a heat pump heating and water tank electric heating heat storage mode, and the fourth mode is a water tank heating mode. Figure 3 As shown, the control method includes the following steps S1 to S5: Step S1: Obtain grid data, system water temperature data, ambient temperature data, and power capacity data of the heat pump system within the control cycle.
[0048] Step S2: Based on the grid data and power capacity data, determine the target correspondence between the combination of the first target duration corresponding to the second mode and the second target duration corresponding to the third mode and the total target electricity cost.
[0049] Step S3: Determine the target constraints based on power grid data, system water temperature data, and ambient temperature data.
[0050] Step S4: With the goal of minimizing the total target electricity cost, determine the first target duration and the second target duration based on the target constraints and target correspondence.
[0051] Step S5: Based on the power grid data, the first target duration, and the second target duration, control the heat pump system to operate in the first mode, the second mode, the third mode, and the fourth mode sequentially within the control cycle.
[0052] The control cycle includes off-peak and peak electricity periods. Off-peak periods refer to the time when the grid electricity price is relatively low (e.g., price < 0.7 yuan / kWh, or other values). Peak periods refer to the time when the grid electricity price is relatively high (e.g., price ≥ 0.7 yuan / kWh, or other values). Specifically, the control cycle can include a continuous off-peak period and a peak period (off-peak first, then peak). Typically, the control cycle is one day, and the off-peak and peak periods can be determined by acquiring grid data. For example, if the control cycle is from 0:00 to 24:00 on the same day, the off-peak period (e.g., from 0:00 to 8:00) and the peak period (e.g., from 8:00 to 24:00) can be determined by acquiring grid data. Alternatively, the control cycle could be from 18:00 on the current day to 8:00 on the next day, and the off-peak period (e.g., from 18:00 on the current day to 8:00 on the next day) and the peak period (e.g., from 8:00 to 18:00 on the next day) can be determined by acquiring grid data.
[0053] The first mode is the heat pump heating mode, which refers to the operating state of the heat pump system 100 only performing heating operations. At this time, the system mainly meets the immediate heating needs of the terminal, usually during off-peak electricity hours.
[0054] The second mode is the heat pump heating and water tank heat storage mode, which refers to the operation state in which the heat pump system 100 stores heat in the water tank while providing heating. This is usually done during off-peak electricity hours, and part of the heat energy generated by the heat pump can be stored in the water tank.
[0055] The third mode is the mode of heat pump heating and water tank electric heating heat storage. It refers to the operating state in which the heat pump system 100 stores heat in the water tank through electric heating while providing heat pump heating. This is usually carried out during off-peak electricity hours to improve heat storage efficiency.
[0056] The fourth mode is the water tank heating mode, which refers to the operation state in which the heat pump in the heat pump system 100 stops running and only relies on the heat stored in the water tank for heating. This mode is usually operated during peak electricity hours to save on electricity costs.
[0057] Power grid data refers to real-time or forecast information related to power grid operation, such as electricity prices at different times and the start and end times of each time period. This power grid data can be obtained through the network or through user input.
[0058] System water temperature data refers to the temperature information of the water circuit or water tank of the heat pump system 100, such as the inlet and outlet water temperature at the terminal and the internal temperature of the water tank.
[0059] Ambient temperature data refers to the temperature information of the environment in which the heat pump system 100 operates, such as outdoor ambient temperature and indoor temperature.
[0060] The power capacity data of the heat pump system 100 refers to the power consumption and heating capacity data of each device (such as the heat pump unit 1 and the electric heater 9) in the heat pump system 100.
[0061] The first target duration refers to the expected duration for which the heat pump system 100 operates in the second mode within the control cycle.
[0062] The second target duration refers to the expected duration for which the heat pump system 100 operates in the third mode within the control cycle.
[0063] Total target electricity cost refers to the total electricity cost incurred by the heat pump system 100 operating in the second and third modes during the control period.
[0064] The target correspondence refers to the functional or mapping relationship between the combination of the runtime of the second and third modes and the total target electricity cost.
[0065] Target constraints refer to the various restrictions that the heat pump system 100 needs to meet during operation, such as heating demand, water tank temperature range, and operating time limits.
[0066] In this embodiment, by acquiring grid data, system water temperature data, ambient temperature data, and heat pump system power capacity data within the control cycle, it is possible to obtain electricity price periods, heating demand, and system operating capacity, providing a basis for subsequent optimized control. Based on grid data and power capacity data, the target correspondence between the combination of the first target duration corresponding to the second mode and the second target duration corresponding to the third mode and the total target electricity cost is determined, quantifying the electricity cost differences under different control strategies (i.e., different combinations of the first and second target durations). Based on grid data, system water temperature data, and ambient temperature data, target constraints are determined, enabling the control strategy to meet conditions such as heating stability, water temperature safety, and equipment operating limitations, thus providing a reasonable control boundary. With the goal of minimizing the total target electricity cost, the first and second target durations are determined based on the target constraints and target correspondence. The peak-valley electricity price difference can be used to achieve the goal of low electricity cost, while maintaining system stability under the constraints. Based on grid data, the first target duration, and the second target duration, the heat pump system is controlled to operate in the first mode, the second mode, the third mode, and the fourth mode sequentially within the control cycle. This enables the orderly implementation of heat pump direct supply, heat pump heat storage, heat pump combined with electric heating heat storage, and water tank heat release modes. While stably meeting users' heating needs and ensuring system operation, this reduces off-peak electricity heat storage costs and decreases electricity consumption during peak hours.
[0067] In some embodiments, power capacity data includes generator power and rated electric heating power, and grid data includes off-peak electricity price. Step S2 above, determining the target correspondence between the combination of the first target duration corresponding to the second mode and the second target duration corresponding to the third mode, and the total target electricity charge based on grid data and power capacity data, includes: determining a first correspondence between the first target duration and the first electricity charge corresponding to the second mode based on generator power, the first target duration, and the off-peak electricity price; determining a second correspondence between the second target duration and the second electricity charge corresponding to the third mode based on the rated electric heating power, the second target duration, and the off-peak electricity price; and determining the target correspondence based on the first and second correspondences.
[0068] The unit power refers to the operating power of heat pump unit 1 under current operating conditions (e.g., current outdoor ambient temperature and unit return water temperature). Specifically, an energy efficiency model can be established based on historical operating data or experimental test data of heat pump unit 1, using the outdoor ambient temperature and unit return water temperature as inputs, and the unit power and unit heating capacity as outputs. This energy efficiency model can be trained on corresponding historical operating data or fitted with identified parameters. The model form includes, but is not limited to, linear regression models, autoregressive moving average models, and neural network models. Therefore, the current outdoor ambient temperature and the current unit return water temperature can be input into the unit energy efficiency model to obtain the unit power and unit heating capacity.
[0069] The rated power of the electric heater refers to the rated power of the electric heater 9 inside the hot water storage tank 7. The rated power of the electric heater can be obtained by referring to the product parameters of the electric heater 9.
[0070] Off-peak electricity price is the electricity price during off-peak hours.
[0071] The first electricity cost is the electricity cost generated when the heat pump system 100 executes the second mode operation for the first target duration within the control cycle.
[0072] The first correspondence refers to the functional or mapping relationship between the first target duration and the first electricity cost.
[0073] The second electricity cost is the electricity cost generated when the heat pump system 100 executes the second target duration of the third mode operation within the control cycle.
[0074] The second correspondence refers to the functional or mapping relationship between the second target duration and the second electricity fee.
[0075] Specifically, the method for determining the first correspondence between the first target duration and the first electricity charge corresponding to the second mode, based on the unit power, the first target duration, and the off-peak electricity price, can be expressed as follows: .in, This indicates the first electricity bill; Indicates the duration of the first objective; This indicates the off-peak electricity price.
[0076] Specifically, the method for determining the second correspondence between the second target duration and the second electricity fee corresponding to the third mode, based on the rated power of electric heating, the second target duration, and the off-peak electricity price, can be expressed as follows: .in, This indicates the second electricity charge; Indicates the duration of the second objective; This indicates the off-peak electricity price.
[0077] Specifically, the method for determining the target correspondence based on the first and second correspondences can be expressed as follows: .in, This indicates the total target electricity cost.
[0078] In this embodiment, the calculation process for the total target electricity cost is divided into separate calculations and summations of the operating electricity cost of the heat pump unit in the second mode and the operating electricity cost of the electric heater in the third mode. This electricity cost calculation method can reflect the electricity cost under different operating modes. Therefore, it can provide a more accurate and reliable data basis when determining the target correspondence between the combination of the first target duration and the second target duration and the total target electricity cost.
[0079] In some embodiments, the grid data includes off-peak electricity hours, and the target constraints include heat constraints, water temperature constraints, heating supply constraints, and time constraints. For example... Figure 4 As shown, step S3 above, based on power grid data, system water temperature data, and ambient temperature data, determines the target constraints, including: Step S31: Based on grid data, system water temperature data, and ambient temperature data, determine the total heat storage, the peak power supply required during peak power periods, the water temperature of the first water tank at the end of the third mode, and the upper limit of the heating duration corresponding to the second mode.
[0080] Step S32: Determine the total target duration based on the first target duration and the second target duration.
[0081] Step S33: Take the total heat storage greater than or equal to the peak power supply as the heat constraint condition.
[0082] Step S34: Set the water temperature of the first water tank to be less than or equal to the upper limit of the water temperature of the water tank as a water temperature constraint condition.
[0083] Step S35: Use 0 ≤ first target duration ≤ upper limit of heating duration as the heating constraint condition.
[0084] Step S36: Set 0 ≤ total target duration ≤ off-peak duration as the time constraint condition.
[0085] Among them, the off-peak electricity duration refers to the duration of the off-peak electricity period within the control cycle.
[0086] The heat constraint condition refers to the constraint condition that the total heat of the hot water storage tank of the heat pump system 100 in the second and third modes needs to exceed the heat required at the terminal during the control cycle.
[0087] The water temperature constraint condition refers to the constraint condition that the water temperature in the hot water storage tank of the heat pump system 100 cannot exceed the temperature limit at the end of the third mode.
[0088] The heating constraint condition refers to the constraint condition that the water temperature of the hot water storage tank must not exceed the limit during the duration of the second mode in the heat pump system 100 within the control cycle.
[0089] The time constraint condition refers to the constraint condition that the total operating time of the second and third modes within the control cycle cannot exceed the duration of the off-peak electricity period.
[0090] Total heat storage refers to the total amount of heat stored in the water tank by the heat pump system 100 in the second and third modes during the control cycle.
[0091] Peak power heating refers to the heat required by terminal equipment during peak power periods within a control cycle.
[0092] The water temperature in the first water tank refers to the water temperature in the tank at the end of the third mode.
[0093] The upper limit of heating duration refers to the duration during which the unit's outlet water temperature reaches the upper limit (e.g., 55°C) when the second mode of operation is reached.
[0094] The total target duration refers to the total duration of operation of the second and third modes within the control cycle. Specifically, step S32, determining the total target duration based on the first and second target durations, may include: using the sum of the first and second target durations as the total target duration.
[0095] The upper limit of water temperature in the water tank refers to the upper limit of the water temperature in the hot water storage tank, such as 85℃.
[0096] Specifically, the objective constraint can be expressed as: .
[0097] Specifically, the thermal constraint conditions are: .in, Indicates the total heat storage. This indicates peak electricity supply for heating.
[0098] The water temperature constraint is: .in, This indicates the water temperature in the first water tank. This indicates the upper limit of the water temperature in the tank.
[0099] The heating constraints are: .in, Indicates the duration of the first objective. This indicates the upper limit of heating duration.
[0100] The time constraint is: .in, Indicates the total target duration. This indicates the duration of off-peak electricity.
[0101] In this embodiment, heat constraints, water temperature constraints, heating supply constraints, and time constraints can be determined to ensure that while minimizing total electricity costs, the system always meets the user's heating needs and the upper limit of the system water temperature. This reduces safety hazards and equipment damage risks caused by overheating or underheating of the water tank and ensures that heat storage operation is limited to off-peak electricity hours. The introduction of this multi-dimensional constraint can balance economic benefits and operational performance, improving the reliability, safety, and economy of the heat pump system.
[0102] In some embodiments, the total heat storage in step S31 is determined as follows: the heating capacity of the second mode corresponding to the second mode is calculated based on power capacity data and the first target duration; the terminal load of the second mode corresponding to the second mode is calculated based on system water temperature data and the first target duration; the heating capacity of the second mode is subtracted from the terminal load of the second mode to obtain the heat storage of the second mode corresponding to the second mode; the heat storage of the third mode corresponding to the third mode is calculated based on power capacity data and the second target duration; the heat storage of the second mode is added to the heat storage of the third mode to obtain the total heat storage.
[0103] The power capacity data also includes the unit's heating capacity. The unit's heating capacity refers to the heating capability of heat pump unit 1 under current operating conditions (e.g., current outdoor ambient temperature and unit return water temperature). Specifically, based on historical operating data or experimental test data of heat pump unit 1, using outdoor ambient temperature and unit return water temperature as inputs, and unit power and unit heating capacity as outputs, a unit energy efficiency model can be established. This unit energy efficiency model can be trained on corresponding historical operating data or fitted with identified parameters. Model forms include, but are not limited to, linear regression models, autoregressive moving average models, and neural network models. Therefore, the current outdoor ambient temperature and the current unit return water temperature can be input into the unit energy efficiency model to obtain the unit power and unit heating capacity.
[0104] The second mode heating capacity refers to the heating capacity of the heat pump system 100 in the second mode during the control cycle.
[0105] Specifically, the method for calculating the heating capacity of the second mode based on power capacity data and the first target duration can be expressed as follows: .in, Indicates the heating capacity of the second mode; Indicates the unit's heating capacity; Indicates the duration of the first objective.
[0106] The system water temperature data includes the average inlet water temperature at the off-peak electricity terminal and the average outlet water temperature at the off-peak electricity terminal during the off-peak electricity period.
[0107] Specifically, the method for calculating the terminal load of the second mode based on system water temperature data and the first target duration can be expressed as follows: .in, Indicates the terminal load of the second mode; This indicates the specific heat capacity of water; Indicates the density of water; Indicates the current water tank capacity on the load side; This indicates the average inlet water temperature at the end of the off-peak electricity period; This indicates the average temperature of the water outlet at the end of the off-peak electricity supply corresponding to the off-peak electricity period; Indicates the duration of the first objective.
[0108] Specifically, the method of subtracting the heating capacity of the second mode from the terminal load of the second mode to obtain the heating storage capacity of the second mode can be expressed as: W t =W1-W a Among them, W t W1 indicates the heat storage capacity of the second mode; W1 indicates the heat output capacity of the second mode; W a This indicates the terminal load of the second mode.
[0109] The power capacity data also includes the heating capacity of the electric heater. The heating capacity of the electric heater refers to the heating capacity of the electric heater 9 inside the hot water storage tank 7, and its value can be obtained by consulting the product parameters of the electric heater 9.
[0110] Specifically, the method for calculating the third mode's heat storage capacity based on power capacity data and the second target duration can be expressed as follows: .in, This indicates the third mode of heat storage; Indicates the heating capacity of the electric heater; Indicates the duration of the second objective.
[0111] In this embodiment, a method is provided for calculating the total heat storage capacity of the heat pump system 100 in the second and third modes. This method considers the heating capacity and terminal load consumption of the heat pump unit in the second mode, as well as the heat storage capacity of the electric heating device in the third mode, thereby accurately quantifying the system's heat storage capacity during off-peak hours. This calculation of heat storage capacity allows for a more reliable assessment of heat constraints during subsequent optimization processes, avoiding the risk of insufficient heating during peak hours or excessive heat storage during off-peak hours due to inaccurate heat storage estimation.
[0112] In some embodiments, the grid data includes peak power duration, the system water temperature data includes the average inlet temperature and the average outlet temperature at the off-peak power terminal, and the ambient temperature data includes indoor temperature, average outdoor temperature during off-peak hours, and average outdoor temperature during peak hours. The peak power heating supply in step S31 is determined as follows: the average inlet temperature and the average outlet temperature at the peak power terminal are predicted based on indoor temperature, average inlet temperature during off-peak hours, average outlet temperature during off-peak hours, average outdoor temperature during off-peak hours, and average outdoor temperature during peak hours; the peak power heating supply is calculated based on the average inlet temperature, the average outlet temperature, and the peak power duration.
[0113] Peak power duration refers to the duration of the peak power period within the control cycle.
[0114] The average temperature of the inlet water at the end of the off-peak electricity period refers to the average temperature of the inlet water at the end of the off-peak electricity period within the control cycle.
[0115] The average temperature of the water outlet at the end of the off-peak electricity period refers to the average temperature of the water outlet during the off-peak electricity period within the control cycle.
[0116] Indoor temperature refers to the indoor temperature during the control period. Since indoor temperature changes are relatively small, it can be considered a constant value.
[0117] Off-peak average outdoor temperature refers to the average outdoor temperature during off-peak hours within the control period.
[0118] Peak-average outdoor temperature refers to the average outdoor temperature during the peak and off-peak electricity periods of the control cycle. This value can be obtained from weather forecasts connected to the network.
[0119] Specifically, the method for predicting the average inlet and outlet temperatures of peak-load power terminals based on indoor temperature, average inlet temperature during off-peak hours, average outlet temperature during off-peak hours, average outdoor temperature during off-peak hours, and average outdoor temperature during peak hours can be expressed as follows: ; ; in, This indicates the average temperature of the inlet water at the peak power terminal. This indicates the average temperature of the water exiting the peak power terminal. Indicates indoor temperature. This indicates the average temperature of the water entering the terminal during off-peak hours. This indicates the average temperature of the water exiting the terminal during off-peak hours. This indicates the average outdoor temperature during off-peak hours. This represents the average outdoor temperature at peak electricity. B represents a preset coefficient, the specific value of which can be determined experimentally or specified by the user.
[0120] This represents the relative flow rate, which is the load-side water flow rate during peak electricity hours divided by the load-side water flow rate during off-peak electricity hours. For fixed-frequency water pumps, =1; For variable frequency water pumps, parameters can be preset. The load-side water flow rate corresponding to the peak power period ,but It can be obtained. Outdoor set temperature is the outdoor temperature setting, and its value is related to factors such as geographical location and season. For example, the standard GB50736-2012 records the "winter outdoor design temperature (°C)" for different regions, and the outdoor set temperature can be determined by referring to this standard.
[0121] Specifically, the method for calculating peak electricity heating capacity based on the average inlet water temperature at the peak power terminal, the average outlet water temperature at the peak power terminal, and the peak power duration can be expressed as follows: .
[0122] in, This indicates peak electricity supply for heating. This indicates the specific heat capacity of water. This indicates the density of water. This indicates the load-side water flow rate corresponding to the peak power period. This indicates the average temperature of the inlet water at the peak power terminal. This indicates the average temperature of the water exiting the peak power terminal. Indicates peak power duration.
[0123] In this embodiment, detailed grid data, system water temperature data, and ambient temperature data are introduced, including peak power duration, average inlet water temperature at the off-peak power terminal, average outlet water temperature at the off-peak power terminal, indoor temperature, average outdoor temperature during off-peak hours, and average outdoor temperature during peak hours. Based on this data, the average inlet water temperature and average outlet water temperature at the peak power terminal are predicted, and then the peak power heating capacity is calculated. This prediction and calculation method allows the peak power heating capacity under heat constraints to more accurately reflect actual demand, reducing the risk of insufficient or excessive heat storage due to inaccurate estimations.
[0124] In some embodiments, the system water temperature data includes the current water tank temperature. The first water tank temperature in step S31 above is determined based on the following methods: the second water tank temperature at the end of the second mode is calculated based on the heat storage of the second mode, the current water tank temperature, and the water tank capacity; the first water tank temperature is calculated based on the heat storage of the third mode, the second water tank temperature, and the water tank capacity.
[0125] The current water temperature in the tank refers to the water temperature in the tank during the current off-peak electricity period.
[0126] The second mode heat storage is the heat stored in the water tank of the heat pump system 100 at the end of the second mode within the control cycle.
[0127] The water tank capacity refers to the capacity of the hot water storage tank in the heat pump system 100.
[0128] The water temperature in the second water tank refers to the water temperature in the tank at the end of the second mode within the control cycle.
[0129] The third mode heat storage is the heat stored in the water tank of the heat pump system 100 at the end of the third mode within the control cycle.
[0130] The water temperature in the first water tank refers to the water temperature in the tank at the end of the third mode within the control cycle.
[0131] Specifically, the method for calculating the second water tank temperature at the end of the second mode based on the heat storage capacity of the second mode, the current water temperature in the tank, and the tank capacity can be expressed as follows: .in, This indicates the water temperature in the second water tank. This indicates the second mode of heat storage. This indicates the specific heat capacity of water. This indicates the density of water. This indicates the capacity of the water tank. This indicates the current water temperature in the tank.
[0132] Specifically, the method for calculating the water temperature of the first water tank based on the heat storage capacity of the third mode, the water temperature of the second water tank, and the water tank capacity can be expressed as follows: .in, This indicates the water temperature in the first water tank. This indicates the third mode of heat storage. This indicates the specific heat capacity of water. This indicates the density of water. This indicates the capacity of the water tank. This indicates the water temperature in the second water tank.
[0133] In this embodiment, by obtaining the current water temperature in the tank as the starting point for calculation, and combining it with the heat storage capacity of the second mode and the tank capacity, the water temperature of the second tank after heat storage in the second mode can be accurately calculated. Based on this, the heat storage capacity of the third mode and the tank capacity are then taken into consideration to further calculate the water temperature of the first tank after the third mode. This calculation method considers the contribution of different heat storage modes to the tank temperature. By accurately determining the water temperature of the first tank, it ensures that while optimizing the overall target electricity cost, water temperature constraints are met, reducing the occurrence of overheating and underheating of the tank, and guaranteeing the safe and stable operation of the system.
[0134] In some embodiments, the system water temperature data includes the current water tank temperature, the average inlet water temperature at the off-peak electricity terminal, and the average outlet water temperature at the off-peak electricity terminal; the power capacity data includes the unit's heating capacity. The upper limit of the heating duration in step S31 above is determined based on the following method: calculations are performed based on the upper limit of the unit's outlet water temperature, a preset water temperature difference, the current water tank temperature, the unit's heating capacity, the average inlet water temperature at the off-peak electricity terminal, and the average outlet water temperature at the off-peak electricity terminal to obtain the upper limit of the heating duration.
[0135] The upper limit of the unit's outlet water temperature refers to the preset upper limit value of the outlet water temperature of the heat pump unit, such as 55℃ or other values.
[0136] Specifically, the method for calculating the upper limit of the heating duration based on the unit's outlet water temperature limit, the preset water temperature difference, the current water tank temperature, the unit's heating capacity, the average inlet water temperature at the off-peak electricity terminal, and the average outlet water temperature at the off-peak electricity terminal can be expressed as follows: .in, This indicates the upper limit of heating duration. This indicates the upper limit of the unit's outlet water temperature. This indicates the preset water temperature difference. This indicates the current water temperature in the tank. This indicates the unit's heating capacity. This indicates the specific heat capacity of water. This indicates the density of water. This indicates the capacity of the water tank. This indicates the load-side water flow rate during off-peak electricity hours. This indicates the average temperature of the water entering the terminal during off-peak hours. This indicates the average temperature of the water exiting the terminal during off-peak hours. This indicates the preset water temperature difference value. This is a preset empirical value. When the unit's outlet water temperature reaches the upper limit of the unit's outlet water temperature, the difference between the water temperature in the tank and the unit's outlet water temperature is [value missing]. .
[0137] In this embodiment, by acquiring real-time system water temperature data such as the current water tank temperature, the average inlet water temperature at the off-peak electricity terminal, and the average outlet water temperature at the off-peak electricity terminal, and combining this with the heating capacity of the heat pump unit, as well as the preset upper limit of the unit's outlet water temperature and the preset water temperature difference, the upper limit of the heating duration can be accurately calculated. This calculation method takes into account the current operating status and heat load of the heat pump system, avoiding the drawbacks that may arise from using a fixed upper limit of duration. For example, when the water tank temperature is low or the ambient temperature is low, a longer heating duration can be allowed to fully store heat; while when the water tank temperature is high or close to the safety upper limit, the heating duration will be shortened accordingly to prevent the water tank from overheating and ensure the safe operation of the equipment.
[0138] In some embodiments, the grid data includes the start time of off-peak electricity, the duration of off-peak electricity, the end time of off-peak electricity, the duration of peak electricity, and the end time of peak electricity. Step S5 above, controlling the heat pump system 100 to sequentially operate in a first mode, a second mode, a third mode, and a fourth mode within a control cycle based on the grid data, the first target duration, and the second target duration, includes: determining the start time of the third mode corresponding to the third mode based on the end time of off-peak electricity and the second target duration; determining the start time of the second mode corresponding to the second mode based on the start time of the third mode and the first target duration; controlling the heat pump system 100 to operate in the first mode during the time from the start time of off-peak electricity to the start time of the second mode; controlling the heat pump system 100 to operate in the second mode during the time from the start time of the second mode to the start time of the third mode; controlling the heat pump system 100 to operate in the third mode during the time from the start time of the third mode to the end time of off-peak electricity; and controlling the heat pump system 100 to operate in the fourth mode during the time from the end time of off-peak electricity to the end time of peak electricity.
[0139] Among them, the start time of off-peak electricity refers to the start time of the off-peak electricity period within the control cycle.
[0140] Off-peak electricity duration refers to the duration of off-peak electricity periods within a control cycle.
[0141] The end time of off-peak electricity refers to the end time of the off-peak electricity period within the control cycle.
[0142] Peak power duration refers to the duration of the peak power period within the control cycle.
[0143] Peak power end time refers to the end time of the peak power period within the control cycle.
[0144] Specifically, the method for determining the start time of the third mode based on the end time of off-peak electricity and the duration of the second target includes: subtracting the duration of the second target from the end time of off-peak electricity to obtain the start time of the third mode.
[0145] Specifically, the method for determining the start time of the second mode based on the start time of the third mode and the duration of the first target mode includes: subtracting the duration of the first target mode from the start time of the third mode to determine the start time of the second mode.
[0146] like Figure 5 As shown, this diagram illustrates the timeline of mode switching between off-peak and peak power periods within a single control cycle. Here, t1 represents the first target duration. t2 represents the first target duration. start_p Indicates the start time of the second mode. t start_e Indicates the start time of the third mode. t end_v This indicates the end time of off-peak electricity. Additionally, the duration of off-peak electricity is t. v The peak power duration is t. p .
[0147] As can be seen, during off-peak electricity hours, at the start of the off-peak period, which is also the start of the first mode, the heat pump system 100 operates in the first mode, providing heat through the heat pump unit. Then, at the start of the second mode, the heat pump system 100 switches to the second mode, providing heat through the heat pump unit and storing heat in the water tank, storing some hot water in the tank. Then, at the start of the third mode, the heat pump system 100 switches to the third mode, providing heat through the heat pump unit and storing heat through electric heating in the water tank. The heat pump unit and the electric heater operate simultaneously to prepare for heating during the subsequent peak electricity hours.
[0148] During peak electricity hours, at the start of peak electricity demand, the heat pump system 100 operates in mode four. In this mode, neither the heat pump unit nor the electric heater operates; heating is provided solely by the heat stored in the hot water storage tank. This achieves the effect of storing heat during off-peak hours and utilizing heat during peak hours.
[0149] In this embodiment, based on the pre-optimized first and second target durations, combined with the end time of off-peak electricity in the power grid, the start times of the third mode and the second mode can be accurately deduced. This reverse calculation method ensures that the heat pump system can complete the water tank heat storage task in an orderly manner during off-peak electricity periods, avoiding waste of off-peak electricity resources due to improper mode switching timing. Specifically, from the start of off-peak electricity to the start of the second mode, the system executes the first mode to prioritize meeting immediate heating needs; subsequently, during the operation of the second and third modes, off-peak electricity is used for heat pump heat storage and electric heating heat storage to ensure that the required heat storage is reached at the end of off-peak electricity. After entering the peak electricity period, the system switches to the fourth mode, relying on water tank heat storage for heating, avoiding energy consumption during high electricity price periods, thereby reducing operating electricity costs while ensuring heating needs. This mode switching method enables the heat pump system to operate more intelligently and economically, improving the energy utilization efficiency and economic benefits of the entire system.
[0150] In some embodiments, the control method further includes: during peak power periods within the control cycle, acquiring the real-time water temperature of the water tank; when the real-time water temperature of the water tank is lower than a preset lower limit, controlling the heat pump system 100 to switch to the fifth mode (i.e., the heat storage and heating mode).
[0151] The preset lower limit of water temperature refers to the lower limit of the water temperature in the hot water storage tank when the heat pump system 100 is operating in the fourth mode.
[0152] Specifically, such as Figure 6 As shown, where t x This indicates the start time of the fifth mode. During peak electricity hours, if the water temperature in the tank is too low, the system switches to thermal storage heating mode. An electric heater raises the water temperature in the thermal storage tank to meet end-user demand.
[0153] In summary, this embodiment provides a control method that, by acquiring grid data, system water temperature data, ambient temperature data, and heat pump system power capacity data within the control period, can obtain information on electricity price periods, heating demand, and system operating capacity, providing a foundation for subsequent optimized control. Based on the grid data and power capacity data, the method determines the target correspondence between the combination of the first target duration for the second mode and the second target duration for the third mode, and the total target electricity cost. This quantifies the electricity cost differences under different control strategies (i.e., different combinations of the first and second target durations). Based on grid data, system water temperature data, and ambient temperature data, target constraints are determined, ensuring that the control strategy meets conditions such as heating stability, water temperature safety, and equipment operating limitations, thus providing a reasonable control boundary. With the goal of minimizing the total target electricity cost, the first and second target durations are determined based on the target constraints and target correspondence. This allows the use of peak-valley electricity price differences to achieve the goal of low electricity costs while maintaining system stability under the constraints. Based on grid data, the first target duration, and the second target duration, the heat pump system is controlled to operate in the first mode, the second mode, the third mode, and the fourth mode sequentially within the control cycle. This enables the orderly implementation of heat pump direct supply, heat pump heat storage, heat pump combined with electric heating heat storage, and water tank heat release modes. While stably meeting users' heating needs and ensuring system operation, this reduces off-peak electricity heat storage costs and decreases electricity consumption during peak hours.
[0154] This application also provides a computer-readable storage medium storing a computer program thereon, which is loaded by a processor to execute the steps of the control method of any of the above embodiments.
[0155] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the detailed descriptions of other embodiments above, which will not be repeated here.
[0156] In practice, each of the above units or structures can be implemented as an independent entity or can be arbitrarily combined to be implemented as the same or several entities. For the specific implementation of each of the above units or structures, please refer to the previous method embodiments, which will not be repeated here.
[0157] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0158] The control method, heat pump system, and computer-readable storage medium provided in the embodiments of this application have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this application. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A control method, characterized in that, Applied to a heat pump system, the heat pump system has a first mode, a second mode, a third mode and a fourth mode, the first mode is a heat pump heating mode, the second mode is a heat pump heating and water tank heat storage mode, the third mode is a heat pump heating and water tank electric heating heat storage mode, and the fourth mode is a water tank heating mode. The control method includes: The system acquires grid data, system water temperature data, ambient temperature data, and power capacity data of the heat pump system during the control period; the control period includes off-peak electricity periods and peak electricity periods. Based on the power grid data and the power capacity data, determine the target correspondence between the combination of the first target duration corresponding to the second mode and the second target duration corresponding to the third mode and the total target electricity cost; Based on the power grid data, the system water temperature data, and the ambient temperature data, the target constraints are determined. With the goal of minimizing the total target electricity cost, the first target duration and the second target duration are determined based on the target constraints and the target correspondence. Based on the power grid data, the first target duration, and the second target duration, the heat pump system is controlled to operate sequentially in the first mode, the second mode, the third mode, and the fourth mode within the control cycle.
2. The control method according to claim 1, characterized in that, The power capacity data includes unit power and rated electric heating power; the grid data includes off-peak electricity price; and determining the target correspondence between the combination of the first target duration corresponding to the second mode and the second target duration corresponding to the third mode and the total target electricity cost based on the grid data and the power capacity data includes: Based on the unit power, the first target duration, and the off-peak electricity price, a first correspondence between the first target duration and the first electricity fee corresponding to the second mode is determined; Based on the rated power of electric heating, the second target duration, and the off-peak electricity price, a second correspondence between the second target duration and the second electricity fee corresponding to the third mode is determined; The target correspondence is determined based on the first correspondence and the second correspondence.
3. The control method according to claim 1, characterized in that, The power grid data includes off-peak electricity hours, and the target constraints include heat constraints, water temperature constraints, heating supply constraints, and time constraints. Determining the target constraints based on the power grid data, the system water temperature data, and the ambient temperature data includes: Based on the power grid data, the system water temperature data, and the ambient temperature data, the total heat storage, the peak power supply required for the peak power period, the first water tank temperature of the water tank at the end of the third mode, and the upper limit of the heating duration corresponding to the second mode are determined. The total target duration is determined based on the first target duration and the second target duration; The total heat storage capacity being greater than or equal to the peak electrical heat supply is taken as the heat constraint condition; The water temperature of the first water tank is ≤ the upper limit of the water temperature of the water tank, which is taken as the water temperature constraint condition; The heating constraint condition is defined as 0 ≤ the first target duration ≤ the upper limit of the heating duration. The time constraint condition is defined as 0 ≤ the total target duration ≤ the off-peak duration.
4. The control method according to claim 3, characterized in that, The total heat storage capacity is determined based on the following method: The heating capacity of the second mode corresponding to the second mode is calculated based on the power capacity data and the first target duration. The terminal load of the second mode corresponding to the second mode is calculated based on the system water temperature data and the first target duration. Subtract the heating capacity of the second mode from the terminal load of the second mode to obtain the heat storage capacity of the second mode corresponding to the second mode. The heat storage capacity of the third mode corresponding to the third mode is calculated based on the power capacity data and the second target duration. The total heat storage capacity is obtained by adding the heat storage capacity of the second mode and the heat storage capacity of the third mode.
5. The control method according to claim 3, characterized in that, The power grid data includes peak electricity duration; the system water temperature data includes the average inlet water temperature at the off-peak electricity terminal and the average outlet water temperature at the off-peak electricity terminal; the ambient temperature data includes indoor temperature, average outdoor temperature during off-peak electricity hours, and average outdoor temperature during peak electricity hours; and the peak electricity heating capacity is determined based on the following method: Based on the indoor temperature, the average inlet water temperature at the off-peak electricity terminal, the average outlet water temperature at the off-peak electricity terminal, the average outdoor temperature at the off-peak electricity terminal, and the average outdoor temperature at the peak electricity terminal, the average inlet water temperature at the peak electricity terminal and the average outlet water temperature at the peak electricity terminal are predicted to obtain the average inlet water temperature at the peak electricity terminal and the average outlet water temperature at the peak electricity terminal. The peak power heating capacity is calculated based on the average inlet water temperature at the peak power terminal, the average outlet water temperature at the peak power terminal, and the peak power duration.
6. The control method according to claim 3, characterized in that, The system water temperature data includes the current water tank temperature, and the water temperature of the first water tank is determined based on the following method: The second water temperature of the water tank at the end of the second mode is calculated based on the heat storage of the second mode, the current water temperature of the water tank and the water tank capacity. The water temperature of the first water tank is calculated based on the heat storage capacity of the third mode, the water temperature of the second water tank, and the capacity of the water tank.
7. The control method according to claim 3, characterized in that, The system water temperature data includes the current water tank temperature, the average inlet water temperature at the off-peak electricity terminal, and the average outlet water temperature at the off-peak electricity terminal. The power capacity data includes the unit's heating capacity. The upper limit of the heating duration is determined based on the following method: The upper limit of the heating duration is calculated based on the upper limit of the unit's outlet water temperature, the preset water temperature difference, the current water temperature in the water tank, the unit's heating capacity, the average inlet water temperature at the off-peak electricity terminal, and the average outlet water temperature at the off-peak electricity terminal.
8. The control method according to claim 1, characterized in that, The power grid data includes the start time of off-peak electricity, the duration of off-peak electricity, the end time of off-peak electricity, the duration of peak electricity, and the end time of peak electricity. The step of controlling the heat pump system to operate sequentially in the first mode, the second mode, the third mode, and the fourth mode within the control cycle based on the power grid data, the first target duration, and the second target duration includes: Based on the end time of the off-peak electricity and the second target duration, the start time of the third mode corresponding to the third mode is determined; Based on the start time of the third mode and the first target duration, determine the start time of the second mode corresponding to the second mode; During the period from the start of off-peak electricity to the start of the second mode, the heat pump system is controlled to operate in the first mode; During the period from the start of the second mode to the start of the third mode, the heat pump system is controlled to operate in the second mode; During the time from the start of the third mode to the end of the off-peak electricity period, the heat pump system is controlled to operate in the third mode; During the period from the end of the off-peak electricity season to the end of the peak electricity season, the heat pump system is controlled to operate in the fourth mode.
9. A heat pump system, characterized in that, The heat pump system includes a heat pump module, a heat transfer module, a thermal storage heating module, a flow regulation module, an energy consumption terminal module, and a control module. The output terminal of the heat pump module is connected to the input terminal of the heat transfer module and the input terminal of the heat storage heating module. The output terminals of the heat transfer module and the heat storage heating module are both connected to the first terminal of the flow regulation module. The second terminal of the flow regulation module is connected to the input terminal of the energy consumption terminal module. The output terminal of the flow regulation module is connected to the input terminal of the heat pump module. The control module is connected to the heat pump module, the heat transfer module, the heat storage heating module, the flow regulation module, and the energy consumption terminal module. The control module is configured to perform the control method according to any one of claims 1 to 8.
10. A computer-readable storage medium, characterized in that, It stores a computer program, which is loaded by a processor to execute the steps of the control method according to any one of claims 1 to 8.