Air conditioner and electric vehicle cooperative control method and system based on transformer area intelligent terminal
By constructing a joint uncertainty fuzzy set of electric vehicles and air conditioning loads at the smart terminal of the distribution area, and combining the Wasserstein distance and NSGA-II algorithm, the problem of characterizing the coupling relationship and uncertainty in the flexible load control of the distribution area is solved, realizing efficient and flexible load control, and improving the reliability of power grid operation and user experience.
Patent Information
- Application Number
- CN202611237850.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-14
- Publication Date
- 2026-11-24
AI Technical Summary
Existing flexible load control technology for distribution areas cannot accurately characterize the complex coupling relationship and joint uncertainty between electric vehicles and air conditioning loads in the spatiotemporal dimensions, resulting in poor adaptability of control strategies. Furthermore, traditional methods are difficult to balance the interests of multiple stakeholders, including grid operators and end users.
Multi-source data is collected through intelligent terminals in the distribution area to construct electric vehicle charging and discharging models and equivalent thermal parameter models of air conditioning load. Wasserstein distance is used to measure load distribution deviation, a joint uncertainty fuzzy set is established, spatiotemporal labels are introduced, and a rolling time-domain optimization model with optimal system comprehensive efficiency and optimal user economy as dual objectives is established. The control commands are solved using the NSGA-II multi-objective optimization algorithm.
It achieves accurate characterization of load coupling relationships, dynamically adapts to load changes, balances the interests of multiple stakeholders, improves the economy of control strategies and user comfort, reduces communication latency, and enhances system operational reliability.
Smart Images

Figure CN123162907A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of flexible load control technology in power systems, and relates to a method and system for coordinated control of air conditioning and electric vehicles based on intelligent terminals in distribution substations. Background Technology
[0002] Compared to traditional rigid loads, flexible and adjustable resources such as electric vehicle charging and discharging and air conditioning loads have become important control resources affecting the safe and economical operation of the power grid, given the rapid growth in their number and increasing proportion. However, their charging and discharging behavior and energy consumption characteristics are influenced by multiple factors, including user travel patterns, charging habits, traffic conditions, outdoor temperature, and building thermal inertia, exhibiting significant spatiotemporal randomness. Furthermore, they possess complex coupling relationships in terms of temporal scale and spatial distribution, easily leading to load overlap peaks and valleys in specific time periods and regions, resulting in transformer overload and excessive voltage deviations at the terminals. Therefore, it is urgent to implement coordinated and optimized control of these two types of loads to reduce the power grid operation risks caused by their uncertainties and improve overall control efficiency.
[0003] Currently, existing flexible load control methods for distribution transformer areas typically employ deterministic optimization or traditional robust optimization methods when handling the coordinated dispatch of electric vehicles and air conditioning loads. In terms of control methods, traditional deterministic dispatch methods struggle to cope with high levels of randomness, while conventional stochastic and robust optimization methods require pre-setting probability distributions or using fuzzy sets based on mean and variance, making it difficult to accurately characterize the complex distribution characteristics of load data. Furthermore, robust optimization methods often overemphasize worst-case scenarios, leading to overly conservative control strategies that may sacrifice user comfort. In recent years, the Wasserstein distance-based distributed robust optimization method has been applied to power system uncertainty handling; however, existing technologies primarily target single resource types and employ static optimization frameworks, lacking the ability to dynamically correct across multiple time scales. In addition, existing solutions often rely on centralized control from remote master stations, resulting in high communication latency and difficulty in handling instantaneous fluctuations in low-voltage distribution transformer areas. Their optimization objectives are also often limited to single economic indicators, failing to effectively balance the interests of grid operators and end users.
[0004] Therefore, there is an urgent need for a collaborative control scheme that can be deployed at the edge of the transformer area, takes into account both physical laws and data-driven approaches, and has dynamic correction capabilities. Summary of the Invention
[0005] The technical solution of the present invention is used to solve the problem that the existing flexible load control technology for transformer substations cannot accurately characterize the complex coupling relationship and joint uncertainty of the two types of loads in the spatiotemporal dimension when dealing with the coordinated operation of electric vehicles and air conditioning loads, resulting in poor adaptability of the control strategy.
[0006] The present invention solves the above-mentioned technical problems through the following technical solutions: This invention provides a method for coordinated control of air conditioning and electric vehicles based on a smart terminal in a transformer substation, comprising the following steps: S1. Collect multi-source data through the intelligent terminal in the transformer area to form a standardized experience dataset and establish an electric vehicle charging and discharging model and an equivalent thermal parameter model of air conditioning load. S2. Collect historical operation samples of the transformer area, use Wasserstein distance to measure the deviation between the actual load distribution and the empirical distribution, construct a joint uncertainty fuzzy set that simultaneously covers air conditioning load and electric vehicle charging and discharging power, and introduce time labels and spatial location labels to characterize the spatiotemporal coupling characteristics of the two types of loads, air conditioning load and electric vehicle charging and discharging power. S3. Establish a rolling time-domain optimization model with optimal system overall efficiency and optimal user economy as dual objectives. Construct a fuzzy set of uncertainty probability distribution based on Wasserstein distance, and transform the rolling time-domain optimization model with dual objectives into a split-bar dual-objective optimization model. S4. The NSGA-II multi-objective optimization algorithm is used to solve the problem and obtain the charging and discharging power and air conditioning power commands in the current control time domain, which are then issued and executed by the intelligent terminal of the distribution area.
[0007] Furthermore, the method for constructing a joint uncertainty fuzzy set that simultaneously covers air conditioning load and electric vehicle charging and discharging power is as follows: With the empirical distribution as the center and the Wasserstein distance as the radius, a joint uncertainty fuzzy set is constructed as follows:
[0008] in, For joint uncertain fuzzy sets, For the actual load distribution, For empirical distribution, Let the radius of the fuzzy set be . Actual load distribution With experience distribution The Wasserstein distance between them.
[0009] Furthermore, the empirical distribution is constructed as follows:
[0010] in, For the Dirac measure, For the i-th historical sample, The total number of samples.
[0011] Furthermore, the formula for calculating the Wasserstein distance is as follows:
[0012] in, Actual load distribution With experience distribution Wasserstein distance between them For the indeterminate boundary, For from distribution The sample points, For from the empirical distribution The sample points, For infinitesimal elements, For infinitesimal elements, For joint distribution, characterize the probability mass from Transfer to Transportation plan, Let be the norm, representing the cost of moving between two sample points. For joint probability distribution, For all and It is the set of joint distributions of marginal distributions.
[0013] Furthermore, the joint random vector is defined as follows:
[0014] in, The charging and discharging power of electric vehicles, For air conditioning load power, For time tags, For spatial location labels.
[0015] Furthermore, the dual-objective rolling time-domain optimization model includes: an objective function for optimal overall system efficiency and an objective function for optimal user economy; The optimal objective function for the overall efficiency of the system is as follows:
[0016] in, The objective function is to optimize the overall efficiency of the system. To optimize the total number of time periods, The cost of purchasing electricity from the power grid during time period t. For network loss cost during time period t, The peak-to-valley difference penalty cost for time period t. For risk weighting coefficients, Conditional risk value; The objective function for optimizing user economics is as follows:
[0017] in, The objective function is the one that optimizes user economy. For electric vehicle users, the revenue during time period t For air conditioner users, the revenue during time period t; The bi-objective optimization model of the sub-Bruker includes: system side and user side; The system adopts a worst-case expected cost minimization approach:
[0018] The user side adopts a guaranteed minimum return maximization approach:
[0019] in, For the system scheduling decision variable vector, For decision variables Perform a minimization operation. For decision variables Perform a maximization operation. This represents the probability distribution of the actual load. For joint uncertain fuzzy sets, For supremum operators, For the infimum operator, In probability distribution The mathematical expectation operator.
[0020] Furthermore, the method for obtaining the charging / discharging power and air conditioning power command in the current control time domain using the NSGA-II multi-objective optimization algorithm is as follows: Configure the parameters of the NSGA-II multi-objective optimization algorithm; repeat the solution process in each rolling cycle: based on empirical distribution. and joint uncertainty fuzzy set The initial population is generated; non-dominated sorting and crowding distance calculation are performed, and offspring are generated through tournament selection, simulated binary crossover, and polynomial mutation; parent and offspring are merged, and non-dominated sorting and crowding selection are performed again to retain individuals; after iterating to the maximum number of generations, the Pareto optimal solution set is output; based on actual operational requirements, a compromise solution is selected from the frontier of the Pareto optimal solution set as the current cycle control strategy, resulting in the optimal control instruction set in the current control time domain as follows:
[0021] in, For charging power command, For discharge power command, This is an air conditioning power command.
[0022] The present invention also provides a system based on the above-mentioned control method, comprising: a data acquisition module, a first model establishment module, a fuzzy set construction module, an optimization model establishment module, and a solution execution module; The data acquisition module is used to collect multi-source data through the smart terminal in the transformer area to form a standardized experience dataset. The first model building module is used to build an electric vehicle charging and discharging model and an equivalent thermal parameter model of air conditioning load; The fuzzy set construction module is used to collect historical operation samples of the transformer area. By measuring the deviation between the actual load distribution and the empirical distribution through Wasserstein distance, a joint uncertainty fuzzy set that simultaneously covers air conditioning load and electric vehicle charging and discharging power is constructed. Time labels and spatial location labels are introduced to characterize the spatiotemporal coupling characteristics of the two types of loads: air conditioning load and electric vehicle charging and discharging power. The optimization model building module is used to build a rolling time-domain optimization model with the dual objectives of optimal system overall efficiency and optimal user economy, and transforms the plural bar chance constraints into deterministic constraints through dual transformation. The solution execution module uses the NSGA-II multi-objective optimization algorithm to obtain the charging and discharging power and air conditioning power commands in the current control time domain, which are then issued and executed by the intelligent terminal of the transformer area.
[0023] The present invention also 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 above-described method for coordinated control of air conditioning and electric vehicles based on a smart terminal in a distribution area. The processor is configured to execute the program stored in the memory.
[0024] The present invention also provides a storage medium storing a computer program, which, when run by a processor, executes the steps of the above-described method for coordinated control of air conditioning and electric vehicles based on a smart terminal in a distribution area.
[0025] The beneficial effects of this invention are as follows: The technical solution of this invention constructs a joint uncertainty fuzzy set that simultaneously covers air conditioning and electric vehicles, and introduces spatiotemporal labels, achieving for the first time a precise characterization of the complex coupling relationship between the two types of loads in the spatiotemporal dimension, overcoming the limitations of single-resource characterization in existing technologies. It adopts a dual-objective optimization model that optimizes both overall system efficiency and user economy, simultaneously considering the economic and security needs of grid operators, as well as the energy costs, comfort, and battery loss compensation of end users, effectively balancing the interests of multiple stakeholders. Based on a rolling time-domain optimization framework, the strategy is re-solved and corrected based on real-time sensing data in each control cycle, possessing dynamic adaptability across multiple time scales, overcoming the shortcomings of traditional static optimization. The Wasserstein distance-based robust optimization does not require a pre-defined uncertainty distribution form, avoiding the conservatism of traditional robust optimization, and improving the economy and user comfort of the control strategy while ensuring system safety. The entire method is embedded in the intelligent terminal of the distribution area, realizing a local closed loop of data acquisition, strategy calculation, and command issuance, reducing communication delays with the remote master station, enabling rapid response to instantaneous fluctuations in low-voltage distribution areas, and enhancing the reliability and autonomy of system operation. Attached Figure Description
[0026] Figure 1 This is a flowchart of a method for coordinated control of air conditioning and electric vehicles based on a smart terminal in a transformer substation, according to an embodiment of the present invention. Figure 2 This is a schematic diagram of the modeling of the equivalent thermal parameter model of electric vehicle charging and discharging and air conditioning load in an embodiment of the present invention; Figure 3 This is a bi-objective optimized Pareto front plot obtained by using the NSGA-II algorithm in an embodiment of the present invention; Figure 4 This is a comparison curve of the 24-hour load rate change of the transformer under three operating scenarios according to an embodiment of the present invention; Figure 5 This is a 24-hour optimized charging and discharging power command curve for different types of electric vehicles according to embodiments of the present invention; Figure 6 This is a diagram showing the 24-hour optimized operating power instruction for air conditioning equipment with different parameters according to an embodiment of the present invention; Figure 7 This is a prediction error analysis diagram under different rolling prediction time domains in an embodiment of the present invention. Detailed Implementation
[0027] 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.
[0028] 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 coordinated control of air conditioning and electric vehicles based on a smart terminal in a transformer substation, including the following steps: Step 1: Collect multi-source data through the smart terminal in the transformer area to form a standardized experience dataset, and establish an electric vehicle charging and discharging model and an equivalent thermal parameter model of air conditioning load.
[0029] By acquiring transformer operating parameters, electric vehicle state of charge (SOC), and air conditioning equipment operating power through intelligent terminals in the distribution area, multi-source data is collected to form a standardized experience dataset; such as... Figure 2 As shown, an electric vehicle charging and discharging model is constructed based on battery charging and discharging characteristics and user travel chain, and an equivalent thermal parameter model of air conditioning load is constructed based on thermodynamic equations.
[0030] 1.1 Collect data from multiple sources to form a standardized experience dataset. The sampling period is set, and the operating parameters of the transformers in the distribution area are collected in real time through the intelligent terminal of the distribution area, including voltage, current, active power and reactive power; the charging and discharging data of electric vehicles are collected, including vehicle access time, off-grid time, SOC at access time, SOC demand at off-grid time, charging power and discharging power; the operating data of air conditioning equipment are collected, including operating power, set temperature, indoor temperature and outdoor temperature.
[0031] The collected data underwent data cleaning to remove obvious outliers, such as negative power values or data exceeding three times the equipment's rated value. Missing values were filled using linear interpolation, and time data was aligned to actual time. The cleaned data was then normalized, mapping each physical quantity to a uniform 0-1 interval, and spatiotemporally aligned by station area number and timestamp to form a standardized empirical dataset.
[0032] The expression for the standardized experience dataset is as follows:
[0033] in, To standardize the empirical dataset, For the k-th sample, Sample charging and discharging power of electric vehicles. This is a sample of air conditioning load power. For time tags, is the spatial location label, and N is the total number of samples.
[0034] 1.2 Electric Vehicle Charging and Discharging Model Electric vehicle charging and discharging models are used to characterize the charging and discharging behavior of electric vehicles, dynamic changes in State of Charge (SOC), and travel patterns. This embodiment considers both the charging mode and the V2G discharging mode of electric vehicles, enabling them to participate in grid regulation as distributed energy storage resources.
[0035] The electric vehicle charging and discharging model includes: SOC dynamic equation, charging power constraint, SOC constraint, and travel constraint.
[0036] The SOC dynamic equation is used to calculate in real time the change of the electric vehicle battery's state of charge with charging and discharging power and driving power consumption. The formula of the SOC dynamic equation is as follows:
[0037] in, Let represent the state of charge of the i-th electric vehicle at time t+1. Let represent the state of charge of the i-th electric vehicle at time t. For charging power, For discharge power, For charging efficiency, For discharge efficiency, For battery capacity, For driving mileage, Energy consumption per 100 kilometers The unit is the length of a time period.
[0038] Charging power constraints limit the upper limit of electrical energy absorbed by electric vehicles from the grid, while discharging power constraints limit the upper limit of electrical energy released by electric vehicles to the grid. Mutual exclusion constraints between charging and discharging states ensure that an electric vehicle can only be in either charging or discharging state at any given time, preventing simultaneous charging and discharging, thus avoiding equipment conflicts and power circulation. The formula for the charging power constraint is as follows:
[0039] in, Maximum charging power, For charging state variables, For maximum discharge power, This is the discharge state variable.
[0040] The State of Charge (SOC) constraint ensures that the electric vehicle battery's state of charge is always within a safe operating range and reserves a minimum charge level to meet travel needs. The formula for the SOC constraint is as follows:
[0041] in, This represents the percentage of remaining battery capacity in an electric vehicle relative to its total capacity. This is the lower limit of SOC. This represents the upper limit of SOC.
[0042] The trip constraint ensures that the electric vehicle's state of charge at the time of departure is not lower than the minimum charge required for the user's trip, thereby guaranteeing that the user's normal travel needs are not affected by regulation. The formula for the trip constraint is as follows:
[0043] in, This represents the state of charge of the electric vehicle at the moment of departure. For travel time, The state of charge corresponding to the minimum amount of electricity required for travel.
[0044] Preferably, the parameter settings for the electric vehicle charging and discharging model in this embodiment are as follows: battery capacity Take 40kWh, maximum charging power Take 7kW as the maximum discharge power. Take 7kW, charge / discharge efficiency and All values are taken as 0.92, lower limit of SOC Set to 0.1, the upper limit of SOC. Taking 0.9, energy consumption per 100 kilometers Take 15kWh / 100km, Take 0.3.
[0045] 1.3 Equivalent thermal parameter model for air conditioning load The equivalent thermal parameter model of air conditioning load is used to characterize the thermal dynamics of air conditioning load, the indoor temperature change pattern, and the power regulation capability.
[0046] The equivalent thermal parameter model for air conditioning load includes: indoor temperature dynamic equation, temperature comfort constraint, and air conditioning power constraint.
[0047] The indoor temperature dynamic equation characterizes the thermal inertia relationship between air conditioning power regulation and indoor temperature changes, providing a dynamic basis for temperature comfort constraints and thus quantifying the short-term adjustment potential of the air conditioning load. The formula for the indoor temperature dynamic equation is as follows:
[0048] in, Let be the indoor temperature of the j-th air conditioner at time t+1. Let be the indoor temperature at time t for the j-th air conditioner. Outdoor temperature For equivalent thermal resistance, For equivalent heat capacity, For air conditioner energy efficiency ratio, This refers to the air conditioner's power.
[0049] Temperature comfort constraints limit indoor temperature within a user-defined comfort range, ensuring that the user's energy experience is not compromised during temperature control. The formula for the temperature comfort constraint is as follows:
[0050] in, For a comfortable temperature, The upper limit of the comfortable temperature, This is the lower limit of the comfortable temperature range.
[0051] The air conditioner power constraint limits the upper and lower limits of the air conditioner's operating power to ensure safe operation of the equipment within its rated adjustable range. The formula for the power constraint is as follows:
[0052] in, This is the current power of the air conditioner. This is the maximum power of the air conditioner.
[0053] Preferably, the parameters of the equivalent thermal parameter model for air conditioning load in this embodiment are set as follows: equivalent thermal resistance Take 2.5℃ / W as the equivalent heat capacity. Take 1.2 kWh / ℃, energy efficiency ratio Take 3.0 as the lower limit of the comfortable temperature. Set the temperature to 22℃, which is the upper limit of the comfortable temperature range. At 26℃, maximum power Take 2.5kW, outdoor temperature Meteorological data is obtained through meteorological sensors or weather forecast services accessed via smart terminals in the distribution area.
[0054] Step 2: Collect historical operation samples of the transformer area, measure the deviation between the actual load distribution and the empirical distribution using Wasserstein distance, construct a joint uncertainty fuzzy set that simultaneously covers air conditioning load and electric vehicle charging and discharging power, and introduce time labels and spatial location labels to characterize the spatiotemporal coupling characteristics of the two types of loads, air conditioning load and electric vehicle charging and discharging power.
[0055] 2.1 Constructing an experience distribution The empirical distribution is constructed based on historical sample data, approximating the true distribution with an equally probable discrete measure, and serves as the center of the Wasserstein fuzzy set. The empirical distribution is constructed as follows:
[0056] in, For empirical distribution, For the Dirac measure, For the i-th historical sample, The total number of samples.
[0057] 2.2 Wasserstein Distance Metric The Wasserstein distance metric is the minimum expected distance required to transform one distribution into another. It measures the deviation between the actual load distribution and the empirical distribution. The formula for calculating the Wasserstein distance is as follows:
[0058] in, Actual load distribution With experience distribution Wasserstein distance between them For the indeterminate boundary, For from distribution The sample points, For from the empirical distribution The sample points, For infinitesimal elements, For infinitesimal elements, For a joint distribution, the characterization represents the probability mass from Transfer to Transportation plan, Let be the norm, representing the cost of moving between two sample points. For joint probability distribution, For all and It is the set of joint distributions of marginal distributions.
[0059] The joint random vector combines the electric vehicle charging and discharging power, air conditioning load power, time label, and spatial location label into a multidimensional random variable to uniformly characterize the joint uncertainty distribution of the two types of loads in the spatiotemporal dimension. The joint random vector is defined as follows:
[0060] in, For joint random vectors, The charging and discharging power of electric vehicles, For air conditioning load power, For time tags, For spatial location labels.
[0061] 2.3 Constructing a joint uncertain fuzzy set To cover all possible distributions of the joint random variables of air conditioning and electric vehicles, a joint uncertainty fuzzy set is constructed with the empirical distribution as the center and the Wasserstein distance as the radius, as follows:
[0062] in, For joint uncertain fuzzy sets, For the actual load distribution, For empirical distribution, Actual load distribution With experience distribution Wasserstein distance between them Let be the radius of the fuzzy set.
[0063] The joint uncertainty fuzzy set contains all fuzzy sets whose distance from the empirical distribution Wasserstein does not exceed a certain threshold. The probability distribution can accurately characterize the joint uncertainty of air conditioning load and electric vehicle charging and discharging load without assuming a specific distribution form.
[0064] The radius of the fuzzy set is determined as follows:
[0065] in, The distance to be estimated is the distribution distance, where N is the total number of samples. The confidence level.
[0066] The formula for calculating the distribution distance is:
[0067] in, For adjustable weight parameters that are greater than 0, For all Find the minimum value. For the nth sample value, For reference average, Let be the Euclidean distance from the sample to the reference point. The empirical moment generating function for the sample.
[0068] Step 3: Establish a rolling time-domain optimization model with the dual objectives of optimal system overall efficiency and optimal user economy. Construct a fuzzy set of uncertainty probability distribution based on Wasserstein distance, and transform the dual-objective rolling time-domain optimization model into a split-bar dual-objective optimization model.
[0069] 3.1 Establishing a dual-objective rolling time-domain optimization model The dual-objective rolling time-domain optimization model includes: a system overall efficiency optimal objective function and a user economics optimal objective function; the system overall efficiency optimal objective function minimizes the grid power purchase cost, grid loss cost, peak-valley difference penalty, and conditional risk value, pursuing the optimal system overall efficiency under an uncertain environment; the user economics optimal objective function maximizes the charging cost savings and battery loss compensation for electric vehicle users, as well as the electricity cost savings and temperature comfort compensation for air conditioning users, incentivizing users to participate in regulation and ensuring their economic benefits.
[0070] The optimal objective function for the overall efficiency of the system is as follows:
[0071] in, The objective function is to optimize the overall efficiency of the system. To optimize the total number of time periods, The cost of purchasing electricity from the power grid during time period t. For network loss cost during time period t, The peak-to-valley difference penalty cost for time period t. For risk weighting coefficients, This is the conditional risk value.
[0072] The objective function for optimizing user economics is as follows:
[0073] in, The objective function is the one that optimizes user economy. For electric vehicle users, the revenue during time period t The revenue for air conditioning users during time period t.
[0074] The formula for calculating the revenue of electric vehicle users in time period t is as follows:
[0075] in, The benchmark electricity price, As the reference charging power, The actual electricity price for charging, For charging power, The actual electricity price for discharge. For discharge power, This is the battery loss compensation coefficient.
[0076] The formula for calculating the revenue of air conditioning users during time period t is as follows:
[0077] in, The benchmark electricity price, As the reference power, To ensure the actual implementation of the electricity price, This refers to the actual power of the air conditioner. This is the temperature comfort compensation coefficient. This represents the actual indoor temperature. Set a comfortable temperature for the user.
[0078] 3.2 Transform the pluralistic chance constraints into deterministic constraints through dual transformation. To address the randomness of meteorological data and electric vehicle behavior, a distributed Bruker operator is introduced. To comprehensively consider both system operational risks and user interests, a fuzzy set of the uncertainty probability distribution is constructed based on Wasserstein distance. The dual-objective model is uniformly transformed into an equivalent form under the split-bar framework.
[0079] For system-side objectives Considering the potential cost spike due to prediction errors, we transform it into a worst-case expectation minimization problem, with the following family of objective functions:
[0080] in, For the system scheduling decision variable vector, For decision variables Perform a minimization operation. The supremum operator indicates that the maximum value is obtained from all possible probability distributions. This represents the probability distribution of the actual load. For joint uncertain fuzzy sets, In probability distribution The mathematical expectation operator.
[0081] For user-side objectives To ensure user engagement, the problem is transformed into a problem of maximizing guaranteed minimum returns. The resulting family of objective functions is as follows:
[0082] in, For the system scheduling decision variable vector, For decision variables Perform a maximization operation. The infimum operator indicates that the minimum value is found among all possible probability distributions. This represents the probability distribution of the actual load. For joint uncertain fuzzy sets, In probability distribution The mathematical expectation operator.
[0083] To ensure that the probability of constraint violation remains within a controllable range under uncertain conditions, the following sub-Bruker chance constraint is introduced:
[0084] in, For probability operators, For constraint functions containing random variables, This represents the preset allowed violation probability. This formula ensures that within the fuzzy set... Under the worst-case probability distribution, the constraints are still based on The confidence level is valid.
[0085] During the scheduling cycle, the system must meet basic power balance and capacity constraints. Deterministic constraints include power balance constraints and transformer capacity constraints:
[0086] in, For the discharge power of electric vehicles, Charging power for electric vehicles, For air conditioner power, For other base loads, This represents the maximum capacity of the transformer.
[0087] To transform the aforementioned nondeterministic objective, which includes sup and inf, into a computer-solvable form, this invention utilizes Lagrange duality theory to convert the inner-level optimization problem based on Wasserstein distance into its dual form. The transformed model becomes a deterministic convex optimization constraint set containing dual variables, eliminating the integral term in the expectation operator. This allows for group optimization within the deterministic solution space using the NSGA-II algorithm, ensuring both real-time solution performance and global convergence. Step 4: Use the NSGA-II multi-objective optimization algorithm to solve the problem and obtain the charging and discharging power and air conditioning power commands in the current control time domain, which are then issued and executed by the intelligent terminal of the distribution area.
[0088] The NSGA-II multi-objective optimization algorithm is used to solve the bi-objective rolling time-domain optimization model established in step 3. The parameters of the NSGA-II multi-objective optimization algorithm are set as follows: population size 200, maximum number of iterations 600, crossover probability 0.9, and mutation probability 0.1. The solution process is repeated in each rolling cycle: based on empirical distribution. and joint uncertainty fuzzy set The process involves generating an initial population, performing non-dominated sorting and crowding distance calculation, generating offspring through simulated binary crossover and polynomial mutation, merging parent and offspring, performing non-dominated sorting and crowding selection again, retaining the top 200 individuals, and outputting the Pareto optimal solution set after iterating to the maximum number of generations.
[0089] Based on actual operational needs (such as grid peak shaving priority and user satisfaction requirements), a compromise solution is selected from the frontier of the Pareto optimal solution set as the current cycle control strategy, resulting in the following optimal control instruction set in the current control time domain:
[0090] in, For charging power command, For discharge power command, This is an air conditioning power command.
[0091] Simulation experiment verification To verify the effectiveness of the method of the present invention, the following simulation experiments were conducted, and the results are shown in Table 1 below.
[0092] Table 1 shows the results of the dual-objective optimization.
[0093] Figure 3 The NSGA-II Pareto front plot is used for dual-objective optimization of system cost and user satisfaction. The horizontal axis represents normalized system cost, and the vertical axis represents normalized user satisfaction. The gray scatter points are random DRO sampling points, and the black curve is the Pareto optimal front containing four non-dominated solutions. The plot marks the cost-optimal solution, the satisfaction-optimal solution, and the comprehensive compromise solution selected based on the TOPSIS method, which can provide diverse operational strategy choices for decision-makers with different preferences, verifying the effectiveness of the dual-objective optimization model of this invention.
[0094] Figure 4 The figures show a comparison of the 24-hour load rate of the transformer under three operating scenarios. In the disordered operation scenario, the load rate reaches a maximum of 90%, close to the rated threshold; the load rate is reduced in the deterministic optimization scenario; the method of this invention controls the highest load rate throughout the day to within 80%, achieving smooth regulation of the transformer load and effectively reducing the risk of equipment overload.
[0095] Figure 5 To illustrate the charging and discharging power command diagrams for different types of electric vehicles, three typical electric vehicle types—Type A (commuter vehicles), Type B (daytime charging vehicles), and Type C (nighttime vehicles)—were selected to demonstrate the practical effects of the differentiated scheduling strategy of this invention. Type A vehicles arrive in the evening and depart the following morning, with their stay covering the entire evening peak and off-peak periods. The scheduling strategy fully utilizes their long-term grid-connected advantage, performing V2G reverse discharge to support the grid during the evening peak period (6 PM to 9 PM) and concentrating charging during the midnight off-peak electricity price period to reduce energy costs. Type B vehicles arrive in the evening and depart the following morning. The strategy, while ensuring their charging needs, moderately discharges during the evening peak and charges in an orderly manner during the off-peak period. Type C vehicles are nighttime vehicles, arriving in the morning and departing in the evening, with their stay partially offset from the peak and off-peak cycles. The strategy mainly utilizes their daytime grid-connected period to absorb midday photovoltaic output or smooth daytime load fluctuations, achieving flexible adjustment with a limited adjustable window. The charging and discharging instructions for the three types of vehicles differ significantly, verifying that the present invention can generate customized charging and discharging strategies for each vehicle based on its arrival and departure times, dwell time, and power demand, thereby achieving off-peak charging and peak discharging and fully leveraging the distributed energy storage and flexible regulation capabilities of electric vehicles.
[0096] Figure 6 This invention presents optimized operating power command diagrams for air conditioning equipment with different parameters over 24 hours. Three air conditioners with different set temperatures and rated powers are selected to demonstrate their actual operating curves. The operating power of all three air conditioners exhibits a clear diurnal fluctuation pattern with changes in outdoor temperature: during the midday to evening high-temperature period, the air conditioners operate at higher power to maintain the indoor temperature within a comfortable range; as the temperature drops at night and into the early morning, the operating power decreases accordingly. This invention, while strictly meeting user-set temperatures and ensuring thermal comfort, utilizes the thermal inertia characteristics of air conditioners to moderately pre-cool during peak electricity price periods to reduce subsequent cooling load, and increases operating power during off-peak electricity price periods to meet valley filling demand, providing considerable regulation capacity to the power grid without sacrificing user experience.
[0097] Figure 7 The figure shows the prediction error analysis under different rolling prediction time domains. The mean absolute error (MAE) and root mean square error (RMSE) are used as evaluation indicators of prediction accuracy. As shown in the figure, both MAE and RMSE exhibit a monotonically increasing trend with the extension of the prediction time domain. This result verifies the necessity of the rolling time domain optimization mechanism in this invention, which can effectively reduce prediction errors and improve the accuracy of scheduling decisions by shortening the single prediction time domain.
[0098] Example 2 This embodiment provides a coordinated control system for air conditioning and electric vehicles based on a smart terminal in a transformer substation, including: a data acquisition module, a first model establishment module, a fuzzy set construction module, an optimization model establishment module, and a solution execution module.
[0099] The data acquisition module is used to collect multi-source data through the smart terminal in the transformer area to form a standardized experience dataset. The first model building module is used to build an electric vehicle charging and discharging model and an equivalent thermal parameter model of air conditioning load; The fuzzy set construction module is used to collect historical operation samples of the transformer area. By measuring the deviation between the actual load distribution and the empirical distribution through Wasserstein distance, a joint uncertainty fuzzy set that simultaneously covers air conditioning load and electric vehicle charging and discharging power is constructed. Time labels and spatial location labels are introduced to characterize the spatiotemporal coupling characteristics of the two types of loads: air conditioning load and electric vehicle charging and discharging power. The optimization model building module is used to build a rolling time-domain optimization model with the dual objectives of optimal system overall efficiency and optimal user economy, and transforms the plural bar chance constraints into deterministic constraints through dual transformation. The solution execution module uses the NSGA-II multi-objective optimization algorithm to obtain the charging and discharging power and air conditioning power commands in the current control time domain, which are then issued and executed by the intelligent terminal of the transformer area.
[0100] 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 air conditioning and electric vehicle coordinated control method based on a smart terminal in a distribution area, as described in Embodiment 1. The processor is configured to execute the program stored in the memory.
[0101] 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 coordinated control of air conditioning and electric vehicles based on a smart terminal in a transformer substation, as described in Embodiment 1.
[0102] 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 coordinated control of air conditioning and electric vehicles based on intelligent terminals in transformer substations, characterized in that, Includes the following steps: S1. Collect multi-source data through the intelligent terminal in the transformer area to form a standardized experience dataset and establish an electric vehicle charging and discharging model and an equivalent thermal parameter model of air conditioning load. S2. Collect historical operation samples of the transformer area, use Wasserstein distance to measure the deviation between the actual load distribution and the empirical distribution, construct a joint uncertainty fuzzy set that simultaneously covers air conditioning load and electric vehicle charging and discharging power, and introduce time labels and spatial location labels to characterize the spatiotemporal coupling characteristics of the two types of loads, air conditioning load and electric vehicle charging and discharging power. S3. Establish a rolling time-domain optimization model with optimal system overall efficiency and optimal user economy as dual objectives. Construct a fuzzy set of uncertainty probability distribution based on Wasserstein distance, and transform the rolling time-domain optimization model with dual objectives into a split-bar dual-objective optimization model. S4. The NSGA-II multi-objective optimization algorithm is used to solve the problem and obtain the charging and discharging power and air conditioning power commands in the current control time domain, which are then issued and executed by the intelligent terminal of the distribution area.
2. The method for coordinated control of air conditioning and electric vehicles based on intelligent terminals in transformer substations according to claim 1, characterized in that, The method for constructing a joint uncertainty fuzzy set that simultaneously covers air conditioning load and electric vehicle charging and discharging power is as follows: With the empirical distribution as the center and the Wasserstein distance as the radius, a joint uncertainty fuzzy set is constructed as follows: in, For joint uncertain fuzzy sets, For the actual load distribution, For empirical distribution, Let the radius of the fuzzy set be . Actual load distribution With experience distribution The Wasserstein distance between them.
3. The method for coordinated control of air conditioning and electric vehicles based on intelligent terminals in transformer substations according to claim 2, characterized in that, The empirical distribution is constructed as follows: in, For the Dirac measure, For the i-th historical sample, The total number of samples.
4. The method for coordinated control of air conditioning and electric vehicles based on intelligent terminals in transformer substations according to claim 3, characterized in that, The formula for calculating the Wasserstein distance is as follows: in, Actual load distribution With experience distribution Wasserstein distance between them For the indeterminate boundary, For from distribution The sample points, For from the empirical distribution The sample points, For infinitesimal elements, For infinitesimal elements, For joint distribution, characterize the probability mass from Transfer to Transportation plan, Let be the norm, representing the cost of moving between two sample points. For joint probability distribution, For all and It is the set of joint distributions of marginal distributions.
5. The method for coordinated control of air conditioning and electric vehicles based on intelligent terminals in transformer substations according to claim 4, characterized in that, The joint random vector is defined as follows: in, The charging and discharging power of electric vehicles, For air conditioning load power, For time tags, For spatial location labels.
6. The method for coordinated control of air conditioning and electric vehicles based on intelligent terminals in transformer substations according to claim 1, characterized in that, The dual-objective rolling time-domain optimization model includes: the objective function for optimal overall system efficiency and the objective function for optimal user economy; The optimal objective function for the overall efficiency of the system is as follows: in, The objective function is to optimize the overall efficiency of the system. To optimize the total number of time periods, The cost of purchasing electricity from the power grid during time period t. For network loss cost during time period t, The peak-to-valley difference penalty cost for time period t. For risk weighting coefficients, Conditional risk value; The objective function for optimizing user economics is as follows: in, The objective function is the one that optimizes user economy. For electric vehicle users, the revenue during time period t For air conditioner users, the revenue during time period t; The bi-objective optimization model of the sub-Bruker includes: system side and user side; The system adopts a worst-case expected cost minimization approach: The user side adopts a guaranteed minimum return maximization approach: in, For the system scheduling decision variable vector, For decision variables Perform a minimization operation. For decision variables Perform a maximization operation. This represents the probability distribution of the actual load. For joint uncertain fuzzy sets, For supremum operators, For the infimum operator, In probability distribution The mathematical expectation operator.
7. The method for coordinated control of air conditioning and electric vehicles based on intelligent terminals in transformer substations according to claim 2, characterized in that, The method for obtaining the charging / discharging power and air conditioning power command in the current control time domain by using the NSGA-II multi-objective optimization algorithm is as follows: Configure the parameters of the NSGA-II multi-objective optimization algorithm; repeat the solution process in each rolling cycle: based on empirical distribution. and joint uncertainty fuzzy set The initial population is generated; non-dominated sorting and crowding distance calculation are performed, and offspring are generated through tournament selection, simulated binary crossover, and polynomial mutation; parent and offspring are merged, and non-dominated sorting and crowding selection are performed again to retain individuals; after iterating to the maximum number of generations, the Pareto optimal solution set is output; based on actual operational requirements, a compromise solution is selected from the frontier of the Pareto optimal solution set as the current cycle control strategy, resulting in the optimal control instruction set in the current control time domain as follows: in, For charging power command, For discharge power command, This is an air conditioning power command.
8. A system based on the method for coordinated control of air conditioning and electric vehicles based on a smart terminal in a transformer substation as described in any one of claims 1 to 7, characterized in that, include: The system includes a data acquisition module, a first model building module, a fuzzy set construction module, an optimization model building module, and a solution execution module. The data acquisition module is used to collect multi-source data through the smart terminal in the transformer area to form a standardized experience dataset. The first model building module is used to build an electric vehicle charging and discharging model and an equivalent thermal parameter model of air conditioning load; The fuzzy set construction module is used to collect historical operation samples of the transformer area. By measuring the deviation between the actual load distribution and the empirical distribution through Wasserstein distance, a joint uncertainty fuzzy set that simultaneously covers air conditioning load and electric vehicle charging and discharging power is constructed. Time labels and spatial location labels are introduced to characterize the spatiotemporal coupling characteristics of the two types of loads: air conditioning load and electric vehicle charging and discharging power. The optimization model building module is used to build a rolling time-domain optimization model with the dual objectives of optimal system overall efficiency and optimal user economy, and transforms the plural bar chance constraints into deterministic constraints through dual transformation. The solution execution module uses the NSGA-II multi-objective optimization algorithm to obtain the charging and discharging power and air conditioning power commands in the current control time domain, which are then issued and executed by the intelligent terminal of the transformer area.
9. An electronic device, comprising a memory and a processor, characterized in that, The memory is used to store a program that supports the processor in executing the air conditioning and electric vehicle coordinated control method based on the intelligent terminal of the substation as described in any one of claims 1 to 7, and the processor is configured to execute the program stored in the memory.
10. A storage medium storing a computer program, characterized in that, When a computer program is run by a processor, it executes the steps of the air conditioning and electric vehicle coordinated control method based on a smart terminal in a transformer substation as described in any one of claims 1 to 7.
