Power control method, system, computer device, storage medium, and computer program product

By constructing an objective function to optimize the load power of the temperature control equipment, the power supply pressure and equipment stability problems caused by fluctuations in the power supply frequency on the power grid side are solved, and the adaptive control of the output power of the temperature control equipment is realized, and the grid stability is improved.

CN114498616BActive Publication Date: 2025-08-01SHENZHEN POWER SUPPLY BUREAU
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111603441.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-24
Publication Date
2025-08-01
Estimated Expiration
2041-12-24

AI Technical Summary

Technical Problem

The fluctuation of the power supply frequency on the grid side causes the power supply equipment to operate in a low-frequency and high-transmission state, increase the power supply pressure and affect the stability of the equipment, and even lead to power supply accidents.

Method used

By constructing an objective function, combining the frequency prediction value of the power supply equipment and the temperature prediction value of the temperature control equipment, the load power of the temperature control equipment is optimized to adapt to the fluctuations in the power supply frequency on the power grid side, and the output power of the temperature control equipment is controlled.

Benefits of technology

Reduce the power supply pressure on the grid side, improve the operating stability of the power grid, and reduce the risk of equipment failure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114498616B_ABST
    Figure CN114498616B_ABST
Patent Text Reader

Abstract

The present application relates to a power control method, system, computer device, storage medium, and computer program product. The method includes: solving a first objective function according to a power constraint condition and a first temperature constraint condition to obtain the load power of a temperature control device that satisfies the power constraint condition and the first temperature constraint condition, and then determining the output power of the temperature control device according to the load power of the temperature control device, and controlling the temperature control device to output the corresponding output power. Wherein, the correlation between the temperature prediction value of each indoor space and the second reference power of the corresponding indoor space is the same, and the first objective function is a function that minimizes the sum of the difference between the total load power of the temperature control device and the first reference power and the difference between the load power of each temperature control device and the second reference power. Through the above method, the output power of the temperature control device on the building side is controlled to adapt to the fluctuation of the power supply frequency on the grid side, thereby reducing the power supply pressure on the grid side and improving the operation stability of the grid.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of electric power, and particularly to a power control method, system, computer device, storage medium, and computer program product. Background Art

[0002] With the development of technology and the improvement of people's living standards, the social demand for electric energy has been increasing day by day, bringing huge power supply pressure to the grid side.

[0003] Generally, the grid side provides electric energy for the building side at a stable power supply frequency. However, due to the response of external factors or its own factors, the power supply frequency of the grid side will fluctuate, generally decrease, resulting in the need for grid-side power supply equipment to maintain a high output power at a low power supply frequency, further increasing the power supply pressure on the grid side. The long-term low-frequency and high-output working state will also affect the stability of the power supply equipment, and in severe cases, it will cause the power supply equipment to malfunction, resulting in power supply accidents and irreversible losses. Summary of the Invention

[0004] Based on this, in view of the above technical problems, it is necessary to provide a power control method, system, computer device, storage medium, and computer program product.

[0005] In a first aspect, the present application provides a power control method, including:

[0006] Constructing a first objective function according to a first reference power, a second reference power, and the load power of a temperature control device; wherein, the first reference power is the output power of a power supply device determined by a frequency prediction value of the power supply device; the second reference power is the output power of the temperature control device determined by a temperature prediction value of the indoor space where the temperature control device is located, and the correlation between the temperature prediction value of each indoor space and the second reference power of the corresponding indoor space is the same; the first objective function is a function that minimizes the sum of the difference between the total load power of the temperature control device and the first reference power and the difference between the load power of each temperature control device and the second reference power;

[0007] Solving the first objective function according to a power constraint condition and a first temperature constraint condition to obtain the load power of the temperature control device that satisfies the power constraint condition and the first temperature constraint condition; wherein, the power constraint condition is used to constrain the load power, and the first temperature constraint condition is used to constrain the temperature prediction value, and the temperature prediction value is determined by the load power;

[0008] Determining the output power of the temperature control device according to the load power of the temperature control device, and controlling the temperature control device to output the corresponding output power.

[0009] In one of the embodiments, constructing a first objective function according to a first reference power, a second reference power, and the load power of a temperature control device includes:

[0010] Determine a first penalty function based on the difference between the total load power of the temperature control device and the first reference power;

[0011] Determine a second penalty function based on the difference between the load power of each temperature control device and the second reference power;

[0012] Construct a first objective function by minimizing the sum of the first penalty function and the second penalty function.

[0013] In one embodiment, the above method further includes:

[0014] Determine a frequency prediction value of the power supply device at a predicted time point according to the current power supply frequency of the power supply device;

[0015] Determine the first reference power corresponding to the frequency prediction value according to the correspondence between the power supply frequency and the power.

[0016] In one embodiment, the above method further includes:

[0017] Determine a temperature prediction value of the indoor space at a predicted time point according to the current indoor temperature of the indoor space and the load power of the temperature control device at the corresponding time;

[0018] Determine the energy state of the indoor space according to the temperature prediction value and the upper and lower temperature threshold values;

[0019] Determine the second reference power according to the ratio of the energy state of each indoor space to the second reference power being the same.

[0020] In one embodiment, determining the output power of the temperature control device according to the load power of the temperature control device includes:

[0021] Construct a second objective function according to the load power, output power, and first reference power of the temperature control device; wherein, the second objective function is a function that minimizes the sum of the difference between the output power and the load power of each temperature control device and the difference between the total output power of the temperature control device and the first reference power;

[0022] Solve the second objective function according to the frequency constraint condition and the second temperature constraint condition to obtain the output power of the temperature control device that satisfies the frequency constraint condition and the second temperature constraint condition; wherein, the frequency constraint condition is used to constrain the actual frequency of the power supply device under the action of the output power of the temperature control device, and the second temperature constraint condition is used to constrain the actual temperature of the indoor space under the action of the output power of the temperature control device.

[0023] In one embodiment, constructing a second objective function according to the load power, output power, and first reference power of the temperature control device includes:

[0024] Determine a third penalty function according to the difference between the output power and the load power of each temperature control device;

[0025] Determine a fourth penalty function according to the difference between the total output power of the temperature control device and the first reference power;

[0026] Construct a second objective function by minimizing the sum of the third penalty function and the fourth penalty function.

[0027] In a second aspect, the present application also provides a power control system, including:

[0028] A first function module, configured to construct a first objective function according to a first reference power, a second reference power, and the load power of the temperature control device; wherein, the first reference power is the output power of the power supply device determined by the frequency prediction value of the power supply device; the second reference power is the output power of the temperature control device determined by the temperature prediction value of the indoor space where the temperature control device is located, and the temperature prediction value of each indoor space has the same correlation with the second reference power of the corresponding indoor space; the first objective function is a function that minimizes the sum of the difference between the total load power of the temperature control device and the first reference power and the difference between the load power of each temperature control device and the second reference power;

[0029] A first solution module, configured to solve the first objective function according to the power constraint condition and the first temperature constraint condition to obtain the load power of the temperature control device that satisfies the power constraint condition and the first temperature constraint condition; wherein, the power constraint condition is used to constrain the load power, and the first temperature constraint condition is used to constrain the temperature prediction value, and the temperature prediction value is determined by the load power;

[0030] A power control module, configured to determine the output power of the temperature control device according to the load power of the temperature control device, and control the temperature control device to output the corresponding output power.

[0031] In a third aspect, the present application also provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0032] Construct a first objective function according to a first reference power, a second reference power, and the load power of the temperature control device; wherein, the first reference power is the output power of the power supply device determined by the frequency prediction value of the power supply device; the second reference power is the output power of the temperature control device determined by the temperature prediction value of the indoor space where the temperature control device is located, and the temperature prediction value of each indoor space has the same correlation with the second reference power of the corresponding indoor space; the first objective function is a function that minimizes the sum of the difference between the total load power of the temperature control device and the first reference power and the difference between the load power of each temperature control device and the second reference power;

[0033] Solve the first objective function according to the power constraint condition and the first temperature constraint condition to obtain the load power of the temperature control device that satisfies the power constraint condition and the first temperature constraint condition; wherein, the power constraint condition is used to constrain the load power, and the first temperature constraint condition is used to constrain the temperature prediction value, and the temperature prediction value is determined by the load power;

[0034] Determine the output power of the temperature control device according to the load power of the temperature control device, and control the temperature control device to output the corresponding output power.

[0035] In a fourth aspect, the present application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, and when the computer program is executed by a processor, the following steps are implemented:

[0036] Construct a first objective function according to the first reference power, the second reference power, and the load power of the temperature control device; wherein, the first reference power is the output power of the power supply device determined by the frequency prediction value of the power supply device; the second reference power is the output power of the temperature control device determined by the temperature prediction value of the indoor space where the temperature control device is located, and the temperature prediction value of each indoor space has the same correlation with the second reference power of the corresponding indoor space; the first objective function is a function that minimizes the sum of the difference between the total load power of the temperature control device and the first reference power and the difference between the load power of each temperature control device and the second reference power;

[0037] Solve the first objective function according to the power constraint condition and the first temperature constraint condition to obtain the load power of the temperature control device that satisfies the power constraint condition and the first temperature constraint condition; wherein, the power constraint condition is used to constrain the load power, and the first temperature constraint condition is used to constrain the temperature prediction value, and the temperature prediction value is determined by the load power;

[0038] Determine the output power of the temperature control device according to the load power of the temperature control device, and control the temperature control device to output the corresponding output power.

[0039] In a fifth aspect, the present application also provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0040] Construct a first objective function according to the first reference power, the second reference power, and the load power of the temperature control device; wherein, the first reference power is the output power of the power supply device determined by the frequency prediction value of the power supply device; the second reference power is the output power of the temperature control device determined by the temperature prediction value of the indoor space where the temperature control device is located, and the temperature prediction value of each indoor space has the same correlation with the second reference power of the corresponding indoor space; the first objective function is a function that minimizes the sum of the difference between the total load power of the temperature control device and the first reference power and the difference between the load power of each temperature control device and the second reference power;

[0041] Solve the first objective function according to the power constraint condition and the first temperature constraint condition to obtain the load power of the temperature control device that satisfies the power constraint condition and the first temperature constraint condition; wherein, the power constraint condition is used to constrain the load power, and the first temperature constraint condition is used to constrain the temperature prediction value, and the temperature prediction value is determined by the load power.

[0042] Determine the output power of the temperature control device according to the load power of the temperature control device, and control the temperature control device to output the corresponding output power.

[0043] The above power control method, system, computer device, storage medium and computer program product construct the first objective function according to the first reference power, the second reference power and the load power of the temperature control device, solve the first objective function according to the power constraint condition and the first temperature constraint condition, obtain the load power of the temperature control device that satisfies the power constraint condition and the first temperature constraint condition, and then determine the output power of the temperature control device according to the load power of the temperature control device, and control the temperature control device to output the corresponding output power. Among them, the first reference power is the output power of the power supply device determined by the frequency prediction value of the power supply device, the second reference power is the output power of the temperature control device determined by the temperature prediction value of the indoor space where the temperature control device is located, the correlation between the temperature prediction value of each indoor space and the second reference power of the corresponding indoor space is the same, and the first objective function is a function that minimizes the sum of the difference between the total load power of the temperature control device and the first reference power and the difference between the load power of each temperature control device and the second reference power. Through the above method, the output power of the temperature control device on the building side is controlled to adapt to the fluctuation of the power supply frequency on the grid side, thereby reducing the power supply pressure on the grid side and improving the stability of the grid operation. Description of the Drawings

[0044] Figure 1 It is an application environment diagram of the power control method in an embodiment;

[0045] Figure 2 It is a schematic flowchart of the power control method in an embodiment;

[0046] Figure 3 It is a schematic flowchart of constructing the first objective function in an embodiment;

[0047] Figure 4 It is a schematic flowchart of determining the first reference power in an embodiment;

[0048] Figure 5 It is a schematic flowchart of determining the second reference power in an embodiment;

[0049] Figure 6 It is a schematic flowchart of determining the output power of the temperature control device in an embodiment;

[0050] Figure 7 Schematic flowchart of constructing a second objective function in an embodiment

[0051] Figure 8 Structural block diagram of a power control system in an embodiment

[0052] Figure 9 Internal structure diagram of a computer device in an embodiment Detailed implementation manners

[0053] In order to make the objectives, technical solutions and advantages of the present application more clear and understandable, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0054] The power control method provided by the embodiments of the present application can be applied to an application environment as shown in Figure 1 In the application environment shown in the figure. Among them, the power control system 104 communicates with the power supply device 102 on the power grid side and the temperature control device 106 on the building side through a network. The power control system 104 constructs a first objective function according to the first reference power, the second reference power and the load power of the temperature control device 106, solves the first objective function according to the power constraint condition and the first temperature constraint condition, and obtains the load power of the temperature control device 106 that satisfies the power constraint condition and the first temperature constraint condition. Furthermore, the output power of the temperature control device 106 is determined according to the load power of the temperature control device 106, and the temperature control device 106 is controlled to output the corresponding output power. Among them, the first reference power is the output power of the power supply device 102 determined by the frequency prediction value of the power supply device 102, the second reference power is the output power of the temperature control device 106 determined by the temperature prediction value of the indoor space where the temperature control device 106 is located, the correlation between the temperature prediction value of each indoor space and the second reference power is the same, the first objective function is a function that minimizes the sum of the difference between the total load power of the temperature control device 106 and the first reference power and the difference between the load power of each temperature control device 106 and the second reference power, the power constraint condition is used to constrain the load power, the first temperature constraint condition is used to constrain the temperature prediction value, and the temperature prediction value is determined by the load power.

[0055] It should be noted that the power control method provided by the embodiments of the present application is essentially a method for controlling the output power of the temperature control device on the building side. The temperature control device is an electrical device used for temperature regulation, such as a central air conditioner. The embodiments of the present application control the output power of the temperature control device on the building side to adapt to the frequency fluctuation of the power supply device on the power grid side, reduce the power supply pressure on the power grid side, and improve the stability of the power grid operation.

[0056] In an embodiment, as shown in Figure 2As shown, a power control method is provided. Taking the power control system applied in Figure 1 as an example for illustration, the method includes the following steps:

[0057] S210. Construct a first objective function according to the first reference power, the second reference power, and the load power of the temperature control device.

[0058] Among them, the first reference power is the output power of the power supply device determined by the predicted value of the frequency of the power supply device. The second reference power is the output power of the temperature control device determined by the predicted value of the temperature in the indoor space where the temperature control device is located. The correlation between the predicted value of the temperature in each indoor space and the second reference power of the corresponding indoor space is the same. The first objective function is a function that minimizes the sum of the difference between the total load power of the temperature control device and the first reference power and the difference between the load power of each temperature control device and the second reference power. The load power of the temperature control device is the optimization variable of the first objective function.

[0059] Optionally, the predicted value of the frequency is the predicted value of the power supply frequency of the power supply device at the predicted time point, and the predicted value of the temperature is the predicted value of the indoor temperature in the indoor space at the predicted time point. The predicted time point can include multiple ones, such as 5.

[0060] It should be noted that the first reference power is the output power of the power supply device determined by the predicted value of the frequency, and the second reference power is the output power of the temperature control device determined by the predicted value of the temperature, that is, the first reference power is affected by the power supply frequency of the power supply device on the grid side, and the second reference power is affected by the indoor temperature of the indoor space on the building side. The meaning of the above first objective function is to make the load power of each control device as close as possible to the second reference power, and to make the sum of the load powers of all temperature control devices, that is, the total load power, as close as possible to the first reference power.

[0061] S220. Solve the first objective function according to the power constraint condition and the first temperature constraint condition to obtain the load power of the temperature control device that satisfies the power constraint condition and the first temperature constraint condition.

[0062] Among them, the power constraint condition is used to constrain the load power, and the first temperature constraint condition is used to constrain the predicted value of the temperature, and the predicted value of the temperature is determined by the load power.

[0063] Optionally, the power control system can solve the first objective function with the above power constraint condition and the first temperature constraint condition as the constraint conditions based on the model optimization solution algorithm, and thus obtain the load power of the temperature control device on the building side at each predicted time point.

[0064] Specifically, the power constraint condition includes that the difference between the load powers at adjacent predicted time points is less than the power ramp threshold, and also includes that each load power is between the upper and lower limits of the load power. The specific formula is as follows:

[0065] -ΔP max ≤P i (j)-P i (j - 1)≤ΔP max

[0066] P i.min <P i (j)<P i,max

[0067] Among them, P i,max , P i.min is the upper and lower limits of the load power, and ΔP max is the power ramp threshold between adjacent prediction time points.

[0068] Specifically, the first temperature constraint condition includes that each predicted temperature value is between the upper and lower temperature limits. The specific formula is as follows:

[0069] T i.min <T i (t)<T i,max

[0070] Optionally, the power ramp thresholds of different indoor spaces on the building side can be the same or different. Correspondingly, the upper and lower limits of the load power of different indoor spaces on the building side can be the same or different, and the upper and lower temperature limits of different indoor spaces on the building side can be the same or different.

[0071] Optionally, the power control system uses the interior point method to solve the first objective function constrained by the power constraint condition and the first temperature constraint condition, and then the load power of each temperature control device on the building side at each prediction time point that meets the power constraint condition and the first temperature constraint condition can be obtained.

[0072] S230. Determine the output power of the temperature control device according to the load power of the temperature control device, and control the temperature control device to output the corresponding output power.

[0073] Optionally, the above power control system includes a central controller and a local controller. Among them, the central controller is located on the grid side and is used to implement the process of determining the load power of the temperature control devices in each indoor space on the building side; the local controller is located on the building side and is used to receive the load power of the temperature control devices in each indoor space on the building side sent by the central controller, and determine the output power of the corresponding temperature control devices according to the received load power of the temperature control devices in each indoor space, and correspondingly control each temperature control device to output the determined output power. Optionally, the local control is the controller of each temperature control device itself.

[0074] Optionally, the load power of the above temperature control device may be equal to the output power of the corresponding temperature control device, that is, the local controller directly uses the received load power of the temperature control device as the output power of the temperature control device and controls the temperature control device to output. The load power of the above temperature control device may also not be equal to the output power of the temperature control device, that is, the local controller performs correction processing on the received load power of the temperature control device, then uses the corrected load power as the output power of the temperature control device, and controls the temperature control device to output.

[0075] In this embodiment, the power control system constructs a first objective function based on the first reference power, the second reference power, and the load power of the temperature control device, solves the first objective function according to the power constraint condition and the first temperature constraint condition, obtains the load power of the temperature control device that satisfies the power constraint condition and the first temperature constraint condition, and then determines the output power of the temperature control device according to the load power of the temperature control device, and controls the temperature control device to output the corresponding output power. Among them, the first reference power is the output power of the power supply device determined by the predicted value of the frequency of the power supply device, the second reference power is the output power of the temperature control device determined by the predicted value of the temperature of the indoor space where the temperature control device is located, the correlation between the predicted value of the temperature of each indoor space and the second reference power of the corresponding indoor space is the same, and the first objective function is a function that minimizes the sum of the difference between the total load power of the temperature control device and the first reference power and the difference between the load power of each temperature control device and the second reference power. Through the above method, the output power of the temperature control device on the building side is controlled to adapt to the fluctuation of the power supply frequency on the grid side, thereby reducing the power supply pressure on the grid side and improving the stability of the grid operation.

[0076] In one embodiment, as Figure 3 shown, the above S210 includes:

[0077] S310. Determine a first penalty function according to the difference between the total load power of the temperature control device and the first reference power.

[0078] Specifically, the first penalty function F1 is:

[0079]

[0080] Among them, P i (j) is the load power of the i-th temperature control device at the predicted time point j, and m is the total number of indoor spaces on the building side, that is, the total number of rooms. In this embodiment, one temperature control device is provided for each indoor space. P ref (j) is the first reference power of the power supply device at the predicted time point j, and C1 is a weight coefficient.

[0081] S320. Determine a second penalty function according to the difference between the load power of each temperature control device and the second reference power.

[0082] Specifically, the second penalty function F2 is as follows:

[0083]

[0084] where P i ref (j) is the second reference power of the i-th temperature control device at the prediction time point j, and C2 is the weight coefficient.

[0085] S330. Construct a first objective function based on the minimum sum of the differences between the first penalty function and the second penalty function.

[0086] Specifically, the first objective function is:

[0087]

[0088] where the optimization variable P is the variable matrix composed of the load power P i (j) of the i-th temperature control device at the prediction time point j. j is the prediction time point in the control process, and it can be set that each 1 second is a time point. T1 is the number of time points of the prediction control period.

[0089] In this embodiment, the power control system determines the first penalty function according to the difference between the total load power of the temperature control device and the first reference power, determines the second penalty function according to the difference between the load power of each temperature control device and the second reference power, and then constructs the first objective function based on the minimum sum of the differences between the first penalty function and the second penalty function to obtain the first objective function.

[0090] In one of the embodiments, the above method further includes a method for determining the first reference power, such as Figure 4 As shown, the above method further includes:

[0091] S410. Determine the frequency prediction value of the power supply device at the prediction time point according to the current power supply frequency of the power supply device.

[0092] Optionally, the power control system may estimate the frequency prediction value at a future prediction time point based on the power supply frequency at the current time point on the grid side. For example, the power control system may estimate the frequency prediction value f1 at the prediction time point T1 based on the power supply frequency f0 at the current time point T0, estimate the frequency prediction value f2 at the prediction time point T2 from the frequency prediction value f1, and then estimate the frequency prediction value f3 at the prediction time point T3 from the frequency prediction value f2... Accordingly, the power control system can obtain the predicted frequency values f1 at the prediction time point T1, f2 at the prediction time point T2, f3 at the prediction time point T3, f4 at the prediction time point T4, and f5 at the prediction time point T5 based on the power supply frequency f0 at the current time point T0. The time intervals between T0 and T1, T2 and T3, T3 and T4, and T4 and T5 can be 1 s.

[0093] Optionally, the frequency prediction value of the power supply equipment on the grid side may be determined according to the unbalanced power of the power supply equipment. Among them, the unbalanced power satisfies the following formula:

[0094] P UB =P g -P L +P WF =2H·(f(t)-f(t - 1)) / f * ·T

[0095] Among them, P G is the power generation power of the power supply equipment on the grid side, P L is the self - consumption power of the power supply equipment on the grid side, P WF is the total output power on the building side, H is the inertia coefficient of the power supply equipment on the grid side, T is the prediction sampling time (usually set to 1 s), and t represents the time step number.

[0096] Specifically, the frequency prediction value of the power supply equipment on the grid side satisfies the following formula:

[0097]

[0098] Among them, K f and K in are the droop coefficient and inertia coefficient of active power - frequency on the building side respectively.

[0099] S420. Determine the first reference power corresponding to the frequency prediction value according to the corresponding relationship between the power supply frequency and the power.

[0100] Specifically, the output power of the above - mentioned power supply equipment on the grid side satisfies the following formula:

[0101]

[0102] Among them, represents the total output power of the building - side temperature control equipment under steady state, while and take the following values:

[0103]

[0104]

[0105] wherein, K f and K in are the droop coefficient and inertia coefficient of active - power - frequency on the building side respectively, f * is the rated frequency on the grid side, and its value is 50 Hz.

[0106] By performing conversion processing on the output - power formula of the above - mentioned grid - side power supply equipment, the corresponding relationship between the above - mentioned power supply frequency and power can be obtained as:

[0107]

[0108] Specifically, after determining the frequency prediction value, the power control system can determine the first reference power corresponding to the frequency prediction value at the prediction time point based on the corresponding relationship between the power supply frequency and power. Continuing with the above example, the power control system can obtain the first reference power P ref 1 corresponding to the predicted frequency value f1, the first reference power P ref 2 corresponding to the predicted frequency value f2, the first reference power P ref 3 corresponding to the predicted frequency value f3, the first reference power P ref 4 corresponding to the predicted frequency value f4, and the first reference power P ref 5 corresponding to the predicted frequency value f5.

[0109] In this embodiment, the power control system can determine the frequency prediction value of the power supply equipment at the prediction time point according to the current power supply frequency of the power supply equipment, and determine the first reference power corresponding to the frequency prediction value according to the corresponding relationship between the power supply frequency and power, thereby providing a data basis for constructing the above - mentioned first objective function to obtain the first objective function.

[0110] In one of the embodiments, the above - mentioned method further includes a way to determine the second reference power. As Figure 5 shown, the above - mentioned method further includes:

[0111] S510. Determine the temperature prediction value of the indoor space at the prediction time point according to the current indoor temperature of the indoor space and the load power of the temperature control equipment at the corresponding time.

[0112] Specifically, the temperature prediction value of the indoor temperature of each indoor space on the building side at the prediction time point can be determined by the following formula:

[0113]

[0114] Among them, J C,i is the thermal inertia of the i-th indoor space on the building side. P i (t - 1) represents the load power of the temperature control device in the i-th indoor space at the predicted time point (t - 1).

[0115] S520. Determine the energy state of the indoor space according to the temperature prediction value and the upper and lower temperature threshold values.

[0116] Specifically, the energy state of each indoor space can be calculated by the following formula:

[0117]

[0118] Among them, SOE i represents the energy state of the i-th indoor space on the building side, T i represents the temperature of the i-th indoor space on the building side, T i,max represents the upper temperature limit of the i-th indoor space on the building side, T i,min represents the lower temperature limit of the i-th indoor space on the building side. i is any integer between 1 and m, and m is the number of indoor spaces on the building side, that is, the number of temperature control devices (one temperature control device is set for each indoor space).

[0119] S530. Determine the second reference power according to the same ratio of the energy state of each indoor space to the second reference power.

[0120] Specifically, an electricity consumption evaluation index for each indoor space on the building side is established, and the electricity consumption evaluation index specifically satisfies the following formula:

[0121]

[0122] Among them, x i represents the electricity consumption evaluation index of the i-th temperature control device in the building, P i represents the load power corresponding to this temperature control device.

[0123] Optionally, in order to uniformly control the load power of each indoor space, it is necessary to make the ratio of the second reference power of each temperature control device to the current energy state the same, that is, make x i = x n , i, n ∈ {1, 2, 3,..., m}

[0124] Among them, making the ratio of the second reference power of each temperature control device to the current energy state the same means making the ratio of the first reference power of the power supply device on the grid side to the sum of the current energy states of each indoor space equal, that is:

[0125]

[0126] The second reference power of each temperature control device can be obtained through the above formula and satisfies the following formula:

[0127]

[0128] In this embodiment, the power control system can determine the temperature prediction value of the indoor space at the predicted time point according to the current indoor temperature of the indoor space and the load power of the temperature control device at the corresponding time, determine the energy state of the indoor space according to the temperature prediction value and the upper and lower temperature threshold values, and determine the second reference power according to the same ratio of the energy state of each indoor space to the second reference power, thereby providing a data basis for constructing the above first objective function to obtain the first objective function.

[0129] In one of the embodiments, to reduce the discomfort caused to users by the temperature change in the indoor space, as Figure 6 shown, the above S230 includes:

[0130] S610. Construct a second objective function according to the load power, output power, and first reference power of the temperature control device.

[0131] Among them, the second objective function is a function that minimizes the sum of the difference between the output power and the load power of each temperature control device and the difference between the total output power of the temperature control device and the first reference power.

[0132] It should be noted that the meaning of the above second objective function is to make the output power of each control device as close as possible to the load power, and to make the sum of the load powers of all temperature control devices, that is, the total load power, as close as possible to the first reference power.

[0133] S620. Solve the second objective function according to the frequency constraint condition and the second temperature constraint condition to obtain the output power of the temperature control device that satisfies the frequency constraint condition and the second temperature constraint condition.

[0134] Among them, the frequency constraint condition is used to constrain the actual frequency of the power supply device under the action of the output power of the temperature control device, and the second temperature constraint condition is used to constrain the actual temperature of the indoor space under the action of the output power of the temperature control device.

[0135] Specifically, the frequency constraint condition includes that the actual frequency at the corresponding predicted time point and the corresponding frequency prediction value satisfy the error range, and the second temperature constraint condition includes that the actual temperature at the corresponding predicted time point and the corresponding temperature prediction value satisfy the error range. The specific formulas are as follows:

[0136] f(j) - Δf ≤ f local ≤ f(j) + Δf

[0137] T i (j)-ΔT≤T i,local ≤T i (j)+ΔT

[0138] Among them, T i,local is the actual temperature value of the i-th indoor space on the building side, f real is the actual frequency value of the power supply equipment on the grid side, ΔT and Δf are the temperature and frequency deviation ranges. i (j) is the predicted temperature value of the i-th indoor space at the prediction time point j, and f(j) is the predicted frequency value of the power supply frequency on the grid side at the prediction time point j.

[0139] It should be noted that the actual temperature values and actual frequency values are determined by the power control system based on the output power of each temperature control device. The actual temperature values must also satisfy the requirement that the energy states of each indoor space are the same.

[0140] Optionally, the power control system can solve the second objective function constrained by the power constraint and the first temperature constraint to obtain the output power of each temperature control device on the building side at each predicted time point that meets the frequency constraint and the second temperature constraint.

[0141] In an optional embodiment, if Figure 7 As shown, the above S610 includes:

[0142] S710: Determine a third penalty function according to the difference between the output power and the load power of each temperature control device.

[0143] Specifically, the third penalty function F3 is:

[0144]

[0145] Among them, P i,real is the output power of the i-th temperature control device at the predicted time point j, and m is the total number of indoor spaces on the building side, that is, the total number of rooms. In this embodiment, each indoor space is equipped with a temperature control device. i (j) is the load power of the i-th temperature control equipment at the predicted time point j, and K1 is the weight coefficient.

[0146] S720: Determine a fourth penalty function according to a difference between the total output power of the temperature control device and the first reference power.

[0147] Specifically, the fourth penalty function F4 is:

[0148]

[0149] Among them, P ref(j) is the first reference power of the i-th temperature control device at the predicted time point j, and K2 is the weight coefficient.

[0150] S730. Minimize the sum of the third penalty function and the fourth penalty function to construct the second objective function.

[0151] Specifically, the second objective function is:

[0152]

[0153] where the optimization variable P i,real is the output power of the temperature control device, that is, the output power finally actually output by the temperature control device.

[0154] In this embodiment, the power control system constructs the second objective function according to the load power, output power, and first reference power of the temperature control device, and solves the second objective function according to the frequency constraint condition and the second temperature constraint condition to obtain the output power of the temperature control device that satisfies the frequency constraint condition and the second temperature constraint condition; among them, the second objective function is a function that minimizes the sum of the difference between the output power and the load power of each temperature control device and the difference between the total output power of the temperature control device and the first reference power. The frequency constraint condition is used to constrain the actual frequency of the power supply device under the action of the output power of the temperature control device, and the second temperature constraint condition is used to constrain the actual temperature of the indoor space under the action of the output power of the temperature control device. Through the above method, on the basis of realizing the control of the output power of the temperature control device on the building side to adapt to the fluctuation of the power supply frequency on the grid side, the temperature change of each indoor space is taken into account (that is, the above-mentioned second temperature constraint condition), the operation pressure of the power grid is reduced while ensuring the user experience to the greatest extent, and further the discomfort caused by the temperature change of the indoor space to the user is reduced.

[0155] It should be understood that although the steps in the flowcharts involved in the above-mentioned embodiments are shown in sequence according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps has no strict order limit, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily executed at the same moment, but can be executed at different moments. The execution order of these steps or stages is not necessarily sequential, but can be executed alternately or alternately with at least a part of other steps or steps in other steps.

[0156] Based on the same inventive concept, an embodiment of the present application further provides a power control system for implementing the power control method involved above. The solution provided by this system to solve the problem is similar to the solution described in the above method. Therefore, the specific limitations in one or more embodiments of the power control system provided below can refer to the limitations on the power control method in the above text, and will not be repeated here.

[0157] In one embodiment, as Figure 8 shown, a power control system is provided, including: a first function module 801, a first solution module 802, and a power control module 803, where:

[0158] The first function module 801 is used to construct a first objective function according to the first reference power, the second reference power, and the load power of the temperature control device; wherein, the first reference power is the output power of the power supply device determined by the frequency prediction value of the power supply device; the second reference power is the output power of the temperature control device determined by the temperature prediction value of the indoor space where the temperature control device is located, and the correlation between the temperature prediction value of each indoor space and the second reference power of the corresponding indoor space is the same; the first objective function is a function that minimizes the sum of the difference between the total load power of the temperature control device and the first reference power and the difference between the load power of each temperature control device and the second reference power;

[0159] The first solution module 802 is used to solve the first objective function according to the power constraint condition and the first temperature constraint condition, and obtain the load power of the temperature control device that satisfies the power constraint condition and the first temperature constraint condition; wherein, the power constraint condition is used to constrain the load power, and the first temperature constraint condition is used to constrain the temperature prediction value, and the temperature prediction value is determined by the load power;

[0160] The power control module 803 is used to determine the output power of the temperature control device according to the load power of the temperature control device, and control the temperature control device to output the corresponding output power.

[0161] In one of the embodiments, the first function module 801 is specifically used for:

[0162] Determine a first penalty function according to the difference between the total load power of the temperature control device and the first reference power; determine a second penalty function according to the difference between the load power of each temperature control device and the second reference power; construct a first objective function by minimizing the sum of the first penalty function and the second penalty function.

[0163] In one of the embodiments, the first function module 801 is further used for:

[0164] Determine the frequency prediction value of the power supply device at the prediction time point according to the current power supply frequency of the power supply device; determine the first reference power corresponding to the frequency prediction value according to the corresponding relationship between the power supply frequency and the power.

[0165] In one embodiment, the first function module 801 is further configured to:

[0166] Determine the temperature prediction value of the indoor space at the predicted time point according to the current indoor temperature of the indoor space and the load power of the temperature control device at the corresponding time; determine the energy state of the indoor space according to the temperature prediction value and the upper and lower temperature threshold values; determine the second reference power according to the ratio of the energy state of each indoor space to the second reference power being the same.

[0167] In one embodiment, the power control module 803 is specifically configured to:

[0168] Construct a second objective function according to the load power, output power, and first reference power of the temperature control device; wherein, the second objective function is a function that minimizes the sum of the difference between the output power and the load power of each temperature control device and the difference between the total output power of the temperature control devices and the first reference power; solve the second objective function according to the frequency constraint condition and the second temperature constraint condition to obtain the output power of the temperature control device that satisfies the frequency constraint condition and the second temperature constraint condition; wherein, the frequency constraint condition is used to constrain the actual frequency of the power supply device under the action of the output power of the temperature control device, and the second temperature constraint condition is used to constrain the actual temperature of the indoor space under the action of the output power of the temperature control device.

[0169] In one embodiment, the power control module 803 is specifically configured to:

[0170] Determine a third penalty function according to the difference between the output power and the load power of each temperature control device; determine a fourth penalty function according to the difference between the total output power of the temperature control devices and the first reference power; construct a second objective function by minimizing the sum of the third penalty function and the fourth penalty function.

[0171] Each module in the above power control system can be implemented in whole or in part by software, hardware, and their combination. The above modules can be embedded in the processor of the computer device in hardware form or be independent of it, or can be stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to the above modules.

[0172] In one embodiment, a computer device is provided. The computer device can be a terminal, and its internal structure diagram can be as Figure 9As shown in the figure. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a power control method. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, a trackball, or a touchpad provided on the housing of the computer device, or an external keyboard, a touchpad, or a mouse, etc.

[0173] Those skilled in the art can understand that Figure 9 the structure shown in the figure is only a block diagram of some structures related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine some components, or have a different component layout.

[0174] In one embodiment, a computer device is provided, including a memory and a processor. A computer program is stored in the memory. When the processor executes the computer program, the following steps are implemented:

[0175] Construct a first objective function according to the first reference power, the second reference power, and the load power of the temperature control device; wherein, the first reference power is the output power of the power supply device determined by the frequency prediction value of the power supply device; the second reference power is the output power of the temperature control device determined by the temperature prediction value of the indoor space where the temperature control device is located, and the correlation between the temperature prediction value of each indoor space and the second reference power of the corresponding indoor space is the same; the first objective function is a function that minimizes the sum of the difference between the total load power of the temperature control device and the first reference power and the difference between the load power of each temperature control device and the second reference power; Solve the first objective function according to the power constraint condition and the first temperature constraint condition to obtain the load power of the temperature control device that satisfies the power constraint condition and the first temperature constraint condition; wherein, the power constraint condition is used to constrain the load power, and the first temperature constraint condition is used to constrain the temperature prediction value, and the temperature prediction value is determined by the load power; Determine the output power of the temperature control device according to the load power of the temperature control device, and control the temperature control device to output the corresponding output power.

[0176] In one embodiment, when the processor executes the computer program, the following steps are further implemented:

[0177] Determine a first penalty function according to the difference between the total load power of the temperature control device and the first reference power; determine a second penalty function according to the difference between the load power of each temperature control device and the second reference power; construct a first objective function by minimizing the sum of the first penalty function and the second penalty function.

[0178] In one embodiment, when the processor executes the computer program, the following steps are further implemented:

[0179] Determine a frequency prediction value of the power supply device at the prediction time point according to the current power supply frequency of the power supply device; determine the first reference power corresponding to the frequency prediction value according to the correspondence between the power supply frequency and the power.

[0180] In one embodiment, when the processor executes the computer program, the following steps are further implemented:

[0181] Determine a temperature prediction value of the indoor space at the prediction time point according to the current indoor temperature of the indoor space and the load power of the temperature control device at the corresponding time; determine the energy state of the indoor space according to the temperature prediction value and the upper and lower temperature threshold values; determine the second reference power according to the ratio of the energy state of each indoor space to the second reference power being the same.

[0182] In one embodiment, when the processor executes the computer program, the following steps are further implemented:

[0183] Construct a second objective function according to the load power, output power, and first reference power of the temperature control device; wherein, the second objective function is a function that minimizes the sum of the difference between the output power and the load power of each temperature control device and the difference between the total output power of the temperature control device and the first reference power; solve the second objective function according to the frequency constraint condition and the second temperature constraint condition to obtain the output power of the temperature control device that satisfies the frequency constraint condition and the second temperature constraint condition; wherein, the frequency constraint condition is used to constrain the actual frequency of the power supply device under the action of the output power of the temperature control device, and the second temperature constraint condition is used to constrain the actual temperature of the indoor space under the action of the output power of the temperature control device.

[0184] In one embodiment, when the processor executes the computer program, the following steps are further implemented:

[0185] Determine a third penalty function according to the difference between the output power and the load power of each temperature control device; determine a fourth penalty function according to the difference between the total output power of the temperature control device and the first reference power; construct a second objective function by minimizing the sum of the third penalty function and the fourth penalty function.

[0186] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:

[0187] Construct a first objective function according to a first reference power, a second reference power, and the load power of a temperature control device; wherein, the first reference power is the output power of a power supply device determined by a frequency prediction value of the power supply device; the second reference power is the output power of the temperature control device determined by a temperature prediction value of the indoor space where the temperature control device is located, and the correlation between the temperature prediction value of each indoor space and the second reference power of the corresponding indoor space is the same; the first objective function is a function that minimizes the sum of the difference between the total load power of the temperature control device and the first reference power and the difference between the load power of each temperature control device and the second reference power; solve the first objective function according to a power constraint condition and a first temperature constraint condition to obtain the load power of the temperature control device that satisfies the power constraint condition and the first temperature constraint condition; wherein, the power constraint condition is used to constrain the load power, and the first temperature constraint condition is used to constrain the temperature prediction value, and the temperature prediction value is determined by the load power; determine the output power of the temperature control device according to the load power of the temperature control device, and control the temperature control device to output the corresponding output power.

[0188] In one of the embodiments, when the computer program is executed by a processor, the following steps are further implemented:

[0189] Determine a first penalty function according to the difference between the total load power of the temperature control device and the first reference power; determine a second penalty function according to the difference between the load power of each temperature control device and the second reference power; construct a first objective function by minimizing the sum of the first penalty function and the second penalty function.

[0190] In one of the embodiments, when the computer program is executed by a processor, the following steps are further implemented:

[0191] Determine a frequency prediction value of the power supply device at a prediction time point according to the current power supply frequency of the power supply device; determine a first reference power corresponding to the frequency prediction value according to the corresponding relationship between the power supply frequency and the power.

[0192] In one of the embodiments, when the computer program is executed by a processor, the following steps are further implemented:

[0193] Determine a temperature prediction value of the indoor space at a prediction time point according to the current indoor temperature of the indoor space and the load power of the temperature control device at the corresponding time; determine the energy state of the indoor space according to the temperature prediction value and the upper and lower temperature threshold values; determine the second reference power according to the ratio of the energy state of each indoor space to the second reference power being the same.

[0194] In one of the embodiments, when the computer program is executed by a processor, the following steps are further implemented:

[0195] Construct a second objective function based on the load power, output power, and first reference power of the temperature control device; wherein, the second objective function is a function that minimizes the sum of the difference between the output power and the load power of each temperature control device and the difference between the total output power of the temperature control devices and the first reference power; Solve the second objective function according to the frequency constraint condition and the second temperature constraint condition to obtain the output power of the temperature control device that satisfies the frequency constraint condition and the second temperature constraint condition; wherein, the frequency constraint condition is used to constrain the actual frequency of the power supply device under the action of the output power of the temperature control device, and the second temperature constraint condition is used to constrain the actual temperature of the indoor space under the action of the output power of the temperature control device.

[0196] In one of the embodiments, when the computer program is executed by a processor, the following steps are further implemented:

[0197] Determine a third penalty function according to the difference between the output power and the load power of each temperature control device; Determine a fourth penalty function according to the difference between the total output power of the temperature control devices and the first reference power; Let the sum of the third penalty function and the fourth penalty function be the smallest to construct the second objective function.

[0198] In one embodiment, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0199] Construct a first objective function based on the first reference power, second reference power, and load power of the temperature control device; wherein, the first reference power is the output power of the power supply device determined by the frequency prediction value of the power supply device; the second reference power is the output power of the temperature control device determined by the temperature prediction value of the indoor space where the temperature control device is located, and the correlation between the temperature prediction value of each indoor space and the second reference power of the corresponding indoor space is the same; the first objective function is a function that minimizes the sum of the difference between the total load power of the temperature control device and the first reference power and the difference between the load power of each temperature control device and the second reference power; Solve the first objective function according to the power constraint condition and the first temperature constraint condition to obtain the load power of the temperature control device that satisfies the power constraint condition and the first temperature constraint condition; wherein, the power constraint condition is used to constrain the load power, and the first temperature constraint condition is used to constrain the temperature prediction value, and the temperature prediction value is determined by the load power; Determine the output power of the temperature control device according to the load power of the temperature control device, and control the temperature control device to output the corresponding output power.

[0200] In one of the embodiments, when the computer program is executed by a processor, the following steps are further implemented:

[0201] Determine the first penalty function according to the difference between the total load power of the temperature control device and the first reference power; determine the second penalty function according to the difference between the load power of each temperature control device and the second reference power; construct the first objective function by minimizing the sum of the first penalty function and the second penalty function.

[0202] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented:

[0203] Determine the frequency prediction value of the power supply device at the prediction time point according to the current power supply frequency of the power supply device; determine the first reference power corresponding to the frequency prediction value according to the corresponding relationship between the power supply frequency and the power.

[0204] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented:

[0205] Determine the temperature prediction value of the indoor space at the prediction time point according to the current indoor temperature of the indoor space and the load power of the temperature control device at the corresponding time; determine the energy state of the indoor space according to the temperature prediction value and the upper and lower temperature threshold values; determine the second reference power according to the ratio of the energy state of each indoor space to the second reference power being the same.

[0206] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented:

[0207] Construct the second objective function according to the load power, output power, and first reference power of the temperature control device; wherein, the second objective function is a function that minimizes the sum of the difference between the output power and the load power of each temperature control device and the difference between the total output power of the temperature control device and the first reference power; solve the second objective function according to the frequency constraint condition and the second temperature constraint condition to obtain the output power of the temperature control device that satisfies the frequency constraint condition and the second temperature constraint condition; wherein, the frequency constraint condition is used to constrain the actual frequency of the power supply device under the action of the output power of the temperature control device, and the second temperature constraint condition is used to constrain the actual temperature of the indoor space under the action of the output power of the temperature control device.

[0208] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented:

[0209] Determine the third penalty function according to the difference between the output power and the load power of each temperature control device; determine the fourth penalty function according to the difference between the total output power of the temperature control device and the first reference power; construct the second objective function by minimizing the sum of the third penalty function and the fourth penalty function.

[0210] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, database, or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memories. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The databases involved in the embodiments provided in the present application can include at least one of relational databases and non-relational databases. Non-relational databases can include distributed databases based on blockchain, etc., without limitation. The processors involved in the embodiments provided in the present application can be general-purpose processors, central processors, graphics processors, digital signal processors, programmable logic devices, data processing logics based on quantum computing, etc., without limitation.

[0211] The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope described in this specification.

[0212] The above-described embodiments merely represent several implementation manners of the present application. The description is relatively specific and detailed, but it should not be construed as a limitation on the patent scope of the present application. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can still be made, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the appended claims.

Claims

1. A power control method, characterized in that, The method includes: Constructing a first objective function according to a first reference power, a second reference power, and the load power of a temperature control device; wherein, the first reference power is the output power of a power supply device determined by a frequency prediction value of the power supply device; the second reference power is the output power of the temperature control device determined by a temperature prediction value of the indoor space where the temperature control device is located, and the correlation between the temperature prediction value of each indoor space and the second reference power corresponding to the indoor space is the same; the first objective function is a function that minimizes the sum of the difference between the total load power of the temperature control device and the first reference power and the difference between the load power of each temperature control device and the second reference power; Solving the first objective function according to a power constraint condition and a first temperature constraint condition to obtain the load power of the temperature control device that satisfies the power constraint condition and the first temperature constraint condition; wherein, the power constraint condition is used to constrain the load power, and the first temperature constraint condition is used to constrain the temperature prediction value, and the temperature prediction value is determined by the load power; Constructing a second objective function according to the load power, output power of the temperature control device, and the first reference power; wherein, the second objective function is a function that minimizes the sum of the difference between the output power and the load power of each temperature control device and the difference between the total output power of the temperature control device and the first reference power; Solving the second objective function according to a frequency constraint condition and a second temperature constraint condition to obtain the output power of the temperature control device that satisfies the frequency constraint condition and the second temperature constraint condition, and controlling the temperature control device to output the corresponding output power; wherein, the frequency constraint condition is used to constrain the actual frequency of the power supply device under the action of the output power of the temperature control device, and the second temperature constraint condition is used to constrain the actual temperature of the indoor space under the action of the output power of the temperature control device.

2. The method according to claim 1, wherein The constructing a first objective function according to a first reference power, a second reference power, and the load power of a temperature control device includes: Determining a first penalty function according to the difference between the total load power of the temperature control device and the first reference power; Determining a second penalty function according to the difference between the load power of each temperature control device and the second reference power; Constructing the first objective function by minimizing the sum of the first penalty function and the second penalty function.

3. The method according to claim 1, wherein The method further includes: [[ID= ​ 4. The method according to claim 1, wherein ​ ​ ​ ​ 5. The method according to claim 1, wherein Constructing a second objective function according to the load power, output power of the temperature control device, and the first reference power includes: Determining a third penalty function according to the difference between the output power and the load power of each temperature control device; Determining a fourth penalty function according to the difference between the total output power of the temperature control device and the first reference power; Constructing the second objective function by minimizing the sum of the third penalty function and the fourth penalty function.

6. A power control system, characterized in that, The system includes: A first function module, configured to construct a first objective function according to a first reference power, a second reference power, and the load power of a temperature control device; wherein, the first reference power is the output power of the power supply device determined by the frequency prediction value of the power supply device; the second reference power is the output power of the temperature control device determined by the temperature prediction value of the indoor space where the temperature control device is located, and the correlation between the temperature prediction value of each indoor space and the second reference power corresponding to the indoor space is the same; the first objective function is a function that minimizes the sum of the difference between the total load power of the temperature control device and the first reference power and the difference between the load power of each temperature control device and the second reference power; A first solving module, configured to solve the first objective function according to a power constraint condition and a first temperature constraint condition to obtain the load power of the temperature control device that satisfies the power constraint condition and the first temperature constraint condition; wherein, the power constraint condition is used to constrain the load power, and the first temperature constraint condition is used to constrain the temperature prediction value, and the temperature prediction value is determined by the load power; A power control module, configured to construct a second objective function according to the load power, output power of the temperature control device, and the first reference power; wherein, the second objective function is a function that minimizes the sum of the difference between the output power and the load power of each temperature control device and the difference between the total output power of the temperature control device and the first reference power; solving the second objective function according to a frequency constraint condition and a second temperature constraint condition to obtain the output power of the temperature control device that satisfies the frequency constraint condition and the second temperature constraint condition, and controlling the temperature control device to output the corresponding output power; wherein, the frequency constraint condition is used to constrain the actual frequency of the power supply device under the action of the output power of the temperature control device, and the second temperature constraint condition is used to constrain the actual temperature of the indoor space under the action of the output power of the temperature control device.

7. The system according to claim 6, wherein The first function module is further configured to: Determine a first penalty function according to the difference between the total load power of the temperature control device and the first reference power; determine a second penalty function according to the difference between the load power of each temperature control device and the second reference power; construct the first objective function by minimizing the sum of the first penalty function and the second penalty function.

8. A computer device, comprising a memory and a processor, the memory storing a computer program, characterized in that, When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, the steps of the method according to any one of claims 1 to 5 are implemented.

10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 5.