Optimization method for intelligent switching of voltage and reactive power compensation of distribution network line

By acquiring the status of power distribution network equipment through an independent sampling channel, a physical reference database is generated. The switching commands of SVG and capacitors are adaptively adjusted, which solves the problem of speed conflict between SVG and capacitors and realizes adaptive optimization control of equipment status.

CN123162912APending Publication Date: 2026-11-24ZAOZHUANG ANYUN POWER ENG CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611572957.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-12
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

In the distribution network, the millisecond-level response of SVG and the second-level switching of capacitors conflict in speed, which leads to the equipment capacity assessment relying on fixed rated parameters, lacking online perception of capacity decay and thermal status, and the effectiveness of controller commands cannot be guaranteed.

Method used

By acquiring line impedance and equipment status through independent sampling channels, a physical reference database is generated. The switching commands of SVG and capacitors are adaptively adjusted, and multi-dimensional safety verification and pre-adjustment are performed to form an adaptive switching optimization control link.

Benefits of technology

The speed conflict between the SVG and the capacitor is eliminated, ensuring that the instructions are executed within the actual capacity of the equipment, reducing the impact of switching transients, and realizing adaptive optimization control of the equipment status.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123162912A_ABST
    Figure CN123162912A_ABST
Patent Text Reader

Abstract

This invention belongs to the field of reactive power control technology in distribution networks. It discloses an intelligent switching optimization method for reactive power compensation of distribution network line voltage, comprising: before commissioning, controlling the SVG to generate a stepped reactive power sequence, obtaining the line impedance baseline and baseline short-circuit capacity, and constructing a physical benchmark database; configuring independent sampling channels for capacitors and SVG, obtaining hotspot temperatures and evaluating sensor confidence, detecting transient events and adaptively passivating switching judgments, and generating a physical state observation vector; obtaining the normalized capacity of capacitors and combining it with hotspot temperatures to obtain the adaptive maximum available capacity, dynamically reconstructing the upper limit of reactive power output, intercepting candidate reactive power compensation commands, and generating an executable switching command queue; pre-adjusting the SVG, performing multi-dimensional security checks before switching, and generating collaborative control commands; after switching, evaluating transient errors, updating the physical benchmark database and state observation vector, and forming an adaptive switching optimization control link.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of reactive power control technology in power distribution networks, and more specifically, to an intelligent switching optimization method for reactive power compensation of power distribution network lines. Background Technology

[0002] In power distribution networks, there is a speed conflict between the millisecond-level response of SVG and the second-level switching of capacitors. When sharing a sampling channel, the rapid compensation of SVG can mask reactive power deficits, leading to capacitor stagnation or oscillation. At the same time, capacitor capacity decreases with age, SVG output is constrained by junction temperature, and the controller issues commands based on rated parameters that are out of sync with the actual capacity of the equipment, resulting in compensation deviations or overloads.

[0003] Existing solutions mostly rely on algorithm optimization to coordinate SVG and capacitors, failing to decouple speed conflicts from the sampling source; equipment capability assessment depends on fixed rated parameters, lacking online awareness of capacity decay and thermal status, and the effectiveness of commands cannot be guaranteed. Summary of the Invention

[0004] To overcome the aforementioned deficiencies of the prior art and to achieve the above objectives, the present invention provides the following technical solution: an intelligent switching optimization method for reactive power compensation of distribution network lines, comprising: S1: Before commissioning, control the SVG to generate a stepped reactive power sequence, obtain the line impedance baseline and baseline short-circuit capacity; perform single switching calibration on each group of capacitors, record the reference physical parameters, and build a physical reference database. S2: Based on the physical benchmark database, independent sampling channels are configured for capacitors and SVG. The line impedance is tracked online through the correlation events of reactive power and voltage changes of SVG and the disturbance is updated when the data is outdated. The internal hot spot temperature of the equipment is obtained and the sensor confidence is evaluated. Transient events are detected based on the instantaneous power change rate and the capacitor switching judgment is adaptively passivated to generate a physical state observation vector. S3: Based on the physical state observation vector, obtain the capacitor impedance normalized capacity and combine it with the hot spot temperature to obtain the adaptive maximum available capacity. Evaluate the SVG thermal margin and dynamically reconstruct the upper limit of reactive power output accordingly. Perform admission interception and differential redistribution on reactive power compensation candidate instructions to generate an executable switching instruction queue. S4: Based on the executable switching instruction queue, the pre-adjustment coefficient is dynamically obtained and the SVG is pre-adjusted. Then, multi-dimensional security verification is performed before switching, and collaborative control instructions and verification certificates are generated. S5: Based on the coordinated control command and verification certificate, the operating condition strategy is matched and obtained; after switching, the transient error is evaluated, the operating condition strategy and pre-adjustment coefficient are corrected, and the physical reference database and physical state observation vector are updated to form an adaptive switching optimization control link.

[0005] Furthermore, the methods for obtaining the line impedance baseline and baseline short-circuit capacity include: Before commissioning, the SVG is controlled to output reactive power sequentially along a step sequence from inductive to capacitive directions, using a fixed percentage of the rated capacity as the step amplitude. Simultaneously, the effective voltage value and reactive power output of the grid connection point under each output step are collected, forming multiple sets of data. Linear fitting is performed on all data pairs to obtain the line impedance baseline, and then the baseline short-circuit capacity is obtained based on the line impedance baseline and the rated voltage.

[0006] Furthermore, the method for constructing the physical benchmark database includes: Under the condition that the voltage of the distribution network line is stable and there is no transient disturbance, a single connection operation is performed on each group of capacitors to obtain the reference voltage step and inherent mechanical action time of each group of capacitors. At the same time, the thermodynamic reference parameters of the equipment are obtained. All the obtained reference parameters are archived according to the equipment number and combined with the line impedance baseline and baseline short-circuit capacity to form a physical reference database.

[0007] Furthermore, the method of online tracking of line impedance and perturbation updates when data becomes outdated includes: Based on the physical benchmark database, independent voltage and current sampling channels are configured for capacitors and SVG respectively. In each control cycle, it is determined whether there is a correlation change event between SVG reactive power output and grid connection point voltage. If it occurs, the reactive power change before and after the event and the change in the square of the effective voltage value are extracted to form an event pair and added to the sliding window queue. Linear fitting is performed on all event pairs in the sliding window queue to obtain the dynamic impedance estimate of the current distribution network line; When the time since the most recent event pair was added to the sliding window queue exceeds the expected time, the window data is determined to be outdated, and a pseudo-random reactive power disturbance sequence is actively injected by SVG to force an update.

[0008] Furthermore, the method for obtaining the internal hotspot temperature of the device and evaluating the sensor confidence level includes: While obtaining the dynamic impedance estimate, the device casing temperature, ambient temperature and real-time power loss data are acquired. The internal hot spot temperature of the device is obtained through the recursive relationship of the first-order thermal resistance-capacitance equivalent network, and the thermal resistance parameter is self-corrected by steady-state temperature difference during the low load period of each day. The temperature sensor is simultaneously subjected to residual verification to evaluate the sensor confidence level.

[0009] Furthermore, the method for generating the physical state observation vector includes: Based on the dual-channel sampling architecture, the instantaneous reactive power of the SVG sampling channel is acquired in each control cycle and the rate of change is calculated cycle by cycle. It is then compared with the historical steady state of the distribution network to detect transient events. When a transient event occurs, the switching judgment logic of the capacitor controller is frozen and its sliding average filter window width is passively expanded. After the transient event ends, it is gradually restored to its original width after a delay. By integrating dynamic impedance estimates, hotspot temperature estimates, sensor confidence flags, and transient event flags, a physical state observation vector is generated.

[0010] Furthermore, the method for obtaining the capacitor impedance-normalized capacitance and combining it with the hot spot temperature to obtain the adaptive maximum usable capacitance includes: Based on the physical state observation vector, after the capacitor is switched, the measured voltage step and the current dynamic impedance estimate are obtained. Combined with the reference voltage step, rated capacity and line impedance baseline in the physical reference database, the impedance normalized capacity of the capacitor group is obtained. Simultaneously, based on the hot spot temperature and the preset activation energy parameters of the insulation material, the aging acceleration factor is obtained through the relationship between temperature and aging acceleration; by multiplying the impedance normalized capacitance by the aging acceleration factor, the adaptive maximum usable capacitance of the capacitor group is obtained.

[0011] Furthermore, the method for generating the executable switching instruction queue includes: Based on the physical state observation vector, the current thermal margin of the SVG is obtained through the reactive power output reconstruction rule, and the upper limit of the reactive power output of the SVG is dynamically reconstructed. For each candidate reactive power compensation command generated by the SVG controller based on reactive power demand, the reactive power demand value is checked one by one to see if it exceeds the adaptive maximum available capacity or reactive power output limit of the corresponding device. If it exceeds the limit, the command is truncated and the unmet reactive power difference is redistributed to other healthy devices, generating an executable switching command queue after admission filtering.

[0012] Furthermore, the methods for generating collaborative control instructions and verifying certificates include: Based on the executable switching instruction queue, the current dynamic impedance estimate is obtained for each instruction and combined with the line's rated voltage to obtain the current short-circuit capacity; The current short-circuit ratio is obtained by taking the ratio of the current short-circuit capacity to the baseline short-circuit capacity, and then the initial value of the current pre-adjustment coefficient is generated according to the short-circuit ratio grading rule. Synchronously acquire the latest historical pre-adjustment coefficients and corresponding confidence markers stored in the current working scenario, and determine the initial value of the pre-adjustment coefficient or the latest historical pre-adjustment coefficient based on the confidence markers, and use it as the pre-adjustment coefficient for this time; The product of the adaptive maximum available capacity of the capacitor to be put into operation and the current pre-adjustment coefficient is used as the pre-adjustment amount to pre-adjust the SVG. Before the pre-adjustment is completed and the capacitor switching command is issued, the switching operation is subjected to multi-dimensional safety checks on sequence components, resonance risk, inrush current and flicker, and cascading risk. If all checks pass, a coordinated control command is generated; if any check fails, a check certificate is generated.

[0013] Furthermore, the methods for evaluating transient errors after the switchover, correcting the operating condition strategy and pre-adjustment coefficients, and updating the physical reference database and physical state observation vectors include: Based on the collaborative control instructions and verification certificates, the physical indicators of the current working condition are extracted from the physical state observation vector, a six-dimensional physical feature vector is constructed, and the switching strategy of the current working condition is obtained through the distance matching rule. After the capacitor is switched on and off, the integral value of the voltage transient deviation and the peak value of the inrush current are evaluated, and the matching priority and pre-adjustment coefficient of the operating condition strategy are adjusted accordingly. The measured voltage step and inrush current peak after switching are fed back to the physical reference database and physical state observation vector to form an adaptive switching optimization control link.

[0014] The technical effects and advantages of the intelligent switching optimization method for reactive power compensation in power distribution network lines of this invention are as follows: This invention eliminates the speed conflict between SVG and capacitors from the data source by using physical isolation sampling and an adaptive passivation mechanism, thus avoiding mis-switching and oscillation. By using impedance normalization capacity estimation and hotspot temperature online sensing, the maximum available capacity of the device can be obtained in real time, and candidate instructions can be intercepted to ensure that every issued instruction is within the actual physical capacity of the device. By dynamically obtaining the pre-adjustment coefficient through the short-circuit ratio and performing SVG pre-adjustment, the transient impact of switching is reduced, and risk prediction and blocking before switching are achieved in conjunction with multi-dimensional safety verification. By matching physical feature vectors and iterating through closed-loop feedback, the strategy parameters are automatically converged and optimized according to the operating conditions and equipment status, forming a full-link adaptive control closed loop from benchmark calibration to strategy evolution. Attached Figure Description

[0015] Figure 1 This is a schematic diagram of the intelligent switching optimization method for reactive power compensation of distribution network line voltage according to the present invention; Figure 2 This is a schematic diagram of the intelligent switching optimization system for reactive power compensation of distribution network line voltage according to the present invention. Detailed Implementation

[0016] 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 skilled in the art without creative effort are within the scope of protection of the present invention.

[0017] Example 1 Please see Figure 1 As shown in this embodiment, the intelligent switching optimization method for reactive power compensation of distribution network lines includes: S1: Before commissioning, control the SVG to generate a stepped reactive power sequence, obtain the line impedance baseline and baseline short-circuit capacity; perform single switching calibration on each group of capacitors, record the reference physical parameters, and build a physical reference database. S2: Based on the physical benchmark database, independent sampling channels are configured for capacitors and SVG. The line impedance is tracked online through the correlation events of reactive power and voltage changes of SVG and the disturbance is updated when the data is outdated. The internal hot spot temperature of the equipment is obtained and the sensor confidence is evaluated. Transient events are detected based on the instantaneous power change rate and the capacitor switching judgment is adaptively passivated to generate a physical state observation vector. S3: Based on the physical state observation vector, obtain the capacitor impedance normalized capacity and combine it with the hot spot temperature to obtain the adaptive maximum available capacity. Evaluate the SVG thermal margin and dynamically reconstruct the upper limit of reactive power output accordingly. Perform admission interception and differential redistribution on reactive power compensation candidate instructions to generate an executable switching instruction queue. S4: Based on the executable switching instruction queue, the pre-adjustment coefficient is dynamically obtained and the SVG is pre-adjusted. Then, multi-dimensional security verification is performed before switching, and collaborative control instructions and verification certificates are generated. S5: Based on the coordinated control command and verification certificate, the operating condition strategy is matched and obtained; after switching, the transient error is evaluated, the operating condition strategy and pre-adjustment coefficient are corrected, and the physical reference database and physical state observation vector are updated to form an adaptive switching optimization control link.

[0018] Methods for obtaining baseline line impedance and baseline short-circuit capacity include: During the commissioning phase before the first commissioning of the distribution network line or after major renovation, select a window period when the load at the grid connection point is at its lightest point of the year. At this time, the voltage fluctuation at the grid connection point is less than ±2% of the rated voltage, the SVG (Static Var Generator) has passed pre-charging and grid connection commissioning and is in a standby state where reactive power output can be normally adjusted, and the voltage transformers and current transformers installed at the grid connection point have completed pre-commissioning calibration and meet the accuracy requirements. Switch the SVG control mode to manual reactive power output control, so that its reactive power output changes step by step according to a preset fixed sequence, unaffected by grid connection voltage fluctuations; control the SVG in the order from inductive to capacitive, with the first output step set to -50% of the SVG's rated capacity, and each step increasing in the capacitive direction by 10% of the SVG's rated capacity, sequentially passing through 11 output steps: -50%, -40%, -30%, -20%, -10%, 0%, +10%, +20%, +30%, +40%, +50%; the holding time of each output step is set to 5 cycles, corresponding to 100ms for a line with a grid frequency of 50Hz. This holding time ensures that the grid connection voltage has entered a steady state and the transient transition process has decayed completely after each output switch. During the holding period of each output step, the instantaneous values ​​of the three-phase voltage at the grid connection point and the instantaneous values ​​of the reactive power actually output by the SVG are collected synchronously. For the data collected for each output step, the last two cycles of the holding period are extracted. The root mean square of the instantaneous voltage value is taken to obtain the effective voltage value of the step, and the arithmetic mean of the instantaneous reactive power value is taken to obtain the average reactive power output of the step. A set of data pairs consisting of reactive power output and effective voltage value is formed. The unit of reactive power output is Mvar, and the unit of effective voltage value is kV. Multiple sets of data from all output steps are linearly fitted in a Cartesian coordinate system to find the best-fitting straight line that minimizes the sum of the squares of the distances from all data points to this line. The slope of this fitted line is the ratio of voltage change to reactive power change, which is the magnitude of the Thevenin equivalent impedance from the grid connection point to the upper-level grid. This is used as the baseline impedance of the distribution network line, in Ω. The baseline short-circuit capacity is obtained from the baseline impedance and rated voltage using Ohm's law, i.e., baseline short-circuit capacity = square of rated voltage ÷ baseline impedance, in MVA. The baseline impedance and baseline short-circuit capacity, along with the calibration timestamp and the rated capacity information of the SVG during calibration, are stored in a local non-volatile memory as permanent reference physical parameters after the distribution network line is put into operation.

[0019] Methods for constructing a physical benchmark database include: After the line impedance baseline calibration is completed, select a period when the distribution network line is in a stable voltage and without transient disturbances, that is, when the voltage fluctuation at the grid connection point is less than ±2% of the rated voltage and the transient event flag is not set, and perform a single connection operation on each group of capacitors one by one to obtain the electrical and mechanical reference physical parameters under the actual installation environment after leaving the factory. For each group of capacitors to be calibrated, a waveform recording device is set up before calibration: the trigger source is the rising edge of the switching command, the waveform recording sampling rate is not less than 128 points / cycle, and the waveform recording duration covers the first 10 cycles to the last 20 cycles of the command to ensure that the voltage and current waveforms before and after the switching can be completely captured. Once ready, the capacitor controller issues a closing command and synchronously triggers waveform recording to record the three-phase voltage waveform at the grid connection point and the three-phase current waveform of the capacitor branch at the instant the capacitor group is connected. Two reference physical parameters are extracted from the waveform recording data, including: reference voltage step (unit kV) and inherent mechanical action time (unit ms). The reference voltage step is the change in the effective value of the steady-state voltage at the grid connection point before and after the capacitor is connected. The extraction method is as follows: the instantaneous voltage values ​​of the last 5 cycles before connection are extracted and the effective voltage value is calculated as the steady-state voltage before connection. The instantaneous voltage values ​​of the last 5 cycles after the closing command is issued, the inrush current has decayed and the voltage has returned to a steady state (usually between the 10th and 15th cycles after the command is issued) are extracted and the effective voltage value is calculated as the steady-state voltage after connection. The reference voltage step = steady-state voltage after connection - steady-state voltage before connection. The inherent mechanical action time is the time interval from the issuance of the closing command to the first detectable current appearing in the branch. These two parameters are directly extracted from the waveform data. Each group of capacitors can be calibrated by performing one connection operation. If the transient event flag is set during calibration or the grid connection point voltage has experienced a jump of more than 1% before the connection is made, the calibration data is invalidated and the calibration is repeated. At the same time, thermodynamic reference parameters are entered from the type test report or factory nameplate provided by the equipment manufacturer, including: the rated thermal resistance and lumped heat capacity of the capacitor, the rated junction temperature and maximum allowable junction temperature of the IGBT module of the SVG, the power loss under rated operating conditions, and the steady-state temperature difference between the internal hot spot and the module shell under rated operating conditions. The electrical and mechanical reference parameters and thermodynamic reference parameters are archived separately according to the unique number of each group of capacitors and the device number of the SVG. Together with the stored line impedance baseline and baseline short-circuit capacity, they form a multi-source physical reference database.

[0020] Methods for online tracking of line impedance and updating with perturbations when the data becomes outdated include: After the distribution network lines are officially put into operation, based on the physical reference database, physically isolated independent voltage and current sampling channels are configured for the capacitor controller and SVG controller respectively, forming a dual-channel sampling architecture. The sampling channel of the capacitor controller uses independent voltage transformers and current transformers, which are installed on the bus at the capacitor bank grid connection point. After passing through an anti-aliasing low-pass filter, the data is converted from analog to digital at a sampling rate of 16 points / cycle. The sampled data is processed by sliding window mean filtering (window width 2s). The final output is a low-frequency reactive power sequence for steady-state switching judgment. The sampling channel of the SVG controller uses another set of independent voltage transformers and current transformers, which are connected in parallel on the primary side to the same bus. The sampling rate is set to 128 points / cycle by default. After passing through the anti-aliasing low-pass filter, the data is sent to the SVG controller for instantaneous reactive power tracking, harmonic analysis and transient event detection. The two sampling channels are physically isolated and have independent current transformers, filter circuits and analog-to-digital converters, so they do not affect each other. Within each control cycle (typically 100μs to 200μs, 100μs by default in this embodiment), the SVG controller calculates the actual reactive power output of the SVG by sampling the instantaneous values ​​of voltage and current in the channel. When the absolute value of the reactive power change amplitude is greater than 5% of the SVG's rated capacity, and the absolute value of the reactive power change rate (i.e., the amount of reactive power change per unit time) is greater than 0.5 times the SVG's rated capacity per second, it is determined that a related change event has occurred at the current moment. During normal SVG regulation, the reactive power change amplitude is usually between 1% and 3% of the rated capacity, and the change rate is usually less than 0.3 times / second; while large disturbances caused by load switching or sudden changes in photovoltaic output can simultaneously meet the dual thresholds of amplitude and rate. Therefore, this screening condition can effectively distinguish between normal fine-tuning and real changes in the power grid. Once a correlated change event is determined, the reactive power change and the change in the square of the effective value of the grid connection point voltage for the two cycles before and after the event are extracted to form a set of event pairs, which are added to the sliding window queue and a first-in-first-out strategy is adopted. Linear fitting is performed on all event pairs in the sliding window queue, and the slope of the fitted line is the estimated dynamic impedance value of the current distribution network line. When the time since the most recent event pair in the sliding window queue is longer than expected (default is 30 minutes), it is determined that the window data is outdated. The SVG actively superimposes a pseudo-random reactive power disturbance sequence with an amplitude of 2% of the SVG's rated capacity onto its reactive power output command. This disturbance sequence is a 127-bit pseudo-random binary sequence with a bit clock frequency of 600Hz, a duration of about 0.2s, and a sequence mean of zero. It does not affect voltage quality but can generate enough event pairs to refresh the sliding window queue. When the deviation of the dynamic impedance estimate from the moving average value over the past hour exceeds 30% (normal fluctuations are usually within ±10%, while the change amplitude is usually more than 50% when the topology changes, so taking 30% can balance sensitivity and anti-interference), it is determined that the distribution network topology may have changed abruptly, and the topology change flag is set to 1; when the deviation falls back to within 15% (i.e., half of the 30% deviation) and lasts for more than 30 minutes, the flag is reset to 0; the dynamic impedance estimate is updated once in each control cycle.

[0021] Methods for obtaining the internal hotspot temperature of a device and assessing sensor confidence include: In the dual-channel sampling architecture, the SVG controller, in each control cycle, in addition to the reactive power and voltage data used for impedance tracking, also synchronously obtains the casing temperature from the temperature sensor of the device (SVG, capacitor), the ambient temperature from the ambient temperature sensor at the grid connection point, and the real-time power loss of the SVG and capacitor; for the SVG, the casing temperature is taken from the thermocouple on the surface of the heat sink; for the capacitor bank, the casing temperature is taken from the platinum resistance temperature sensor on the surface of the capacitor casing. Based on the acquired temperature and power loss data, the hot spot temperature inside the device, which cannot be directly measured, is obtained through the recursive relationship of a first-order thermal resistance-capacitance equivalent network model; the recursive relationship is as follows: Hot spot temperature update value = current casing temperature + rated steady-state temperature difference × (current power loss ÷ rated power loss) + [hot spot temperature of the previous cycle - casing temperature of the previous cycle - rated steady-state temperature difference × (power loss of the previous cycle ÷ rated power loss)] × attenuation factor; Wherein, the attenuation factor is the negative power of the natural constant e, and the power exponent is "-control period ÷ (rated thermal resistance × lumped heat capacity)"; the first term on the right side of the equation is the shell temperature, the second term is the temperature difference between the steady-state hot spot and the shell caused by the current power loss, and the third term is the residual part of the residual heat that deviated from the steady state in the previous cycle after exponential attenuation. The sum of the three terms gives the estimated value of the hot spot temperature in the current cycle. A self-calibration mechanism can be introduced: During the daily low-load stable period (i.e., the period when the distribution network load is lightest and the ambient temperature is most stable, usually from 3 am to 4 am), collect one hour of data on the casing and ambient temperature. If, for three consecutive days during this period, the deviation between the steady-state temperature difference and the theoretical temperature difference between the casing and the ambient temperature exceeds 2℃ (the typical accuracy of the sensor is usually ±0.5 to 1℃, and 2℃ is basically enough to cover the noise and can intervene before the problem becomes obvious), then the thermal resistance value is finely adjusted by 1% in the direction of the deviation (the 1% fine adjustment range can ensure that the set value can be conservatively fine-tuned). The confidence level of the temperature sensor is assessed through residual verification. The residual is defined as the absolute value of the difference between the current reading of the temperature sensor and the predicted value extrapolated from the previous few sampling points. Under normal conditions, the temperature change between consecutive sampling points usually does not exceed 0.5℃. If the residual of 10 consecutive sampling points exceeds 3 times the normal noise standard deviation (obtained from statistics under constant temperature conditions at the factory, usually 0.1℃ to 0.2℃), the confidence level is set to -1 (unreliable). If only a single sampling point occasionally exceeds the limit but recovers randomly, the confidence level is set to 0 (to be observed). If the residual of 10 consecutive sampling points is within 3 times the standard deviation, the confidence level is set to 1 (reliable). When the confidence level is -1, the hotspot temperature updates are paused, the previous valid value is used, and an alarm is triggered; when the confidence level is 0, the hotspot temperature updates normally, but monitoring needs to be strengthened to deal with the potential state estimation bias caused by short-term sensor unreliability.

[0022] Methods for generating physical state observation vectors include: Based on a dual-channel sampling architecture, the SVG controller acquires the instantaneous values ​​of the three-phase voltage and three-phase current at the grid connection point from the sampling channel in each control cycle, and calculates the instantaneous reactive power at the current moment; the instantaneous reactive power is obtained in a three-phase three-wire system as follows: Instantaneous reactive power = (Instantaneous value of phase A voltage × (Instantaneous value of phase C current - Instantaneous value of phase B current) + Instantaneous value of phase B voltage × (Instantaneous value of phase A current - Instantaneous value of phase C current) + Instantaneous value of phase C voltage × (Instantaneous value of phase B current - Instantaneous value of phase A current)) ÷ ; After calculating the instantaneous reactive power in each control cycle, the difference between the instantaneous reactive power at the current moment and the instantaneous reactive power in the previous control cycle is calculated, and then divided by the duration of the control cycle to obtain the absolute value of the instantaneous reactive power change rate. Pre-set transient detection threshold: After the distribution network has been operating stably for at least one week (at least covering the complete load cycle of weekdays and rest days), extract the instantaneous reactive power change rate data of all control cycles, remove the time periods that have been marked as transient events (if transient detection has been run before), and use the remaining data as historical steady state data. Take the 99th percentile, multiply it by the sensitivity coefficient, and use it as the transient detection threshold. It should be noted that the sensitivity coefficient is set to 3: Under normal steady-state operating conditions, the distribution of the instantaneous reactive power change rate approximately follows a normal distribution. Based on the normal distribution assumption, the 99th percentile covers fluctuations within a range of about 3 standard deviations. Multiplying by 3 makes the criterion reach 9 standard deviations, which is sufficient to constitute a criterion for extremely low probability events. When the absolute value of the instantaneous reactive power change rate exceeds the transient detection threshold, a transient disturbance event is determined to have occurred in the distribution network. The switching judgment logic of the capacitor controller is immediately frozen, and the width of the sliding average filter window is dynamically expanded from the width during normal operation. The expansion of the window width is based on the typical transient disturbance duration of 0.5s to 2s, and its setting range can be 5 to 20 times that duration. The default value is 10s to ensure that the entire transient process is sufficiently smoothed by the filter. When the instantaneous reactive power change rate falls below the transient detection threshold and remains below it for a certain period of time, the transient event is considered to have ended, and the transient event flag is reset to 0; the moving average filter window width gradually recovers according to the exponential decay law: window width = 2 + 8 × e -已恢复时间÷5 The recovery time is the time counted from the reset of the transient event flag. At the end of each control cycle, the dynamic impedance estimate, topology change identifier, hotspot temperature estimate, sensor confidence flag, and transient event flag are integrated to generate a physical state observation vector.

[0023] Methods for obtaining the capacitor impedance-normalized capacitance and combining it with the hot spot temperature to obtain the adaptive maximum usable capacitance include: After a group of capacitors completes a switching operation, the instantaneous voltage values ​​between the last 5 cycles before the switching command is issued and the 10th to 15th cycles after the inrush current decay are extracted from the waveform data of the sampling channel corresponding to the group of capacitors. The effective value of the transient voltage before switching and the effective value of the steady-state voltage after switching are calculated respectively. The difference between the two is the measured voltage step of this switching. Synchronously read the current dynamic impedance estimate, as well as the reference voltage step, rated capacity and line impedance baseline in the physical reference database, to obtain the impedance normalized capacity of the capacitor group. Impedance normalized capacitance = capacitor rated capacitance × (square of measured voltage step ÷ square of reference voltage step) × (system impedance baseline ÷ dynamic impedance estimate). Simultaneously, the internal hot spot temperature of the capacitor is extracted from the physical state observation vector. Combined with the preset activation energy parameters of the capacitor insulation material (provided by the capacitor manufacturer according to the type of insulation medium, in kJ / mol, with typical values ​​such as polypropylene film being about 80~120 kJ / mol), the insulation aging acceleration factor at the current hot spot temperature is obtained through the Arrhenius equation. The Arrhenius equation describes the exponential relationship between temperature and chemical reaction rate and is widely used to assess the temperature acceleration effect on insulation life. The aging acceleration factor represents the multiple of the aging rate at the current temperature relative to the reference temperature (rated operating hot spot temperature). When the hot spot temperature is lower than the reference temperature, the acceleration factor is <1, and the aging rate is low. When the hot spot temperature is higher than the reference temperature, the acceleration factor is >1, and the actual usable capacity of the capacitor needs to be derated. Multiplying the impedance-normalized capacitance by the aging acceleration factor yields the adaptive maximum usable capacitance of this group of capacitors. After each capacitor switching operation, obtain the adaptive maximum available capacity once and store the result in the device status file of the capacitor; If a group of capacitors has not been switched on or off for an extended period (e.g., more than 7 days), its adaptive maximum available capacity will remain unchanged from the previous assessment. If the measured voltage step data is invalid after switching, the current assessment result will not be updated, and the previous valid value will be used with an additional data quality anomaly flag.

[0024] The methods for generating an executable switching instruction queue include: Based on the physical state observation vector, while completing the adaptive maximum available capacity assessment, the real-time output capability of the SVG is evaluated through the reactive power output reconstruction rule. Specifically, the reactive power output reconfiguration rule evaluates the upper limit of reactive power output as follows: Based on the current hot spot temperature, rated junction temperature and maximum allowable junction temperature of the SVG, calculate the current thermal margin of the SVG: Thermal margin = (maximum allowable junction temperature - estimated hot spot temperature) ÷ (maximum allowable junction temperature - rated junction temperature); The upper and lower threshold ranges of the preset heat margin are defined. When the heat margin is greater than or equal to the upper threshold, the upper limit of reactive power output is the rated capacity. When the lower threshold is less than the heat margin and the upper threshold is less than the upper threshold, the upper limit of reactive power output = rated capacity × [lower limit output ratio + (heat margin - lower threshold) ÷ conversion factor], which linearly decreases to 50% of the rated capacity; where the conversion factor = (upper threshold - lower threshold) ÷ (upper limit output ratio - lower limit output ratio); When 0 < heat margin < lower threshold, the upper limit of reactive power output is forcibly set at 50% of rated capacity; When the thermal margin is ≤0, the upper limit of reactive power output is forced to 0, triggering an over-temperature protection alarm. It should be noted that the upper and lower threshold ranges in the above segmentation judgment are set to 0.5 and 0.2 by default. The basis for the setting is as follows: Under normal heat dissipation conditions, a thermal margin of 0.5 corresponds to an IGBT junction temperature that is about the cooler part between the maximum allowable value and the rated value, with low life loss and full-load operation allowed; a thermal margin of 0.2 corresponds to a junction temperature that is close to 80% of the maximum allowable value, with accelerated aging and the need to limit output. These thresholds are general engineering experience values ​​and can be fine-tuned according to the device derating curve provided by the SVG manufacturer. The SVG controller performs an admission interception of reactive power compensation candidate instructions generated based on reactive power demand: In each control cycle, when the SVG controller generates one or more candidate switching instructions (including target equipment (a group of capacitors or SVG), required reactive power value (positive value indicates capacitive reactive power generation, negative value indicates inductive reactive power absorption) and priority) based on reactive power demand, it is necessary to verify whether the required reactive power value of each instruction exceeds the current adaptive capability boundary of the corresponding equipment. If the target is a capacitor, the verification condition is that the absolute value of the required reactive power is less than or equal to the adaptive maximum available capacity of the capacitor group; if the target is an SVG, the absolute value of the required reactive power is less than or equal to the current reactive power output limit of the SVG. If the limit is exceeded, the instruction will be truncated to the corresponding upper limit, and the resulting reactive power difference will enter the redistribution process. The capacity redistribution is performed according to priority: first, it is allocated to other healthy, non-fully loaded devices of the same type on the same bus; second, the remaining capacity is allocated to different types of devices with spare capacity; if all devices are fully loaded, the remaining capacity is discarded, an insufficient capacity alarm is issued and recorded. After interception and redistribution, all instructions are sorted according to their original priorities, forming a queue of executable switching instructions for the current cycle. Each instruction in the queue includes the target device number, the final reactive power value to be issued, whether pre-adjustment is required (only required for capacitor switching), priority number, and the source marker of the differential redistribution.

[0025] The methods for generating collaborative control commands and verifying certificates include: Based on the executable switching instruction queue, the capacitor switching instructions to be executed are retrieved one by one in priority order. For each instruction, the adaptive maximum available capacity of the target capacitor bank corresponding to the instruction and the current dynamic impedance estimate are obtained. The current short-circuit capacity is obtained by taking the ratio of the square of the line rated voltage to the estimated dynamic impedance; the current short-circuit ratio is obtained by taking the ratio of the current short-circuit capacity to the baseline short-circuit capacity; and the initial value of the current pre-adjustment coefficient is dynamically generated according to the short-circuit ratio grading rules. Specifically: When the short-circuit ratio is <0.7, the power grid is in a weak grid state, and the voltage step amplitude caused by capacitor switching is relatively large. A larger pre-regulation ratio is required to fully reduce the transient impact. The initial value of the pre-regulation coefficient is 0.85. When 0.7 ≥ short-circuit ratio ≤1.3, it is a normal power grid, and the coefficient is 0.65. When the short-circuit ratio is >1.3, it is a strong power grid with small voltage steps, and the coefficient is 0.45 to reduce disturbances. It should be noted that 0.85, 0.65, and 0.45 are empirically recommended values ​​for the corresponding three short-circuit ratio ranges. The specific calibration method is as follows: During the commissioning period, select different short-circuit ratio conditions, perform a baseline switching test without pre-adjustment for each group of capacitors, and record the peak value of the transient voltage deviation; gradually increase the pre-adjustment coefficient and repeat the switching until the coefficient that makes the peak value first fall below 2% of the rated voltage is found, which is taken as the recommended value for that condition; take the average value and write it into the controller parameter table. If there are no on-site testing conditions, simulation software such as PSCAD / EMTP can be used to build a model to reproduce the condition and optimize the coefficient. 0.7 and 1.3 are exemplary engineering experience values ​​in this embodiment. The specific calibration method is as follows: after calibrating the line impedance baseline, the dynamic impedance estimate is recorded using SVG, and the long-term distribution of dynamic short-circuit capacity relative to the baseline is statistically analyzed. 0.7 corresponds to the operating condition where the dynamic short-circuit capacity drops to 70% of the baseline (usually when line N-1 is in operation or when the remote power source is disconnected), and 1.3 corresponds to the operating condition where the capacity rises to 130% of the baseline (usually when a large power source is connected at the near end). In actual engineering, the maximum and minimum values ​​in the short-circuit capacity calculation book of the dispatching department can be used to check the threshold. Synchronously obtain the latest historical pre-adjustment coefficients and corresponding confidence markers stored in the working condition strategy library for scenarios matching the current working condition. If the latest historical pre-adjustment coefficient has been marked as high confidence, then use this value as the current pre-adjustment coefficient and iterate and correct it with a slow step size; if the scenario has not yet been established or has not yet converged to high confidence, then use the initial value of the pre-adjustment coefficient and iterate and correct it with a fast step size. The slow step size is used for fine-tuning of converged parameters, with a default value of 0.005. During the commissioning period, a convergence scenario with a voltage deviation of less than 0.02kV is selected. The maximum step size that allows the deviation to stably return to the tolerance band within 3 to 5 switching operations is determined through offset testing. 0.005 is approximately 0.6% to 0.8% of the typical pre-adjustment coefficient (0.6 to 0.8). The change caused by a single correction will not exceed 1% of the maximum usable capacity of the capacitor. The fast step size is used for the initial convergence of new parameters, with a default value of 0.02: During the commissioning period, a new operating scenario is selected, and the maximum step size is determined through convergence testing to ensure that the pre-adjustment coefficient converges to within ±0.02kV within 10 to 20 switching cycles and the oscillation does not exceed 2 cycles. 0.02 is approximately 2% to 4% of the initial value (0.45 to 0.85), which can accelerate the convergence speed while avoiding violent oscillations. The product of the adaptive maximum available capacity of the capacitor to be put into operation and the current pre-adjustment coefficient is taken as the pre-adjustment amount, and the SVG is pre-adjusted; the pre-adjustment direction is opposite to the capacitor's operating direction. During the pre-regulation period, if the voltage deviation at the grid connection point exceeds the pre-regulation voltage safety threshold (set to 3% of the rated voltage), the pre-regulation will be immediately stopped, the SVG will be restored to the output state before the pre-regulation, and the current switching will be cancelled. The logic for setting the pre-regulation voltage safety threshold is as follows: take half of the voltage deviation limit (±7% of the rated voltage) specified in the reference standard GB / T12325, and round it down to provide sufficient safety margin for the pre-regulation process to prevent the voltage from exceeding the limit caused by the pre-regulation itself. After the capacitor switching is completed, the SVG uses an adaptive ramp to restore reactive power output. The ramp time = expected voltage step ÷ maximum allowable voltage change rate. The expected voltage step is obtained by multiplying the adaptive maximum available capacity of the capacitor to be connected by the current dynamic impedance estimate and then dividing by the rated voltage. The maximum allowable voltage change rate is usually taken as 0.5% of the rated voltage per second. The reactive power output of the SVG smoothly recovers from the pre-adjusted temporary value to the normal operating value before pre-adjustment over this time period. Before the pre-adjustment is completed and the capacitor switching command is issued, a multi-dimensional safety check is performed on this switching operation. After all checks pass, a collaborative control command is generated. Specifically: Sequence component verification: online decomposition of positive sequence, negative sequence and zero sequence components, and estimation of negative sequence voltage imbalance and zero sequence current after this switching; verification that the expected negative sequence voltage imbalance does not exceed 80% of the national standard limit (2%), and the expected zero sequence current after switching does not exceed 70% of the zero sequence overcurrent action threshold of the protection device; the design logic of the 80% and 70% safety margins is as follows: the sequence component estimation is based on the combination of offline parameters and online status, which has a certain modeling error, and the 20% to 30% safety margin can cover the influence of parameter deviation and measurement noise; Resonance risk verification: During the pre-adjustment waiting period, a wideband pseudo-random binary sequence disturbance signal is injected by SVG, and the response is collected to obtain the online impedance spectrum. The new resonant frequency is estimated by virtually paralleling the impedance characteristics of the capacitor bank to be connected. The deviation between the new resonant frequency and the current measured dominant harmonic frequency is verified to be greater than the threshold value (threshold value = 10% × scaling factor, scaling factor = 1.0 - 0.3 × (the smaller value of total voltage harmonic distortion ÷ 5% and 1)). If the condition is not met, the circuit is blocked. Inrush current and flicker verification: Based on the current dynamic impedance estimate and the capacitor bank residual voltage estimate (estimated based on the discharge time and discharge circuit time constant after the last disconnection), the expected closing inrush current peak value is calculated analytically; the expected closing inrush current peak value is verified to be ≤ 10 times the rated current peak value of the capacitor bank and ≤ 50% of the short-circuit current level at the grid connection point; the expected voltage flicker is ≤ national standard limit; if it fails, the optimal closing phase angle can be searched and recalculated, and if there is no solution, it is blocked; It should be noted that GB / T11024.1 stipulates that the inrush current withstand capability of a capacitor shall not exceed 20 times the peak rated current; in this embodiment, it is taken as 10 times, which is 50% of the manufacturer's guaranteed value; the 50% short-circuit current limit refers to DL / T604, which requires that the inrush current not exceed 50% of the short-circuit current at the installation point. Cascaded risk verification: First, on-load tap-changing transformer conflict prediction is performed: the current tap position, dead zone width, and delay setting value of the on-load tap-changing transformer in the distribution network are obtained, and the expected voltage at the grid connection point after switching is calculated; if the expected voltage falls within the transformer's dead zone and the adjustment direction is opposite to the adjustment direction of the current switching voltage, a conflict risk is determined, and the current switching is blocked; Second, multi-step operation intermediate state verification is performed: when multiple groups need to be switched continuously, the voltage and reactive power distribution of each intermediate state (such as when only the first group is switched on and the second group has not yet been switched on) are verified one by one, and the entire sequence is allowed to be executed only after all the limits are not exceeded; After all verifications pass, a coordinated control command is generated, which includes: target capacitor number, direction of connection or disconnection, reactive power change, closing phase angle (if phase selection is required), pre-adjustment recovery ramp parameters, and execution timestamp. If any dimension fails the verification, a verification certificate is generated, which includes: the locking reason code (numbered by dimension), a comparison between the locking threshold and the measured value, and suggested alternative solutions (such as reducing the switching capacity, phased switching, or switching to SVG compensation, etc.), for operation and maintenance personnel to use for post-event analysis and subsequent strategy adjustments.

[0026] The methods for evaluating transient errors after the switchover, correcting the operating condition strategy and pre-adjustment coefficients, and updating the physical reference database and physical state observation vectors include: Every 5 minutes, the following data are extracted from the physical state observation vector: average voltage at the grid connection point, standard deviation of voltage fluctuation, load factor (the average of the total active power of the distribution line in the most recent minute, divided by the rated transmission capacity of the distribution line), output rate of distributed generation (the average of the total active power of distributed generation (such as photovoltaic and wind power) on the distribution line in the most recent minute, divided by the total installed capacity of distributed generation), harmonic distortion rate, and topology change indicator. Each is normalized to the range of 0 to 1 (the average voltage, load factor, and output rate of distributed generation are themselves per-unit values; if they occasionally exceed 1, they are truncated to 1; the standard deviation of voltage fluctuation and harmonic distortion rate are normalized by setting a reasonable upper and lower limit based on historical operating experience). These data are then horizontally spliced ​​into a six-dimensional physical feature vector. Calculate the weighted Euclidean distance between the physical feature vector and the center vector of each scene in the built-in initial working condition strategy library (the metric coefficient is the reciprocal of the variance of the historical global data in each dimension); select the scene with the smallest distance, substitute its switching strategy into the current state for multi-dimensional security verification, and if it passes, adopt it; otherwise, try the second-best scenarios in turn, and if none of them pass, trigger the graded downgrade. After the switching is completed, the grid connection point voltage waveform data for 3 cycles after the switching is obtained. The absolute value of the difference between the voltage waveform data and the first-order inertial reference trajectory with the time constant (default is 50ms) is calculated point by point and then accumulated to obtain the voltage transient deviation integral value. If the integral value of the voltage transient deviation exceeds the expected upper limit (determined by the maximum value of the test during the commissioning period) for three consecutive switching operations, the distance calculation result for this scenario will be multiplied by a penalty factor (set to 1.5, i.e., extended by half) to reduce its probability of being selected. The pre-adjustment coefficient is iteratively updated with saturation limiting based on the peak value of the voltage transient deviation: updated value of pre-adjustment coefficient = current value of pre-adjustment coefficient - gain × sign of the peak value of voltage transient deviation × (the smaller value between the peak value of voltage transient deviation and the saturation limit); The gain is set to 0.1 kV (actual calibration method: multiple switching operations are performed under different grid strength conditions during the commissioning period, the linear slope between the pre-adjustment coefficient correction and the voltage deviation is fitted, and the average value of each condition is taken), and the saturation limit is set to 0.1 kV (50% of 2% of the rated voltage); when the peak voltage deviation of three consecutive switching operations is less than 0.02 kV, the pre-adjustment coefficient is locked and marked as high confidence. After each switching, the measured voltage step is weighted and averaged with a new data weight of 0.1 and an old reference weight of 0.9, and the reference voltage step of the corresponding capacitor in the physical reference database is updated; the corrected pre-adjustment coefficient and confidence mark are stored back to the current scene; the event pairs before and after the switching are added to the sliding window queue to refresh the dynamic impedance estimate. If the absolute value of the voltage deviation peak increases instead of decreasing after three consecutive corrections, freeze all adaptive parameters and switch to islanded control mode. If the operation is stable and a highly similar working condition occurs after 24 hours, perform a test correction with a halved step size. If the deviation decreases, gradually unfreeze the parameters; if the deviation increases, keep the parameters frozen and extend the unfreezing waiting time to 7 days.

[0027] Example 2 Please see Figure 2 As shown, parts not described in detail in this embodiment are described in Embodiment 1. A smart switching optimization system for reactive power compensation of distribution network line voltage is provided, including: Reference calibration unit: Before commissioning, the SVG is controlled to generate a stepped reactive power sequence, obtain the line impedance baseline and baseline short-circuit capacity; single switching calibration is performed on each group of capacitors, the reference physical parameters are recorded, and a physical reference database is constructed. State Awareness Unit: Based on the physical reference database, it configures independent sampling channels for capacitors and SVG, tracks line impedance online through the correlation events of reactive power and voltage changes of SVG and updates the data with disturbances when the data becomes outdated, obtains the hot spot temperature inside the equipment and evaluates the confidence of the sensor, detects transient events based on the instantaneous power change rate and adaptively passivates the capacitor switching judgment, and generates a physical state observation vector. Capability assessment unit: Based on the physical state observation vector, obtain the capacitor impedance normalized capacity and combine it with the hot spot temperature to obtain the adaptive maximum available capacity, evaluate the SVG thermal margin and dynamically reconstruct the reactive power output upper limit accordingly, perform admission interception and differential redistribution on reactive power compensation candidate instructions, and generate an executable switching instruction queue. Security Coordination Unit: Based on the executable switching instruction queue, it dynamically obtains the pre-adjustment coefficient and pre-adjusts the SVG, and then performs multi-dimensional security verification before switching, generating collaborative control instructions and verification certificates; Strategy Iteration Unit: Based on the coordinated control instructions and verification certificates, it matches and obtains the operating condition strategy; after switching, it evaluates the transient error, corrects the operating condition strategy and pre-adjustment coefficient, and feeds back to update the physical reference database and physical state observation vector to form an adaptive switching optimization control link.

[0028] Example 3 This embodiment discloses an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the operation mode of the intelligent switching optimization system for reactive power compensation of power distribution network lines provided above.

[0029] Since the electronic device described in this embodiment is the electronic device used to implement the intelligent switching optimization method for reactive power compensation of distribution network lines in this application embodiment, those skilled in the art can understand the specific implementation method and various variations of the electronic device in this embodiment based on the intelligent switching optimization method for reactive power compensation of distribution network lines described in this application embodiment. Therefore, how the electronic device implements the method in this application embodiment will not be described in detail here. As long as those skilled in the art implement the intelligent switching optimization method for reactive power compensation of distribution network lines in this application embodiment, the electronic device used is within the scope of protection of this application.

[0030] The above formulas are all dimensionless calculations. The formulas are derived from software simulations based on a large amount of collected data to obtain the most recent real-world results. The preset parameters and thresholds in the formulas are set by those skilled in the art according to the actual situation.

[0031] The above description is merely a preferred embodiment of the present invention. The scope of protection of the present invention is not limited to the above embodiments. All technical solutions falling within the scope of the present invention's concept are within the scope of protection of the present invention. It should be noted that for users of ordinary technical skills, any improvements and modifications made without departing from the principles of the present invention should also be considered within the scope of protection of the present invention.

Claims

1. A method for intelligent switching optimization of voltage and reactive power compensation of distribution network lines, characterized in that, include: S1: Before commissioning, control the SVG to generate a stepped reactive power sequence and obtain the line impedance baseline and baseline short-circuit capacity; Perform single-switching calibration on each group of capacitors, record the reference physical parameters, and construct a physical reference database; S2: Based on the physical benchmark database, independent sampling channels are configured for capacitors and SVG. The line impedance is tracked online through the correlation events of reactive power and voltage changes of SVG and the disturbance is updated when the data is outdated. The internal hot spot temperature of the equipment is obtained and the sensor confidence is evaluated. Transient events are detected based on the instantaneous power change rate and the capacitor switching judgment is adaptively passivated to generate a physical state observation vector. S3: Based on the physical state observation vector, obtain the capacitor impedance normalized capacity and combine it with the hot spot temperature to obtain the adaptive maximum available capacity. Evaluate the SVG thermal margin and dynamically reconstruct the upper limit of reactive power output accordingly. Perform admission interception and differential redistribution on reactive power compensation candidate instructions to generate an executable switching instruction queue. S4: Based on the executable switching instruction queue, the pre-adjustment coefficient is dynamically obtained and the SVG is pre-adjusted. Then, multi-dimensional security verification is performed before switching, and collaborative control instructions and verification certificates are generated. S5: Based on the coordinated control command and verification certificate, the operating condition strategy is matched and obtained; after switching, the transient error is evaluated, the operating condition strategy and pre-adjustment coefficient are corrected, and the physical reference database and physical state observation vector are updated to form an adaptive switching optimization control link.

2. The power distribution network line voltage reactive power compensation intelligent switching optimization method according to claim 1, characterized in that, The methods for obtaining the baseline line impedance and baseline short-circuit capacity include: Before commissioning, the SVG is controlled to output reactive power sequentially along a step sequence from inductive to capacitive directions, using a fixed percentage of the rated capacity as the step amplitude. Simultaneously, the effective voltage value and reactive power output of the grid connection point under each output step are collected, forming multiple sets of data pairs. Linear fitting is performed on all data pairs to obtain the line impedance baseline, and then the baseline short-circuit capacity is obtained based on the line impedance baseline and the rated voltage.

3. The power distribution network line voltage reactive power compensation intelligent switching optimization method according to claim 2, characterized in that, The methods for constructing the physical benchmark database include: Under the condition that the voltage of the distribution network line is stable and there is no transient disturbance, a single connection operation is performed on each group of capacitors to obtain the reference voltage step and inherent mechanical action time of each group of capacitors. At the same time, the thermodynamic reference parameters of the equipment are obtained. All the obtained reference parameters are archived according to the equipment number and combined with the line impedance baseline and baseline short-circuit capacity to form a physical reference database.

4. The power distribution network line voltage var compensation intelligent switching optimization method of claim 3, wherein, The method of online tracking of line impedance and perturbation updates when data becomes outdated includes: Based on the physical benchmark database, independent voltage and current sampling channels are configured for capacitors and SVG respectively. In each control cycle, it is determined whether there is a correlation change event between SVG reactive power output and grid connection point voltage. If it occurs, the reactive power change before and after the event and the change in the square of the effective voltage value are extracted to form an event pair and added to the sliding window queue. Linear fitting is performed on all event pairs in the sliding window queue to obtain the dynamic impedance estimate of the current distribution network line; When the time since the most recent event pair was added to the sliding window queue exceeds the expected time, the window data is determined to be outdated, and a pseudo-random reactive power disturbance sequence is actively injected by SVG to force an update.

5. The power distribution network line voltage var compensation intelligent switching optimization method of claim 4, wherein, The methods for obtaining the internal hotspot temperature of the device and evaluating the confidence level of the sensor include: While obtaining the dynamic impedance estimate, the device casing temperature, ambient temperature and real-time power loss data are acquired. The internal hot spot temperature of the device is obtained through the recursive relationship of the first-order thermal resistance-capacitance equivalent network, and the thermal resistance parameter is self-corrected by steady-state temperature difference during the low load period of each day. The temperature sensor is simultaneously subjected to residual verification to evaluate the sensor confidence level.

6. The power distribution network line voltage var compensation intelligent switching optimization method of claim 5, wherein, The methods for generating physical state observation vectors include: Based on the dual-channel sampling architecture, the instantaneous reactive power of the SVG sampling channel is acquired in each control cycle and the rate of change is calculated cycle by cycle. It is then compared with the historical steady state of the distribution network to detect transient events. When a transient event occurs, the switching judgment logic of the capacitor controller is frozen and its sliding average filter window width is passively expanded. After the transient event ends, it is gradually restored to its original width after a delay. By integrating dynamic impedance estimates, hotspot temperature estimates, sensor confidence flags, and transient event flags, a physical state observation vector is generated.

7. The power distribution network line voltage var compensation intelligent switching optimization method of claim 6, wherein, The method for obtaining the capacitor impedance-normalized capacitance and combining it with the hot spot temperature to obtain the adaptive maximum usable capacitance includes: Based on the physical state observation vector, after the capacitor is switched, the measured voltage step and the current dynamic impedance estimate are obtained. Combined with the reference voltage step, rated capacity and line impedance baseline in the physical reference database, the impedance normalized capacity of the capacitor group is obtained. Simultaneously, based on the hot spot temperature and the preset activation energy parameters of the insulation material, the aging acceleration factor is obtained through the relationship between temperature and aging acceleration; by multiplying the impedance normalized capacitance by the aging acceleration factor, the adaptive maximum usable capacitance of the capacitor group is obtained.

8. The power distribution network line voltage var compensation intelligent switching optimization method of claim 7, wherein, The methods for generating the executable switching instruction queue include: Based on the physical state observation vector, the current thermal margin of the SVG is obtained through the reactive power output reconstruction rule, and the upper limit of the reactive power output of the SVG is dynamically reconstructed. For each candidate reactive power compensation command generated by the SVG controller based on reactive power demand, the reactive power demand value is checked one by one to see if it exceeds the adaptive maximum available capacity or reactive power output limit of the corresponding device. If it exceeds the limit, the command is truncated and the unmet reactive power difference is redistributed to other healthy devices, generating an executable switching command queue after admission filtering.

9. The power distribution network line voltage var compensation intelligent switching optimization method of claim 8, wherein, The methods for generating collaborative control commands and verifying certificates include: Based on the executable switching instruction queue, the current dynamic impedance estimate is obtained for each instruction and combined with the line's rated voltage to obtain the current short-circuit capacity; The current short-circuit ratio is obtained by taking the ratio of the current short-circuit capacity to the baseline short-circuit capacity, and then the initial value of the current pre-adjustment coefficient is generated according to the short-circuit ratio grading rule. Synchronously acquire the latest historical pre-adjustment coefficients and corresponding confidence markers stored in the current working scenario, and determine the initial value of the pre-adjustment coefficient or the latest historical pre-adjustment coefficient based on the confidence markers, and use it as the pre-adjustment coefficient for this time; The product of the adaptive maximum available capacity of the capacitor to be put into operation and the current pre-adjustment coefficient is used as the pre-adjustment amount to pre-adjust the SVG. Before the pre-adjustment is completed and the capacitor switching command is issued, the switching operation is subjected to multi-dimensional safety checks on sequence components, resonance risk, inrush current and flicker, and cascading risk. If all checks pass, a coordinated control command is generated; if any check fails, a check certificate is generated.

10. The power distribution network line voltage var compensation intelligent switching optimization method of claim 9, wherein, The methods for evaluating transient errors after the switchover, correcting the operating condition strategy and pre-adjustment coefficients, and updating the physical reference database and physical state observation vectors include: Based on the collaborative control instructions and verification certificates, the physical indicators of the current working condition are extracted from the physical state observation vector, a six-dimensional physical feature vector is constructed, and the switching strategy of the current working condition is obtained through the distance matching rule. After the capacitor is switched on and off, the integral value of the voltage transient deviation and the peak value of the inrush current are evaluated, and the matching priority and pre-adjustment coefficient of the operating condition strategy are adjusted accordingly. The measured voltage step and inrush current peak after switching are fed back to the physical reference database and physical state observation vector to form an adaptive switching optimization control link.