A method and system for predicting mutual regulation and control capacity of charging and discharging resources and air conditioning load

By constructing a two-layer collaborative prediction architecture between the power grid and the distribution area and an adaptive feature optimization algorithm, the problems of low prediction accuracy and poor robustness of mutual regulation of electric vehicle charging and discharging resources and air conditioning load are solved, achieving high-precision and robust prediction that adapts to the dynamic operation characteristics of the power grid.

CN123179652APending Publication Date: 2026-11-27STATE GRID ANHUI ELECTRIC POWER CO LTD ELECTRIC POWER SCI RES INST
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611237848.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-14
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing technologies fail to effectively combine the mutual regulation of electric vehicle charging and discharging resources with air conditioning loads, resulting in low prediction accuracy, poor robustness, inability to adapt to the dynamic operating characteristics of the power grid, and inability to simultaneously meet the dispatching needs of overall power grid optimization and local autonomous operation of distribution areas.

Method used

A two-layer collaborative prediction architecture between the power grid and distribution areas is constructed. Based on the load adjustable characteristic model and the mutual assistance regulation potential characteristics, an adaptive feature optimization algorithm combined with a solver is used to establish a two-layer prediction model, including the global prediction error variance of the upper-layer power grid and the objective function of the local response error of the lower-layer distribution area. The spatiotemporal topological relationship is described by graph theory and the OD probability matrix is ​​used to characterize the travel chain and energy consumption behavior.

Benefits of technology

It significantly improves prediction accuracy, with the average absolute error of prediction controlled within 3%, enhances the robustness and self-iterative ability of the model, enables it to adapt to the dynamic operating characteristics of the power grid, and supports cross-level mutual assistance and regulation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123179652A_ABST
    Figure CN123179652A_ABST
Patent Text Reader

Abstract

This invention provides a method and system for predicting the mutual regulation capability of charging and discharging resources and air conditioning load, belonging to the technical field of flexible load regulation and load forecasting in power systems. This invention determines a load adjustability characteristic model based on relevant information of charging and discharging resources and air conditioning load, and determines the mutual regulation potential characteristics based on the load adjustability characteristic model. A two-layer prediction model is established based on the mutual regulation potential characteristics. The two-layer prediction model includes an upper layer and a lower layer. The upper layer determines the objective function based on the global prediction error variance of the power grid, and the lower layer determines the objective function based on the local response error of the distribution area. An adaptive feature optimization algorithm combined with a solver is used to solve the two-layer prediction model. This invention establishes a prediction model for the mutual regulation capability of charging and discharging resources and air conditioning load based on multi-scale spatiotemporal coupling, which significantly improves the prediction accuracy of flexible load regulation potential while ensuring user energy experience and participation willingness.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of power system flexible load regulation and load forecasting technology, and relates to a method and system for predicting the mutual regulation capability of charging and discharging resources and air conditioning load. Background Technology

[0002] The vast charging and discharging resources of electric vehicles can provide considerable two-way regulation potential for power grid dispatch. At the same time, air conditioning load, as the flexible load with the highest proportion on the power grid side, can account for 30%-50% of the peak load of the urban power grid during the summer peak electricity consumption period and 25%-40% during the winter heating season. It has strong flexible control capabilities such as short-term power regulation and operation period shifting.

[0003] The coordinated regulation of electric vehicle charging and discharging resources and air conditioning load can effectively mitigate peak-valley differences in the power grid, alleviate the pressure of distribution network expansion, and improve the absorption of new energy sources. This is a core research direction in the demand response field of current new power system construction. The core prerequisite for the successful implementation of this coordinated regulation is accurate predictive modeling and potential quantitative assessment of the coordinated regulation capabilities of both.

[0004] Currently, research on the prediction of electric vehicle charging and discharging loads and air conditioning loads largely draws on the prediction approaches of conventional flexible loads, but still suffers from the following core technical shortcomings: 1) Existing research does not fully couple the multi-dimensional correlation characteristics of electric vehicle travel chain patterns, air conditioning user energy consumption behavior, and power grid operation constraints, neglecting the mutual support and complementarity of the two types of loads, resulting in significant deviations between load models and actual operating characteristics. 2) Existing prediction schemes can only adapt to large-scale power grid planning and operation scenarios, or only to local autonomous scenarios of distribution areas, failing to simultaneously address the dual-level scheduling needs of global power grid optimization and local autonomous distribution areas. The prediction results are insufficient to directly support the implementation of cross-level mutual support and control. 3) Electric vehicle charging and discharging behavior is influenced by user travel patterns and urban traffic networks, while air conditioning load is affected by user energy consumption habits, meteorological conditions, and building thermal characteristics; both exhibit strong temporal and spatial randomness. Existing schemes lack effective mechanisms for capturing these random characteristics, exhibit poor robustness when facing multi-source heterogeneous data, and prediction errors generally exceed 10%, failing to meet scheduling requirements. 4) Most existing prediction models are fixed models trained offline, which do not take into account the dynamic changes in user behavior and power grid operation scenarios. The prediction accuracy continues to decline during long-term operation and cannot adapt to the dynamic operation characteristics of new power systems.

[0005] Therefore, a prediction scheme is needed that can take into account both-level scenarios, and has high prediction accuracy, strong robustness and self-iterative capability for the mutual regulation of charging and discharging resources and air conditioning load. Summary of the Invention

[0006] The technical solution of this invention is used to solve the problem of low prediction accuracy caused by the strong spatiotemporal randomness of load.

[0007] The present invention solves the above-mentioned technical problems through the following technical solutions: This invention provides a method for predicting the mutual regulation capability between charging and discharging resources and air conditioning load, comprising: Based on the relevant information of charging and discharging resources and air conditioning load, determine the load adjustable characteristic model, and determine the mutual regulation potential characteristics based on the load adjustable characteristic model; A two-layer prediction model is established based on the characteristics of mutual regulation potential. The two-layer prediction model includes an upper layer and a lower layer. The upper layer determines the objective function based on the global prediction error variance of the power grid, and the lower layer determines the objective function based on the local response error of the distribution area. An adaptive feature optimization algorithm combined with a solver is used to solve the two-layer prediction model.

[0008] Furthermore, the determination of the load adjustability characteristic model based on the relevant information of charging and discharging resources and air conditioning load includes: Based on the theory of travel chain and energy consumption behavior, and according to the historical operation data of charging and discharging resources and air conditioning load, the spatiotemporal operation topology is determined; A load adjustability model is determined based on the spatiotemporal operating topology, load power characteristics, user behavior patterns, and power grid operation constraints.

[0009] Furthermore, the method for determining the spatiotemporal operational topology based on travel chain and energy consumption behavior theory, and according to historical operating data of charging and discharging resources and air conditioning load, is as follows: Determine the power grid topology nodes, load operating characteristics, charging and discharging periods, air conditioning start-up and shutdown times, and adjustable durations; The spatiotemporal operation topology is determined based on the power grid topology nodes, load operation characteristics, charging and discharging periods, air conditioning start-up and shutdown times, and adjustable duration.

[0010] Furthermore, the method for determining the spatiotemporal operational topology based on power grid topology nodes, load operating characteristics, charging and discharging periods, air conditioning start-up and shutdown times, and adjustable durations is as follows: The spatiotemporal topological relationship between the power grid and the load is described using graph theory. The spatiotemporal operational topology is represented as G=(N,E), where N represents the set of power grid nodes and E represents the line connection relationship between the nodes. The origin and destination of charging and discharging resources are characterized by an OD probability matrix, which is represented as follows:

[0011] Where P(ij,t) represents the probability of traveling from node i to node j in time period t, N(ij,t) represents the number of electric vehicles traveling from node i to node j in time period t, and n is the total number of power grid nodes; Based on the OD probability matrix and the air conditioner start-stop probability distribution, a spatiotemporal operation topology covering the time and space dimensions is constructed.

[0012] Furthermore, the two-layer prediction model established based on the characteristics of mutual regulation potential includes: Determine the objective function and related constraints of the upper level, and determine the objective function and related constraints of the lower level; A global prediction model for the upper-level power grid is established based on the objective function and relevant constraints of the upper-level model. A local prediction model for the lower-level transformer area is established based on the objective function and relevant constraints of the lower level. A two-layer prediction model is established based on the upper-level global power grid prediction model and the lower-level local distribution area prediction model.

[0013] Furthermore, the method for establishing an upper-level global power grid prediction model based on the upper-level objective function and related constraints is as follows: The objective function of the upper-level power grid global forecasting model is to minimize the variance of the global load forecasting error, expressed as:

[0014] Where F is the global prediction error variance. The average total load of the power grid during the dispatching period. , The grid base load at time t, excluding charging / discharging and air conditioning loads. Let t be the total predicted power of charging and discharging resources and air conditioning load at time t, where T is the total time step of the scheduling cycle; Simultaneously set the following constraints: The state of charge constraints are as follows:

[0015] in, , These represent the lower and upper limits of the state of charge (SOC) of electric vehicle batteries, respectively. Let t represent the state of charge of the i-th electric vehicle at time t. The user temperature comfort constraints are as follows:

[0016] in, , These are the lower and upper limits of the user-defined comfortable temperature range for the air conditioner. Let t be the set temperature of the j-th air conditioner at time t; The maximum power constraints for charging stations and distribution transformers are as follows:

[0017]

[0018] in, Let be the charging and discharging power of the i-th electric vehicle at time t. This refers to the maximum power limit for charging stations. Let be the operating power of the j-th air conditioner at time t. Where m is the rated maximum power of the distribution transformer in the area, k is the number of electric vehicles, and k is the number of air conditioning units. The overall regulatory potential is constrained as follows:

[0019] in, This represents the total potential for mutual regulation and control between charging / discharging resources and air conditioning load within the scheduling cycle. Let be the adjustable power at time t. This represents the maximum adjustable potential limit within the scheduling period.

[0020] Furthermore, the method for establishing a local prediction model for the lower-level transformer area based on the lower-level objective function and relevant constraints is as follows: The objective function of the lower-level model is to minimize the local load forecasting error of the transformer area, and its expression is:

[0021] Simultaneously set the following constraints: Single device adjustable power constraint:

[0022] in, Let be the adjustable power of the i-th load device at time t. Let be the rated adjustable power of the i-th load device; Unschedulable time period constraint:

[0023] in, , These represent the unschedulable times of the i-th load device's connection to and disconnection from the grid, respectively; Lower limit constraint on single device control capability:

[0024] in, Let i be the adjustable potential of the i-th load device within the scheduling cycle. This is the minimum adjustable potential threshold for a single device to participate in regulation.

[0025] Furthermore, the method for solving the two-layer prediction model using an adaptive feature optimization algorithm combined with a solver is as follows: Initialize the feature weight population, setting the population size, maximum number of iterations, initial mutation factor, and initial crossover probability; The optimization factor and crossover probability are dynamically adjusted based on the individual fitness value of the current iteration. Based on the adjusted optimization factor and crossover probability, mutation and crossover operations are performed to determine the experimental vector; Individual selection is performed based on the fitness values ​​of the experimental vectors, and the population is updated. The process is iterated until the convergence condition is met, and the optimal parameters and prediction results of the two-layer prediction model are output.

[0026] Furthermore, the dynamic adjustment of the optimization factor and crossover probability based on the individual fitness value of the current iteration includes: The adaptive adjustment formula for the variation factor is:

[0027] Where F is the mutation factor of the current iteration, , These are the minimum and maximum values ​​of the variation factor, respectively. G represents the maximum number of iterations, and G represents the current number of iterations. The formula for adaptive adjustment of crossover probability is:

[0028] Where CR is the crossover probability of the current individual. , These are the minimum and maximum values ​​of the crossover probability, respectively. This represents the current fitness value of the individual. , These are the maximum and minimum fitness values ​​of the current population, respectively.

[0029] This invention also provides a system based on the above-mentioned method for predicting the mutual regulation capability of charging and discharging resources and air conditioning load, comprising: The data acquisition module is configured to determine the load adjustable characteristic model based on the relevant information of charging and discharging resources and air conditioning load, and to determine the mutual regulation potential characteristics based on the load adjustable characteristic model. The model building module is configured to build a two-layer prediction model based on the characteristics of mutual regulation potential; the two-layer prediction model includes an upper layer and a lower layer. The upper layer determines the objective function based on the global prediction error variance of the power grid, and the lower layer determines the objective function based on the local response error of the distribution area. The data solving module is configured to use an adaptive feature optimization algorithm combined with a solver to solve the two-layer prediction model.

[0030] The beneficial effects of this invention are as follows: This invention constructs a two-layer collaborative prediction architecture between the power grid and distribution transformers, simultaneously covering both global power grid planning and operation and local autonomous operation scenarios. By mining the multi-dimensional coupling characteristics of travel chains, energy consumption behavior, and power grid constraints, it accurately characterizes the mutual support characteristics of the two types of loads, significantly improving prediction accuracy. An adaptive feature optimization algorithm enhances the model's robustness to multi-source heterogeneous data. Furthermore, an adaptive iteration mechanism for model parameters ensures the model's long-term stability. The average absolute error of prediction in this invention can be controlled within 3%, far superior to existing technologies, providing reliable core data support for the mutual support and regulation of charging and discharging resources and air conditioning loads. Attached Figure Description

[0031] Figure 1 This is a flowchart of the method for predicting the mutual regulation capability of charging and discharging resources and air conditioning load according to Embodiment 1 of the present invention; Figure 2 This is a comparison chart of the adjustable power prediction for the mutual regulation and control capability prediction method of charging and discharging resources and air conditioning load according to Embodiment 1 of the present invention. Figure 3 This is a comparison chart of the prediction error distribution of the prediction method for the mutual regulation capability of charging and discharging resources and air conditioning load according to Embodiment 1 of the present invention. Figure 4 This is a comparison chart of the algorithm convergence curves of the prediction method for the mutual regulation capability of charging and discharging resources and air conditioning load according to Embodiment 1 of the present invention. Figure 5 This is a spatiotemporal complementary characteristic curve of EV and AC adjustable power of the prediction method for the mutual regulation capability of charging and discharging resources and air conditioning load in Embodiment 1 of the present invention. Figure 6 This is a curve of the adaptive parameter dynamic adjustment process of the prediction method for the mutual regulation capability of charging and discharging resources and air conditioning load in Embodiment 1 of the present invention. Figure 7 The curves showing the SOC and temperature constraint satisfaction of the method for predicting the mutual regulation capability of charging and discharging resources and air conditioning load according to Embodiment 1 of the present invention are shown. Figure 8 This is a graph showing the influence of the upper-level weight coefficient α on the prediction accuracy in the two-layer prediction model of the prediction method for the mutual regulation and control capability of charging and discharging resources and air conditioning load in Embodiment 1 of the present invention. Detailed Implementation

[0032] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below in conjunction with the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0033] The technical solution of the present invention will be further described below with reference to the accompanying drawings and specific embodiments: Example 1 like Figure 1 As shown, this embodiment provides a method for predicting the mutual regulation capability of charging and discharging resources and air conditioning load, including the following steps: Step 1: Determine the load adjustable characteristic model based on the relevant information of charging and discharging resources and air conditioning load, and determine the mutual regulation potential characteristics based on the load adjustable characteristic model.

[0034] By acquiring multi-source data acquisition channels, we obtain full-dimensional related data on charging and discharging resources and air conditioning load, construct a spatiotemporal operation topology, establish a load adjustable characteristic model, complete feature extraction and screening, and provide standardized input for subsequent prediction models.

[0035] In one implementation, the following multi-source raw data is first collected: Global power grid operation data: provincial / municipal power grid node voltage, line power flow, peak and valley time division, power grid reserve capacity, new energy output forecast data, power grid topology data, and historical load data; Local operating data of the transformer area: transformer capacity, real-time power, voltage qualification rate, feeder load rate, transformer area topology, autonomous control demand data of the transformer area, and historical load data of the transformer area; Electric vehicle charging and discharging full-chain data: vehicle travel trajectory, charging station location, charging and discharging power, charging time period, battery SOC status, battery rated capacity, historical travel and charging data, vehicle type parameters; Air conditioning load operation data: air conditioning equipment type, rated power, operating period, set temperature, indoor and outdoor temperature and humidity, building thermal characteristic parameters, and historical energy consumption data; User behavior data: historical travel patterns of electric vehicle users, energy consumption habits of air conditioning users, historical participation rate in demand response, response willingness data, and user comfort preference data; Meteorological data: regional temperature, humidity, wind speed, solar radiation, and weather forecast data.

[0036] Furthermore, based on the theory of travel chains and energy consumption behavior, and according to the collected historical operational data, the spatiotemporal operational topology is determined, specifically as follows: (1) The spatiotemporal topological relationship between the power grid and the load is described by graph theory. The spatiotemporal operation topology is represented as G=(N,E), where N represents the set of power grid nodes, including distribution network bus, distribution transformer, charging station, and load access node, and E represents the line connection relationship between nodes.

[0037] (2) The origin and destination of charging and discharging resources are characterized by an OD probability matrix, which is expressed as follows:

[0038] Where P(ij,t) represents the probability of traveling from node i to node j in time period t, N(ij,t) represents the number of electric vehicles traveling from node i to node j in time period t, and n is the total number of power grid nodes.

[0039] (3) The travel time of electric vehicles follows a log-normal distribution, and the corresponding probability density function is:

[0040] Where μ and σ are the expected value and standard deviation of the logarithm of travel time, respectively.

[0041] (4) Based on the OD probability matrix and the air conditioner start-stop probability distribution, the spatiotemporal operation topology covering the time and space dimensions is constructed as follows:

[0042] in, This indicates the start and stop times of the air conditioner, with 12:00 noon as the origin of the time coordinate. This represents the expected start-up and shutdown time of the air conditioner. This represents the standard deviation of the air conditioner's start-up and shutdown times.

[0043] Furthermore, based on the spatiotemporal operating topology, load power characteristics, user behavior patterns, and power grid operating constraints, a load adjustability characteristic model is established, specifically including: (1) Adjustable charging and discharging characteristic model of electric vehicles First, calculate the energy consumption of the electric vehicle, using the following expression:

[0044] in, d represents the electricity consumption of the electric vehicle, and d represents the driving range. This is the baseline power consumption per 100 kilometers for the vehicle. The deviation between the load capacity and the reference load capacity. The deviation between the driving speed and the reference speed, Road slope; , , These are the influence coefficients for load, speed, and slope, respectively.

[0045] The expression for calculating battery SOC change based on power consumption is:

[0046] in, For the battery's rated capacity, , These are charging power and discharging power, respectively. The overall energy conversion efficiency for charging batteries from the power grid. This refers to the overall efficiency of the battery discharging in reverse to the power grid via the inverter. This refers to the initial state of charge of the vehicle at the moment of initial grid connection or the start of the current dispatch and control cycle. The rated physical capacity of the electric vehicle's power battery pack. Let be the time-dependent variable in the integration process, representing the time from the start of the scheduling cycle. To the target time Continuous time trajectory within a closed interval.

[0047] Based on the SOC variation range, the adjustable power range and adjustable duration for charging and discharging of electric vehicles are determined, and an adjustable characteristic model for charging and discharging of electric vehicles is constructed, as follows: Adjustable charging power range:

[0048] Adjustable discharge power range:

[0049] Adjustable duration:

[0050]

[0051] in, This represents the charging power of the electric vehicle at time t; It is the discharge power of the electric vehicle at time t; This is the upper limit of the rated charging power of electric vehicles; This is the upper limit of the rated discharge power of electric vehicles, in kW; This is the upper limit of the battery's state of charge; in this embodiment, it is set to 0.95. This is the lower limit of the battery's state of charge, which is 0.20 in this embodiment; SOC(t) is the battery's state of charge at time t; It is the battery's rated capacity; Δt is the scheduling time step. The adjustable charging duration starting from time t; It is the adjustable duration of discharge starting at time t.

[0052] (2) Adjustable characteristic model of air conditioning load The formula for calculating air conditioning load power is:

[0053] in, For air conditioning load power, Here, K represents the air conditioning cooling capacity, COP is the air conditioning energy efficiency ratio, K is the building envelope heat transfer coefficient, and A is the heat transfer area. , These are outdoor and indoor temperatures, respectively.

[0054] Based on the user's temperature comfort range, the adjustable range of the air conditioner's set temperature is determined, and then the adjustable power range and adjustable duration of the air conditioner load are calculated to construct an adjustable characteristic model of the air conditioner load, as follows: The adjustable range of the air conditioner's set temperature is determined by the user's comfortable temperature range. ; The corresponding adjustable range of air conditioning load power is as follows: ,in, , ; Adjustable power range width for air conditioning load: ; Adjustable duration: ; in, Set the air conditioner temperature at time t. This represents the lower limit of the user's comfortable temperature range. This represents the upper limit of the user's comfortable temperature range. Let t be the outdoor temperature. Let t be the air conditioning load power. The thermal inertia time constant of the building. For air conditioner energy efficiency ratio, The heat transfer coefficient of the building envelope. For the heat transfer area of ​​the building envelope, The duration of adjustable air conditioning load starting from time t. Let t be the adjustable power range of the air conditioning load.

[0055] (3) Mutual support characteristic coupling model Based on the adjustable characteristic model of electric vehicle charging and discharging and the adjustable characteristic model of air conditioning load, the complementary characteristics of the two types of loads in the time dimension, spatial dimension and power dimension are analyzed, a mutually supportive characteristic coupling model is constructed, and the potential boundary of their coordinated regulation is determined.

[0056] Specifically, the mutual assistance coupling model characterizes the potential for coordinated regulation of charging and discharging resources and air conditioning load from three dimensions: time, space, and power. (1) Analysis of complementary characteristics in the time dimension: A mutual complementarity index is defined to quantify the degree of complementarity between the adjustable charging and discharging power of electric vehicles and the adjustable power of air conditioning load over a time series. The expression for the mutual complementarity index is as follows:

[0057] in, Let t be the adjustable power of the electric vehicle cluster. Let t be the adjustable power of the air conditioning load cluster. The average adjustable power of EVs during the scheduling period. The average adjustable power of the AC during the scheduling period. The total duration of the scheduling cycle. The index represents mutual benefit and complementarity. The closer they are to 1, the stronger their complementarity.

[0058] (2) Spatial Dimension Complementary Characteristics Analysis: Define a spatial coupling matrix S to characterize the spatial correlation strength between the adjustable power of charging and discharging resources and the adjustable power of air conditioning load at different grid nodes. The matrix elements in the spatial coupling matrix S... Represented as:

[0059] in, Let i be the adjustable power of the electric vehicle cluster at node i. The adjustable power of the air conditioning load cluster at node j. ( ) represents the covariance function. Let be the standard deviation of the adjustable power of the electric vehicle at node i. Let j be the standard deviation of the adjustable power of the air conditioner at node j. ∈[-1,1], positive values ​​indicate positive correlation, negative values ​​indicate negative correlation, and the larger the absolute value, the stronger the correlation.

[0060] (3) Analysis of complementary characteristics in the power dimension: A collaborative regulation potential boundary Ω is defined to determine the joint adjustable range of charging and discharging resources and air conditioning load in the power dimension. The formula for the collaborative regulation potential boundary Ω is as follows:

[0061]

[0062]

[0063] in, The lower limit of the adjustable power for charging and discharging electric vehicles. The upper limit of the adjustable power for charging and discharging electric vehicles. This represents the lower limit of the adjustable power for air conditioning load. This is the upper limit of the adjustable power for air conditioning load. This refers to the maximum acceptable power of a distribution transformer at a power grid node or in a distribution area.

[0064] Furthermore, based on the load adjustable characteristic model, three main categories of coupling features are extracted: (1) Coupled characteristics of electric vehicle travel chain-charging and discharging characteristics: travel start and end time, travel distance, accessibility of charging stations, upper and lower limits of charging and discharging power, adjustable range of battery SOC, peak and valley electricity price response characteristics, and travel probability characteristics.

[0065] (2) Coupling characteristics of air conditioning energy consumption behavior and load flexibility: temperature and humidity sensitivity coefficient, adjustable range of set temperature, shiftable duration of operation, equipment start-up and shutdown constraints, user comfort threshold, and building thermal inertia characteristics.

[0066] (3) Power grid operation constraints - distribution area self-governance demand matching characteristics: power grid peak and valley periods, line load rate constraints, distribution transformer overload threshold, distribution area voltage deviation constraints, new energy consumption demand, and electricity price signal characteristics.

[0067] The X-GBoost feature gain algorithm is used to calculate the contribution of each feature. The expression for calculating the feature gain is as follows:

[0068] in, , Let be the sum of the first derivatives of the left and right subtrees, respectively. , λ and γ are the sum of the second derivatives of the left and right subtrees, respectively, λ is the regularization coefficient, and γ is the leaf node splitting threshold.

[0069] Redundant features with a contribution rate below 2% were removed, ultimately selecting 24 core features to form a feature set representing the potential for mutual regulation. Specifically, the 24 core features are detailed by category as follows: (I) Coupling characteristics of electric vehicle travel chain and charging / discharging characteristics (characteristics 1-8): Feature 1: Expected Trip Start Time – The average start time of a single trip for electric vehicle users; Feature 2: Expected trip end time – the average end time of a single trip for electric vehicle users; Feature 3: Average mileage per trip – the average distance traveled by an electric vehicle on a single trip; Feature 4: Charging Station Accessibility Index – The degree of spatial matching between charging stations and travel routes; Feature 5: Charging power limit – The maximum charging power limit for electric vehicle batteries; Feature 6: Maximum discharge power limit – The maximum discharge power limit of an electric vehicle battery via the inverter; Feature 7: Adjustable range of battery SOC – The difference between the upper and lower limits of the battery's state of charge is the range of SOC that can be regulated; Feature 8: Peak-valley electricity price responsiveness – the intensity of electric vehicle users’ response to time-of-use electricity price signals in terms of charging and discharging behavior.

[0070] (II) Coupling characteristics of air conditioning energy consumption behavior and load flexibility (characteristics 9-16): Feature 9: Temperature Sensitivity Coefficient – ​​The sensitivity of air conditioning load power to the indoor-outdoor temperature difference; Feature 10: Humidity Sensitivity Coefficient – ​​The sensitivity of air conditioning load power to changes in ambient humidity; Feature 11: Adjustable lower limit of set temperature - the lowest acceptable air conditioner set temperature for the user; Feature 12: Set adjustable upper limit for temperature – the highest acceptable air conditioner temperature setting for the user; Feature 13: Maximum Shiftable Duration of Running Segment — The maximum duration for which the air conditioning load running time can be shifted forward or backward; Feature 14: Minimum Start-Stop Interval – The minimum time interval between two starts and stops of the air conditioning compressor; Feature 15: User comfort threshold – the upper limit of subjective acceptance by users of indoor temperature deviating from the set value; Feature 16: Building thermal inertia time constant—the time constant of the building’s indoor temperature response after the air conditioning is turned on and off.

[0071] (III) Characteristics of power grid operation constraints and demand matching for autonomous distribution areas (Characteristics 17-24): Feature 17: Power Grid Peak and Valley Period Identifiers – Time stamps for peak and valley periods of power grid load; Feature 18: Line Load Rate Limit — The maximum allowable load rate constraint value for power grid lines; Feature 19: Distribution transformer overload threshold – the upper limit of the allowable overload power of the distribution transformer in the distribution area; Feature 20: Upper limit of voltage deviation in transformer area — the upper limit of the allowable deviation range of voltage at transformer nodes; Feature 21: New Energy Consumption Demand Coefficient – ​​The intensity of the grid's demand for absorbing new energy power generation; Feature 22: Time-of-use pricing signal – Peak-valley time-of-use pricing values ​​released by the power grid; Feature 23: Demand Coefficient for Local Self-Government Regulation – The intensity of regulation demand during the operation of local self-government in a distribution area; Feature 24: Power grid reserve capacity margin – the proportion of available reserve capacity of the power grid to the maximum load during the dispatch cycle.

[0072] Step 2: Establish a two-layer prediction model based on the characteristics of mutual regulation potential. The two-layer prediction model includes an upper layer and a lower layer. The upper layer determines the objective function based on the global prediction error variance of the power grid, and the lower layer determines the objective function based on the local response error of the distribution area.

[0073] In practical applications, a two-layer collaborative prediction architecture of power grid and distribution area is constructed. The upper layer is designed to meet the global optimization needs of the power grid by building a global prediction model for the power grid, while the lower layer is designed to meet the local autonomy needs of the distribution area by building a local prediction model for the distribution area, thus achieving adaptation and collaboration between the two scenarios.

[0074] In one implementation, the objective function and relevant constraints of the upper-level system are first determined, and a global prediction model of the upper-level power grid is established, as follows: The objective function of the upper-level power grid global forecasting model is to minimize the variance of the global load forecasting error, expressed as:

[0075] Where F is the global prediction error variance. The average total load of the power grid during the dispatching period. , The grid base load at time t, excluding charging / discharging and air conditioning loads. Let t be the total predicted power of charging and discharging resources and air conditioning load at time t, where T is the total time step of the scheduling cycle.

[0076] Simultaneously set the following constraints: The state of charge constraints are as follows:

[0077] in, , These are the lower and upper limits of the state of charge of the electric vehicle battery, respectively, which are taken as 0.2 and 0.95 in this embodiment; Let t represent the state of charge of the i-th electric vehicle at time t.

[0078] User temperature comfort constraints are as follows:

[0079] in, , These are the lower and upper limits of the user-set comfortable temperature range for the air conditioner, which are 24℃ and 28℃ respectively in this embodiment. Let t be the set temperature of the j-th air conditioner at time t.

[0080] The maximum power constraints for charging stations and distribution transformers are as follows:

[0081]

[0082] in, Let be the charging and discharging power of the i-th electric vehicle at time t. This refers to the maximum power limit for charging stations. Let be the operating power of the j-th air conditioner at time t. , where m is the rated maximum power of the distribution transformer in the area, m is the number of electric vehicles, and k is the number of air conditioning units.

[0083] The overall regulatory potential is constrained as follows:

[0084] in, This represents the total potential for mutual regulation and control between charging / discharging resources and air conditioning load within the scheduling cycle. Let be the adjustable power at time t. This represents the maximum adjustable potential limit within the scheduling period.

[0085] In one implementation, the objective function and relevant constraints of the lower layer are determined, and a local prediction model for the lower-level transformer area is established, as follows: The objective function of the lower-level model is to minimize the local load forecasting error of the transformer area, and its expression is:

[0086] Simultaneously set the following constraints: Single device adjustable power constraint:

[0087] in, Let be the adjustable power of the i-th load device at time t. Let be the rated adjustable power of the i-th load device.

[0088] Unschedulable time period constraint:

[0089] in, , These represent the times when the i-th load device is connected to or disconnected from the grid and cannot be scheduled, i.e., the time periods when the device is in operation, out of service, or locked by the user and cannot be adjusted.

[0090] Lower limit constraint on single device control capability:

[0091] in, Let i be the adjustable potential of the i-th load device within the scheduling cycle. The minimum adjustable potential threshold for a single device to participate in regulation is taken as 5% of the device's rated capacity in this embodiment.

[0092] Step 3: Use an adaptive feature optimization algorithm combined with a solver to solve the two-layer prediction model.

[0093] In practical applications, the differential evolution algorithm is an evolutionary algorithm with efficient global optimization capabilities. It performs global optimization through iteration of evolutionary operators, including mutation, crossover, and selection. It has advantages such as fast convergence, few and simple control parameters, and robust optimization results. The adaptive feature optimization algorithm, building upon this, improves search efficiency and convergence performance by introducing an adaptive parameter adjustment strategy.

[0094] In one implementation, an adaptive feature optimization algorithm combined with a solver is used to solve the two-layer prediction model, specifically including the following steps: (1) Initialize the feature weight population and set the relevant algorithm parameters: population size NP=100, maximum number of iterations =200, initial mutation factor =0.5, initial crossover probability =0.9, variation factor range [0.2, 0.8], crossover probability range [0.1, 0.9]; (2) Parameter adaptive adjustment: At the beginning of each iteration, the mutation factor F and crossover probability CR are dynamically adjusted based on the current fitness value; The adaptive adjustment formula for the variation factor is:

[0095] Where F is the mutation factor of the current iteration, , These are the minimum and maximum values ​​of the variation factor, respectively. G represents the maximum number of iterations, and G represents the current number of iterations.

[0096] The formula for adaptive adjustment of crossover probability is:

[0097] Where CR is the crossover probability of the current individual. , These are the minimum and maximum values ​​of the crossover probability, respectively. This represents the current fitness value of the individual. , These are the maximum and minimum fitness values ​​of the current population, respectively.

[0098] (3) Mutation operation: For each individual in the population, randomly select 3 distinct individuals to generate a mutation vector, expressed as:

[0099] in, For the differential mutation trial vector, Each of the three distinct individuals was pseudo-randomly selected from the population pool.

[0100] (4) Crossover operation: Cross the generated mutation vector with the original individual to form the experimental vector, expressed as:

[0101] Where F(g) represents the mutation factor in the g-th iteration, Indicates the upper limit of the variation factor. Indicates the lower limit of the variation factor. Indicates the current iteration number. This represents the maximum number of iterations.

[0102] This adaptive strategy causes the mutation factor F to decrease linearly from 0.8 to 0.2 as the iteration progresses, achieving a smooth switch from focusing on global exploration in the early stages of the search to focusing on local development in the later stages.

[0103] (5) Individual selection: Calculate the fitness values ​​of the experimental vector and the original individual. If the fitness of the experimental vector is better than that of the original individual, then replace the original individual with the experimental vector; otherwise, retain the original individual. The expression is:

[0104] in, Let represent the crossover probability of the i-th individual in the g-th iteration. This represents the upper limit of the crossover probability. This represents the lower bound of the crossover probability. Let represent the fitness value of the i-th individual in the g-th iteration. This represents the fitness value of the best individual in the population during the g-th iteration. Let represent the fitness value of the worst individual in the population during the g-th iteration. This represents the smallest positive number that prevents the denominator from being zero.

[0105] This adaptive strategy enables individuals with better fitness (f_i close to f_best) to automatically obtain a smaller CR to enhance their local search ability, while individuals with poorer fitness (f_i close to f_worst) to automatically obtain a larger CR to enhance their global exploration ability, thereby achieving differentiated adaptive adjustment of the population's search behavior.

[0106] (6) Iteration and Termination Conditions: Repeat the mutation, crossover, selection and parameter adjustment steps until the maximum number of iterations is reached or the fitness value converges to the preset threshold, and output the optimal parameters and prediction results of the two-layer prediction model.

[0107] Simulation test verification (1) Simulation scenario and parameter settings To verify the effectiveness of the method for predicting the mutual regulation capacity of charging and discharging resources and air conditioning load in this invention, a simulation experiment was conducted using a provincial power grid and its subordinate industrial park distribution areas in my country as the simulation scenario. As an example, the simulation test environment of this embodiment can be built on the MATLAB platform (such as R2023a version) and run on a computing device equipped with a multi-core processor (such as Intel Core i7 series) and sufficient memory (such as 32GB).

[0108] The simulation scenario parameters are set as follows: The provincial power grid covers 5 major urban nodes, including 1 distribution network bus node, 3 transformer substation nodes, 3 charging station nodes, and 5 load access nodes. The line connections between nodes are determined by the power grid topology data. A total of 1200 electric vehicles are connected (to accelerate simulation convergence, a scale of 10:1 is used to represent a cluster of 120 vehicles), and the rated battery capacity follows the N(60, 10) rule. 2 The load follows a normal distribution of kWh, with a maximum charging and discharging power of 7kW per vehicle. The air conditioning load includes the central air conditioning clusters of three commercial buildings (total peak cooling power of 1200kW) and the air conditioning load of 800 residential households (rated power of 2.5kW per household, scaled down to a representative cluster of 80 households at a 10:1 ratio). The dispatch cycle T equals 24 hours, the time step Δt equals 15 minutes, and there are a total of 96 time steps. Meteorological data uses typical high-temperature days in summer (maximum temperature 37℃, minimum temperature 26℃), and the electricity price uses the provincial industrial and commercial time-of-use electricity price.

[0109] Comparison Methods: The following three typical methods were selected for comparison: (1) Single-LSTM prediction model, which only considers time series features and does not have a grid-station hierarchical structure; (2) Standard-DE prediction model with standard difference evolution optimization, which uses a fixed mutation factor F equal to 0.5 and a crossover probability CR equal to 0.9; (3) Particle swarm optimization prediction model (PSO), with a population size of 100, an inertia weight of 0.7, and learning factors c1 equal to c2 equal to 2.0. The evaluation metrics used were mean absolute percentage error (MAPE), root mean square error (RMSE), and the number of algorithm convergence iterations.

[0110] The electric vehicle travel chain parameters were calibrated based on the province's traffic travel survey data: the travel time log-normal distribution parameters μ equals 2.5 and σ equals 0.8; the OD probability matrix was constructed from travel statistics for three time periods: morning peak (07:00-09:00), evening peak (17:00-19:00), and off-peak. Air conditioning start-stop times follow a normal distribution N(12,3). 2(with the mean at 12:00 noon), the adjustable duration follows a uniform distribution of U(1,6) hours. The user's temperature comfort range is [24°C, 28°C], and the SOC constraint range is [0.2, 0.95].

[0111] (2) Analysis of simulation results like Figure 2 As shown, the horizontal axis represents the scheduling time (0~24h), and the vertical axis represents the adjustable power (MW) of charging and discharging resources and air conditioning load. In the figure, the solid black line represents the actual adjustable power curve, the dashed black line with circles represents the predicted value of the method of this invention (adaptive differential evolution two-layer prediction model), the dotted black line with triangles represents the predicted value of standard differential evolution, the dotted black line with squares represents the predicted value of particle swarm optimization, and the thin solid black line with diamonds represents the predicted value of LSTM baseline. It can be seen from the figure that the prediction curve of the method of this invention has the highest degree of agreement with the actual value curve, closely tracking the changing trend of the actual adjustable power throughout the entire scheduling cycle, especially maintaining a small tracking deviation during the morning and evening peak periods when load fluctuations are large; while the predicted curve of the LSTM baseline shows significant lag and amplitude deviation at the peak, and the standard DE and PSO methods exhibit varying degrees of overshoot or undershoot at load inflection points.

[0112] like Figure 3 As shown, box plots illustrate the statistical distribution characteristics of the prediction error (actual value minus predicted value) for four methods, including the median, interquartile range, upper and lower bounds, and outliers. The boxes are drawn with a white background and a black border, and the median is indicated by a bold black line. The figure shows that the method of this invention has the narrowest error box and the median is closest to zero, indicating a highly concentrated error distribution and minimal dispersion of prediction bias. The LSTM baseline has the widest box and contains many outliers, indicating poor prediction stability. The error box widths of the standard DE and PSO methods fall in between.

[0113] like Figure 4 As shown, the horizontal axis represents the number of iterations (0~200), and the vertical axis represents the fitness value (logarithmic scale). In the figure, the solid black line represents the convergence trajectory of the adaptive differential evolution algorithm of this invention, the dashed black line represents the convergence trajectory of the standard DE algorithm, and the dotted black line represents the convergence trajectory of the PSO algorithm. It can be seen from the figure that the adaptive DE algorithm has the fastest convergence rate, tending to converge around the 85th generation, and ultimately has the lowest fitness value; the standard DE algorithm requires approximately 140 generations to converge, and the PSO algorithm requires approximately 160 generations. This result indicates that the dynamic adjustment mechanism of the adaptive mutation factor and crossover probability effectively accelerates the global optimization process and obtains a better quality optimal solution.

[0114] like Figure 5As shown, the horizontal axis represents the scheduling time (024h), the left vertical axis represents the adjustable power (MW) of the electric vehicle cluster, and the right vertical axis represents the adjustable power (MW) of the air conditioning load cluster. The figure uses a solid black line to represent the time-series curve of the adjustable power of the EV cluster and a dashed black line to represent the time-series curve of the adjustable power of the AC cluster. It can be clearly seen from the figure that the peak adjustable power of the EV cluster is distributed during the nighttime (20:00 to 06:00 the next day) and midday (11:00 to 14:00) parking periods, while the peak adjustable power of the AC cluster is concentrated in the afternoon high-temperature period (13:00 to 17:00). The two exhibit significant peak-valley complementarity characteristics in the time dimension. The calculated mutual complementarity index is 0.824, indicating that by coordinating the scheduling of these two types of flexible loads, a relatively stable overall adjustable power output can be maintained for most of the day.

[0115] like Figure 6 As shown, the horizontal axis represents the number of iterations (0~200), the left vertical axis represents the mutation factor F (range 0-1), and the right vertical axis represents the crossover probability CR (range 0-1). The figure shows the trajectory of the mutation factor F changing with the number of iterations using a solid black line, and the trajectory of the average crossover probability CR changing with the number of iterations using a dashed black line. It can be seen from the figure that the mutation factor F decreases linearly from an initial value of 0.8 to 0.2 with each iteration according to a preset adaptive strategy, realizing a strategy switch from focusing on global exploration in the early stages of the search to focusing on local development in the later stages. The crossover probability CR fluctuates dynamically within the range of 0.3 to 0.7 based on the individual's fitness value; superior individuals automatically acquire a smaller CR to enhance their local search ability, while inferior individuals automatically acquire a larger CR to enhance their global exploration ability.

[0116] like Figure 7 As shown, the horizontal axis represents the scheduling time (0~24h), the left vertical axis represents the average state of charge (SOC) of the electric vehicle cluster (range 0~1), and the right vertical axis represents the average indoor temperature (°C) of the air conditioning cluster. The figure uses solid black lines to represent the time-series curve of the average SOC of the EV cluster and dashed black lines to represent the time-series curve of the average indoor temperature of the air conditioning system. Black dotted lines mark the four constraint boundaries: lower limit of SOC (0.20), upper limit of SOC (0.95), lower limit of temperature (24°C), and upper limit of temperature (28°C). The figure shows that the average SOC of the EV cluster remains within the range of [0.20, 0.95] throughout the entire scheduling cycle, and the average indoor temperature of the air conditioning system remains within the range of [24°C, 28°C]. All operational constraints are strictly satisfied, verifying the effectiveness of the model in ensuring user energy experience and grid equipment safety.

[0117] comprehensive Figures 2 to 7The simulation results show that the prediction modeling method for the mutual regulation capability of charging and discharging resources and air conditioning load provided in this embodiment has significant advantages in prediction accuracy (MAPE of 2.76%, which is about 73.3% higher than the LSTM baseline), algorithm convergence speed (about 39.3% higher than the standard DE), mutual regulation capability (complementarity index of 0.824), and simultaneous satisfaction of multiple constraints. This verifies the effectiveness and engineering practicality of the power grid-transformer area two-layer collaborative prediction architecture and adaptive feature optimization algorithm in the flexible load mutual regulation scenario.

[0118] To verify the impact of the upper-layer weight coefficient α on the prediction accuracy in the two-layer prediction model, a scanning experiment was conducted with α ranging from 0.1 to 0.9 and a step size of 0.1. The results are as follows: Figure 8 As shown in the figure, the horizontal axis represents the upper-level weighting coefficient α, and the vertical axis represents the mean absolute percentage error (MAPE) (%). The sampling points are connected by solid black lines, and hollow circles mark the corresponding MAPE values ​​for each α value. α approaching 0 indicates that the model almost entirely focuses on local transformer area prediction (lower layer), α approaching 1 indicates that the model almost entirely focuses on global grid prediction (upper layer), and α=0.5 indicates equal weighting for both upper and lower layers. The figure shows that MAPE exhibits a U-shaped trend of first decreasing and then increasing with increasing α: when α is between 0.5 and 0.7, MAPE remains at its lowest level (approximately 2.7% to 2.9%), with optimal prediction accuracy; when α is less than 0.3, the model overemphasizes local transformer area features while ignoring global grid information, and MAPE rises above 4%; when α is greater than 0.8, local transformer area features are weakened, local prediction errors increase, and MAPE rises above 3.5%. The results indicate that a balanced approach between global grid optimization and local transformer area autonomy is crucial for achieving high-precision forecasting—emphasizing either layer alone will lead to a decrease in the forecasting accuracy of the other layer, thereby lowering the overall forecasting performance. Scanning experiments determined that an α value of 0.6 is recommended for engineering applications, achieving the optimal balance between global and local predictions, with a MAPE of 2.76%.

[0119] Example 2 Corresponding to Embodiment 1, this embodiment also provides a predictive system for the mutual regulation and control capability of charging and discharging resources and air conditioning load, including: The data acquisition module is configured to determine the load adjustable characteristic model based on the relevant information of charging and discharging resources and air conditioning load, and to determine the mutual regulation potential characteristics based on the load adjustable characteristic model. The model building module is configured to build a two-layer prediction model based on the characteristics of mutual regulation potential; the two-layer prediction model includes an upper layer and a lower layer, the upper layer determines the objective function based on the global prediction error variance of the power grid, and the lower layer determines the objective function based on the local response error of the distribution area; The data solving module is configured to use an adaptive feature optimization algorithm combined with a solver to solve the two-layer prediction model.

[0120] In one implementation, determining the load adjustability characteristic model based on relevant information about charging and discharging resources and air conditioning load includes: Based on the theory of travel chain and energy consumption behavior, and according to the historical operation data of charging and discharging resources and air conditioning load, the spatiotemporal operation topology is determined; A load adjustability model is determined based on the spatiotemporal operating topology, load power characteristics, user behavior patterns, and power grid operation constraints.

[0121] In one implementation, the establishment of the two-layer prediction model based on the characteristics of mutual assistance and regulation potential includes: Determine the objective function and related constraints of the upper level, and determine the objective function and related constraints of the lower level; A global prediction model for the upper-level power grid is established based on the objective function and relevant constraints of the upper-level model. A local prediction model for the lower-level transformer area is established based on the objective function and relevant constraints of the lower level. A two-layer prediction model is established based on the upper-level global power grid prediction model and the lower-level local distribution area prediction model.

[0122] In one implementation, the step of using an adaptive feature optimization algorithm combined with a solver to solve the two-layer prediction model includes: Initialize the feature weight population; The optimization factor and crossover probability are dynamically adjusted based on the individual fitness value of the current iteration. Based on the adjusted optimization factor and crossover probability, mutation and crossover operations are performed to determine the experimental vector; Individual selection is performed based on the fitness values ​​of the experimental vectors, and the population is updated. The process is iterated until the convergence condition is met, and the optimal parameters and prediction results of the two-layer prediction model are output.

[0123] Example 3 This embodiment provides an electronic device, including a memory and a processor. The memory is used to store a program that supports the processor in executing the prediction method for the mutual regulation capability of charging and discharging resources and air conditioning load in Embodiment 1. The processor is configured to execute the program stored in the memory.

[0124] Example 4 This embodiment provides a storage medium on which a computer program is stored. When the computer program is run by a processor, it executes the steps of the method for predicting the mutual regulation capability of charging and discharging resources and air conditioning load in Embodiment 1.

[0125] The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for predicting the mutual regulation capability of charging and discharging resources and air conditioning load, characterized in that, include: Based on the relevant information of charging and discharging resources and air conditioning load, determine the load adjustable characteristic model, and determine the mutual regulation potential characteristics based on the load adjustable characteristic model; A two-layer prediction model is established based on the characteristics of mutual regulation potential. The two-layer prediction model includes an upper layer and a lower layer. The upper layer determines the objective function based on the global prediction error variance of the power grid, and the lower layer determines the objective function based on the local response error of the distribution area. An adaptive feature optimization algorithm combined with a solver is used to solve the two-layer prediction model.

2. The method for predicting the mutual regulation capability of charging and discharging resources and air conditioning load according to claim 1, characterized in that, The method for determining the load adjustability characteristic model based on relevant information about charging and discharging resources and air conditioning load includes: Based on the theory of travel chain and energy consumption behavior, and according to the historical operation data of charging and discharging resources and air conditioning load, the spatiotemporal operation topology is determined; A load adjustability model is determined based on the spatiotemporal operating topology, load power characteristics, user behavior patterns, and power grid operation constraints.

3. The method for predicting the mutual regulation capability of charging and discharging resources and air conditioning load according to claim 2, characterized in that, The method for determining the spatiotemporal operational topology based on travel chain and energy consumption behavior theory, and according to historical operating data of charging and discharging resources and air conditioning load, is as follows: Determine the power grid topology nodes, load operating characteristics, charging and discharging periods, air conditioning start-up and shutdown times, and adjustable durations; The spatiotemporal operation topology is determined based on the power grid topology nodes, load operation characteristics, charging and discharging periods, air conditioning start-up and shutdown times, and adjustable duration.

4. The method for predicting the mutual regulation capability of charging and discharging resources and air conditioning load according to claim 3, characterized in that, The method for determining the spatiotemporal operational topology based on power grid topology nodes, load operating characteristics, charging and discharging periods, air conditioning start-up and shutdown times, and adjustable durations is as follows: The spatiotemporal topological relationship between the power grid and the load is described using graph theory. The spatiotemporal operational topology is represented as G=(N,E), where N represents the set of power grid nodes and E represents the line connection relationship between the nodes. The origin and destination of charging and discharging resources are characterized by an OD probability matrix, which is represented as follows: Where P(ij,t) represents the probability of traveling from node i to node j in time period t, N(ij,t) represents the number of electric vehicles traveling from node i to node j in time period t, and n is the total number of power grid nodes; Based on the OD probability matrix and the air conditioner start-stop probability distribution, a spatiotemporal operation topology covering the time and space dimensions is constructed.

5. The method for predicting the mutual regulation capability of charging and discharging resources and air conditioning load according to claim 1, characterized in that, The two-layer prediction model based on the potential characteristics of mutual regulation includes: Determine the objective function and related constraints of the upper level, and determine the objective function and related constraints of the lower level; A global prediction model for the upper-level power grid is established based on the objective function and relevant constraints of the upper-level model. A local prediction model for the lower-level transformer area is established based on the objective function and relevant constraints of the lower level. A two-layer prediction model is established based on the upper-level global power grid prediction model and the lower-level local distribution area prediction model.

6. The method for predicting the mutual regulation capability of charging and discharging resources and air conditioning load according to claim 5, characterized in that, The method for establishing an upper-level global power grid prediction model based on the upper-level objective function and related constraints is as follows: The objective function of the upper-level power grid global forecasting model is to minimize the variance of the global load forecasting error, expressed as: Where F is the global prediction error variance. The average total load of the power grid during the dispatching period. , The grid base load at time t, excluding charging / discharging and air conditioning loads. Let t be the total predicted power of charging and discharging resources and air conditioning load at time t, where T is the total time step of the scheduling cycle; Simultaneously set the following constraints: The state of charge constraints are as follows: in, , These represent the lower and upper limits of the state of charge (SOC) of electric vehicle batteries, respectively. Let t represent the state of charge of the i-th electric vehicle at time t. The user temperature comfort constraints are as follows: in, , These are the lower and upper limits of the user-defined comfortable temperature range for the air conditioner. Let t be the set temperature of the j-th air conditioner at time t; The maximum power constraints for charging stations and distribution transformers are as follows: in, Let be the charging and discharging power of the i-th electric vehicle at time t. This refers to the maximum power limit for charging stations. Let be the operating power of the j-th air conditioner at time t. Where m is the rated maximum power of the distribution transformer in the area, k is the number of electric vehicles, and k is the number of air conditioning units. The overall regulatory potential is constrained as follows: in, This represents the total potential for mutual regulation and control between charging / discharging resources and air conditioning load within the scheduling cycle. Let be the adjustable power at time t. This represents the maximum adjustable potential limit within the scheduling period.

7. The method for predicting the mutual regulation capability of charging and discharging resources and air conditioning load according to claim 5, characterized in that, The method for establishing a local prediction model for lower-level transformer areas based on the lower-level objective function and relevant constraints is as follows: The objective function of the lower-level model is to minimize the local load forecasting error of the transformer area, and its expression is: Simultaneously set the following constraints: Single device adjustable power constraint: in, Let be the adjustable power of the i-th load device at time t. Let be the rated adjustable power of the i-th load device; Unschedulable time period constraint: in, , These represent the unschedulable times of the i-th load device's connection to and disconnection from the grid, respectively; Lower limit constraint on single device control capability: in, Let i be the adjustable potential of the i-th load device within the scheduling cycle. This is the minimum adjustable potential threshold for a single device to participate in regulation.

8. The method for predicting the mutual regulation capability of charging and discharging resources and air conditioning load according to claim 1, characterized in that, The method for solving the two-layer prediction model using an adaptive feature optimization algorithm combined with a solver is as follows: Initialize the feature weight population, setting the population size, maximum number of iterations, initial mutation factor, and initial crossover probability; The optimization factor and crossover probability are dynamically adjusted based on the individual fitness value of the current iteration. Based on the adjusted optimization factor and crossover probability, mutation and crossover operations are performed to determine the experimental vector; Individual selection is performed based on the fitness values ​​of the experimental vectors, and the population is updated. The process is iterated until the convergence condition is met, and the optimal parameters and prediction results of the two-layer prediction model are output.

9. The method for predicting the mutual regulation capability of charging and discharging resources and air conditioning load according to claim 8, characterized in that, The dynamic adjustment of the optimization factor and crossover probability based on the individual fitness value of the current iteration includes: The adaptive adjustment formula for the variation factor is: Where F is the mutation factor of the current iteration, , These are the minimum and maximum values ​​of the variation factor, respectively. G represents the maximum number of iterations, and G represents the current number of iterations. The formula for adaptive adjustment of crossover probability is: Where CR is the crossover probability of the current individual. , These are the minimum and maximum values ​​of the crossover probability, respectively. This represents the current fitness value of the individual. , These are the maximum and minimum fitness values ​​of the current population, respectively.

10. A system based on the method for predicting the mutual regulation capability of charging and discharging resources and air conditioning load according to any one of claims 1 to 9, characterized in that, include: The data acquisition module is configured to determine the load adjustable characteristic model based on the relevant information of charging and discharging resources and air conditioning load, and to determine the mutual regulation potential characteristics based on the load adjustable characteristic model. The model building module is configured to build a two-layer prediction model based on the characteristics of mutual regulation potential; the two-layer prediction model includes an upper layer and a lower layer. The upper layer determines the objective function based on the global prediction error variance of the power grid, and the lower layer determines the objective function based on the local response error of the distribution area. The data solving module is configured to use an adaptive feature optimization algorithm combined with a solver to solve the two-layer prediction model.