Air conditioner energy-saving control method and system based on virtual power plant

Through the deeply coupled load prediction model and parameter optimization model, the operating parameters of air conditioning equipment are dynamically optimized, which solves the problems of insufficient adjustment accuracy and lag in air conditioning energy control of virtual power plants, and achieves efficient grid load regulation and user experience improvement.

CN120062767AActive Publication Date: 2025-05-30SHENZHEN HUAJIAN INTEGRATED ENERGY TECH CO LTD

Patent Information

Application Number
CN202510555938.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-29
Publication Date
2025-05-30
Estimated Expiration
2045-04-29

AI Technical Summary

Technical Problem

The prior art cannot effectively adapt to the power grid fluctuations and dynamic changes in user behavior in the air conditioning energy control of virtual power plants, resulting in insufficient adjustment accuracy, frequent start and stop of equipment, and degradation of user experience. The load prediction model and the equipment control model are isolated from each other, resulting in response lag and long-term operation energy efficiency attenuation.

Method used

A deeply coupled load prediction model and parameter optimization model are adopted, and the operating parameters of the air-conditioning equipment are dynamically optimized in real time, and the optimized subset of equipment operation parameters is generated, and the temperature setting value and power distribution strategy are adjusted layer by layer based on device priority and user behavior feedback.

Benefits of technology

Significantly improve the response efficiency and grid load regulation accuracy of the air conditioning group, continuously adapt to grid fluctuations and user needs, solve the problems of accumulation of forecast deviations and insufficient long-term operation stability, and achieve the balance between energy saving goals and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120062767A_ABST
    Figure CN120062767A_ABST
Patent Text Reader

Abstract

The invention provides an air conditioner energy-saving control method and system based on a virtual power plant, and the method comprises the steps: determining an air conditioner energy-saving control model corresponding to a plurality of air conditioner devices through obtaining an operation parameter set and real-time power grid load data of the plurality of air conditioner devices in a target region, and carrying out the energy-saving control of the plurality of air conditioner devices according to the real-time power grid load data and load prediction data; and determining a power grid load fluctuation threshold value of the target area, dynamically optimizing the operation parameter set of the plurality of air conditioning equipment through a parameter optimization model, generating an optimized equipment operation parameter subset, and adjusting temperature set values and operation modes of the plurality of air conditioning equipment in a future time period. And generating an air conditioner group control strategy corresponding to a future time period, obtaining operation feedback data, updating weight parameters of the load prediction model according to a deviation value between actual power grid load data and load prediction data, calibrating an optimization rule of the parameter optimization model, and generating a calibrated model. According to the invention, the fine regulation and control capability and the energy coordination efficiency of the air conditioner group can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing, and in particular, to an air-conditioning energy-saving control method and system based on a virtual power plant. Background Art

[0002] The air-conditioning energy-saving control of a virtual power plant aims to achieve the dynamic balance of the power grid load by coordinating the operating parameters of air-conditioning equipment in the region. In the prior art, fixed-threshold control or a load response model based on a unified adjustment strategy is usually adopted to achieve peak shaving and valley filling of the power grid load by presetting a fixed power threshold or uniformly adjusting the air-conditioning temperature setting value. However, the fixed-threshold control cannot adapt to the dynamic changes of the power grid fluctuations and user behaviors, resulting in insufficient adjustment accuracy and frequent triggering of equipment start and stop. Moreover, the uniform adjustment strategy ignores the differences in equipment priorities and the comfort requirements of users, easily causing abnormal air-conditioning functions or a decline in user experience in key scenarios. At the same time, the load prediction model and the equipment control model in the existing methods are isolated from each other, and the prediction results and the execution strategies lack real-time coordination, resulting in response lag and long-term operation energy efficiency decay, and it is difficult to meet the refined control requirements of the virtual power plant for the air-conditioning group. Summary of the Invention

[0003] The present invention provides an air-conditioning energy-saving control method and system based on a virtual power plant.

[0004] In a first aspect, an embodiment of the present invention provides an air-conditioning energy-saving control method based on a virtual power plant. The method includes: obtaining an operating parameter set of a plurality of air-conditioning devices in a target area and real-time power grid load data, and determining an air-conditioning energy-saving control model corresponding to the plurality of air-conditioning devices; the air-conditioning energy-saving control model includes a load prediction model and a parameter optimization model, wherein the load prediction model is used to generate load prediction data within a future period according to historical load data and real-time environmental parameters, and the parameter optimization model is used to generate a parameter adjustment strategy corresponding to each air-conditioning device according to the load prediction data; determining a power grid load fluctuation threshold of the target area according to the real-time power grid load data and the load prediction data, and dynamically optimizing the operating parameter set of the plurality of air-conditioning devices through the parameter optimization model to generate an optimized subset of device operating parameters; adjusting the temperature setting values and operating modes of the plurality of air-conditioning devices within the future period according to the optimized subset of device operating parameters to generate an air-conditioning group control strategy corresponding to the future period; obtaining the actual power grid load data and air-conditioning group operation feedback data within the future period, and updating the weight parameters of the load prediction model according to the deviation value between the actual power grid load data and the load prediction data; calibrating the optimization rule of the parameter optimization model according to the updated weight parameters and the air-conditioning group operation feedback data to generate a calibrated air-conditioning energy-saving control model.

[0005] Second aspect, an embodiment of the present invention provides an air conditioner energy-saving control system, including: a memory in which a computer program is stored; a processor for loading the computer program to implement the above-mentioned air conditioner energy-saving control method based on a virtual power plant.

[0006] The air conditioner energy-saving control method based on a virtual power plant provided by the present invention forms a closed-loop control architecture by deeply coupling a load prediction model and a parameter optimization model, generates a dynamically optimized subset of device operation parameters in real time by combining grid load data and environmental parameters, and hierarchically adjusts the temperature set value and power distribution strategy based on device priority identification and user behavior feedback, which can significantly improve the response efficiency of the air conditioner group and the grid load regulation accuracy; by introducing an adaptive weight update mechanism for the load prediction model and a rule dynamic calibration mechanism for the parameter optimization model, the control strategy continuously adapts to the grid fluctuation trend and the actual needs of users, effectively solving the problems of cumulative prediction deviation and insufficient long-term operation stability in traditional methods; at the same time, based on the collaborative optimization design of device priority division and grid load fluctuation threshold, the power of low-priority devices is accurately adjusted on the premise of ensuring the comfort of key device users, achieving a balance between energy-saving goals and user experience; further, through end-to-end model training and application data consistency design, scene adaptation deviation is eliminated, ensuring the reliable execution of control instructions in a complex grid environment, thereby comprehensively improving the refined control ability of the virtual power plant for the air conditioner group and the energy coordination efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0007] Figure 1 is a flowchart of an air conditioner energy-saving control method based on a virtual power plant provided by an embodiment of the present invention.

[0008] Figure 2 is a schematic diagram of the composition of an air conditioner energy-saving control system provided by an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0009] Next, the technical solutions in the embodiments of the present invention will be described with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.

[0010] Please refer to Figure 1 , Figure 1 is a flowchart of an air conditioner energy-saving control method based on a virtual power plant provided by an embodiment of the present invention. This air conditioner energy-saving control method based on a virtual power plant can be executed by an air conditioner energy-saving control system, and this air conditioner energy-saving control method based on a virtual power plant may include the following steps: Step S100: Obtain the operating parameter sets and real-time grid load data of multiple air-conditioning devices in the target area, and determine the air-conditioning energy-saving control models corresponding to the multiple air-conditioning devices; the air-conditioning energy-saving control models include a load prediction model and a parameter optimization model. The load prediction model is used to generate load prediction data for a future period based on historical load data and real-time environmental parameters, and the parameter optimization model is used to generate parameter adjustment strategies for each corresponding air-conditioning device according to the load prediction data.

[0011] In the embodiments of the present invention, the target area refers to the geographical scope where air-conditioning energy-saving control needs to be carried out, such as a commercial park, an office building, or a residential building, etc. The operating parameter set includes various parameters of multiple air-conditioning devices during operation, such as temperature set value, operating power, wind speed gear, operating mode (cooling, heating, dehumidification, etc.). The real-time grid load data refers to the magnitude of the electric load borne by the grid in the target area at the current moment, which reflects the degree of power consumption tension of the grid at this moment.

[0012] The load prediction model is a model for load prediction based on historical data and real-time environmental parameters. The historical load data is a record of the grid load situation in the target area over a past period of time, and these data contain the load change rules under different time periods, different seasons, and different weather conditions. The real-time environmental parameters include real-time temperature, humidity, light intensity, etc. These factors will all affect the operation of air-conditioning devices and the grid load. The load prediction model can adopt a neural network model, such as a long short-term memory network (LSTM), which can well handle time series data and capture the long-term dependence relationship of load data. The LSTM model includes an input layer, a hidden layer, and an output layer. The input layer receives historical load data and real-time environmental parameters, the LSTM units in the hidden layer process the data through memory and forgetting mechanisms, and the output layer generates load prediction data for a future period.

[0013] The parameter optimization model then formulates appropriate parameter adjustment strategies for each air-conditioning device according to the load prediction data generated by the load prediction model. For example, when the load prediction data shows that the grid load will reach a peak in a future period, the parameter optimization model can formulate a strategy to reduce the operating power of some air-conditioning devices or adjust their operating modes to relieve the grid pressure. The parameter optimization model can be optimized using a genetic algorithm. The genetic algorithm simulates the biological evolution process and searches for the optimal parameter adjustment strategy in the solution space through operations such as selection, crossover, and mutation. In this process, each possible parameter adjustment strategy is regarded as an individual, and multiple individuals form a population. Through continuous iterative evolution, the optimal parameter adjustment strategy is finally found.

[0014] Step S200: Determine the grid load fluctuation threshold of the target area based on the real-time grid load data and the load forecast data, and dynamically optimize the operating parameter sets of multiple air-conditioning devices through a parameter optimization model to generate an optimized subset of device operating parameters.

[0015] The real-time grid load data reflects the actual load situation of the grid at the current moment, while the load forecast data is an estimate of the grid load in future time periods. The grid load fluctuation threshold refers to the fluctuation limit of the grid load within a preset range (the specific range is not limited), and its determination is crucial for reasonably adjusting the operating parameters of air-conditioning devices. For example, when the grid load fluctuation exceeds the threshold, more aggressive energy-saving measures may be required; when the load fluctuation is within the threshold range, relatively mild parameter adjustments can be made.

[0016] Dynamically optimizing the operating parameter sets of multiple air-conditioning devices through a parameter optimization model means adjusting the operating parameters of air-conditioning devices in real time according to different load situations. For example, when the grid load is high, lower the temperature setting values of air-conditioning devices in some non-critical areas, or switch some air-conditioning devices to the energy-saving mode. Through this dynamic optimization, the operation of air-conditioning devices can better meet the load demand of the grid and achieve the purpose of energy conservation.

[0017] As an implementation method, in step S200, determine the grid load fluctuation threshold of the target area based on the real-time grid load data and the load forecast data, and dynamically optimize the operating parameter sets of multiple air-conditioning devices through a parameter optimization model to generate an optimized subset of device operating parameters, which can specifically include the following steps: Step S210: Obtain the current temperature setting values, operating power thresholds, and device priority identifiers of each air-conditioning device in the target area.

[0018] The current temperature setting value refers to the temperature set for each air-conditioning device, which directly affects the cooling or heating effect and energy consumption of the air conditioner. The operating power threshold refers to the maximum power allowed for an air-conditioning device during normal operation. Exceeding this threshold may damage the device or affect the stable operation of the grid. The device priority identifier is used to distinguish the importance of different air-conditioning devices. The specific configuration method is not limited. For example, in a commercial office building, the air-conditioning devices in areas such as meeting rooms and server rooms may have a higher priority, while the air-conditioning devices in public corridors and stairwells may have a relatively lower priority.

[0019] Step S220: Divide multiple load adjustment intervals within the future time period according to the peak load period and the valley load period in the load forecast data.

[0020] The peak load period in the load forecasting data refers to the time period when the grid load reaches the maximum value, and the valley load period is the time period when the grid load reaches the minimum value. Based on these two periods, the future time periods can be divided into multiple load adjustment intervals. For example, in a day, the morning rush hour and the evening rush hour may be the peak load periods of the grid, while the early morning period is the valley load period. A day can be divided into multiple time periods, such as the morning peak period, the morning non-peak period, the noon period, the afternoon non-peak period, the evening peak period, and the night valley period, etc., and each time period corresponds to a load adjustment interval.

[0021] Step S230: Set the maximum load value and the minimum load value corresponding to the grid load fluctuation threshold in the parameter optimization model, and generate the opening and closing strategies of the air-conditioning equipment corresponding to each load adjustment interval according to the maximum load value and the minimum load value.

[0022] In practical applications, the parameter optimization model can adopt a linear programming model. The linear programming model finds the optimal solution by defining the objective function and the constraints and satisfying the set conditions. In this scenario, the objective function can be to minimize the grid load fluctuation or to maximize the energy-saving effect of the air-conditioning equipment, and the constraints include the maximum and minimum values of the grid load, the operating power threshold of the air-conditioning equipment, etc. For example, assume that the objective function is to minimize the grid load fluctuation, and the constraints are that the grid load is between the maximum load value and the minimum load value, and the operating power of the air-conditioning equipment does not exceed its operating power threshold. By solving this model with the linear programming algorithm, the opening and closing strategies of the air-conditioning equipment corresponding to each load adjustment interval can be obtained, that is, which equipment should be turned on and which equipment should be turned off to achieve the optimal energy-saving and load adjustment effects.

[0023] Step S240: Based on the equipment priority identification, group multiple air-conditioning equipment, determine the high-priority equipment group and the low-priority equipment group, and according to the opening and closing strategies of the air-conditioning equipment, reduce the operating power threshold of the low-priority equipment group during the peak load period and increase the temperature setting value of the high-priority equipment group during the valley load period.

[0024] Grouping air conditioning equipment based on device priority identification allows for more targeted parameter adjustment. High-priority device groups are, for example, equipment with high requirements for the indoor environment or crucial for business operations, such as air conditioning equipment in data centers; low-priority device groups are equipment with relatively lower environmental requirements, such as air conditioning equipment in public areas. During peak load periods, reducing the operating power threshold of the low-priority device group can effectively reduce the grid load; while during valley load periods, increasing the temperature setpoint of the high-priority device group can reduce the energy consumption of the air conditioning equipment while ensuring comfort. After determining the high-priority and low-priority device groups, a distributed control system can be used to achieve parameter adjustment for different device groups. The distributed control system disperses the control functions to each device or device group and realizes information interaction and coordination through a communication network. For example, during peak load periods, the distributed control system can send instructions to reduce the operating power threshold to each device in the low-priority device group according to the air conditioning equipment on-off strategy, and the device automatically adjusts its operating power after receiving the instruction. During valley load periods, similarly, instructions to increase the temperature setpoint are sent to the devices in the high-priority device group through the distributed control system to achieve precise control of different device groups.

[0025] Step S241: Obtain the historical usage frequency data, user-predefined preferred temperature range, and equipment energy consumption level of each air conditioning equipment.

[0026] The historical usage frequency data reflects the usage situation of each air conditioning equipment over a past period. Equipment with a high usage frequency may have a greater impact on user comfort. The user-predefined preferred temperature range refers to the air conditioning temperature range set by the user according to their own needs and habits. Different users may have different feelings and requirements for temperature. The equipment energy consumption level indicates the energy consumption level of the air conditioning equipment. The higher the energy consumption level, the more electrical energy the equipment consumes during operation. Obtaining this information helps to more accurately evaluate the importance and energy consumption situation of each air conditioning equipment. To obtain this data, a data acquisition system can be established. The data acquisition system can collect the operation data of the air conditioning equipment in real time through sensors and communication modules, specifically including the following steps of historical usage frequency data. For the user-predefined preferred temperature range, relevant information can be input by the user through the user interface or intelligent terminal device and stored in the database. The equipment energy consumption level can be obtained by querying the product manual or relevant certification documents of the equipment and entered into the data acquisition system. The data acquisition system can use cloud computing to upload the collected data to the cloud for storage and analysis for subsequent comprehensive priority score calculation.

[0027] Step S242: Determine the usage activity score of each air conditioning equipment according to the historical usage frequency data, and generate the comprehensive priority score of each equipment by combining the user-predefined preferred temperature range and the equipment energy consumption level.

[0028] The usage activity score can be calculated based on historical usage frequency data. For example, devices with a high usage frequency can be given a higher usage activity score. The comprehensive priority score is obtained by comprehensively considering factors such as the usage activity score, the user's preset preferred temperature range, and the device energy consumption level. For example, corresponding weights can be assigned to each factor, and then the comprehensive priority score can be calculated by weighted summation. Suppose the weight of the usage activity score is 0.4, the weight of the user's preset preferred temperature range is 0.3, and the weight of the device energy consumption level is 0.3. Then the comprehensive priority score = usage activity score × 0.4 + user's preset preferred temperature range score × 0.3 + device energy consumption level score × 0.3. When calculating the usage activity score, a time series analysis method can be used. The time series analysis method can model and predict historical usage frequency data, and calculate the usage activity score based on the change trend and periodic characteristics of the data. For example, the moving average method can be used to smooth the historical usage frequency data, and then calculate the usage activity score based on the processed data. Or, other methods can also be used to calculate the usage activity score. For example, assume that the statistical period for calculating the usage activity score of air conditioning equipment is the past month. The daily startup duration of each air conditioner is counted. If an air conditioner has a total startup duration of 200 hours in 30 days of this month, with an average daily startup of about 6.7 hours. Set the basic score value to 50 points, and add 2 points for each additional hour of daily startup duration. This air conditioner exceeds the basic daily startup duration (assuming the basic is 3 hours) by 3.7 hours, and the additional score is 3.7 × 2 = 7.4 points. Then the usage activity score of this air conditioner is 50 + 7.4 = 57.4 points. When generating the comprehensive priority score, the fuzzy comprehensive evaluation method can also be used. The fuzzy comprehensive evaluation method can comprehensively consider multiple factors (such as the usage activity score, the user's preset preferred temperature range, the device energy consumption level), and calculate the comprehensive priority score of each device by determining the weight and membership function of each factor.

[0029] Step S243: Classify the first device set with a comprehensive priority score greater than the preset threshold as a high-priority device group, and classify the remaining second device set as a low-priority device group.

[0030] The preset threshold is a scoring boundary set according to the actual situation, which is used to distinguish high-priority devices and low-priority devices. Devices with a comprehensive priority score greater than the preset threshold are classified into the high-priority device group, and these devices are usually more important for the indoor environment and business operations; devices with a comprehensive priority score less than or equal to the preset threshold are classified into the low-priority device group, and these devices can be adjusted more flexibly when the power grid load is tight. The determination of the preset threshold can adopt the clustering analysis method. The clustering analysis method can cluster the comprehensive priority scores of all air-conditioning devices, and determine a suitable threshold according to the clustering results to divide the devices into a high-priority device group and a low-priority device group. For example, the K-Means clustering algorithm can be used to divide the comprehensive priority score data into two categories, and then determine the preset threshold according to the clustering center and data distribution.

[0031] Step S244: Assign a first optimization weight to the high-priority device group and a second optimization weight to the low-priority device group in the parameter optimization model, where the first optimization weight is greater than the second optimization weight.

[0032] When assigning the optimization weights, the analytic hierarchy process can be adopted. The analytic hierarchy process decomposes the problem into multiple levels and factors by constructing a hierarchical structure model, and then determines the relative importance of each factor through pairwise comparison, so as to obtain the optimization weights of each device group. For example, in this scenario, the high-priority device group and the low-priority device group can be used as the target layer, and the factors affecting the device priority (such as usage activity, user demand, energy consumption, etc.) can be used as the criterion layer. By comparing the importance of each factor, the first optimization weight and the second optimization weight are determined.

[0033] Step S245: According to the first optimization weight and the second optimization weight, perform parameter adjustment operations on the high-priority device group and the low-priority device group within the load adjustment range respectively.

[0034] When performing the parameter adjustment operation, the model predictive control method can be adopted. The model predictive control method establishes a dynamic model of the device, predicts the operating state of the device in the future period of time, and adjusts the control parameters in real time according to the optimization goal and constraint conditions. For example, during the peak load period, for the low-priority device group, the model predictive control method can predict the operating state of the device after reducing the power according to the second optimization weight and the power grid load situation, and then adjust the power adjustment instruction in real time to ensure that while meeting the power grid load requirements, the impact on the indoor environment is minimized. During the valley load period, for the high-priority device group, the model predictive control method can also adjust the temperature setting value according to the first optimization weight and the user-preferred temperature range preset by the user to achieve a balance between energy conservation and comfort.

[0035] As an implementation manner, in step S245, according to the first optimization weight and the second optimization weight, parameter adjustment operations are respectively performed on the high-priority device group and the low-priority device group within the load adjustment range, which may specifically include: Step S2451: During the peak load period, according to the second optimization weight of the low-priority device group, determine the allowable maximum power reduction ratio thereof, and generate a corresponding power adjustment instruction set based on the maximum power reduction ratio.

[0036] During the peak load period, in order to relieve the power grid pressure, it is necessary to adjust the power of the low-priority device group. According to the second optimization weight, the allowable maximum power reduction ratio of the low-priority device group can be determined. For example, if the second optimization weight is small, it means that a relatively large power reduction operation can be performed on the low-priority device group. At this time, a relatively high maximum power reduction ratio can be set. Based on this ratio, a corresponding power adjustment instruction set is generated. Each instruction corresponds to a low-priority device, and the instruction content includes information such as the power value to be reduced. When determining the maximum power reduction ratio, an adaptive control algorithm can be used. The adaptive control algorithm can automatically adjust the maximum power reduction ratio according to the real-time change of the power grid load and the operating state of the low-priority device group. For example, when the power grid load increases sharply, the adaptive control algorithm can increase the maximum power reduction ratio to quickly relieve the power grid pressure; when the power grid load tends to be stable, the maximum power reduction ratio can be appropriately reduced to ensure the basic comfort of the indoor environment. When generating the power adjustment instruction set based on the determined maximum power reduction ratio, a rule engine can be used to automatically generate the power adjustment instruction according to the preset rules and conditions. For example, the rule can stipulate that when the operating power of a certain low-priority device exceeds the set threshold, its power is reduced according to the maximum power reduction ratio.

[0037] Step S2452: During the valley load period, according to the first optimization weight of the high-priority device group, determine the allowable temperature setting value increase range thereof, and generate a corresponding temperature adjustment instruction set based on the user preset preferred temperature range.

[0038] When determining the temperature setting value increase range, user feedback and environmental monitoring data can be combined. For example, by installing temperature sensors and humidity sensors indoors to monitor the indoor environmental parameters in real time, and at the same time collecting user feedback information on temperature changes. According to the first optimization weight, the user preset preferred temperature range and the environmental monitoring data, a reasonable temperature setting value increase range is determined. When generating the temperature adjustment instruction set, intelligent algorithms such as genetic algorithms or particle swarm algorithms can be used. These algorithms can search for the optimal temperature adjustment scheme and generate the corresponding temperature adjustment instruction set on the premise of meeting user needs and environmental conditions.

[0039] Step S2453: Input the power adjustment instruction set and the temperature adjustment instruction set into the parameter optimization model for conflict detection. If a resource conflict is detected between the temperature adjustment instruction of the high-priority device group and the power adjustment instruction of the low-priority device group, the temperature adjustment instruction of the high-priority device group shall be preferentially executed.

[0040] In actual operation, there may be resource conflicts between the power adjustment instruction set and the temperature adjustment instruction set. For example, the power adjustment of a certain device may affect the temperature adjustment of another device. Input these two instruction sets into the parameter optimization model for conflict detection. When a conflict is detected, since the high-priority device group is more important for the indoor environment and business operation, the temperature adjustment instruction of the high-priority device group is preferentially executed to ensure the normal operation of high-priority devices and user comfort. When performing conflict detection, a constraint satisfaction problem-solving algorithm can be used. The constraint satisfaction problem-solving algorithm can regard the power adjustment instruction set and the temperature adjustment instruction set as a set of constraint conditions, and determine whether there is a conflict through search and reasoning. For example, if the power adjustment of a low-priority device affects the temperature adjustment of a high-priority device, it will be determined that there is a conflict. When a conflict is detected, the temperature adjustment instruction of the high-priority device group is preferentially executed, which is based on the principle of ensuring the normal operation of high-priority devices and user comfort. To implement this priority strategy, a priority queue can be set in the parameter optimization model, and the temperature adjustment instructions of the high-priority device group are arranged in the front to ensure that they are preferentially executed when a conflict occurs.

[0041] Step S2454: Generate an optimized subset of device operation parameters according to the adjustment instructions after conflict detection.

[0042] The subset of device operation parameters includes optimized temperature set values, operating powers, etc. of each air-conditioning device. These parameters will be used for subsequent control of air-conditioning devices to achieve the goal of air-conditioning energy conservation. When generating the optimized subset of device operation parameters, data fusion technology can be used. Data fusion technology can fuse the adjustment instructions after conflict detection and the original device operation parameters to generate a new and optimized subset of device operation parameters. For example, the weighted average method can be used to fuse the parameters in the adjustment instructions and the original parameters, and different weights are assigned according to the importance and credibility of the instructions. The generated optimized subset of device operation parameters will be used as the basis for subsequent air-conditioning device control to ensure the best balance between energy conservation and comfort while meeting the requirements of the power grid load.

[0043] Step S300: Adjust the temperature set values and operating modes of multiple air-conditioning devices in the future time period according to the optimized subset of device operation parameters, and generate an air-conditioning group control strategy corresponding to the future time period.

[0044] The subset of optimized device operating parameters includes parameters such as the optimized temperature setpoints and operating powers of each air conditioner device. Based on these parameters, adjusting the temperature setpoints and operating modes of multiple air conditioner devices in a future time period is to make the operation of the air conditioner devices more in line with the grid load demand and user comfort requirements. For example, if the optimized parameters show that a certain air conditioner device needs to increase the temperature setpoint and switch to the energy-saving mode in a future time period, then the device is controlled according to this adjustment plan.

[0045] Generating an air conditioner group control strategy corresponding to a future time period is to integrate the adjustment plans for multiple air conditioner devices to form a unified control strategy. This strategy needs to take into account the mutual influence between each air conditioner device and the overall situation of the grid load. For example, within a certain load adjustment range, it may be necessary to adjust the temperature setpoints and operating modes of multiple air conditioner devices simultaneously to achieve the best energy-saving and load adjustment effects.

[0046] As an implementation manner, in step S300, according to the subset of optimized device operating parameters, adjusting the temperature setpoints and operating modes of multiple air conditioner devices in a future time period and generating an air conditioner group control strategy corresponding to the future time period may specifically include: Step S310: Extract the temperature setpoint adjustment amount and operating mode adjustment amount corresponding to each of the multiple air conditioner devices from the subset of optimized device operating parameters, where the temperature setpoint adjustment amount includes the temperature difference for upward or downward adjustment, and the operating mode adjustment amount includes the switching identifier for the cooling mode, energy-saving mode, or standby mode.

[0047] The temperature setpoint adjustment amount refers to the temperature difference that needs to be increased or decreased relative to the current temperature setpoint, which reflects the change in the temperature of the air conditioner device required to achieve the energy-saving and load adjustment goals. The operating mode adjustment amount is the operating mode identifier that the air conditioner device needs to switch to, such as switching from the cooling mode to the energy-saving mode, or from the energy-saving mode to the standby mode, etc. Extracting this information from the subset of optimized device operating parameters provides a specific adjustment basis for subsequent control operations. In actual operation, data parsing algorithms can be used to extract the required information from the subset of optimized device operating parameters. For example, regular expression matching technology can be used to extract the temperature setpoint adjustment amount and operating mode adjustment amount from the parameter subset according to the preset format rules. For the temperature setpoint adjustment amount, it can be represented as a numerical value, where a positive number indicates an increase in temperature and a negative number indicates a decrease in temperature. For the operating mode adjustment amount, preset codes can be used to represent different operating mode switches, such as "1" indicating switching from the cooling mode to the energy-saving mode, "2" indicating switching from the energy-saving mode to the standby mode, etc.

[0048] Step S320: Adjust the temperature setpoint adjustment amount and the operating mode adjustment amount, and allocate time window adjustment tasks for each air conditioning device within the future time period. The time window adjustment tasks include operation instructions for adjusting the temperature setpoint or switching the operating mode at the start, middle, or end of the future time period.

[0049] Based on the extracted temperature setpoint adjustment amount and operating mode adjustment amount, allocate time window adjustment tasks for each air conditioning device within the future time period. The time window adjustment tasks specify at which moment within the future time period the temperature setpoint of the air conditioning device needs to be adjusted or the operating mode needs to be switched. For example, for a certain air conditioning device, the allocated time window adjustment task may be to increase the temperature setpoint by 2°C at the start of the future time period and switch the operating mode from the cooling mode to the energy-saving mode. To achieve this allocation process, a task scheduling algorithm can be used. The task scheduling algorithm can generate specific time window adjustment tasks for each air conditioning device based on the temperature setpoint adjustment amount and operating mode adjustment amount, combined with the time division of the future time period. For example, the earliest deadline first (EDF) scheduling algorithm can be used to sort according to the deadline of the adjustment task (i.e., the start, middle, or end of the future time period), and give priority to tasks with earlier deadlines. This can ensure that the adjustment tasks can be completed within the specified time.

[0050] Step S330: Obtain the device response delay parameters of multiple air conditioning devices and the power grid load fluctuation trend data of the target area. Determine the minimum interval duration for each air conditioning device to execute the time window adjustment task according to the device response delay parameters, and dynamically sort the execution order of the time window adjustment tasks in combination with the power grid load fluctuation trend data.

[0051] The device response delay parameter refers to the time required for an air conditioning device to actually execute a control instruction after receiving it. Different air conditioning devices may have different response delay parameters, which will affect the execution of the time window adjustment task. Determining the minimum interval duration for each air conditioning device to execute the time window adjustment task according to the device response delay parameter can prevent the power grid load from suddenly changing due to multiple devices executing adjustment tasks simultaneously.

[0052] The grid load fluctuation trend data of the target area reflects the change trend of the grid load in the future period. Combining the grid load fluctuation trend data and dynamically sorting the execution order of the time window adjustment tasks can make the adjustment operations of air conditioning equipment more in line with the changes in the grid load. For example, when the grid load is about to reach the peak, some adjustment tasks to reduce power can be executed preferentially. The device response delay parameter can be obtained by conducting actual tests on the air conditioning equipment or referring to the technical specification sheet of the equipment. When determining the minimum interval duration, a safe interval time can be set according to the maximum value of the device response delay parameter to avoid sudden changes in the grid load caused by multiple devices executing adjustment tasks simultaneously. For the grid load fluctuation trend data of the target area, it can be obtained in real time through the grid monitoring system. When dynamically sorting the execution order of the time window adjustment tasks in combination with this data, heuristic algorithms such as genetic algorithms or simulated annealing algorithms can be used. These algorithms can search for the optimal task execution order considering the grid load fluctuation trend, making the adjustment operations of air conditioning equipment more in line with the changes in the grid load.

[0053] Step S340: Based on the dynamically sorted execution order, bind the temperature setpoint adjustment amount, the operating mode adjustment amount to the corresponding time window adjustment tasks to generate an individual control instruction set for each air conditioning device.

[0054] According to the dynamically sorted execution order, bind the temperature setpoint adjustment amount, the operating mode adjustment amount to the corresponding time window adjustment tasks to form an individual control instruction set for each air conditioning device. The individual control instruction set contains the specific adjustment tasks and execution times that each air conditioning device needs to execute in the future period, providing detailed instructions for the precise control of the air conditioning device. During the binding process, a data structure can be used to store this information. For example, a dictionary or an object can be used to represent the individual control instruction set of each air conditioning device, where the keys can be the relevant information of the temperature setpoint adjustment amount, the operating mode adjustment amount, and the time window adjustment tasks, and the values are the specific parameters or operation instructions. In this way, the temperature setpoint adjustment amount, the operating mode adjustment amount can be closely associated with the corresponding time window adjustment tasks, facilitating subsequent control operations.

[0055] Step S350: Detect conflicts among the instructions in the individual control instruction set. If it is detected that there are operation mode switching operations of multiple air conditioning devices within the same time window, which may cause a risk of sudden change in the grid load, re - arrange the priorities of the conflicting instructions according to the device priority identifier, and verify the matching degree of the rearranged instruction set with the load prediction data for the future period.

[0056] Conflict detection is performed on each instruction in the individual control instruction set to avoid sudden changes in the grid load caused by the adjustment operations of multiple air conditioning devices within the same time window. For example, if multiple high-power air conditioning devices switch from the standby mode to the cooling mode at the same time, it may cause a significant instantaneous increase in the grid load, posing a safety risk. When a conflict is detected, the conflicting instructions are re-prioritized according to the device priority identifier to ensure the smooth execution of the adjustment tasks of high-priority devices first.

[0057] The matching degree verification of the re-prioritized instruction set with the load prediction data for future time periods is to ensure that the adjusted tasks after re-prioritization do not deviate significantly from the predicted grid load situation. If the matching degree verification fails, it may be necessary to further adjust the instruction set to ensure that the adjustment operations of the air conditioning devices meet the requirements of the grid load. When performing conflict detection, graph theory algorithms can be used. The adjustment task of each air conditioning device is regarded as a node in the graph, and the edges between the nodes represent the time relationship and possible conflicts between the tasks. By traversing the nodes and edges in the graph, it can be detected whether there is a situation where the adjustment tasks of multiple devices within the same time window cause sudden changes in the grid load. When a conflict is detected, the conflicting instructions are re-prioritized according to the device priority identifier, and a priority queue data structure can be used. The adjustment tasks of high-priority devices are arranged at the front of the queue and executed first. When performing the matching degree verification of the re-prioritized instruction set with the load prediction data for future time periods, statistical analysis methods can be used to calculate the similarity between the load changes in the instruction set and the load prediction data. If the similarity reaches the preset threshold, it is considered that the matching degree verification passes.

[0058] Step S360: According to the matching degree verification result, the individual control instruction sets without conflicts and conforming to the load prediction data are merged into an air conditioning group control strategy.

[0059] According to the matching degree verification result, the individual control instruction sets without conflicts and conforming to the load prediction data are merged into an air conditioning group control strategy. This strategy combines the adjustment tasks of all air conditioning devices and can achieve a balance between air conditioning energy conservation and indoor environmental comfort on the premise of ensuring the safe and stable operation of the power grid. During the merging process, data fusion technologies can be used. The individual control instruction set of each air conditioning device is regarded as a data source, and these data sources are integrated into a unified air conditioning group control strategy through data fusion algorithms. For example, the weighted average method or the voting method can be used to assign different weights according to the reliability and importance of the individual control instruction sets, and then they are merged into a final control strategy. The air conditioning group control strategy generated in this way can comprehensively consider the adjustment tasks of all air conditioning devices and achieve the goals of safe and stable operation of the power grid and air conditioning energy conservation.

[0060] Step S400: Obtain the actual power grid load data and the operation feedback data of the air-conditioning group within the future time period, and update the weight parameters of the load forecasting model according to the deviation value between the actual power grid load data and the load forecasting data.

[0061] The actual power grid load data within the future time period refers to the magnitude of the power load actually borne by the power grid within the future time period, which reflects the real operation condition of the power grid. The operation feedback data of the air-conditioning group is the actual operation status information of multiple air-conditioning devices during the implementation of the control strategy, such as the actual temperature, actual power, etc.

[0062] Updating the weight parameters of the load forecasting model according to the deviation value between the actual power grid load data and the load forecasting data is to improve the accuracy of the load forecasting model. If the deviation value is large, it indicates that there is a large difference between the prediction result of the load forecasting model and the actual situation, and it is necessary to adjust the weight parameters of the model so that the model can better adapt to the actual situation.

[0063] As an implementation manner, in step S400, updating the weight parameters of the load forecasting model according to the deviation value between the actual power grid load data and the load forecasting data may specifically include: Step S410: Extract the predicted load change sequence corresponding to the future time period from the load forecasting data, and obtain the actual load change sequence in the same time period of the actual power grid load data.

[0064] The predicted load change sequence is the prediction result of the load forecasting model for the power grid load change within the future time period. It is a time series data that contains the predicted load values at different time points. The actual load change sequence is the real change condition of the actual power grid load in the same time period. Extracting these two sequences is for subsequent deviation calculation. When extracting the predicted load change sequence, the corresponding part in the load forecasting data can be screened out by timestamp matching. For example, assuming that the future time period is from 9:00 am to 5:00 pm on January 1, 2024, then according to the timestamp information, the predicted load values within this time period in the load forecasting data can be extracted to form the predicted load change sequence. For the actual power grid load data, it can be collected in real time through the power grid monitoring system, and the actual load change sequence can be extracted according to the same time range. This can ensure the consistency of the two sequences in time and facilitate subsequent deviation calculation.

[0065] Step S420: Calculate the load difference between the predicted load change sequence and the actual load change sequence at each time point to generate a deviation value sequence.

[0066] By calculating the load difference between the predicted load change sequence and the actual load change sequence at each time point, a deviation value sequence can be obtained. The deviation value sequence reflects the magnitude of the prediction error of the load prediction model at each time point. For example, if at a certain time point, the predicted load value is 1000 kilowatts and the actual load value is 1100 kilowatts, then the load difference at this time point is 100 kilowatts, and this difference will be used as an element in the deviation value sequence. When calculating the load difference, the method of subtracting point by point can be used. For example, for the i-th time point in the predicted load change sequence and the actual load change sequence, denoted as the predicted load value Pi and the actual load value Ai respectively, then the load difference Di at this time point is Di = Ai - Pi. Arranging the load differences at all time points in sequence forms the deviation value sequence. This sequence intuitively reflects the prediction error situation of the load prediction model at each time point.

[0067] Step S430: Determine the weight error amounts of the load prediction model on the temperature correlation parameter and the time correlation parameter according to the fluctuation amplitude and duration of the deviation value sequence.

[0068] The fluctuation amplitude and duration of the deviation value sequence reflect the severity and duration of the prediction error of the load prediction model. Based on this information, the weight error amounts of the load prediction model on the temperature correlation parameter and the time correlation parameter can be determined. The temperature correlation parameter refers to the model parameter related to temperature, because temperature will affect the operation of air conditioning equipment and the grid load; the time correlation parameter is the model parameter related to time, such as the load change law in different time periods, etc. The weight error amount represents the magnitude of the adjustment required for the weights of the model on these parameters. The fluctuation amplitude of the deviation value sequence can be measured by calculating the difference between the maximum value and the minimum value in the sequence, and the duration can be determined by counting the number of consecutive time points when the deviation value is greater than the preset threshold. For the weight error amounts of the temperature correlation parameter and the time correlation parameter, the method of regression analysis can be used to determine. For example, establish a regression model, with the fluctuation amplitude and duration of the deviation value sequence as independent variables and the weight error amounts of the temperature correlation parameter and the time correlation parameter as dependent variables, and calculate the weight error amounts by fitting the regression equation. In this way, according to the characteristics of the deviation value sequence, the adjustment direction and magnitude of the weights of the model on different parameters can be accurately determined.

[0069] Step S440: Use the gradient descent algorithm to perform backpropagation on the weight error amounts and adjust the connection weights of the neural network layer in the load prediction model.

[0070] The gradient descent algorithm is a general optimization algorithm used to find the minimum value of a function. In the load forecasting model, by backpropagating the weight error amount, the gradient descent algorithm is used to adjust the connection weights of the neural network layer. Backpropagation means transmitting the error from the output layer to the input layer, and adjusting the connection weights according to the magnitude and direction of the error to make the prediction results of the model more accurate. The core idea of the gradient descent algorithm is to update the connection weights along the negative gradient direction of the error function to gradually reduce the prediction error. During the backpropagation process, first calculate the partial derivative of the error function with respect to each connection weight to obtain the gradient of the weight. Then, according to the formula of the gradient descent algorithm, update the connection weights. For example, for the connection weight W, its update formula is W = W - η * ∇E, where η is the learning rate and ∇E is the gradient of the error function with respect to W. Through multiple iterative updates, the connection weights are continuously adjusted to make the prediction results of the model more accurate.

[0071] Step S450: Smooth the adjusted connection weights and the historical weight data to generate updated weight parameters.

[0072] Smoothing is to avoid drastic changes in the connection weights and make the adjustment of the model more stable. To smooth the adjusted connection weights and the historical weight data, methods such as the moving average method can be used. For example, calculate the weighted average of the adjusted connection weights and the historical weight data as the updated weight parameters. This can make the model maintain stability while adapting to the new actual situation.

[0073] As an implementation, in step S440, using the gradient descent algorithm to backpropagate the weight error amount and adjust the connection weights of the neural network layer in the load forecasting model may specifically include: Step S441: Determine the initial weight allocation ratio corresponding to each neuron in the hidden layer nodes according to the distribution characteristics of the historical load data, real-time environmental temperature, humidity, and user behavior characteristics in the input layer nodes.

[0074] The input layer nodes contain information such as historical load data, real-time ambient temperature, humidity, and user behavior characteristics. The distribution characteristics of this information reflect the degree of their influence on load forecasting. Based on these distribution characteristics, determining the initial weight allocation ratios corresponding to each neuron in the hidden layer nodes is to enable the neural network to better learn the relationship between this information and load forecasting. For example, if the historical load data has a large fluctuation range, a larger initial weight can be assigned to the hidden layer neurons related to the historical load data. When determining the initial weight allocation ratios, the principal component analysis (PCA) method can be used. The PCA method can perform dimensionality reduction on multiple input variables (historical load data, real-time ambient temperature, humidity, and user behavior characteristics) and extract the main components. Then, based on the contribution degree of each component to load forecasting, the initial weight allocation ratios corresponding to each neuron in the hidden layer nodes are determined. For example, if a certain component makes a greater contribution to load forecasting, a larger initial weight can be assigned to the hidden layer neurons related to this component.

[0075] As an implementation manner, in step S441, according to the distribution characteristics of the historical load data, real-time ambient temperature, humidity, and user behavior characteristics in the input layer nodes, determining the initial weight allocation ratios corresponding to each neuron in the hidden layer nodes may specifically include the following steps: Step S4411: Obtain the fluctuation range and period characteristics of the historical load data, the change trend characteristics of the real-time ambient temperature and humidity, and the time distribution density characteristics of the user behavior characteristics, and generate a feature correlation degree set corresponding to each input layer node.

[0076] The fluctuation range and period characteristics of the historical load data reflect the change law of the load. The change trend characteristics of the real-time ambient temperature and humidity reflect the influence of environmental factors on the load. The time distribution density characteristics of the user behavior characteristics represent the time law of users using air conditioning equipment. By analyzing these characteristics, a feature correlation degree set corresponding to each input layer node is generated, and this set contains information on the correlation degree between each input layer node and load forecasting. When obtaining the fluctuation range and period characteristics of the historical load data, the Fourier transform method can be used. The Fourier transform can convert time series data into the frequency domain to analyze the periodic components and fluctuation range of the data. For the change trend characteristics of the real-time ambient temperature and humidity, the moving average method or the linear regression method can be used to fit the change trend of the data. For the time distribution density characteristics of the user behavior characteristics, by counting the number of user behaviors in different time periods and drawing a time distribution histogram, the distribution density characteristics can be analyzed. Based on these characteristics, the correlation degree between each input layer node and load forecasting is calculated to generate the feature correlation degree set.

[0077] Step S4412: Calculate the first weight influence factor of the historical load data node and the real-time environmental temperature node, the second weight influence factor of the humidity node, and the third weight influence factor of the user behavior feature node according to the morphological correlation between the fluctuation amplitudes of the features in the feature correlation degree set and the predicted load curve.

[0078] Calculate the weight influence factors of different input layer nodes according to the morphological correlation between the fluctuation amplitudes of the features in the feature correlation degree set and the predicted load curve. The first weight influence factor reflects the influence degree of historical load data and real-time environmental temperature on load prediction, the second weight influence factor represents the influence degree of humidity on load prediction, and the third weight influence factor reflects the influence degree of user behavior features on load prediction. These weight influence factors are used to determine the initial weight allocation ratio. When calculating the weight influence factors, a correlation analysis method can be adopted. Correlation analysis can calculate the correlation coefficient between two variables, reflecting the degree of association between them. For the historical load data node and the real-time environmental temperature node, calculate their correlation coefficients with the predicted load curve as the first weight influence factor. Similarly, calculate the correlation coefficient between the humidity node and the predicted load curve as the second weight influence factor, and calculate the correlation coefficient between the user behavior feature node and the predicted load curve as the third weight influence factor. These weight influence factors reflect the importance of different input layer nodes to load prediction.

[0079] Step S4413: Determine the initial weight transfer ratio from the input layer nodes to the hidden layer nodes based on the first weight influence factor, the second weight influence factor, and the third weight influence factor, where the transfer ratio is the normalized allocation result of each weight influence factor on the hidden layer neurons.

[0080] Determine the initial weight transfer ratio from the input layer nodes to the hidden layer nodes based on the calculated first weight influence factor, the second weight influence factor, and the third weight influence factor. Normalized allocation means processing each weight influence factor so that their sum is 1, and then allocating the weights to the hidden layer neurons according to the normalized weight influence factors. This can ensure the rationality and balance of the initial weight allocation. Normalized allocation can be achieved by dividing each weight influence factor by their sum. For example, assume the first weight influence factor is W1, the second weight influence factor is W2, and the third weight influence factor is W3. Then the normalized transfer ratios are P1 = W1 / (W1 + W2 + W3), P2 = W2 / (W1 + W2 + W3), P3 = W3 / (W1 + W2 + W3). According to these transfer ratios, allocate the weights of the input layer nodes to the hidden layer neurons to ensure the rationality and balance of the initial weight allocation.

[0081] Step S4414: According to the number of hidden layer nodes and the transfer ratio, allocate the historical load data nodes corresponding to the first weight influence factor to the pre-neurons of the hidden layer nodes, allocate the humidity nodes corresponding to the second weight influence factor to the intermediate neurons, and allocate the user behavior feature nodes corresponding to the third weight influence factor to the post-neurons.

[0082] According to the number of hidden layer nodes and the transfer ratio, allocate the weights corresponding to different input layer nodes to different positions in the hidden layer. Allocate the historical load data nodes to the pre-neurons of the hidden layer nodes because historical load data usually has an important early influence on load prediction; allocate the humidity nodes to the intermediate neurons considering that the influence of humidity on load may be more obvious in the intermediate stage; allocate the user behavior feature nodes to the post-neurons because user behavior features may have a greater impact in the later stage of load prediction. During the allocation process, the weights that each neuron should be allocated can be calculated according to the number of hidden layer nodes and the transfer ratio. For example, assume there are n neurons in the hidden layer and the transfer ratio corresponding to the first weight influence factor is P1, then P1 can be evenly distributed to the first k pre-neurons (k is determined according to the actual situation). Similarly, distribute the transfer ratio corresponding to the second weight influence factor to the middle m neurons, and distribute the transfer ratio corresponding to the third weight influence factor to the post l neurons (m + l + k = n). In this way, the weights can be reasonably allocated to different positions in the hidden layer according to the importance of different input layer nodes.

[0083] Step S4415: Based on the allocation results of the pre-neurons, intermediate neurons, and post-neurons, generate the initial weight allocation ratio of each neuron in the hidden layer nodes, and verify the fitting degree between the initial weight allocation ratio and the load fluctuation pattern in the predicted load curve. If the fitting degree does not reach the preset threshold, readjust the calculation method of the feature correlation degree set.

[0084] Based on the allocation results of the pre - order neurons, intermediate neurons, and post - order neurons, generate the initial weight allocation ratios of each neuron in the hidden layer nodes. Then verify the fitness between this initial weight allocation ratio and the load fluctuation pattern in the predicted load curve. If the fitness does not reach the preset threshold, it indicates that the initial weight allocation may be unreasonable, and it is necessary to readjust the calculation method of the feature correlation degree set to obtain a more appropriate initial weight allocation ratio. After generating the initial weight allocation ratio, use the generated initial weights for load prediction to obtain the predicted load curve. Then calculate the fitness between the predicted load curve and the actual load curve in terms of the load fluctuation pattern. The fitness can be measured by calculating indicators such as the correlation coefficient or mean square error between the two. If the fitness does not reach the preset threshold, it indicates that the initial weight allocation may be unreasonable, and it is necessary to readjust the calculation method of the feature correlation degree set. For example, the parameters of the Fourier transform, the window size of the moving average method, or the method of correlation analysis can be adjusted to obtain a more appropriate feature correlation degree set, thereby generating a more reasonable initial weight allocation ratio.

[0085] Step S442: Based on the fluctuation amplitude of the deviation value sequence and the shape of the predicted load curve in the future time period of the load prediction data, calculate the error propagation path between the input layer nodes and the hidden layer nodes, and generate the weight gradient correction direction of the hidden layer nodes.

[0086] The fluctuation amplitude of the deviation value sequence and the shape of the predicted load curve reflect the prediction error situation of the load prediction model. According to this information, calculate the error propagation path between the input layer nodes and the hidden layer nodes, and determine the weight gradient correction direction of the hidden layer nodes. The weight gradient correction direction indicates the direction in which the weights of the hidden layer nodes need to be adjusted in the gradient descent algorithm to reduce the prediction error of the model. When calculating the error propagation path, the chain rule can be used. The chain rule is a method of taking derivatives in calculus and is used to calculate the derivative of a composite function. In a neural network, the process of error propagation from the output layer to the input layer can be regarded as a process of taking the derivative of a composite function. Through the chain rule, the partial derivative of the error with respect to each connection weight can be calculated, thereby determining the error propagation path. Based on the error propagation path, the fluctuation amplitude of the deviation value sequence, and the shape of the predicted load curve, generate the weight gradient correction direction of the hidden layer nodes to guide the adjustment of the connection weights.

[0087] Step S443: Iteratively adjust the initial weight allocation ratio layer by layer according to the weight gradient correction direction, and obtain the change rate of the deviation value between the updated predicted load curve and the actual load curve after each iteration.

[0088] Iteratively adjusting the initial weight allocation ratio layer by layer according to the weight gradient correction direction is the core step of the gradient descent algorithm. After each iteration, calculate the rate of change of the deviation value between the updated predicted load curve and the actual load curve to evaluate the adjustment effect of the model. If the rate of change of the deviation value shows a downward trend, it indicates that the adjustment of the model is effective; if the rate of change of the deviation value does not decrease or even increases, it may be necessary to adjust the parameters of the gradient descent algorithm. During the iterative adjustment process, after updating the connection weights according to the weight gradient correction direction each time, recalculate the output of the load prediction model to obtain the updated predicted load curve. Then calculate the rate of change of the deviation value between the updated predicted load curve and the actual load curve. The rate of change of the deviation value can be obtained by calculating the difference between the average values of the deviation value sequences in two adjacent iterations. For example, if the average value of the deviation value sequence in the k-th iteration is Ek and the average value of the deviation value sequence in the k+1-th iteration is Ek+1, then the rate of change of the deviation value is (Ek - Ek+1) / Ek. By monitoring the rate of change of the deviation value, the adjustment effect of the model can be evaluated to determine whether it is necessary to continue adjusting the connection weights.

[0089] Step S444: If the rate of change of the deviation value does not show a downward trend in consecutive N iterations, dynamically switch the step size parameter of the gradient descent algorithm according to the trend change direction of the actual load curve, and recalculate the weight gradient correction direction, where N > 2.

[0090] If the rate of change of the deviation value does not show a downward trend in consecutive N iterations, it indicates that the gradient descent algorithm may be trapped in a local optimum or the step size parameter is inappropriate. At this time, dynamically switch the step size parameter of the gradient descent algorithm according to the trend change direction of the actual load curve, such as increasing or decreasing the step size, and then recalculate the weight gradient correction direction to jump out of the local optimum and continue to search for better weight parameters. When the rate of change of the deviation value does not decrease in consecutive N iterations, it indicates that the gradient descent algorithm may be trapped in a local optimum or the step size parameter is inappropriate. At this time, dynamically switch the step size parameter according to the trend change direction of the actual load curve. If the actual load curve shows an upward trend, the step size can be appropriately increased to accelerate the adjustment speed of the model; if the actual load curve shows a downward trend, the step size can be appropriately decreased to avoid over-adjustment of the model. Then recalculate the weight gradient correction direction and continue the iterative adjustment to jump out of the local optimum and search for better connection weights.

[0091] Step S445: When the average value of the deviation value sequence reaches the preset error threshold, lock the connection weights after the current iteration, and verify the fitting degree between the connection weights and the predicted load data output by the activation function of the load prediction model, and terminate the adjustment process after the fitting degree meets the preset stability condition.

[0092] When the average value of the deviation value sequence reaches the preset error threshold, it indicates that the prediction error of the model has been reduced to an acceptable range. At this time, lock the connection weights after the current iteration, and verify the fitting degree between the connection weights and the predicted load data output by the activation function of the load prediction model. The fitting degree represents the matching degree between the connection weights and the predicted load data. If the fitting degree meets the preset stability condition, it is considered that the adjustment of the model has been completed, and the adjustment process is terminated. The preset error threshold is an error limit set according to actual requirements and the accuracy requirements of the model. When the average value of the deviation value sequence reaches this threshold, it indicates that the prediction error of the model has been reduced to an acceptable range. At this time, lock the connection weights after the current iteration, and then verify the fitting degree between the connection weights and the predicted load data output by the activation function. The fitting degree can be measured by calculating indicators such as the correlation coefficient or the mean square error. If the fitting degree meets the preset stability condition, it indicates that the matching degree between the connection weights and the predicted load data is good, the adjustment of the model has been completed, and the adjustment process is terminated.

[0093] Step S500: Calibrate the optimization rules of the parameter optimization model according to the updated weight parameters and the operation feedback data of the air conditioner group, and generate a calibrated air conditioner energy-saving control model.

[0094] The updated weight parameters are obtained after the adjustment of the load prediction model, which reflects the better adaptation of the model to the actual situation. The operation feedback data of the air conditioner group contains various information of multiple air conditioner devices during actual operation, such as actual energy consumption, temperature change, etc. Calibrating the optimization rules of the parameter optimization model according to these data is to enable the parameter optimization model to generate more accurate parameter adjustment strategies for air conditioner devices, further improving the air conditioner energy-saving effect.

[0095] As an implementation method, in step S500, calibrate the optimization rules of the parameter optimization model according to the updated weight parameters and the operation feedback data of the air conditioner group, and generate a calibrated air conditioner energy-saving control model, which may specifically include: Step S510: Obtain the actual energy consumption value of the device, the number of temperature deviations, and the user manual intervention frequency in the operation feedback data of the air conditioner group.

[0096] The actual energy consumption value of the device refers to the electric energy consumed by the air conditioner device during actual operation, which reflects the actual energy consumption situation of the air conditioner device. The number of temperature deviations refers to the number of deviations between the actual temperature and the set temperature of the air conditioner device, which may affect the user's comfort. The user manual intervention frequency refers to the frequency of the user's manual operation on the air conditioner device, such as manually adjusting the temperature setting value, operation mode, etc., which reflects the user's satisfaction with the current control strategy.

[0097] Step S520: Calculate the energy consumption deviation ratio based on the actual energy consumption value of the device and the predicted energy consumption value in the optimized subset of device operating parameters.

[0098] The energy consumption deviation ratio refers to the degree of deviation between the actual energy consumption value and the predicted energy consumption value of the device. By calculating the energy consumption deviation ratio, the accuracy of the predicted energy consumption value generated by the parameter optimization model can be evaluated. For example, if the energy consumption deviation ratio is large, it indicates that there is a significant difference between the predicted energy consumption value and the actual energy consumption value, and the optimization rules of the parameter optimization model need to be adjusted. Suppose in the optimized subset of device operating parameters, the predicted energy consumption value of an air conditioner device for the next day is 20 kWh. After actual operation for one day, the actual energy consumption value of the device is obtained as 22 kWh. According to the formula: Energy consumption deviation ratio = (Actual energy consumption value - Predicted energy consumption value) ÷ Predicted energy consumption value × 100%, the energy consumption deviation ratio of this air conditioner device can be calculated as (22 - 20) ÷ 20 × 100% = 10%. If the actual energy consumption value is lower than the predicted energy consumption value, such as 18 kWh, the energy consumption deviation ratio is (18 - 20) ÷ 20 × 100% = -10%.

[0099] Step S530: If the energy consumption deviation ratio exceeds the preset calibration threshold, determine the calibration amount of the parameter optimization model in the temperature setpoint adjustment strategy according to the number of temperature deviations and the user's manual intervention frequency.

[0100] The preset calibration threshold is an energy consumption deviation limit set according to the actual situation. When the energy consumption deviation ratio exceeds this threshold, it indicates that there may be problems with the optimization rules of the parameter optimization model and calibration is required. Determining the calibration amount of the parameter optimization model in the temperature setpoint adjustment strategy according to the number of temperature deviations and the user's manual intervention frequency is to make the temperature setpoint adjustment strategy more in line with the actual situation and improve the user's comfort and energy-saving effect.

[0101] Step S540: Add a user behavior correction factor to the parameter optimization model and dynamically adjust the influence coefficient of the correction factor according to the user's manual intervention frequency.

[0102] The user behavior correction factor is introduced to consider the impact of the user's manual intervention behavior on the operation of the air conditioner device. Dynamically adjusting the influence coefficient of the correction factor according to the user's manual intervention frequency can make the parameter optimization model more flexibly adapt to the user's needs. For example, if the user's manual intervention frequency is high, it indicates that the user is not satisfied with the current control strategy, and the influence coefficient of the correction factor needs to be increased to consider the user's manual operation more.

[0103] Step S550: Integrate the calibration amount and the correction factor into the optimization rules to generate a calibrated air conditioner energy-saving control model.

[0104] Integrate the determined calibration quantity and the adjusted correction factor into the optimization rules of the parameter optimization model to form a calibrated air-conditioning energy-saving control model. This model can generate more accurate parameter adjustment strategies for air-conditioning equipment according to the actual situation, achieving better energy-saving effects and user comfort.

[0105] As an implementation, in step S540, add a user behavior correction factor to the parameter optimization model and dynamically adjust the influence coefficient of the correction factor according to the user's manual intervention frequency. Specifically, it can include the following steps: Step S541: Count the number of times the temperature set value changes due to the user's manual operation for each air-conditioning equipment in the future period, and generate a user intervention record set.

[0106] When counting the number of times the temperature set value changes due to the user's manual operation for each air-conditioning equipment in the future period, data collection can be carried out with the help of the intelligent control system built into the air-conditioning equipment. This intelligent control system can accurately record the time of each user's manual operation, the operation type (such as temperature increase or decrease), and the temperature set values before and after the operation. Through the collation and analysis of these data, the number of times the temperature set value changes for each air-conditioning equipment is summarized, and then a user intervention record set is generated. For example, in a commercial area with 100 air-conditioning equipments, collect the user's manual operation data of each air-conditioning equipment within the next week through the intelligent control system, and then count the number of times the temperature set value changes for each equipment to form a user intervention record set containing 100 records.

[0107] Step S542: Determine the type of user behavior pattern according to the distribution density and time distribution characteristics of the user intervention record set.

[0108] The distribution density of the user intervention record set reflects the difference in the frequency of user manual interventions among different air-conditioning equipments, and the time distribution characteristics reflect the rules of the user's manual operations in different time periods. The clustering analysis method can be used to process the user intervention record set, and the user behaviors with similar distribution density and time distribution characteristics are classified into the same type. For example, if some air-conditioning equipments have frequent user manual interventions from 9:00 to 11:00 am and from 2:00 to 4:00 pm on weekdays, and less interventions in other time periods, and the distribution of the intervention times of these equipments is relatively concentrated, then this type of user behavior can be classified as "high-frequency intervention type in specific working-day periods"; if some air-conditioning equipments have relatively uniform small interventions in all time periods of the day, they can be classified as "uniform low-frequency intervention type throughout the day".

[0109] Step S543: If the type of user behavior pattern is the frequent intervention type, increase the weight ratio of the correction factor in the temperature set value adjustment strategy.

[0110] When it is determined that the user behavior pattern is of the frequent intervention type, it indicates that the user is not very satisfied with the current temperature set value adjustment strategy and hopes to achieve a more comfortable environment through manual operations. To better meet the user's needs, the weight proportion of the correction factor in the temperature set value adjustment strategy is increased. For example, originally the weight proportion of the correction factor in the temperature set value adjustment strategy was 20%, and after it is determined to be of the frequent intervention type, its weight proportion is increased to 40%. In this way, when the parameter optimization model generates the temperature set value adjustment strategy, it will consider the user's manual operation history more, making the adjustment strategy more in line with the user's actual needs.

[0111] Step S544: If the user behavior pattern type is of the low-frequency intervention type, then reduce the weight proportion of the correction factor and preferentially adopt the parameter adjustment strategy generated from the load prediction data.

[0112] For the user behavior pattern of the low-frequency intervention type, it indicates that the user is relatively satisfied with the current temperature set value adjustment strategy and rarely makes manual interventions. At this time, the weight proportion of the correction factor can be reduced, for example, from the original 20% to 10%. At the same time, preferentially adopt the parameter adjustment strategy generated from the load prediction data, because in this case, adjusting the parameters according to the load prediction data can better achieve the energy-saving goal, and the user's manual intervention has a relatively small impact on the overall energy-saving effect.

[0113] Step S545: According to the adjusted weight proportion, recalculate the optimization priority of the parameter optimization model for the temperature set value and the operating power threshold.

[0114] After adjusting the weight proportion of the correction factor, it will affect the optimization objectives and constraints of the parameter optimization model for the temperature set value and the operating power threshold. According to the adjusted weight proportion, recalculate the optimization priority. For example, in the case of increasing the weight proportion of the correction factor, the optimization priority of the temperature set value may be relatively increased because more consideration should be given to the user's manual operation habits; while the optimization priority of the operating power threshold may be appropriately reduced, but still need to achieve energy conservation as much as possible under the premise of ensuring the user's comfort. Multi-objective optimization algorithms such as the particle swarm optimization algorithm or the ant colony optimization algorithm can be used to recalculate the optimization priority of the temperature set value and the operating power threshold according to the adjusted weight proportion and the actual constraints to generate a more reasonable parameter adjustment strategy.

[0115] As an implementation manner, the method provided by the embodiment of the present invention may further include: Step S600: Real-time monitor the power grid frequency fluctuation value and the voltage stability index of the target area.

[0116] Real-time monitoring of the power grid frequency fluctuation value and voltage stability index in the target area is crucial for ensuring the safe and stable operation of the power grid and the normal operation of air conditioning equipment. High-precision power grid monitoring devices, such as frequency sensors and voltage sensors, can be installed at key nodes of the power grid in the target area. These sensors can collect real-time power grid frequency and voltage data and transmit the data to the data processing center. The data processing center performs real-time analysis and processing on the collected data to calculate the power grid frequency fluctuation value and voltage stability index. For example, the power grid frequency fluctuation value is obtained by calculating the change amplitude of the power grid frequency over a period of time, and the voltage stability index is obtained by analyzing the amplitude and phase change of the voltage.

[0117] Step S700: Obtain the real-time change rate of the power grid frequency fluctuation value and the phase offset of the voltage stability index, and determine the fluctuation type of the power grid frequency fluctuation value according to the real-time change rate. The fluctuation type includes instantaneous spike fluctuation or continuous low-frequency fluctuation.

[0118] The real-time change rate of the power grid frequency fluctuation value can be obtained by performing a difference calculation on the power grid frequency fluctuation values at adjacent time points. The phase offset of the voltage stability index can be obtained by analyzing the phase of the voltage signal. The fluctuation type is determined according to the real-time change rate of the power grid frequency fluctuation value. If the real-time change rate is large and the fluctuation duration is short, it can be determined as an instantaneous spike fluctuation, which is usually caused by the sudden connection or disconnection of a large load; if the real-time change rate is small and the fluctuation duration is long, it is determined as a continuous low-frequency fluctuation, which may be due to power imbalance in the power grid or abnormal operation of some equipment. For example, when the power grid frequency fluctuation value rapidly rises by 2Hz from the normal range and then quickly recovers within a short time, it can be judged as an instantaneous spike fluctuation; if the power grid frequency fluctuation value slowly fluctuates at an amplitude of 0.1Hz for a long time, it is a continuous low-frequency fluctuation.

[0119] Step S800: Match the preset emergency adjustment strategy library according to the fluctuation type to determine the first adjustment strategy corresponding to the instantaneous spike fluctuation or the second adjustment strategy corresponding to the continuous low-frequency fluctuation.

[0120] The preset emergency adjustment strategy library is a series of adjustment strategies formulated in advance according to different types of power grid fluctuations and the characteristics of air conditioning equipment. After determining the type of power grid frequency fluctuation, the corresponding adjustment strategy is matched from the emergency adjustment strategy library. For instantaneous spike fluctuations, the first adjustment strategy may include quickly reducing the operating power of some non-critical air conditioning equipment to relieve the instantaneous load pressure on the power grid. For example, after detecting an instantaneous spike fluctuation, immediately reduce the operating power of the air conditioning equipment in the public area by 30%. For continuous low-frequency fluctuations, the second adjustment strategy may be to balance the power of the power grid by gradually adjusting the temperature set value and operating mode of high-priority air conditioning equipment. For instance, during continuous low-frequency fluctuations, gradually increase the temperature set value of the air conditioning equipment in the data center by 1°C and switch the operating mode to the energy-saving mode.

[0121] Step S900: If the first adjustment strategy is determined, extract the current operating power threshold set of the low-priority equipment group from the air conditioning group control strategy, and generate a dynamic power reduction subtask set for the low-priority equipment group according to the phase offset of the voltage stability index.

[0122] When it is determined to adopt the first adjustment strategy, extract the current operating power threshold set of the low-priority equipment group from the air conditioning group control strategy. These thresholds reflect the maximum power allowed for the low-priority equipment group during normal operation. Generate a dynamic power reduction subtask set for the low-priority equipment group according to the phase offset of the voltage stability index. The larger the phase offset, the worse the voltage stability of the power grid, and more power needs to be reduced to restore stability. For example, when the phase offset of the voltage stability index exceeds 5°, the generated dynamic power reduction subtask set may require each device in the low-priority equipment group to reduce its operating power by 20%; if the phase offset is between 2° and 5°, reduce the operating power by 10%.

[0123] Step S1000: If the second adjustment strategy is determined, synchronously obtain the temperature set value adjustment margin of the high-priority equipment group and the user comfort feedback data, and generate a hybrid adjustment subtask set combining temperature set value increase and partial equipment power reduction.

[0124] When it is determined to adopt the second adjustment strategy, the temperature setpoint adjustment margin of the high-priority device group and the user comfort feedback data are obtained synchronously. The temperature setpoint adjustment margin refers to the range within which the temperature setpoint of the high-priority device group can be increased without affecting the normal operation of the devices and the basic comfort of the users. The user comfort feedback data can be collected through comfort sensors installed in high-priority areas or user feedback systems. Based on these data, a set of hybrid adjustment subtasks that combines temperature setpoint increase and partial device power reduction is generated. For example, if the temperature setpoint adjustment margin of the high-priority device group is 2°C and the user feedback indicates that the current ambient temperature is slightly high, the temperature setpoint of some high-priority devices can be increased by 1°C, while the operating power of some non-critical high-priority devices is reduced by 10%, forming a set of hybrid adjustment subtasks.

[0125] Step S1100: According to the dynamic power reduction subtask set or the hybrid adjustment subtask set, determine the execution order of the emergency adjustment instructions for each air-conditioning device, and dynamically adjust the priority of the execution order based on the real-time change of the voltage stability index.

[0126] As an implementation, in step S1100, according to the dynamic power reduction subtask set or the hybrid adjustment subtask set, determine the execution order of the emergency adjustment instructions for each air-conditioning device, and dynamically adjust the priority of the execution order based on the real-time change of the voltage stability index, which may specifically include the following steps: Step S1110: Analyze the target power reduction amplitude and the allowed execution time window corresponding to each subtask in the dynamic power reduction subtask set, and generate a first task queue.

[0127] When analyzing the dynamic power reduction subtask set, it is necessary to clarify the target power reduction amplitude and the allowed execution time window corresponding to each subtask. The target power reduction amplitude refers to the amount of power that each air-conditioning device needs to reduce, and the allowed execution time window specifies the time range during which the subtask can be executed. By sorting and organizing this information, a first task queue is generated. For example, for a dynamic power reduction subtask set containing 50 subtasks, determine the target power reduction amplitude (such as 1kW, 2kW, etc.) and the allowed execution time window (such as 9:00 - 9:10, 9:10 - 9:20, etc.) for each subtask, and then sort these subtasks in the order of the allowed execution time window to form a first task queue.

[0128] Step S1120: Analyze the temperature setpoint increase amplitude, the associated device identifier, and the power reduction ratio in the hybrid adjustment subtask set, and generate a second task queue.

[0129] For the hybrid regulation subtask set, it is necessary to parse the increase amplitude of the temperature setting value, the associated device identifier, and the power reduction ratio. The increase amplitude of the temperature setting value refers to the number of degrees by which the temperature setting value of the air-conditioning device needs to be increased. The associated device identifier is used to determine the specific air-conditioning device for which the regulation task needs to be executed. The power reduction ratio represents the percentage of the power that the device needs to reduce relative to the current operating power. By processing this information, a second task queue is generated. For example, in a hybrid regulation subtask set, there is a subtask requiring the temperature setting value of air-conditioning devices numbered 001 - 010 to be increased by 1°C and the operating power to be reduced by 15%. These subtasks are sorted according to the set rules (such as the device number order) to form a second task queue.

[0130] Step S1130: According to the phase shift direction of the voltage stability index, determine the task types to be processed preferentially in the first task queue and the second task queue. Among them, if the phase shift direction is a positive shift, the temperature setting value increase operation in the hybrid regulation subtask set is preferentially executed; if it is a negative shift, the power reduction operation in the dynamic power reduction subtask set is preferentially executed.

[0131] The phase shift direction of the voltage stability index reflects the change trend of the grid voltage. When the phase shift direction is a positive shift, it indicates that the grid voltage has an upward trend. At this time, the temperature setting value increase operation in the hybrid regulation subtask set is preferentially executed because increasing the temperature setting value can, to a certain extent, reduce the power consumption of the air-conditioning device and at the same time reduce the impact on the voltage increase. For example, when the positive phase shift of the voltage stability index is detected, the subtasks in the second task queue that increase the temperature setting value are preferentially executed. If the phase shift direction is a negative shift, it indicates that the grid voltage has a downward trend. At this time, the power reduction operation in the dynamic power reduction subtask set is preferentially executed to relieve the grid load and stabilize the voltage. For instance, during a negative shift, the power reduction subtasks in the first task queue are preferentially processed.

[0132] Step S1140: Based on the task type priority, perform cross-sorting on the first task queue and the second task queue to generate an emergency regulation instruction sequence containing execution timestamps and device identifiers.

[0133] Cross-sort the first task queue and the second task queue according to the determined task type priorities. During the sorting process, the execution timestamps and device identifiers of each subtask need to be considered. The execution timestamps are used to determine the execution order of the subtasks, and the device identifiers are used to uniquely identify each air conditioner device. Through cross-sorting, an emergency adjustment instruction sequence containing the execution timestamps and device identifiers is generated. For example, if the power reduction task in the first task queue is given priority, during sorting, first insert the power reduction subtasks in the first task queue that meet the current time range into the emergency adjustment instruction sequence, and then insert the appropriate subtasks in the second task queue to ensure that the entire sequence is arranged in chronological order and task priorities.

[0134] Step S1150: During the execution of the emergency adjustment instruction sequence, continuously monitor the recovery trajectory of the grid frequency fluctuation value. If the trajectory deviates from the preset recovery curve, perform a secondary sorting on the unexecuted instructions according to the device priority identifier. Among them, advance the unexecuted temperature setting value adjustment instructions in the high-priority device group, and reduce the power reduction instruction intensity of the low-priority device group.

[0135] During the execution of the emergency adjustment instruction sequence, continuously monitor the recovery trajectory of the grid frequency fluctuation value. The preset recovery curve is a pre-set grid frequency recovery trend based on the characteristics of the power grid and the adjustment target. If it is monitored that the recovery trajectory of the grid frequency fluctuation value deviates from the preset recovery curve, it indicates that the current adjustment strategy may need to be adjusted. At this time, perform a secondary sorting on the unexecuted instructions according to the device priority identifier. Advancing the unexecuted temperature setting value adjustment instructions in the high-priority device group is to give priority to ensuring the normal operation of high-priority devices and the comfort of users. At the same time, reducing the power reduction instruction intensity of the low-priority device group to avoid excessive power reduction having a greater impact on the environment in the low-priority area. For example, originally planned to reduce the power of a certain device in the low-priority device group by 30%, after the secondary sorting, reduce the power reduction instruction intensity to 20%.

[0136] Step S1160: When the grid frequency fluctuation value recovers to the preset safe range, freeze the current unexecuted emergency adjustment instructions and convert them into subsequent optimization input parameters for the parameter optimization model.

[0137] When the grid frequency fluctuation value returns to the preset safe range, it indicates that the grid has returned to stability. At this time, freeze the current unexecuted emergency adjustment instructions and stop further adjustment operations. Convert these unexecuted emergency adjustment instructions into subsequent optimization input parameters of the parameter optimization model, so that in the subsequent operation process, the parameter optimization model can take into account these unexecuted adjustment tasks and optimize the operating parameters of the air-conditioning equipment more reasonably. For example, input the relevant parameters (such as target power, target temperature, etc.) in the unexecuted power reduction instructions and temperature setting value adjustment instructions into the parameter optimization model as a reference for the next round of optimization.

[0138] Step S1200: During the execution of the emergency adjustment instructions, collect the compressor response delay data and the grid frequency recovery rate of the air-conditioning equipment in real time. If the recovery rate does not reach the preset threshold, perform instruction intensity enhancement processing on the unexecuted adjustment subtasks.

[0139] When executing the emergency adjustment instructions, the compressor response delay data of the air-conditioning equipment can be collected in real time through sensors, which reflects the time from when the compressor receives the adjustment instruction to actually making a response. At the same time, use the grid monitoring equipment to obtain the grid frequency recovery rate. For example, the preset grid frequency recovery rate threshold is to recover 0.5 Hz every 5 minutes. If it is found that the grid frequency only recovers 0.3 Hz every 5 minutes after executing the adjustment instruction for a period of time and does not reach the threshold, enhance the instruction intensity of the unexecuted adjustment subtasks. For example, increase the instruction to reduce the power by 10% to reduce the power by 15% to accelerate the grid frequency recovery.

[0140] As an implementation manner, in step S500, after calibrating the optimization rules of the parameter optimization model according to the updated weight parameters and the operation feedback data of the air-conditioning group, the method provided by the embodiment of the present invention may further include: Step S1300: Obtain the equipment response delay parameters and the user manual intervention record set generated during the execution of the air-conditioning group control strategy, and generate a strategy execution deviation data set.

[0141] During the execution of the air conditioner group control strategy, the device response delay parameter reflects the time required for the air conditioner device to receive a control instruction and actually execute the instruction. The device response delay parameter can be calculated by installing a time monitoring module in the air conditioner device to record the instruction sending time and the actual response time of the device. The user manual intervention record set records relevant information about the user's manual operation of the air conditioner device during the strategy execution process, such as the operation time, operation content, etc. By sorting and analyzing the device response delay parameter and the user manual intervention record set, a strategy execution deviation data set is generated. This data set can intuitively reflect the deviation degree between the air conditioner group control strategy and the expected situation during the execution process. For example, in an area with 200 air conditioner devices, by collecting the response delay parameters and user manual intervention records of each device, a strategy execution deviation data set containing 200 records is generated.

[0142] Step S1400: Determine the calibration priorities of the parameter optimization model for the temperature setting value adjustment strategy and the operating power threshold allocation strategy according to the delay parameter distribution characteristics and intervention frequencies in the strategy execution deviation data set.

[0143] Analyze the delay parameter distribution characteristics in the strategy execution deviation data set, such as the average value and standard deviation of the delay time, to understand the overall situation of the device response delay. The intervention frequency reflects the user's acceptance and intervention degree of the strategy. Determine the calibration priorities of the parameter optimization model for the temperature setting value adjustment strategy and the operating power threshold allocation strategy based on this information. If the delay parameter distribution is relatively scattered and the average delay time is long, it indicates that there are significant problems with the device response, and it may be necessary to prioritize calibrating the operating power threshold allocation strategy to ensure that the device can respond to control instructions more promptly. If the user intervention frequency is high, it may be necessary to prioritize calibrating the temperature setting value adjustment strategy to better meet the user's needs. For example, through statistical analysis, it is found that the standard deviation of the delay parameter is large and the user intervention frequency reaches 30%, then it is determined to prioritize calibrating the temperature setting value adjustment strategy.

[0144] Step S1500: Based on the calibration priorities, extract the actual energy consumption deviation rate and the number of temperature deviations corresponding to the high-priority calibration items from the air conditioner group operation feedback data to generate a dynamic calibration parameter set.

[0145] Extract relevant information from the operation feedback data of the air conditioner group according to the determined calibration priorities. For high-priority calibration items, if it is the temperature set value adjustment strategy, extract the actual energy consumption deviation rate and the number of temperature deviations. The actual energy consumption deviation rate refers to the deviation ratio between the actual energy consumption and the predicted energy consumption, and the number of temperature deviations refers to the number of deviations between the actual temperature and the set temperature of the air conditioner equipment. Organize this information into a dynamic calibration parameter set. For example, if the temperature set value adjustment strategy is preferentially calibrated, extract the actual energy consumption deviation rate and the number of temperature deviations of each air conditioner equipment from the operation feedback data to form a dynamic calibration parameter set containing multiple parameters.

[0146] Step S1600: Input the dynamic calibration parameter set into the parameter optimization model, and iteratively correct the temperature set value constraint conditions and power distribution ratios in the optimization rules item by item to generate a corrected optimization rule.

[0147] As an implementation method, in step S1600, input the dynamic calibration parameter set into the parameter optimization model, and iteratively correct the temperature set value constraint conditions and power distribution ratios in the optimization rules item by item, which may specifically include the following steps: Step S1610: Extract the set of device identifiers corresponding to the actual energy consumption deviation rate from the dynamic calibration parameter set, and determine the historical temperature set value adjustment records and current operating modes of each air conditioner equipment in the set of device identifiers.

[0148] Extract the set of device identifiers corresponding to the actual energy consumption deviation rate from the dynamic calibration parameter set. These device identifiers are used to determine the air conditioner equipment that needs to be analyzed in detail. For each air conditioner equipment in the set of device identifiers, obtain its historical temperature set value adjustment record, which may specifically include the following steps: adjustment time, adjustment amplitude, etc. information, and at the same time determine its current operating mode (such as cooling mode, heating mode, energy-saving mode, etc.). For example, the dynamic calibration parameter set contains the identifiers of 50 air conditioner equipment with a relatively large actual energy consumption deviation rate. By querying the database, obtain the historical temperature set value adjustment records and current operating modes of these 50 devices.

[0149] Step S1620: Calculate the correction amount of the temperature set value constraint condition according to the deviation direction and amplitude in the historical temperature set value adjustment record, and determine the adjustable range of the power distribution ratio based on the current operating mode.

[0150] Adjust the deviation direction (increase or decrease) and amplitude in the record according to the historical temperature set value, and calculate the correction amount of the temperature set value constraint condition. If the actual energy consumption deviation rate increases after the historical temperature set value is increased, it indicates that the upper limit of the temperature set value may need to be reduced, and vice versa, the lower limit may need to be increased. Determine the adjustable range of the power distribution ratio based on the current operating mode. Different operating modes have different power requirements. For example, the power requirement may be relatively large in the cooling mode and relatively small in the energy-saving mode. Therefore, the adjustable range of the power distribution ratio is also different in different operating modes. For example, in the cooling mode, the adjustable range of the power distribution ratio may be relatively small, while in the energy-saving mode, the adjustable range may be relatively large.

[0151] Step S1630: Input the correction amount and the adjustable range into the rule engine of the parameter optimization model, traverse each constraint condition in the optimization rules, and synchronously update the upper limit, lower limit of the temperature set value and the power distribution weight related to the device identification set.

[0152] Input the calculated correction amount of the temperature set value constraint condition and the adjustable range of the power distribution ratio into the rule engine of the parameter optimization model. The rule engine will traverse each constraint condition in the optimization rules and synchronously update the upper limit, lower limit of the temperature set value and the power distribution weight related to the device identification set. For example, if the correction amount of the upper limit of the temperature set value of a certain device is to be reduced by 1°C, the rule engine will correspondingly reduce the upper limit of the temperature set value of this device by 1°C in the optimization rules. At the same time, according to the adjustable range of the power distribution ratio, adjust the power distribution weight of this device to ensure more reasonable power distribution.

[0153] Step S1640: During the synchronous update process, detect the policy conflict between the temperature set value constraint condition and the power distribution ratio. If there is a conflict, according to the high-frequency adjustment device identification in the user manual intervention record set, preferentially retain the update result of the temperature set value constraint condition.

[0154] During the synchronous update of the temperature set value constraint condition and the power distribution ratio, a policy conflict may occur. For example, reducing the upper limit of the temperature set value may lead to an increase in power demand, while reducing the power distribution ratio at the same time may cause the device to not reach the set temperature. At this time, according to the high-frequency adjustment device identification in the user manual intervention record set, preferentially retain the update result of the temperature set value constraint condition. Because the high-frequency adjustment device identification indicates that the user pays more attention to the temperature setting of these devices, preferentially retaining the update result of the temperature set value constraint condition can better meet the user's needs. For example, if a certain device appears in the user manual intervention record set with high-frequency adjustment and there is a conflict between the temperature set value constraint condition and the power distribution ratio during the update process, then preferentially retain the update result of the temperature set value constraint condition of this device.

[0155] Step S1650: Match and verify the updated result after conflict detection with the future period load distribution in the load prediction data. If the verification passes, integrate the updated constraint conditions and allocation ratio into the revised optimization rule.

[0156] Match and verify the updated result after conflict detection with the future period load distribution in the load prediction data. The purpose of the match verification is to ensure that the updated constraint conditions and allocation ratio can adapt to the grid load conditions in the future period. For example, check whether the updated power allocation ratio will cause the grid load to be too high during peak load periods. If the verification passes, it indicates that the updated constraint conditions and allocation ratio are reasonable, and integrate them into the revised optimization rule. In this way, the optimization rule of the parameter optimization model can be made more in line with the actual situation and improve the effect of air-conditioning energy-saving control.

[0157] Step S1700: Recalculate the air-conditioning group control strategy within the future period according to the revised optimization rule, and execute the updated control strategy within the target area.

[0158] According to the revised optimization rule, use the parameter optimization model to recalculate the air-conditioning group control strategy within the future period. During the calculation process, factors such as equipment response delay, user manual intervention, and actual energy consumption deviation are considered, making the new control strategy more accurate and reasonable. Then execute the updated control strategy within the target area. Send the control instructions to each air-conditioning device through the intelligent control system to achieve precise control of the air-conditioning devices. For example, in a commercial park, calculate the air-conditioning group control strategy for the next 24 hours according to the revised optimization rule, and then send the control instructions to each air-conditioning device through the intelligent air-conditioning control system of the park to ensure that the air-conditioning devices operate according to the new strategy, achieving better energy-saving and comfort effects.

[0159] Please refer to Figure 2 , Figure 2Schematic diagram of the structure of an air conditioner energy-saving control system provided by an embodiment of the present invention. The air conditioner energy-saving control system may be a computer system, such as a background server remotely connected to an air conditioner cluster, or a computer device deployed in an air conditioner control machine room. The air conditioner energy-saving control system at least includes a processor 101, a communication interface 102, and a memory 103. Among them, the processor 101, the communication interface 102, and the memory 103 can be connected through a bus or other means. Among them, the processor 101 (or Central Processing Unit (CPU)) is the computing core and control core of the air conditioner energy-saving control system, which can parse various instructions in the air conditioner energy-saving control system and process various data of the air conditioner energy-saving control system. The communication interface 102 may optionally include a standard wired interface, a wireless interface (such as WI-FI, a mobile communication interface, etc.), and under the control of the processor 101, it can be used for sending and receiving data; the communication interface 102 can also be used for the transmission and interaction of internal data of the air conditioner energy-saving control system. The memory 103 (Memory) is a memory device in the air conditioner energy-saving control system, used to store programs and data. It can be understood that the memory 103 here can include both the built-in memory of the air conditioner energy-saving control system and, of course, the extended memory supported by the air conditioner energy-saving control system. The memory 103 provides a storage space, and the operating system of the air conditioner energy-saving control system is stored in this storage space, which may include but is not limited to: Android system, iOS system, Windows Phone system, etc., and the present invention does not make any limitations in this regard.

[0160] In one embodiment, the processor 101 executes the air conditioner energy-saving control method based on a virtual power plant provided above in the embodiments of the present invention by running a computer program in the memory 103.

Claims

1. An air conditioning energy-saving control method based on a virtual power plant, characterized in that: The method comprises: Obtaining operating parameter sets and real-time grid load data of multiple air-conditioning devices in a target area, and determining air-conditioning energy-saving control models corresponding to the multiple air-conditioning devices; the air-conditioning energy-saving control model includes a load prediction model and a parameter optimization model, wherein the load prediction model is used to generate load prediction data for a future period based on historical load data and real-time environmental parameters, and the parameter optimization model is used to generate parameter adjustment strategies corresponding to each air-conditioning device based on the load prediction data; Determine the grid load fluctuation threshold of the target area according to the real-time grid load data and the load forecast data, and dynamically optimize the operating parameter sets of the multiple air-conditioning equipment through the parameter optimization model to generate an optimized equipment operating parameter subset; According to the optimized subset of equipment operating parameters, adjusting the temperature setting values ​​and operating modes of the plurality of air-conditioning equipment in the future period, and generating an air-conditioning group control strategy corresponding to the future period; Acquire actual grid load data and air conditioning group operation feedback data in the future period, and update the weight parameter of the load prediction model according to the deviation value between the actual grid load data and the load prediction data; According to the updated weight parameters and the air-conditioning group operation feedback data, the optimization rules of the parameter optimization model are calibrated to generate a calibrated air-conditioning energy-saving control model.

2. The method according to claim 1, characterized in that The method of determining the grid load fluctuation threshold of the target area according to the real-time grid load data and the load forecast data, and dynamically optimizing the operating parameter sets of the plurality of air-conditioning devices through the parameter optimization model to generate an optimized device operating parameter subset includes: Obtain the current temperature setting value, operating power threshold and device priority identification of each air-conditioning device in the target area; Dividing a plurality of load adjustment intervals in the future period according to the peak load period and the valley load period in the load forecast data; The maximum load value and the minimum load value corresponding to the power grid load fluctuation threshold are set in the parameter optimization model, and the air conditioning equipment opening and closing strategies corresponding to each load adjustment interval are generated according to the maximum load value and the minimum load value; Based on the equipment priority identifier, the multiple air-conditioning equipment are grouped to determine a high-priority equipment group and a low-priority equipment group, and according to the air-conditioning equipment on / off strategy, the operating power threshold of the low-priority equipment group is lowered during the peak load period, and the temperature setting value of the high-priority equipment group is increased during the valley load period; The adjusted operating power threshold and the temperature setting value are combined into the optimized device operating parameter subset.

3. The method according to claim 2, characterized in that The step of grouping the plurality of air-conditioning devices based on the device priority identifier to determine a high-priority device group and a low-priority device group includes: Obtain historical usage frequency data of each air conditioning device, user-preset preferred temperature range and equipment energy consumption level; Determine the usage activity score of each air-conditioning device according to the historical usage frequency data, and generate a comprehensive priority score for each device in combination with the user's preset preferred temperature range and the device energy consumption level; Classify the first device set whose comprehensive priority score is greater than a preset threshold as the high-priority device group, and classify the remaining second device set as the low-priority device group; In the parameter optimization model, assigning a first optimization weight to the high-priority device group and a second optimization weight to the low-priority device group, wherein the first optimization weight is greater than the second optimization weight; According to the first optimization weight and the second optimization weight, parameter adjustment operations are performed on the high-priority device group and the low-priority device group within the load adjustment interval respectively.

4. The method according to claim 3, characterized in that The performing parameter adjustment operations on the high-priority device group and the low-priority device group in the load adjustment interval according to the first optimization weight and the second optimization weight, respectively, includes: During the peak load period, determining the maximum power reduction ratio allowed for the low-priority device group according to the second optimization weight thereof, and generating a corresponding power adjustment instruction set based on the maximum power reduction ratio; During the valley load period, according to the first optimization weight of the high-priority equipment group, the allowable temperature setting value increase range thereof is determined, and a corresponding temperature adjustment instruction set is generated based on the user-preset tendency temperature range; Inputting the power adjustment instruction set and the temperature adjustment instruction set into the parameter optimization model for conflict detection, if it is detected that there is a resource conflict between the temperature adjustment instruction of the high-priority device group and the power adjustment instruction of the low-priority device group, the temperature adjustment instruction of the high-priority device group is executed first; The optimized device operating parameter subset is generated according to the adjustment instruction after the conflict detection.

5. The method according to claim 1, characterized in that The updating of the weight parameter of the load prediction model according to the deviation value between the actual power grid load data and the load prediction data comprises: Extracting the predicted load change sequence corresponding to the future time period in the load forecast data, and obtaining the actual load change sequence for the same time period in the actual power grid load data; Calculating the load difference between the predicted load change sequence and the actual load change sequence at each time point to generate a deviation value sequence; Determining the weighted error amount of the load forecasting model on the temperature-related parameters and the time-related parameters according to the fluctuation amplitude and duration of the deviation value sequence; Using a gradient descent algorithm to back-propagate the weight error, and adjusting the connection weights of the neural network layer in the load forecasting model; The adjusted connection weights are smoothed with the historical weight data to generate updated weight parameters.

6. The method according to claim 5, characterized in that The step of back-propagating the weight error using a gradient descent algorithm to adjust the connection weights of the neural network layer in the load forecasting model includes: According to the distribution characteristics of historical load data, real-time ambient temperature, humidity and user behavior characteristics in the input layer nodes, the initial weight distribution ratio corresponding to each neuron in the hidden layer nodes is determined; Based on the fluctuation amplitude of the deviation value sequence and the predicted load curve shape of the future period in the load forecast data, the error propagation path between the input layer node and the hidden layer node is calculated to generate the weight gradient correction direction of the hidden layer node; Iteratively adjusting the initial weight distribution ratio layer by layer according to the weight gradient correction direction, and obtaining the deviation value change rate between the updated predicted load curve and the actual load curve after each iteration; If the deviation value change rate does not show a downward trend during N consecutive iterations, the step size parameter of the gradient descent algorithm is dynamically switched according to the trend change direction of the actual load curve, and the weight gradient correction direction is recalculated, N>2; When the average value of the deviation value sequence reaches a preset error threshold, the connection weight after the current iteration is locked, and the fit between the connection weight and the predicted load data output by the activation function of the load forecasting model is verified, so as to terminate the adjustment process after the fit meets the preset stability condition.

7. The method according to claim 1, characterized in that The step of calibrating the optimization rules of the parameter optimization model according to the updated weight parameters and the air conditioning group operation feedback data to generate the calibrated air conditioning energy-saving control model includes: Obtaining the actual energy consumption value of the equipment, the number of temperature deviations, and the frequency of manual intervention by the user from the operation feedback data of the air conditioning group; Calculating an energy consumption deviation ratio according to the actual energy consumption value of the equipment and the predicted energy consumption value in the optimized equipment operation parameter subset; If the energy consumption deviation ratio exceeds a preset calibration threshold, determining a calibration amount of the parameter optimization model on the temperature setting value adjustment strategy according to the number of temperature deviations and the user's manual intervention frequency; Adding a user behavior correction factor to the parameter optimization model, and dynamically adjusting the influence coefficient of the correction factor according to the user's manual intervention frequency; The calibration amount and the correction factor are integrated into the optimization rule to generate the calibrated air conditioning energy-saving control model.

8. The method according to claim 7, characterized in that The adding of the user behavior correction factor in the parameter optimization model and dynamically adjusting the influence coefficient of the correction factor according to the user manual intervention frequency includes: Counting the number of temperature setting value changes of each air-conditioning device due to manual operation by the user in the future period, and generating a user intervention record set; Determining the user behavior pattern type according to the distribution density and time distribution characteristics of the user intervention record set; If the user behavior pattern type is a frequent intervention type, increasing the weight ratio of the correction factor in the temperature setting value adjustment strategy; If the user behavior pattern type is a low-frequency intervention type, the weight ratio of the correction factor is reduced, and the parameter adjustment strategy generated by the load forecast data is preferentially adopted; According to the adjusted weight ratio, the optimization priority of the parameter optimization model on the temperature setting value and the operating power threshold is recalculated.

9. The method according to claim 2, characterized in that: The method further comprises: Real-time monitoring of power grid frequency fluctuation values ​​and voltage stability indicators in the target area; Acquire the real-time change rate of the power grid frequency fluctuation value and the phase offset of the voltage stability index, and determine the fluctuation type of the power grid frequency fluctuation value according to the real-time change rate, wherein the fluctuation type includes instantaneous peak fluctuation or continuous low-frequency fluctuation; According to the fluctuation type, a preset emergency adjustment strategy library is matched to determine a first adjustment strategy corresponding to the instantaneous peak fluctuation or a second adjustment strategy corresponding to the continuous low-frequency fluctuation; If the first adjustment strategy is determined, extracting the current operating power threshold set of the low-priority device group from the air-conditioning group control strategy, and generating a dynamic power reduction subtask set for the low-priority device group according to the phase offset of the voltage stability indicator; If the second regulation strategy is determined, the temperature setting value adjustment margin and user comfort feedback data of the high-priority device group are synchronously obtained to generate a hybrid regulation subtask set that combines temperature setting value increase with power reduction of some devices; Determine the execution order of the emergency adjustment instructions of each air-conditioning device according to the dynamic power reduction subtask set or the mixed adjustment subtask set, and dynamically adjust the priority of the execution order based on the real-time change of the voltage stability index; During the execution of the emergency adjustment instruction, the compressor response delay data and the grid frequency recovery rate of the air-conditioning equipment are collected in real time. If the recovery rate does not reach a preset threshold, the instruction strength enhancement processing is performed on the unexecuted adjustment subtask.

10. An air conditioning energy-saving control system, characterized in that: include: a memory, wherein a computer program is stored in the memory; A processor is used to load the computer program to implement the air conditioning energy-saving control method based on a virtual power plant as described in any one of claims 1-9.

Citation Information

Patent Citations

  • Air conditioner personalized intelligent control method, system and equipment and storage medium

    CN119573214A

  • Method for realizing network optimization and related device

    WO2020125716A1

Cited By

  • Air conditioner control method, device and system, electronic equipment and air conditioner

    CN119737669A

  • An air conditioning control method, device, system, electronic equipment, and air conditioner.

    CN119737669B

  • Energy-saving operation control method and system for central air conditioner

    CN120176267A

  • Intelligent energy management and control method based on RFID technology

    CN120355186A

  • Server cluster task migration method, electronic equipment, storage medium and product

    CN120371533A