A flexible load regulation method for electric vehicles based on new energy consumption
By constructing a continuous quadratic programming model with dual-layer operating constraints of electrical and thermal insulation and optimizing the charging priority weights, the problems of unutilized transformer overload margin and repeated reversals of power allocation priority were solved, thus realizing the safe consumption and stable allocation of new energy.
Patent Information
- Application Number
- CN202611648697.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-23
- Publication Date
- 2026-11-20
AI Technical Summary
Existing technologies in electric vehicle charging management neglect the thermal inertia of transformers, resulting in the overload margin not being utilized and the power allocation priority of vehicle groups repeatedly flipping, affecting the consumption of new energy and equipment safety.
By constructing a dual-layer operating constraint of instantaneous electrical and thermal insulation, and combining the urgency of leaving the station and the weight of charging priority, a continuous quadratic programming model is established to optimize the power allocation of charging piles, release the dynamic thermal margin of transformers, and ensure safety and stability.
By effectively utilizing the thermal inertia of transformers, we can avoid overload misjudgment and repeated reversals of power allocation priorities, ensure the insulation safety of transformers, and improve the capacity for renewable energy absorption and the real-time performance and stability of the scheduling model.
Smart Images

Figure CN123144141A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of vehicle-to-grid interaction and power distribution network load control technology, specifically to a flexible load adjustment method for electric vehicles based on the absorption of new energy sources. Background Technology
[0002] The large-scale integration of distributed photovoltaic and decentralized wind power at the end of the distribution network, with its peak generation characteristics at midday, easily leads to deep backfeeding and reverse overload in the distribution area; the large-scale, disorderly charging of electric vehicles at night exacerbates the "peak-on-peak" contradiction in the distribution network. The spatial and temporal mismatch between source and load results in both renewable energy curtailment and heavy equipment overload. The flexible load of electric vehicles can be used to implement local consumption and load balancing.
[0003] Existing technologies mostly adopt a two-stage architecture that combines day-ahead multi-agent game collaborative optimization with intraday model predictive control for real-time allocation: day-ahead, time-of-use pricing and benchmark charging plans are formulated through multi-layer master-slave game; intraday, an overload protection boundary is constructed based on the transformer's instantaneous converted active power hard threshold, and the urgency index of leaving the station is calculated based on the charge gap and remaining dwell time, and the secondary planning is used to allocate the power of a single pile in a rolling solution.
[0004] The architecture has three limitations in engineering practice: First, overload protection is tied to the instantaneous power threshold, ignoring the inherent thermal inertia damping of transformer oil and windings. Under midday weather disturbances, it is prone to overload misjudgment and repeated current limiting, and the short-term dynamic overload margin is not utilized. Second, the denominator of the departure urgency decreases linearly with time. When multiple vehicles are in critical queuing due to capacity constraints, it is easy to cause hyperbolic amplification of weights and repeated reversals of vehicle power allocation priority. Third, directly introducing thermodynamic differential equations or discrete debouncing logic will cause continuous quadratic programming to degenerate into non-convex programming or mixed integer programming, resulting in timeouts. Introducing simple additive preservation terms can easily lead to a priority reversal where the weight of charging vehicles is consistently higher than that of newly arrived vehicles with high urgency, causing vehicles with high urgency to not receive power allocation for a long time. Summary of the Invention
[0005] To overcome the above-mentioned defects, this invention provides a flexible load adjustment method for electric vehicles based on the consumption of new energy sources. By constructing a dual-layer operation constraint of instantaneous electrical and thermal insulation, and combining the urgency of departure and the preceding execution power to determine the charging priority weight and solve the continuous quadratic programming model, this method solves the problems of the transformer dynamic overload margin not being utilized under the traditional instantaneous power threshold and the repeated flipping of the vehicle group power allocation priority.
[0006] To achieve the above objectives, the present invention provides the following technical solution: A flexible load adjustment method for electric vehicles based on renewable energy consumption includes: 1) recursively estimating the hot spot temperature of the transformer windings using an off-site heat dissipation network model based on the operating status of the distribution transformer and the ambient temperature, and constructing a two-layer operating constraint including instantaneous electrical boundaries and thermal insulation boundaries, combined with instantaneous electrical withstand power; 2) calculating the off-site urgency based on the current state of charge, expected state of charge, and remaining dwell time of the electric vehicles at the station, and determining the charging priority weight in the objective function by combining the execution power of the preceding control cycle; 3) establishing a continuous quadratic programming model under the two-layer operating constraint with the objectives of day-ahead power tracking and minimizing the charging demand deficit, solving for and issuing continuous power control commands for each charging pile.
[0007] Preferably, the target value for day-ahead power tracking is obtained in the day-ahead collaborative optimization stage: In the day-ahead collaborative optimization stage, a three-layer master-slave game model including distribution network operators, electric vehicle dealers and electric vehicle users is constructed, and a constraint on the upper limit of renewable energy curtailment rate is set in the upper-layer model; Based on the second type of special ordered set piecewise linearization and duality theory, the three-layer master-slave game model is transformed into a single-layer mixed integer linear programming and solved to obtain the benchmark charging power plan of each charging pile in each time period.
[0008] In summary, the present invention has the following beneficial effects: By recursively estimating the transformer winding hot spot temperature using an off-site heat dissipation network model and combining it with instantaneous electrical withstand power, a two-layer operational constraint is constructed. The urgency of departure is calculated based on the current state of charge, expected state of charge, and remaining dwell time of the electric vehicles at the station. Charging priority weights are determined by combining the execution power of the preceding cycle. Under this two-layer operational constraint, a continuous quadratic programming model is established and solved, aiming at day-ahead power tracking and minimizing charging demand deficit. This overcomes the shortcomings of existing technologies that rely solely on instantaneous power hard thresholds and ignore transformer thermal inertia, resulting in unutilized short-term dynamic overload margins and misjudged current limiting. It also eliminates the problem of repeated reversals in vehicle power allocation priority caused by the decay of departure urgency over time. While ensuring transformer insulation safety, it releases short-term dynamic thermal capacity margins to accommodate new energy vehicle load surges, suppresses repeated switching and oscillations in multi-vehicle power allocation, and ensures the real-time solution and tracking stability of the scheduling model within the continuous convex quadratic programming framework. Attached Figure Description
[0009] Figure 1 A schematic diagram of a flexible load adjustment method for electric vehicles based on renewable energy consumption is provided in this embodiment of the invention. Figure 2 This is a schematic diagram comparing the dynamic thermal insulation and power absorption response of the transformer under the midday distributed photovoltaic pulsating reverse backfeed condition in an embodiment of the present invention; Figure 3This is a graph showing the evolution of charging priority weight and the dynamic response of vehicle group power allocation under multi-vehicle critical queuing conditions in an embodiment of the present invention. Figure 4 This is a timing diagram of single-pile control command smoothing and protocol message issuance under the coordination of continuous quadratic planning total variation regularization and execution layer ramp-limiting in an embodiment of the present invention; Figure 5 This is a diagram showing the distribution of equivalent load peak shaving and valley filling and the full-cycle renewable energy curtailment rate under the three-layer collaborative game single-layer mixed integer linear programming solution in this embodiment of the invention. Detailed Implementation
[0010] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present invention.
[0011] Figure 1 This invention presents a flexible load adjustment method for electric vehicles based on renewable energy consumption, comprising the following steps: It should be noted that this embodiment is carried out in the following order: In order to highlight the improvement of the intraday real-time closed-loop control layer of the present invention, the specific implementation of the intraday control link is first carried out (corresponding to the three main steps S1 to S3), and then the day-ahead collaborative optimization stage (corresponding to S4) which serves as the source of intraday control input is carried out. In terms of the execution sequence of the method, the day-ahead collaborative optimization stage is completed before the intraday control link - the day-ahead stage outputs the benchmark charging power plan for each charging station in each time period, and the intraday stage implements closed-loop clamping with the plan as the tracking target. The intraday execution deviation is fed back to the day-ahead stage to complete the parameter correction across the scheduling cycle.
[0012] S1, based on the operating status of the distribution transformer and the ambient temperature, uses the heat dissipation network model to recursively deduce the hot spot temperature of the transformer winding, and combines the instantaneous electrical withstand power to construct a two-layer operating constraint that includes instantaneous electrical boundaries and thermal insulation boundaries.
[0013] In this embodiment, the steps for constructing the recursive transformer winding hot spot temperature using the heat dissipation network model are as follows: S101, calculate the normalized load rate based on the instantaneous active power of the distribution transformer, the rated parameters of the secondary side, and the measured lower limit of the power factor.
[0014] Specifically, the square of the normalized load factor The result is obtained by dividing the square of the instantaneous active power of the distribution transformer by the square of three times the product of the rated phase voltage, rated current, and the measured lower limit of the power factor on the secondary side:
[0015] In the formula This refers to the instantaneous active power of the distribution transformer. This refers to the rated phase voltage on the secondary side of the transformer. This is the rated current on the secondary side of the transformer. This represents the historical measured lower limit of the power factor for the transformer substation area. It should be noted that the normalized load factor is normalized using the square of the active power. Under reverse power conditions, when the instantaneous active power is negative, the square operation naturally results in a non-negative value, eliminating the need for absolute value processing. Furthermore, since the transformer load current is directly proportional to the active power and inversely proportional to the power factor, using the measured lower limit of the power factor leads to an overestimation of the calculated load current. Consequently, the thermal calculations and electrical boundaries implemented based on this are biased towards the safety side.
[0016] S102, the total loss ratio is constructed based on the transformer no-load loss and rated load loss.
[0017] Specifically, total loss ratio This is the sum of the products of the transformer's no-load loss, rated load loss, and the square of the normalized load rate, divided by the sum of the no-load loss and the rated load loss:
[0018] In the formula For transformer no-load loss, This is the rated load loss of the transformer. and The ratio is the loss ratio, and its value ranges from 4 to 8. It should be noted that the total loss ratio is the ratio of actual total operating loss to rated total loss, and it always satisfies... ,in The loss ratio is the total loss ratio, which is always greater than zero under all operating conditions. As an optional implementation method, the loss ratio can also be directly calculated from the transformer short-circuit test loss data.
[0019] S103, based on the oil time constant and the winding time constant, uses a zero-order holder to discretize the second-order lumped parameter thermal network differential equation, and establishes a two-state discrete recursive equation with the 0.8th term of the total loss ratio, the 1.6th term of the total loss ratio and the ambient temperature as inputs, and the top oil temperature rise and the oil temperature rise of the hottest point of the winding as state variables.
[0020] Specifically, according to the IEC 60076-7 standard, the continuous thermal equilibrium process between the top oil temperature rise and the hottest point of the winding on the top oil temperature rise of an oil-immersed distribution transformer is characterized by the following second-order lumped-parameter differential equation:
[0021]
[0022] In the formula The oil time constant, The winding time constant, For the rated top oil temperature rise, The temperature rise of the top layer oil is determined by the hottest spot of the rated winding. Further, the step size is controlled. To obtain a discrete periodicity, a zero-order hold is used to analytically discretize the above continuous equations, resulting in a two-state discrete recurrence equation:
[0023] In the formula Let be the thermal state vector. The matrix is a continuous system consisting of the oil time constant and the winding time constant. Here is the state transition matrix. , Given an input matrix and In the formula For integration variables, The input matrix of a continuous system, Input the ambient temperature matrix. The ambient temperature.
[0024] It should be noted that the continuous system matrix is a diagonal matrix, with its diagonal elements being the negatives of the oil time constant and the winding time constant. Each column of the continuous system input matrix is determined by the rated temperature rise, corresponding time constant, and ambient temperature input channels. The oil time constant and winding time constant are preferably 60 to 180 minutes and 4 to 10 minutes, respectively, both calibrated using transformer factory temperature rise test data. The rated winding hotspot temperature rise to the top oil is obtained by converting the average winding temperature rise measured in the temperature rise test using a hotspot coefficient. The state transition matrix and input matrix are obtained by explicit algebraic transformation using transformer nameplate parameters and temperature rise test data. The ambient temperature input term is zero under a first-order approximation; if retained, it represents a correction term for cooling conditions varying with ambient temperature, and its value is calibrated using temperature rise test data of the same type of transformer. As an optional implementation, the oil index and winding index can also be recalibrated according to the transformer cooling method.
[0025] S104 adds the top oil temperature rise, the hottest oil temperature rise of the winding, and the ambient temperature to obtain the transformer winding hot spot temperature, where the through matrix of the two-state discrete recursive equation is set to zero.
[0026] Specifically, winding hot spot temperature The result is obtained by adding the sum of the two components of the thermal state vector to the ambient temperature:
[0027] It should be noted that the through matrix of the two-state discrete recursive equation is set to zero, so that the contribution of winding heating to hot spot temperature is transmitted only through the state integral effect, preventing the heating from being algebraically superimposed in the output transient.
[0028] Furthermore, the steps for constructing the first-order Taylor expansion of the operating point and the thermally insulating boundary are as follows: S105, in the current control cycle, using the measured active power as the reference operating point, perform first-order Taylor expansions on the 0.8th and 1.6th terms of the total loss ratio in the prediction time domain to obtain a linear affine expression for the instantaneous active power.
[0029] Specifically, the measured active power during the current control cycle Calculate the baseline normalized load factor using the baseline operating point. Ratio of total loss to baseline Then the total loss ratio power ( The first-order Taylor expansion of instantaneous active power is:
[0030] It should be noted that the composite function It is strictly differentiable in the entire real number domain: when the reference operating point is negative, the expansion coefficients adaptively become negative; when the backfeed power increases further in the negative direction, the product term automatically becomes positive, accurately reflecting the heat generation growth under reverse heavy load; the coefficients in the zero-neighborhood smoothly return to zero, with no numerical singularities. Through the above expansion, the nonlinear power term in the prediction time domain is transformed into a linear affine expression for instantaneous active power.
[0031] S106, by substituting the linear affine expression into the two-state discrete recursive equation, transforms the thermal insulation constraint that the hot spot temperature of the transformer winding does not exceed the preset allowable temperature upper limit into a set of linear inequalities concerning the decision variables of instantaneous active power.
[0032] Specifically, the linearly affine input sequence is substituted into the two-state discrete recursive equation, and the thermal state vector is recursively expanded along the prediction time domain:
[0033] In the formula , For the first The total loss after linear affine transformation of the prediction step is greater than that of the power term (here) (Take values of 0.8 and 1.6 respectively). For the first Predict the ambient temperature. It should be noted that, based on the above explanation, the winding hot spot temperature... Completely determined by the current initial thermal state and the decision variables in the prediction time domain With linear expression, the thermal insulation constraint is transformed into a system of linear inequalities about the decision variables, thus fully preserving the convexity of the quadratic programming model.
[0034] S107, the preset allowable temperature upper limit is tightened by a margin compensation coefficient.
[0035] Specifically, the thermal insulation boundary constraints are as follows:
[0036] In the formula This is the margin compensation coefficient, with a value of 0.95, and its range is from 0.92 to 0.96. This serves as a reference limit for the hot spot temperature of the winding. To predict the number of time-domain steps, 15 is preferred. It should be noted that the total loss ratio is a convex quadratic function of the normalized load rate, and the composite function obtained by applying a power transform to the total loss ratio is a convex function whose second derivative is always positive over its entire domain. This can be derived from... The second derivative is directly used for verification. Due to the necessary first-order condition of a convex function, its first-order Taylor expansion at the operating point is the global lower bound of the convex function. That is, the estimate of the total loss ratio power term by the linear affine expression is always no higher than the true value, which is a systematic underestimation. The margin compensation coefficient is the reduction and tightening of the allowable upper temperature limit to offset the higher-order residual, and it is combined with the relinearization of the operating point in each control cycle to make the linearization deviation in the prediction time domain bounded.
[0037] Furthermore, the boundary definition of the two-layer operational constraint is as follows: S108, the instantaneous electrical boundary is defined as follows: the absolute value of the instantaneous active power of the distribution transformer shall not be greater than the product of the rated apparent power, the lower limit of the measured power factor, and the instantaneous impulse withstand multiple.
[0038] Specifically, the outer electrical instantaneous boundary is:
[0039] In the formula The rated apparent capacity of the distribution transformer. The instantaneous impulse withstand multiple is set to 1.30, with a range of 1.25 to 1.40. It should be noted that the instantaneous impulse withstand multiple is determined by the minimum of three factors: the instantaneous trip setting of the distribution circuit breaker, the short-time overload withstand capability of the converter, and the IEC emergency load limit. The outer electrical instantaneous boundary is used to prevent overcurrent tripping of power electronic devices, transient bus voltage exceeding limits, and instantaneous tripping of circuit breakers, leaving space for the inner dynamic thermal margin. Steady-state bus voltage exceeding limits is mitigated by the Volt-VAR / Volt-Watt local droop control closed-loop of the distributed inverters within the station. The constraint system of this invention is limited to two dimensions: active power and thermal insulation.
[0040] S109, the reference limit for the winding hot spot temperature in the thermal insulation boundary is selected according to the transformer operating conditions: 110 degrees Celsius under the condition of no loss of life, and 120 degrees Celsius under the condition of periodic load.
[0041] It should be noted that the two reference limits are based on the load classification of the IEC 60076-7 standard. The life-loss-free operating condition corresponds to 110 degrees Celsius, and the normal periodic load operating condition corresponds to 120 degrees Celsius. The operating conditions are preset and set by the scheduling operation mode according to the standard load table.
[0042] To visually demonstrate the synergistic control effect of this invention in releasing transformer thermal capacity margin and ensuring insulation life, such as Figure 2 The diagram shown is a comparison of the dynamic thermal insulation and power absorption response of the transformer under the midday distributed photovoltaic pulsating reverse backfeed condition. Figure 2 Simulations were conducted based on measured disturbance data from 11:30 to 13:00 for a distribution transformer area with a rated apparent capacity of 1000kVA and a measured power factor lower limit of 0.90 (rated active power baseline of 900kW). From 11:45 to 12:00, affected by the sudden dissipation of local clouds in the upper atmosphere, the reverse power of distributed photovoltaic power surged instantaneously and remained at 1150kW, which is 1.28 times the rated active power baseline and is within the outer electrical instantaneous tolerance boundary of 1170kW (1.30×900kW). Under the condition of using traditional static power threshold control, the static criterion directly triggered the hard current limiting protection at 11:45 and forcibly cut off the reverse power, with a cumulative power curtailment of 73.75 kWh. At this time, the transformer top oil temperature only rose slightly from 48.2 degrees Celsius to 51.8 degrees Celsius, and the temperature of the hottest part of the winding only rose from 76.5 degrees Celsius to 84.2 degrees Celsius. The insulation life was not damaged, and the inherent thermal inertia margin of the transformer was idle.
[0043] Under the dual-layer operation constraint control of this invention, the dynamic accumulation process of the hottest temperature of the winding is dynamically accumulated by the two-state heat dissipation network model and the first-order Taylor affine expansion. Under the constraint of the reduced control upper limit of 104.5 degrees Celsius (0.95×110 degrees Celsius), the absorption of the short-term backfeed impact of 1150kW is fully released: the hottest temperature of the winding smoothly rises from 76.5 degrees Celsius to 103.2 degrees Celsius within 15 minutes, and naturally cools down to 88.6 degrees Celsius after 12:00 as the photovoltaic power falls without exceeding 104.5 degrees Celsius. No current limiting cutoff or relay tripping is triggered throughout the process, the abandoned power of new energy is compressed to zero, and the insulation accelerates aging and the dynamic absorption margin is expanded at the same time.
[0044] After the above processing, the static instantaneous power threshold gives way to the winding hot spot temperature constraint. The transformer thermal inertia is introduced into the optimization model through state progression and maintains the linear inequality form through first-order affine transformation. The short-term dynamic thermal capacity margin can be released within the continuous convex optimization framework. The pseudo-overload current limiting caused by midday micro-meteorological disturbances is eliminated, and the short-term new energy impact peak can be safely absorbed.
[0045] S2 calculates the departure urgency based on the current state of charge, expected state of charge, and remaining dwell time of the electric vehicle at the station, and determines the charging priority weight in the objective function by combining the execution power of the preceding control cycle.
[0046] In this embodiment, the calculation steps for the urgency of departure are as follows: S201, obtain the difference between the expected state of charge and the current state of charge of the electric vehicle at the station, and calculate the remaining charging capacity gap in combination with the rated capacity of the battery when the difference is greater than zero.
[0047] Specifically, the remaining charging capacity gap The product of the difference between the desired state of charge and the current state of charge, and the rated capacity of the power battery, is non-negative.
[0048] In the formula For the desired state of charge of an electric vehicle, This represents the current state of charge of the electric vehicle. For the rated capacity of the power battery, the desired state of charge is preferably between 0.7 and 0.9 kWh, and the rated capacity of the power battery is preferably between 40 and 80 kWh. It should be noted that the non-negative treatment reduces the charge deficit of a vehicle that has reached the desired state of charge to zero, and the vehicle then enters a saturated discharge state.
[0049] S202, divide the remaining charging power gap by the product of the single pile rated charging power, charging efficiency and remaining dwell time to obtain the departure urgency. The remaining dwell time in the denominator is measured in the same time unit as the control cycle step, and the lower limit of the remaining dwell time is set as one control cycle step.
[0050] Specifically, the urgency of leaving the station The remaining charging capacity deficit is calculated by dividing the product of the charging efficiency, the rated charging power per charging pile, and the remaining dwell time.
[0051] In the formula For optimal charging efficiency, a value between 0.90 and 0.95 is preferred. This refers to the rated charging power of a single charging pile. For the estimated departure time, For the current control moment, For the remaining stay time, To control the cycle step size, a minimum of 1 minute is preferred, and all time values are in hours. It should be noted that the departure urgency is the ratio of the time required to replenish the power shortage at rated power to the remaining dwell time. When the departure urgency is greater than or equal to 1.0, the vehicle is considered to be in a rigid emergency power replenishment state; greater than 0 and less than 1.0, the vehicle is considered to be in a flexible adjustable state; and less than or equal to 0, the vehicle is considered to be in a saturated discharge state. This three-state criterion is the basis for dividing the vehicle set in the abnormal backtracking path. The lower limit of the remaining dwell time is set to a single control cycle step size because a remaining dwell time of less than one step size is no longer schedulable, and the truncation process ensures that the departure urgency value is bounded.
[0052] Furthermore, the steps for determining the charging priority weight are as follows: S203 uses a monotonically increasing saturation function to map the urgency of leaving the station to the basic weight. When the urgency of leaving the station is greater than or equal to the preset urgency upper limit, the basic weight takes the upper limit value of the saturation.
[0053] Specifically, basic weights The smaller of the off-site urgency level and the preset urgency upper limit is divided by the sum of that smaller value and the regularization constant:
[0054] In the formula The preset urgency level is capped at 1.2. The regularization constant is 1.0, with a range of 0.8 to 1.2. It should be noted that saturation truncation eliminates the hyperbolic amplification of the base weights when multiple vehicles are critically clustered in terms of urgency. The preset urgency upper limit reserves a 20% anti-shake margin above the rigid judgment threshold of 1.0. As an optional implementation method, any function that exhibits monotonically increasing characteristics and takes a constant value after reaching the threshold can be used as a saturated basis function.
[0055] S204, determine the power utilization rate based on the ratio of the actual execution power to the rated charging power of the preceding control cycle.
[0056] Specifically, power utilization rate The ratio of the actual charging power executed during the preceding control cycle to the rated charging power of a single charging pile:
[0057] In the formula This represents the actual charging power executed during the preceding control cycle. It should be noted that the power utilization rate is the only control history variable introduced into the charging priority weighting; it is continuously differentiable and does not introduce discrete state variables.
[0058] S205 multiplies the base weights by the gating adjustment factor to obtain the charging priority weights, which remain constant in the prediction time domain.
[0059] Specifically, charging priority weight The product of the base weight and the gating adjustment factor:
[0060] In the formula An additional retention factor is added, with a value of 0.2, ranging from 0.1 to 0.3. This is the upper limit of the saturation weight. It should be noted that the gating factor is composed of continuously truncated margins from the saturation weight—the lower the urgency, the larger the margin, and the stronger the inertia; when the urgency reaches the preset upper limit, the margin returns to zero, and the gating factor converges to 1; the charging priority weight is calculated according to the current control cycle and remains constant in the prediction time domain. Furthermore, it should be noted that the charging priority weight satisfies the following no-reversal property: Let ,but:
[0061] because In the interval monotonically increasing and When the additional retention coefficient is less than 1, the right-hand side of the equation is... Since the base weight of non-rigid vehicles is strictly less than 1, the weighted average weight after the maintenance term is always strictly less than the upper limit of saturation. The maintenance inertia of vehicles charging will not overtake the priority of newly arrived rigid vehicles. As an example, vehicle A is already charging and its departure urgency is 0.5, while vehicle B has just entered the charging state and its departure urgency is greater than or equal to 1.2. With a regularization constant of 1.0 and an additional maintenance coefficient of 0.2, the charging priority weight of vehicle A is approximately 0.36, and the charging priority weight of vehicle B is approximately 0.55, which is the upper limit of saturation. The priority of rigid vehicles is guaranteed.
[0062] like Figure 3 The figure shows the evolution of charging priority weight and the dynamic response curve of vehicle power allocation under the critical queuing condition of multiple vehicles. Figure 3 Set the operating trajectory within a 30-minute time domain (control step size 1 minute) under the same area with limited total capacity: The rated capacity of the power battery of vehicle A under charging is 40 kWh, the expected state of charge is 0.85, the current state of charge is 0.60, the remaining dwell time is 20 minutes, and the initial urgency is 0.55; the rated capacity of the power battery of newly connected vehicle B is 40 kWh, the expected state of charge is 0.575, the current state of charge is 0.30, it is connected at the 5th minute, the remaining dwell time is 12 minutes, and the initial urgency is about 1.00.
[0063] The comparison curves show that under the existing linear decay urgency additive control, as time progresses, the calculated urgency of vehicle B increases in a hyperbolic nonlinear manner, while vehicle A, due to being in full-power charging state in the previous cycle (power utilization rate 1.0), has positive feedback accumulation in its additive holding term. The allocation weight of vehicle A is consistently higher than that of vehicle B from the 6th to the 10th minute, forming a priority reversal where the weight of charging vehicles overrides that of newly arrived vehicles with high urgency. Vehicle B's power is squeezed out for 5 control steps during the critical recharging period before leaving the station. Subsequently, the calculated value of vehicle B overshoots, and the weights of the two vehicles alternately overtake each other for 2 to 3 minutes from the 11th to the 18th minute. The actual power of a single pile experiences 6 violent switching between 0 kW and 60 kW, and the on-board charger relay suffers fatigue impact.
[0064] Under the gating multiplicative adaptive weighting operator control of this invention, vehicle B reaches the preset urgency limit of 1.20 at the 7th minute. Its basic weight and the remaining margin term in the gating adjustment factor are strictly zeroed, and the weight is constantly clamped at the theoretical upper limit of saturation of 0.545. Vehicle A, which is in the elastic range, is suppressed by the multiplicative decay of the gating term, and its comprehensive weight is suppressed in the range of 0.35 to 0.38. The two weight curves are monotonically separated throughout the entire process and have no intersection point. Vehicle B obtains full power priority for energy replenishment. When it leaves the station at the 17th minute, the actual state of charge reaches 0.576, the expected state of charge is guaranteed, and the priority reversal and power alternation are eliminated.
[0065] The above sub-steps together achieve the following effects: on the one hand, the urgency of leaving the station maintains a pure physical semantic and is truncated by a saturation function, and the weighted hyperbolic amplification and numerical singularity are blocked; on the other hand, the gating multiplicative retention term provides continuous damping without introducing integer variables, and the inertia of the charging vehicle is constrained by gating so that it will not overtake the rigid new vehicle - the risk of repeated flipping of vehicle group power allocation priority and high-urgency vehicles not being able to get recharge is suppressed at the same time.
[0066] S3 establishes a continuous quadratic programming model under dual-layer operation constraints, with the objectives of day-ahead power tracking and minimizing charging demand deficit. The model is then used to solve for the continuous power control commands for each charging pile and issue them for execution.
[0067] In this embodiment, the steps for constructing the objective function of the continuous quadratic programming model are as follows: S301, the sum of squared tracking deviations between the charging power of each controlled charging pile in the predicted time domain and the planned power for the day.
[0068] Specifically, tracking items To predict the sum of squares of the differences between the charging power of each controlled charging station and the planned charging power for the current day within the time domain:
[0069] In the formula This is the collection of currently controlled vehicles at the station. For vehicles In the The predicted daily planned charging power, This is for predicting the number of time-domain steps. It should be noted that the tracking term guarantees the degree to which intraday execution adheres to the previous day's economic optimization plan and is the economic benchmark term in the objective function.
[0070] S302, the sum of squares of the deficit penalty terms after weighting the difference between the rated charging power and the charging power of each controlled charging pile by the charging priority weight.
[0071] Specifically, the penalty for missing funds The sum of squares of the differences between the rated charging power and the actual charging power of each controlled charging station, weighted by charging priority:
[0072] In the formula This represents the charging priority weight. It should be noted that the squared penalty form imposes a stronger constraint on the unmet power needs of high-priority vehicles, ensuring that rigid energy replenishment demands are prioritized.
[0073] S303, the sum of squares of the total variation penalty term for the increase in charging power between continuous control steps for each controlled charging station.
[0074] Specifically, total variation penalty item The weighted sum of the squares of the charging power increments of adjacent control steps for each controlled charging station:
[0075] In the formula The total variation penalty weight is set to 0.05, with a range of 0.01 to 0.1. It should be noted that the three constants of the objective function are converted to power square dimensions, the Hessian matrix of the quadratic programming problem is positive definite, and the condition number is good. The total variation penalty term and the underlying hardware ramp rate limiting constitute a two-level synergy between trend smoothing in the optimization stage and physical truncation in the execution stage. All variables in the model are continuous real numbers, without introducing 0-1 integer variables, making it a strictly convex quadratic programming problem, and the solution meets the real-time requirement of minute-level control step size.
[0076] Furthermore, the steps for solving and issuing the power control command include: S304 limits the power ramp rate of the target power command output from the solution of the continuous quadratic programming model.
[0077] Specifically, the target power command output by the solution is clamped and corrected according to the hardware-tolerant ramp-up and ramp-down rates:
[0078] In the formula To solve for the target power output by a quadratic programming problem, This refers to the power command issued during the preceding control cycle. , These are the allowable power ramp-up and ramp-down limits within a single control step, tuned according to the charging pile's hardware tolerance. It should be noted that the ramp-up rate limit only applies to the instruction execution layer and does not change the optimization decision itself; its function is clearly separate from the total variation penalty term. As an optional implementation method, the quadratic programming solver can also employ the effective set method in addition to the interior-point method.
[0079] S305 encapsulates the limited power control command into a charging configuration file message that conforms to the open charging pile protocol and sends it to each charging pile controller on site.
[0080] Specifically, the power command is issued via the SetChargingProfile message of the Open Charging Pile Protocol (OCPP) 2.0.1, and its core field configuration is shown in the table below:
[0081] It should be noted that the intraday execution deviation is fed back to the recursive least squares estimation in step 1 in real time, completing the parameter adaptive correction across scheduling cycles.
[0082] like Figure 4 The figure shows the timing diagram of single-pile control command smoothing and protocol message issuance under the coordination of continuous quadratic programming total variation regularization and execution layer ramping limit. Figure 4 The operation of a bidirectional charging pile with a rated power of 60 kW was recorded during a 10-minute continuous control sequence (sampling period of 1 minute) under severe external power fluctuations: Without the total variation penalty term configured, the quadratic programming objective function only tracks the external benchmark and urgency deficit, and the output target power command exhibits high-frequency step characteristics, with power jump amplitudes of up to 24.5 kW between adjacent cycles, frequently triggering large current transient impacts on the charging pile power devices, and the total harmonic distortion rate of the AC sampling bus voltage at the pile end transiently deteriorates to 4.6%; After configuring the total variation penalty term (0.05) of this invention, the positive definite condition number of the Hessian matrix of the objective function is improved, the optimization process suppresses the second-order difference of the control sequence at the decision layer, and the adjacent step size changes of the output target power curve converge within 5.2 kW; the command is input to the power ramp rate limiting module of the execution layer, continuously truncated at a ramp rate of 3.0 kW per second, and then packaged into an OCPP. The 2.0.1 standard message is transmitted to the charging pile controller via the CAN bus for execution. The hardware output power curve fits the gradual slope, with no overshoot or oscillation. The total harmonic distortion rate of the AC side voltage is stably converged to within 1.4%. The mathematical smoothing of the optimization layer and the electrical protection of the execution layer are decoupled and coordinated.
[0083] Furthermore, the interface between the abnormal rollback step and the day-ahead plan is as follows: S306 When communication is interrupted or the abnormal operating condition is triggered by the timeout of consecutive quadratic programming solutions, the power limit of the distribution transformer will be switched to the rated static capacity safety threshold.
[0084] Specifically, abnormal operating conditions are triggered when the communication interruption lasts for more than 3 heartbeat cycles or the solution time exceeds a single control step. After triggering, the power limit switches to:
[0085] In the formula This is the static safety margin coefficient, with a value of 0.95, ranging from 0.90 to 0.95. It should be noted that this static threshold is the bottom layer of the "open-dominant-backup" three-layer safety architecture—under normal operating conditions, the short-term thermal capacity margin is dynamically opened from the inner thermal insulation boundary; under abnormal operating conditions, it retreats to the static conservative capacity line to ensure the safety of the transformer insulation life in the event of communication or solution failure.
[0086] S307 divides online vehicles into rigid charging sets and flexible adjustment sets according to the urgency of leaving the station. Within the rated static capacity safety threshold, it prioritizes supplying full power to vehicles in the rigid charging set and performs proportional derating or suspending charging for vehicles in the flexible adjustment set.
[0087] Specifically, vehicles with a departure urgency level greater than or equal to 1.0 are classified into the rigid energy replenishment set. The remaining online vehicles are included in the flexible adjustment set. The sum of the rated power of the rigid energy replenishment set is The total allowed charging capacity is:
[0088] In the formula For the basic load of the transformer area, , These are the real-time outputs of distributed photovoltaic and wind power, respectively. When the total rigid demand exceeds the allowable capacity, the rigid aggregate will be subject to a proportional reduction in capacity.
[0089] At the same time, the charging instructions for the flexible adjustment vehicles are reset to zero; when the total rigid demand does not exceed the allowable capacity, the rigid vehicle group will supply power at full rated power, and the remaining capacity will be used for charging. Shared allocation within the elastic set based on urgency weight:
[0090] It should be noted that proportional reduction applies to the extreme restricted situation where the total rigid demand exceeds the allowable capacity, while weight sharing allocation applies to the general situation where the capacity is partially restricted; the charging instructions of saturated vehicles that have reached the expected state of charge are reset to zero and switched to controlled discharge according to scheduling needs.
[0091] S308, the target value for day-ahead power tracking is obtained from the day-ahead co-optimization phase.
[0092] Specifically, the planned charging power for the day-ahead period originates from the solution results of the day-ahead collaborative optimization stage. This stage constructs a three-layer master-slave game model involving distribution network operators, electric vehicle dealers, and electric vehicle users. A constraint on the upper-layer renewable energy curtailment rate is set. Through special ordered set type 2 piecewise linearization and duality theory processing, the three-layer game is transformed into a single-layer mixed integer linear programming problem, yielding the baseline charging power plan for each charging pile in each time period. The curtailment rate upper limit is preferably set to 5%. It should be noted that the intraday closed loop uses the aforementioned day-ahead plan as the tracking benchmark, and execution deviations are corrected through a feedback loop, forming a complete collaboration between day-ahead pre-scheduling and intraday constraint. The mathematical derivation of the three-layer game model is detailed in the corresponding section of the day-ahead collaborative optimization stage in this embodiment.
[0093] Thus, the objective function performs its own functions of economic tracking, rigidity protection, and trend smoothing, maintaining a strict convex quadratic programming form without any 0-1 variables throughout the process; power commands are issued after two levels of processing: total variation smoothing at the optimization layer and ramp-up limiting at the execution layer; when communication is interrupted or the solution times out, it retreats to the static conservative capacity line—thus achieving real-time performance, smoothness, and failure safety.
[0094] S4, currently in the collaborative optimization phase, consists of output prediction, user parameter identification, site grouping, and a three-layer game pricing sequence, outputting the benchmark charging power plan for each charging station at each time period.
[0095] In this embodiment, the day-ahead collaborative optimization stage consists of four sequential steps: distributed wind and solar power output prediction, online identification of user behavior parameters, charging station resource clustering and differentiated delimitation, three-layer collaborative game pricing, and single-layer solution. Its output is the baseline charging power plan for each charging pile in each time period, which is the target value for power tracking in the intraday control stage.
[0096] In this embodiment, the data acquisition, output prediction, and parameter identification steps in the day-ahead collaborative optimization phase are as follows: S401 collects historical high-frequency output data of distributed wind and solar power in the distribution transformer area, multi-source meteorological characteristics, basic power load, vehicle arrival and departure records and historical excitation response data, and constructs a multi-source input tensor.
[0097] Specifically, a third-order input tensor is constructed from multi-source data of 96 sampling points in the preceding time window (sampling period of 15 minutes, covering the past 24 hours). ,in The batch size is 7, with 7 feature dimensions: actual historical output of distributed photovoltaic power, historical output of wind power, surface horizontal irradiance, direct normal irradiance, ambient temperature, wind speed, and cloud cover at the future alignment time of numerical weather prediction. It should be noted that high-frequency data acquisition is used to capture minute-level output fluctuations caused by cloud cover, while numerical weather prediction provides advanced meteorological priors; the two complement each other to form the predictive input.
[0098] S402 extracts the spatiotemporal dependence of multi-source weather and power output based on a temporal self-attention encoder, and outputs a deterministic wind and solar power output prediction vector after clear-sky radiation physical envelope hard limiting correction.
[0099] Specifically, after the input tensor is processed by a multi-head self-attention temporal encoder to extract its temporal dependencies, it is mapped to 96 sampling points of the future prediction window through the output projection layer. The prediction results are then hard-limited and corrected by the clear-sky radiation physical envelope model.
[0100] In the formula This is the raw predicted value of photovoltaic power output output from the time-series self-attention encoder. The photovoltaic power output is the predicted value after correction for the physical envelope of clear-sky radiation. The photoelectric conversion reference efficiency, The effective area of photovoltaic modules within the station. For a moment Theoretical clear-sky irradiance, The junction temperature of the photovoltaic cell is derived from ambient temperature and irradiance. This represents the power temperature coefficient, with a temperature reference of 25 degrees Celsius. It should be noted that the clear-sky radiation envelope is a physical hard constraint; any predicted output exceeding this envelope is directly truncated to avoid extrapolation distortion in purely data-driven models under extreme weather conditions. After correction, a deterministic output prediction vector is output. and .
[0101] S403 performs probability ratio transformation on the user's historical response records and uses recursive least squares method with forgetting factor to identify user dynamic behavior parameters online.
[0102] Specifically, users During the historical scheduling period Actual reduction in response ratio The ratio of actual load reduction to baseline reported demand is used to transform the probability of execution:
[0103] In the formula To measure the log-probability value of the reduced response ratio after probability ratio transformation, , vehicles During the period The actual charging power and discharging power, Subsidies for demand response units, Based on the user's expected price point, , Given known behavior weight constants, Based on the transfer cost, The time-transfer friction index, Preferred charging times for users as a benchmark. This is the loss factor for calculating the lifespan of the power battery.
[0104] Furthermore, a fixed-time transfer friction index (using an industry-standard calibration constant, ranging from 1.2 to 1.8, initially set to 1.5) is used to define the vector of parameters to be identified. With the observed regression vector Let forgetting factor covariance matrix Updated daily:
[0105]
[0106]
[0107] In the formula, This is the recursive gain.
[0108] Then, decoupling is achieved through inversion of the identification vector: , , , It should be noted that the forgetting factor gives higher weight to recent response samples than to older samples, enabling time-varying tracking of user behavior parameters.
[0109] S404 initiates maximum entropy inverse reinforcement learning to supplement identification when user response actions are discrete and sparse.
[0110] Specifically, the user charging time shift selection sequence trajectory For demonstration purposes, the weight vector in the reward function is solved iteratively using log-likelihood gradient ascent to ensure convergence robustness under cold-start and sample-missing conditions. It should be noted that recursive least squares and maximum entropy inverse reinforcement learning complement each other—the former is suitable for regular operating conditions with continuous response records, while the latter is suitable for cold-start operating conditions with sparse responses. Together, they ensure full-condition coverage of parameter identification.
[0111] Furthermore, the steps for resource clustering and differentiated delineation of charging stations are as follows: S405: Extract multi-dimensional features from the historical operation monitoring records of charging stations to construct a feature matrix, and input it into clustering after standardization.
[0112] Specifically, targeting the jurisdiction For each charging station, four-dimensional features are extracted: overall utilization rate, port efficiency, peak-valley usage ratio, and time-series transferable capacity margin. Feature vectors are then constructed. The formulas for calculating each feature are as follows:
[0113]
[0114]
[0115]
[0116] In the formula To stop at the station The vehicle assembly, For the site The total number of charging piles, This refers to the rated power of a single pile. , They are collections of peak and off-peak periods, For the site Rated capacity of the distribution transformers in the area The average power factor of the transformer area. For the site During the period The basic background load. Furthermore, Z-score normalization is used to eliminate the influence of dimensions:
[0117] In the formula , Features The mean and standard deviation, For the site The standardized feature vectors. It should be noted that the four-dimensional features measure equipment time redundancy, single-gun energy output intensity, load tidal rigidity, and dynamic buffer depth, respectively, characterizing site heterogeneity from two aspects: static scale and dynamic adjustment capability.
[0118] S406 uses K-Means++ clustering based on weighted Mahalanobis distance and elbow method to divide the charging stations in the jurisdiction into three types of resource clusters.
[0119] Specifically, the distance metric uses a weighted Mahalanobis distance that takes into account the correlation between features:
[0120] In the formula The covariance matrix is estimated from the features of all samples. For the first The center of the cluster. The clustering objective is to minimize the sum of squared errors:
[0121] In the formula For the first The cluster of sites The number of clusters is determined by the elbow method and taken as the number of clusters. Cluster centers are updated based on the mean of samples within each cluster:
[0122] The iteration terminates when the center drift is satisfied. Engineering threshold Pick It should be noted that Mahalanobis distance takes into account the correlation between features to avoid redundant weighting of strongly correlated features such as utilization and port efficiency; the initial centers are selected by the K-Means++ strategy to reduce the sensitivity of the clustering results to the initial values.
[0123] S407 maps the clustering results to differentiated physical and economic constraint boundary parameters for each resource cluster.
[0124] Specifically, the category labels output by clustering are mapped to the differential boundary parameters in the current optimization model. The feature profiles and mapping rules for each cluster are shown in the table below:
[0125] Table As a benchmark guiding price for the power grid, The standardization of energy storage capacity is used to configure a base of energy storage for each site. The two components of the energy storage collaborative capacity boundary are the upper limit of energy storage capacity and the upper limit of energy storage power, respectively. It should be noted that the differentiated boundary means that rigidly retrofitted sites retain only limited charging capacity and are forced to smooth out local impacts by on-site energy storage. Energy storage collaborative sites have open space for deep charging and discharging and the maximum peak-valley price difference. Price-sensitive sites mainly rely on flexible load autonomous time shifting. This breaks the concentrated charging and secondary peaks caused by the homogeneous incentives across the entire network.
[0126] Furthermore, the modeling steps for the three-layer collaborative game pricing and single-layer solution are as follows: S408 constructs an overall structure of a three-tiered master-slave game among power distribution network operators, electric vehicle dealers, and electric vehicle users.
[0127] Specifically, the hierarchical structure, decision variables, and core functions of the three main bodies are shown in the table below:
[0128] It should be noted that the upper-level leaders issue incentive signals based on the safety of power grid operation and the indicators of power consumption, the middle level takes the incentive signals to formulate retail price packages, and the lower level makes independent decisions on charging and discharging behavior based on price signals. The three levels form a master-slave game structure through the interaction of leaders and followers.
[0129] S409, Establish the objective function and constraints for the upper-level distribution network operator.
[0130] Specifically, the upper layer aims to minimize the equivalent load peak-to-valley difference throughout the day:
[0131] In the formula , , For the existing rigid foundation load of the transformer area, For the abandoned power of new energy sources, This is the set of variables for higher-level decision-making. Constraints include: system power balance constraints. Upper limit constraint on power curtailment rate:
[0132] In the formula To control the upper limit of the curtailment rate of renewable energy across the entire network, a value of 5% is preferred; the apparent power capacity of distribution transformers is also constrained. In the formula For reactive load in the distribution area; demand response subsidy price limit constraint. It should be noted that the upper limit of the curtailment rate, as a rigid hard boundary, is endogenous to the upper-level optimization model, transforming the obligation to consume new energy from a soft target into a mandatory constraint. This is the essential difference between this layer and the existing pricing-based demand response mechanism.
[0133] S410, establish the objective function and constraints for mid-level electric vehicle dealers.
[0134] Specifically, the middle management aims to maximize net operating revenue throughout the day:
[0135] In the formula, Revenue from the difference between the purchase and sale price of electricity. , For charging and discharging status indication, For the marginal electricity price at the node, For discharge hardware conversion efficiency; To incentivize peak shaving and share revenue, The compensation paid by the agent to the user for load reduction units. To reduce action status indicators, This refers to the load reduction amount; For discharge subsidy expenditure, To subsidize electricity prices for discharge, For the set of mid-level decision variables.
[0136] The constraints include: price and subsidy differential constraints. , , In the formula , The electricity price fluctuation boundary is explicitly defined by the cluster label to which the site belongs. For retail time-of-use pricing; global algebraic conservation constraints on time-shifted power. and In the formula The original disordered charging reference load, , Time periods Flexible charging power for both transfer-out and transfer-in. It should be noted that the algebraic conservation of time-shifted power ensures that the excitation signal only changes the charging timing and does not artificially increase the power, thus eliminating arbitrage opportunities from the model structure.
[0137] S411, Establish the objective function and constraints for the lower-level electric vehicle user group.
[0138] Specifically, the goal for each vehicle on the lower level is to minimize the overall net cost of electricity used throughout the day:
[0139] In the formula For electricity purchase and sale costs, For transfer compensation and discharge subsidy income, Costs related to the lifespan and wear and tear of power batteries. To avoid time-shift conflict costs, This is the set of lower-level decision variables.
[0140] The constraints include: dynamic transition constraints of charged state. and Rigid constraints on itinerary and travel and power boundary , In the formula This indicates the vehicle's status as parked on a bollard. The upper limit of charging and discharging power is defined by the cluster to which the site belongs; charging and discharging mutual exclusion constraints. .
[0141] It should be noted that, given the charge / discharge state identifiers, the lower-level problem is a strictly convex problem for the power variable and the charge state variable. This convexity is a prerequisite for the accurate transformation of the subsequent KKT conditions.
[0142] Furthermore, the deterministic reconstruction steps of the nonlinear function are as follows: S412, piecewise linearization reconstruction is performed on the time transfer cost function and the logistic response probability function respectively.
[0143] Specifically, firstly, the cost of time transfer conflicts. It is a symmetric convex function. Since the scheduling period is a finite discrete set, the time difference only takes values in a finite integer combination. Define constant matrix elements. The transfer cost is explicitly expressed as a linear combination of the transfer-out power:
[0144] In the formula From the time period To the time period The transferred flexible charging power, and the introduction of the power transfer equation conservation constraint, the nonlinear term is precisely transformed into a standard linear equation.
[0145] Second, load reduction response probability Includes a nonlinear exponential operator to set the driving potential scalar. In the formula Costs are calculated based on the lifespan of the power battery; within the valid domain. Uniform selection within Breakpoints S is the number of segments, and the function value at the corresponding breakpoint is calculated. Introducing second-type continuous weight variables for specially ordered sets and range selection binary variables :
[0146]
[0147] As constrained by the above rules, at most two adjacent weight variables can be non-zero simultaneously. The logistic curve is transformed into a globally compact linear inequality combination system, thus eliminating the nonlinearity of the response probability. It should be noted that the time transfer cost is precisely linearized using a discrete-time structure, and the response probability is approximated with bounded linearity through breakpoint segmentation. Both reconstructions together transform the nonlinear component functions of the game model into a linear form.
[0148] S413, based on the first-order conditions of KKT and the Big M method, reconstructs the lower-level convex optimization problem into a linearly constrained system, and eliminates the bilinear terms in the middle-level objective with the strong duality theorem.
[0149] Specifically, given the charging / discharging state indicators, the optimization problem for each vehicle in the lower layer is a strictly convex bounded linear programming problem for both the power variable and the charge state variable, and its Lagrangian function is constructed as follows:
[0150] In the formula For equality-bound dual multipliers, , , , , , , These are all non-negative dual multipliers corresponding to inequality constraints. The necessary and sufficient condition for the lower-level problem to obtain a globally optimal solution is that it satisfies the KKT system: The conditions for stationing are , , and ; Duality is feasible if each nonnegative dual multiplier is nonnegative; complementary relaxation condition is... , , , , , and .
[0151] Furthermore, the complementary relaxation condition involves a nonlinear product of continuous variables, and an auxiliary binary variable is introduced. , , , , , , , with sufficient positive real numbers , , , Reconstruct it into a standard linear inequality:
[0152]
[0153]
[0154]
[0155] The complementary conditions for the upper and lower limits of charge and discharge power are treated according to the same structure. Parameters The value of is determined based on the tight boundary calculation rule: , , , To avoid excessive relaxation that could compromise the numerical stability of the branch and bound function.
[0156] Furthermore, the intermediate objective function contains a bilinear product term. Since the lower-level problem is a linear programming problem with strong duality, its objective function value is always equal to the objective function value of the dual problem. Expanding the objective value of the lower-level dual problem:
[0157] The expression on the right side of the above equation, consisting entirely of linear terms and linearized complementary terms, replaces the bilinear term in the mid-level return objective function. The bilinear nonlinear product is eliminated.
[0158] S414 reconstructs the absolute value deviation envelope of the upper-level peak-valley difference objective, transforming the three-level game into a single-level mixed-integer linear programming problem and solving it globally.
[0159] Specifically, the upper-level objective is to minimize the peak-to-valley difference. For convex quadratic terms, the absolute value deviation envelope is used for implementation. Norm minimization reconstruction, introducing positive and negative slack variables. , :
[0160]
[0161] At this point, the original three-layer nonlinear master-slave game model has been completely transformed into a standard single-layer mixed-integer linear programming model containing both continuous and integer variables. An industrial-grade programming solver is then used to perform a globally deterministic branch-and-bound solution, outputting an optimized strategy set: demand response subsidies, differentiated time-of-use retail electricity prices, discharge subsidies, and benchmark charging and discharging power plans for each time period and station. This benchmark charging power plan serves as the source of the target value for power tracking during the intraday control phase. It should be noted that, through piecewise linearization, KKT linearization, and strong duality substitution, the model contains no nonlinear terms. Global optimality and polynomial-time convergence are guaranteed by mixed-integer linear programming theory, overcoming the limitation of heuristic algorithms in guaranteeing global optimality.
[0162] like Figure 5 The figure shown is a distribution map of the equivalent load peak shaving and valley filling of the transformer area and the distribution of the renewable energy curtailment rate throughout the entire cycle under the solution of the single-layer mixed integer linear programming of the three-layer collaborative game. Figure 5Based on a typical scheduling day with 96 time periods (15-minute time intervals), a total installed photovoltaic capacity of 1200 kW, wind power of 300 kW, a peak basic load of 680 kW, and a total of 120 electric vehicles on-site, the following engineering examples were analyzed: In the scenario of disordered charging, the peak photovoltaic power generation from 11:30 AM to 2:30 PM caused deep backflow of power to the distribution area, with a net load trough of -710 kW. From 6:30 PM to 9:30 PM, concentrated charging formed a load peak of 965 kW, resulting in an equivalent peak-to-valley difference of 1675 kW for the entire day. Due to grid reverse restrictions, the renewable energy curtailment rate reached 17.8%. In the scenario of using the traditional particle swarm optimization heuristic algorithm to solve the three-layer game, the algorithm got stuck in local extrema due to the non-convexity of the bottom-level response probability and the interference of the bilinear product term. The calculation time was 1480 seconds, and the results of multiple independent optimizations were discrete. Even after optimization, the curtailment rate still remained at 8.4%. Under the operating conditions of the single-layer mixed integer linear programming transformation model of this invention, the entire model achieves global deterministic convergence within 13.4 seconds. The optimization strategy, guided by differentiated time-of-use pricing and subsidies, concentrates the release of 545 kW of pre-booked charging load during the midday photovoltaic off-peak period to construct a preset absorption peak, narrowing the backflow to the valley floor to -165 kW; during the evening peak, it incentivizes energy storage collaborative sites to discharge 180 kW in reverse and shifts 210 kW of flexible electricity demand through price differentials, reducing the evening peak load to 575 kW; the equivalent load peak-valley difference for the whole day is narrowed to 740 kW, a reduction of 55.8%, and the whole cycle renewable energy curtailment rate is reduced and locked at 4.12%, meeting the 5% target preset by the upper-level model.
[0163] In summary, through piecewise linearization, complementary relaxation linearization using KKT conditions and the Big M method, strong duality to eliminate bilinearity, and absolute value envelope reconstruction, the non-convex nonlinearity of the three-layer master-slave game is stripped away layer by layer, and the model as a whole is transformed into a single-layer mixed integer linear programming. The global optimality and polynomial-time convergence are guaranteed by programming theory, and the day-ahead plan can be output globally deterministically.
[0164] The above embodiments can be implemented, in whole or in part, by software, hardware, firmware, or any other combination thereof. When implemented using software, the above embodiments can be implemented, in whole or in part, in the form of a computer program product.
[0165] Those skilled in the art will recognize that the modules and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0166] In addition, the functional modules in the various embodiments of this application can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module.
[0167] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
[0168] In conclusion, the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A method for flexible load adjustment of electric vehicles based on renewable energy consumption, characterized in that, include: Based on the operating status and ambient temperature of the distribution transformer, the hot spot temperature of the transformer winding is recursively calculated using the heat dissipation network model. Combined with the instantaneous electrical withstand power, a two-layer operating constraint including instantaneous electrical boundary and thermal insulation boundary is constructed. The urgency of departure is calculated based on the current state of charge, expected state of charge, and remaining dwell time of the electric vehicles at the station, and the charging priority weight in the objective function is determined by combining the execution power of the preceding control cycle. Under dual-level operational constraints, a continuous quadratic programming model is established with the objectives of day-ahead power tracking and minimizing charging demand deficit. The continuous power control commands for each charging pile are obtained by solving the model and then issued for execution.
2. The method according to claim 1, characterized in that, The transformer winding hot spot temperature is recursively estimated using a heat dissipation network model, including: The normalized load factor is calculated based on the instantaneous active power of the distribution transformer, the rated parameters of the secondary side, and the measured lower limit of the power factor. The total loss ratio is constructed based on the transformer's no-load loss and rated load loss. Based on the oil time constant and the winding time constant, the second-order lumped parameter thermal network differential equation is discretized using a zero-order holder, and a two-state discrete recursive equation is established. The transformer winding hot spot temperature is obtained by adding the top oil temperature rise, the winding hot spot temperature rise to the ambient temperature, and the through matrix of the two-state discrete recursive equations to zero. The total loss ratio is the sum of the products of the transformer no-load loss, rated load loss, and the square of the normalized load rate, divided by the sum of the no-load loss and the rated load loss. The two-state discrete recursive equation takes the 0.8th term of the total loss ratio, the 1.6th term of the total loss ratio, and the ambient temperature as inputs, and the top oil temperature rise and the oil temperature rise of the hottest point of the winding as state variables.
3. The method according to claim 2, characterized in that, Construct a two-layer operational constraint that includes transient electrical boundaries and thermal insulation boundaries, including: In the current control cycle, using the measured active power as the reference operating point, the 0.8th and 1.6th terms of the total loss ratio in the prediction time domain are expanded by first-order Taylor to obtain a linear affine expression for the instantaneous active power. Substituting the linear affine expression into the two-state discrete recursive equation, the thermal insulation constraint that the hot spot temperature of the transformer winding does not exceed the preset allowable temperature upper limit is transformed into a set of linear inequalities about the decision variables of instantaneous active power. The preset allowable upper temperature limit is obtained by reducing and tightening the benchmark limit of the winding hot spot temperature through a margin compensation coefficient, which ranges from 0.92 to 0.
96.
4. The method according to claim 1, characterized in that, The instantaneous electrical boundary is defined as follows: the absolute value of the instantaneous active power of the distribution transformer shall not exceed the product of the rated apparent power, the lower limit of the measured power factor, and the instantaneous impulse withstand multiple; The reference limit for the winding hot spot temperature in the thermal insulation boundary is selected based on the transformer's operating conditions: 110 degrees Celsius under non-destructive operating conditions and 120 degrees Celsius under cyclic load conditions. The instantaneous impact tolerance factor ranges from 1.25 to 1.
40.
5. The method according to claim 1, characterized in that, Calculating the urgency of leaving the station includes: Obtain the difference between the expected state of charge and the current state of charge of the electric vehicle at the station, and calculate the remaining charging capacity gap when the difference is greater than zero, in conjunction with the rated capacity of the battery. The urgency of leaving the station is obtained by dividing the remaining charging power gap by the product of the rated charging power of a single pile, the charging efficiency, and the remaining dwell time. The remaining dwell time in the denominator is measured in the same time unit as the control cycle step, and the lower limit of the remaining dwell time is set as one control cycle step.
6. The method according to claim 1, characterized in that, The charging priority weights in the objective function are determined by combining the execution power of the preceding control cycle, including: The urgency of leaving the station is mapped to the basic weight using a monotonically increasing saturation function. When the urgency of leaving the station is greater than or equal to the preset urgency upper limit, the basic weight takes the upper limit value of the saturation. The power utilization rate is determined based on the ratio of the actual execution power to the rated charging power of the preceding control cycle. The charging priority weight is obtained by multiplying the basic weight by the gating adjustment factor and keeping it constant in the prediction time domain; The gating adjustment factor is the sum of 1 and the additional holding term. The additional holding term is composed of the additional holding coefficient, the power utilization rate and the remaining margin ratio of the basic weight relative to the upper limit of saturation. When the urgency of leaving the station reaches the preset upper limit of urgency, the remaining margin ratio is reduced to zero so that the gating adjustment factor converges to 1. The preset urgency level is capped at 1.2, and the additional retention coefficient ranges from 0.1 to 0.
3.
7. The method according to claim 1, characterized in that, The objective function of the continuous quadratic programming model includes: The sum of squared tracking deviations between the charging power of each controlled charging pile in the predicted time domain and the planned power for the day; The sum of squares of the deficit penalty term after weighting the difference between the rated charging power and the charging power of each controlled charging pile by charging priority; The sum of squares of the total variation penalty term for the increase in charging power between continuous control steps for each controlled charging station.
8. The method according to claim 1, characterized in that, The continuous power control commands for each charging station are obtained by solving the problem and then issued for execution, including: The target power command output from the solution of the continuous quadratic programming model is used to limit the power ramp rate. The power control command after being limited is encapsulated into a charging configuration file message that conforms to the open charging pile protocol and sent to each charging pile controller on site.
9. The method according to claim 1, characterized in that, It also includes an exception rollback step: When communication is interrupted or the abnormal operating condition is triggered by the timeout of consecutive quadratic programming solutions, the power limit of the distribution transformer will be switched to the rated static capacity safety threshold. Based on the urgency of leaving the station, online vehicles are divided into rigid charging sets and flexible adjustment sets. Within the rated static capacity safety threshold, vehicles in the rigid charging set are given priority to be powered at full power, while vehicles in the flexible adjustment set are charged at a proportional rate or suspended. The rated static capacity safety threshold is determined by multiplying the rated capacity of the distribution transformer by the static safety margin coefficient.
10. The method according to claim 1, characterized in that, The target value for day-ahead power tracking is obtained during the day-ahead co-optimization phase: In the recent collaborative optimization phase, a three-layer master-slave game model was constructed, which includes distribution network operators, electric vehicle dealers and electric vehicle users, and an upper limit constraint on the curtailment rate of new energy was set in the upper-layer model. Based on the second type of special ordered set piecewise linearization and duality theory, the three-layer master-slave game model is transformed into a single-layer mixed integer linear programming problem and solved to obtain the baseline charging power plan for each charging pile in each time period.
