Virtual synchronous adaptive grid-connected control strategy

By constructing a power grid state prediction model and adjusting the damping parameters of the virtual synchronous machine in real time, the problem of insufficient response to power grid state changes in the existing technology is solved, and the stability of the power grid and resource allocation efficiency are improved.

CN118868239AInactive Publication Date: 2024-10-29STATE GRID SHANDONG ELECTRIC POWER CO MARKETING SERVICE CENT (MEASURING CENT)

Patent Information

Application Number
CN202411341329.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-25
Publication Date
2024-10-29
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

When dealing with large-scale data and rapidly changing grid conditions, the existing virtual synchronization adaptive grid-connected control strategy is difficult to make full use of real-time data for immediate response, resulting in insufficient accuracy and timeliness of grid state changes, affecting the stability of the grid. and operational efficiency.

Method used

By collecting historical data of the power grid, extracting key fluctuation characteristics, building a power grid state prediction model, monitoring and adjusting the damping parameters of the virtual synchronous machine in real time, and optimizing the power factor and phase angle, the dynamic adjustment of the power grid state can be achieved.

Benefits of technology

It improves the power grid's ability to identify future changing trends, ensures that the power grid can dynamically adjust based on real-time data, improves the stability of the power grid and the efficiency of resource allocation, and enhances the ability to manage uncertainty.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118868239A_ABST
    Figure CN118868239A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of power grid control, in particular to a virtual synchronous adaptive grid-connected control strategy which comprises the following steps: collecting historical data of a power grid, extracting key points through time interval sampling, measuring frequency deviation and voltage deviation, synchronously recording key change data, extracting fluctuation characteristics and generating a deviation data set. According to the method, the key fluctuation indexes are extracted from the historical data of the power grid, so that the fluctuation mode of the power grid can be identified more accurately, the fluctuation mode is not limited to known fluctuation and also comprises potential future change trends, response is made in advance, and it is ensured that the power grid can be dynamically adjusted according to real-time data. Besides, by monitoring the state of the power grid in real time and adjusting the parameters of the virtual synchronous machine in time, a power grid operator can more flexibly deal with the change of power requirements and the potential stability problem, the stability of the power grid is improved, the uncertain management capability is enhanced, and the configuration and the use efficiency of power grid resources are also optimized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power grid control, and in particular to a virtual synchronous adaptive grid-connected control strategy. Background Art

[0002] The field of grid control technology involves regulating and managing various electrical parameters in power systems, such as voltage, frequency, and power, to ensure stable operation and efficient performance of the power grid. Areas include real-time monitoring of the grid status, forecasting changes in power demand and supply, and implementing necessary control strategies to cope with these changes. The main control strategies include load balancing, frequency regulation, voltage support, and fault management. Grid control technology is key to achieving renewable energy integration, electric vehicle charging infrastructure, and distributed generation systems, and is also the foundation for the development of smart grid and microgrid technologies.

[0003] Among them, the virtual synchronous adaptive grid-connected control strategy is a grid control method that improves the grid-connected performance of power systems with emerging power resources (such as renewable energy power plants). By simulating the behavior of traditional synchronous generators, this strategy can make non-synchronous power sources (such as wind or photovoltaic power generation systems) behave like traditional synchronous machines in the power system to maintain the stability of the power grid and improve its responsiveness. This control strategy ensures reliable operation and effective management of the power grid by adjusting the output of the power source to adapt to the immediate needs and changes of the power grid.

[0004] Although the existing virtual synchronous adaptive grid-connected control strategy effectively simulates the behavior of traditional synchronous generators, it is difficult to fully utilize real-time data for immediate response when dealing with large-scale data and rapidly changing grid conditions. This results in insufficient accuracy and timeliness in predicting changes in grid conditions. In addition, the existing technology has difficulty in quickly adjusting output parameters when the grid state changes rapidly, resulting in reduced grid operation efficiency and even affecting grid stability. For example, for rapid changes in wind or photovoltaic power generation systems, the existing technology fails to make immediate adjustments, resulting in instability in grid frequency and voltage, affecting the safe and stable operation of the entire power system. Summary of the invention

[0005] The purpose of the present invention is to solve the shortcomings in the prior art and propose a virtual synchronous adaptive grid-connected control strategy.

[0006] In order to achieve the above object, the present invention adopts the following technical solution: a virtual synchronous adaptive grid-connected control strategy, comprising the following steps: S1: Collect historical data of the power grid, extract key points through time interval sampling, measure frequency deviation and voltage deviation, synchronously record key change data, extract fluctuation characteristics, and generate deviation data set; S2: performing normalization processing on the deviation data set, extracting key fluctuation indicators and time tags from the data set, integrating the data, and generating sorted feature data; S3: using the collated feature data, analyzing the fluctuation pattern of the power grid data, identifying future change trends, and building a power grid state prediction model by matching and learning historical fluctuation patterns; S4: inputting the real-time grid data into the grid state prediction model, analyzing the current frequency and voltage changes, updating the model data, and obtaining an instant deviation prediction result; S5: Based on the instant deviation prediction result, the damping coefficient of the virtual synchronous machine is adjusted according to the current fluctuation of the power grid, and the optimized damping parameter configuration is generated by continuously monitoring and adjusting the damping parameter to match the change of the power grid state; S6: Based on the optimized damping parameter configuration, the power factor and phase angle are adjusted in response to the current grid state, the output parameters are optimized, and a real-time adjustment strategy is established.

[0007] The present invention has improvements in that the deviation data set includes frequency readings, voltage readings and fluctuation amplitudes of voltage readings at critical moments of the power grid, the sorted characteristic data includes processed frequency change rate, voltage stability index and associated operating time period identifiers, the power grid state prediction model includes analysis of steady-state and dynamic behavior of the power grid, trend capture and fluctuation response, the instant deviation prediction result includes the expected maximum fluctuation of power grid frequency, the expected fluctuation range of voltage and an evaluation of the accuracy of the prediction, the optimized damping parameter configuration includes an adjusted damping coefficient, a preset adjustment threshold and an expected adjustment frequency, and the real-time adjustment strategy includes a detailed power factor adjustment plan, a time series of phase angle adjustment and adjustment priority sorting.

[0008] The present invention has the following improvements: collecting historical data of the power grid, extracting key points by sampling at time intervals, measuring frequency deviation and voltage deviation, synchronously recording key change data, extracting fluctuation characteristics, and generating a deviation data set: S101: Collect historical data of the power grid, regularly record frequency and voltage values, set the sampling interval to once per minute, record the power grid status of each sampling point, and generate initial data records; S102: Based on the initial data record, identify abnormal fluctuations of frequency and voltage, mark fluctuation events exceeding a preset threshold, record the timestamp and amplitude of the fluctuation event, and obtain a marked deviation record; S103: extracting key fluctuation characteristics from the marked deviation record, analyzing the peak frequency and voltage fluctuation period, sorting and formatting the key fluctuation characteristics, and generating a deviation data set.

[0009] The present invention is improved in that the specific steps of performing normalization processing on the deviation data set, extracting key fluctuation indicators and time tags from the data set, integrating the data, and generating sorted feature data are as follows: S201: performing normalization processing on the deviation data set, adjusting the data scale so that the data items are at the same level, and generating a normalized data set; S202: Selecting key performance indicators of power grid regulation from the normalized data set, the key performance indicators including voltage recovery speed and frequency stability, extracting performance indicators, and obtaining a key indicator set; S203: Utilizing the key indicator set, associating the data with the time tag, sorting and encoding the features, and generating sorted feature data.

[0010] The present invention is improved in that the specific steps of using the sorted characteristic data to analyze the fluctuation pattern of the power grid data, identify future change trends, and build a power grid state prediction model by matching and learning historical fluctuation patterns are as follows: S301: from the sorted characteristic data, using a long short-term memory network to process the data of power grid fluctuation frequency and amplitude, sorting the data in time series, and focusing on analyzing the fluctuation events that occurred multiple times in history to obtain a historical fluctuation focus set; S302: Based on the historical fluctuation focus set, by calculating the time interval and amplitude difference between each event, identifying the pattern, recording the fluctuation types with high frequency, and generating a frequent fluctuation pattern set; S303: Using the set of frequent fluctuation patterns, construct a framework to simulate grid state changes, predict future grid state fluctuations by integrating pattern data, and establish a grid state prediction model.

[0011] The present invention is improved in that the long short-term memory network is according to the formula: and , Calculate the characteristic intensity of each wave event and frequency of occurrence , quantify the characteristic intensity and frequency of fluctuation events in the power grid; in, Indicates that in the target event The characteristic strength of Expressing arrive Add up all the items of For at time point The voltage value, is the amplitude value at the time point, For all time points and The average of the products, for and The standard deviation of the product, For the target event The frequency of occurrence, is a weighted counting function, based on each time point Voltage change , frequency changes and the time interval from the last event to the current one Adjust the weights, For at time point The observed voltage change, For at time point The observed frequency change, is the time interval from the last fluctuation event to the current one.

[0012] The present invention is improved in that the specific steps of inputting real-time power grid data into the power grid state prediction model, analyzing the current frequency and voltage changes, updating the model data, and obtaining the instant deviation prediction result are as follows: S401: inputting the real-time power grid data stream into the power grid state prediction model, monitoring the frequency and voltage data of the power grid in real time, comparing the historical fluctuation pattern, performing pattern matching, and obtaining a model response result; S402: Based on the model response result, adjust the model to reflect the real-time data, analyze the deviation between the current data and the prediction model, adjust the prediction parameters, and generate adjusted model data; S403: Using the adjusted model data, the model output is updated in real time to keep in sync with the current grid operation status, and obtain an immediate deviation prediction result.

[0013] The present invention is improved in that, based on the instant deviation prediction result, the damping coefficient of the virtual synchronous machine is adjusted according to the current fluctuation of the power grid, and the specific steps of generating an optimized damping parameter configuration by continuously monitoring and adjusting the damping parameter to match the change of the power grid state are as follows: S501: Based on the instant deviation prediction result, the fluctuation amplitude of the current grid frequency and voltage is evaluated, the damping coefficient to be adjusted is selected, and a basic damping adjustment value is obtained; S502: using the basic damping adjustment value, adjusting the damping coefficient of the virtual synchronous machine by means of simulation test, monitoring the adjustment effect, and generating a damping value for test adjustment; S503: Using the damping value adjusted by the test, continuously monitoring the matching degree between the grid state and the preset damping parameter, iteratively adjusting the damping coefficient, and generating an optimized damping parameter configuration.

[0014] The present invention is improved in that, based on the optimized damping parameter configuration, the power factor and phase angle are adjusted in response to the current grid state, the output parameters are optimized, and the specific steps of establishing a real-time adjustment strategy are as follows: S601: Based on the optimized damping parameter configuration, a weighted average method is used to analyze the current power factor and phase angle requirements of the power grid, select an adjustment starting point, and generate a power adjustment benchmark; S602: Based on the power adjustment benchmark, adjust the output parameters of the virtual synchronous machine to optimize the response and efficiency of the power grid, and obtain adjusted output parameters; S603: Using the adjusted output parameters, monitor the adjustment effect in real time, evaluate the stability and efficiency of the power grid operation, continuously optimize according to the feedback data, and establish a real-time adjustment strategy.

[0015] The present invention is improved in that the weighted average method is according to the formula: , recalculated power adjustment benchmarks according to optimized damping parameter configurations; in, is the power adjustment benchmark, is the balance factor, which is used to adjust the influence weight of power factor and phase angle. is the number of measurements, For all values ​​from 1 to The indicators are accumulated. For the The power factor measured is For the The corresponding damping response coefficient for the measurement is, is the adjustment coefficient of power factor change to phase angle change, For the The phase angle change from the last measurement to the current measurement. is the average value of the phase angle, is the adjustment coefficient, is the damping average value.

[0016] Compared with the prior art, the advantages and positive effects of the present invention are: In the present invention, by extracting key fluctuation indicators from the historical data of the power grid, the fluctuation pattern of the power grid can be more accurately identified, not only limited to known fluctuations, but also including potential future change trends, so as to respond in advance and ensure that the power grid can be dynamically adjusted according to real-time data. In addition, by monitoring the state of the power grid in real time and adjusting the parameters of the virtual synchronous machine in time, the power grid operator can respond more flexibly to changes in power demand and potential stability problems, improve the stability of the power grid, enhance the ability to manage uncertainty, and optimize the configuration and utilization efficiency of power grid resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 A flow chart of a virtual synchronous adaptive grid-connected control strategy proposed by the present invention; Figure 2 This is a detailed flow chart of step S1 of the present invention; Figure 3 This is a detailed flow chart of step S2 of the present invention; Figure 4 This is a detailed flow chart of step S3 of the present invention; Figure 5 This is a detailed flow chart of step S4 of the present invention; Figure 6 This is a detailed flow chart of step S5 of the present invention; Figure 7 This is a detailed flow chart of step S6 of the present invention. DETAILED DESCRIPTION

[0018] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0019] In the description of the present invention, it should be understood that the terms "length", "width", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc., indicating positions or positional relationships, are based on the positions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, in the description of the present invention, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.

[0020] See also Figure 1 The present invention provides a technical solution: a virtual synchronous adaptive grid-connected control strategy, comprising the following steps: S1: Collect historical data of the power grid, extract key points through time interval sampling, measure frequency deviation and voltage deviation, synchronously record key change data, extract fluctuation characteristics, and generate deviation data set; S2: Perform normalization on the deviation data set, extract key volatility indicators and time tags from the data set, integrate the data, and generate sorted feature data; S3: Use the sorted feature data to analyze the fluctuation pattern of power grid data, identify future change trends, and build a power grid status prediction model by matching and learning historical fluctuation patterns; S4: Input the real-time grid data into the grid status prediction model, analyze the current frequency and voltage changes, update the model data, and obtain the instant deviation prediction results; S5: Based on the instant deviation prediction results, the damping coefficient of the virtual synchronous machine is adjusted according to the current fluctuation of the power grid. By continuously monitoring and adjusting the damping parameters, the optimized damping parameter configuration is generated to match the changes in the power grid state; S6: Based on the optimized damping parameter configuration, the power factor and phase angle are adjusted in response to the current grid state, the output parameters are optimized, and a real-time adjustment strategy is established.

[0021] The deviation data set includes frequency readings, voltage readings and fluctuation amplitude of voltage readings at critical moments of the power grid. The sorted feature data includes processed frequency change rate, voltage stability index and associated operating time period identification. The power grid state prediction model includes analysis of steady-state and dynamic behavior of the power grid, trend capture and fluctuation response. The instant deviation prediction results include the expected maximum fluctuation of power grid frequency, the expected fluctuation range of voltage and the accuracy evaluation of the prediction. The optimized damping parameter configuration includes the adjusted damping coefficient, the preset adjustment threshold and the expected adjustment frequency. The real-time adjustment strategy includes a detailed power factor adjustment plan, a time series of phase angle adjustment and the priority sorting of adjustment.

[0022] See also Figure 2 ,Collect historical data of the power grid, extract key points through time interval sampling, measure frequency deviation and voltage deviation, synchronously record key change data, extract fluctuation characteristics, and generate deviation data sets. The specific steps are as follows: S101: Collect historical data of the power grid, regularly record frequency and voltage values, set the sampling interval to once per minute, record the power grid status of each sampling point, and generate the initial data record process as follows; The system automatically records the frequency and voltage values ​​of the power grid once a minute through an automated data acquisition tool. These data cover the basic operating status of the power grid and provide a basis for subsequent data processing. Representative The voltage and frequency of the minute. From 1 to The index of Indicates the number of minutes in the total acquisition time. For each data point, record the corresponding timestamp , voltage value And the frequency value These data are organized into a preliminary data framework to provide input source for abnormal fluctuation analysis.

[0023] S102: Based on the initial data record, identify abnormal fluctuations of frequency and voltage, mark fluctuation events exceeding a preset threshold, record the timestamp and amplitude of the fluctuation event, and obtain the process of marking deviation records as follows; By analyzing the voltage in the preliminary data frame and frequency To identify abnormal fluctuations. Threshold It is used to judge whether the fluctuation is abnormal, and is usually set to twice the historical fluctuation amplitude. If the voltage or frequency deviation exceeds this threshold, or , then the data point is considered abnormal, where and are the historical average values ​​of voltage and frequency respectively. The specific amplitude of the abnormal point and is recorded.

[0024] S103: extracting key fluctuation characteristics from the marked deviation record, analyzing the peak frequency and voltage fluctuation period, sorting and formatting the key fluctuation characteristics, and generating a deviation data set process is as follows; Perform feature extraction on the marked deviation records and analyze the frequency of each abnormal event and the peak frequency of the voltage and cycle The calculation formula is: , represents the total number of abnormal events, It is The frequency value of abnormal events, is the average value of all measured frequencies. Symbol Indicates the sum of the items within the specified range. Through this calculation, not only the intensity of the fluctuation is obtained ( ), and also reveals the frequency and persistence of fluctuations ( ). These analysis results are finally collated and formatted to form a deviation data set, which provides a basis for formulating subsequent optimization and control strategies.

[0025] See also Figure 3 , perform normalization on the deviation data set, extract key volatility indicators and time tags from the data set, integrate the data, and generate the sorted feature data. The specific steps are as follows: S201: normalize the deviation data set, adjust the data scale, make the data items at the same level, and generate the normalized data set in the following process; For the voltage in the deviation data set and frequency Normalization is performed to ensure that all data are compared and analyzed on the same scale. The normalization formula is: , , and Represents the voltage and frequency values ​​at a specific time point. Function and Represent the minimum and maximum values ​​in the voltage data, respectively, and and Indicates the minimum and maximum values ​​in the frequency data. Each data point is converted to a range between 0 and 1 to facilitate subsequent data processing and feature extraction.

[0026] S202: Select key performance indicators of power grid regulation from the normalized data set, the key performance indicators include voltage recovery speed and frequency stability, extract the performance indicators, and obtain the key indicator set in the following process; Extract key performance indicators from normalized data sets, including voltage recovery speed and frequency stability The indicator is calculated as follows: , , Representative The time point when the voltage returns to normal value, It is the time point of the previous recovery. is the normalized frequency value, It is the reference frequency value, usually set to 1.0, which is the normalized standard frequency. Indicates the sum, covering from 1 to The number of measurements, where is the total number of measurements during the observation period.

[0027] S203: Using the key indicator set, associating the data with the time tag, sorting and encoding the features, and generating the sorted feature data; The features are sorted and coded using the key indicator set to create a collated feature data set. The feature coding calculation process is as follows: , Indicates The coded value of the feature, This feature is The ranking in key indicators, is the corresponding weight coefficient, reflecting the importance of this indicator in power grid regulation. Indicates all Value (from 1 to ,in is the number of key indicators) to ensure that all indicators are taken into account.

[0028] See also Figure 4 ,Use the sorted feature data, analyze the fluctuation pattern of power grid data, identify future change trends, and build a power grid status prediction model by matching and learning historical fluctuation patterns. The specific steps are as follows: S301: from the sorted characteristic data, use the long short-term memory network to process the data of power grid fluctuation frequency and amplitude, sort the data in time series, and focus on analyzing the fluctuation events that have occurred many times in history to obtain the process of the historical fluctuation focus set; The power grid's fluctuation frequency and amplitude data are sorted in time series to ensure the continuity and time dependency of the analysis. The LSTM network gradually learns and identifies repeated fluctuation patterns in historical data and identifies those fluctuation events with significant repetition. In order to quantify the characteristic intensity and frequency of these fluctuation events.

[0029] Long short-term memory network, according to the formula: and , Calculate the characteristic intensity of each wave event and frequency of occurrence , quantify the characteristic intensity and frequency of fluctuation events in the power grid; in, Indicates that in the target event The characteristic intensity is used to measure the impact of power grid fluctuation events. is the summation symbol, indicating the summation from arrive All items are accumulated. For at time point Voltage value. For at time point Amplitude value. For all time points and The average of the products. for and The standard deviation of the product is used to normalize the data to make it dimensionless, which helps to compare data at different time points or under different conditions. For a specific event The frequency of occurrence is an integer representing the count of events that meet the specific conditions during the observation period. is a weighted counting function, based on each time point Voltage change , frequency changes and the time interval from the last event to the current one Adjust weights. For at time point The observed voltage change. For at time point The observed frequency change. is the time interval from the last fluctuation event to the current one.

[0030] The calculation process is as follows: average value : Calculate each time point Voltage and amplitude The product of Add them up and divide by the total number of samples to get the average value.

[0031] , Standard Deviation : Calculate each With the average Add the squared values ​​and divide by the number of samples , and finally take the square root.

[0032] , Use the calculated and , substitute in the formula.

[0033] For each time point ,calculate and The difference, divided by , then square it, sum it, and finally take the square root.

[0034] , Function calculation: For each time point , considering the voltage change ,Frequency Change , and the time interval from the last fluctuation event to the current one .

[0035] Assume there is a function Used to dynamically adjust weights according to these changes, for example, it can be set to .

[0036] like exceeds a certain threshold (assuming ), is the voltage threshold, is the amplitude threshold, then Returns 1 times otherwise, it returns 0.

[0037] calculate : use The function sums all time points.

[0038] , By calculation and , which can quantify the characteristic intensity and frequency of fluctuation events in the power grid. It can help identify and prevent important fluctuation events that may cause system instability or failure. In addition, these quantitative indicators can be used to optimize the dynamic adjustment and disaster prevention and mitigation strategies of the power grid, thereby improving the overall stability and reliability of the power grid.

[0039] S302: Based on the historical fluctuation focus set, by calculating the time interval and amplitude difference between each event, identifying the pattern, recording the fluctuation types with high frequency, and generating the frequent fluctuation pattern set, the process is as follows; Based on the historical volatility focus set, the time interval and amplitude difference between each volatility event are calculated to further identify the frequently occurring volatility patterns. The specific calculation is as follows: , and is the time point of two consecutive fluctuation events, and is the corresponding amplitude value. By comparing the time intervals of all event pairs and amplitude difference , which can identify and record those event types with similar time intervals and amplitude changes.

[0040] S303: Using the set of frequent fluctuation patterns, constructing a framework to simulate the change of power grid state, predicting the future power grid state fluctuation by integrating the pattern data, and establishing the process of the power grid state prediction model; A simulation framework for grid state changes is constructed using a set of frequent fluctuation patterns. This framework integrates data from multiple fluctuation patterns and predicts future grid state fluctuations by integrating these data. The simulation process uses the following formula: , represents the predicted fluctuation value of the future power grid state, It is The weight of the fluctuation mode, is the average amplitude of the wave pattern. Show all wave patterns From 1 to The summation is performed to ensure that all relevant fluctuation modes are considered.

[0041] See also Figure 5 , the specific steps of inputting real-time grid data into the grid status prediction model, analyzing the current frequency and voltage changes, updating the model data, and obtaining the instant deviation prediction results are as follows: S401: Input the real-time power grid data stream into the power grid state prediction model, monitor the frequency and voltage data of the power grid in real time, compare the historical fluctuation pattern, perform pattern matching, and obtain the model response result; Real-time monitoring of the power grid frequency and voltage , and compare it with the historical fluctuation patterns stored in the database to identify the fluctuation type of the current data. The pattern matching process calculates the similarity between each real-time data point and the historical fluctuation pattern through the following formula : , It is the frequency value measured in real time. is the voltage value measured in real time. It is the frequency average value closest to the current time point in the historical fluctuation pattern. It is the voltage average value closest to the current time point in the historical fluctuation pattern. is the standard deviation used to adjust the sensitivity of the similarity calculation. The natural exponential function is used to calculate the similarity based on the exponential negative form of the difference in squared distances. It represents the similarity between the current observation data and the historical fluctuation pattern, and is used to evaluate the matching degree between the current power grid state and the known fluctuation pattern. Through this method, a quantitative evaluation of the similarity between the current power grid state and the historical pattern can be obtained, that is, the model response result.

[0042] S402: Based on the model response result, the model is adjusted to reflect the real-time data, the deviation between the current data and the prediction model is analyzed, the prediction parameters are adjusted, and the process of generating the adjusted model data is as follows; According to the model response results, the model is adjusted in real time to better reflect the current power grid data. This adjustment process includes the optimization of the prediction model parameters to reduce the deviation between the real-time data and the model prediction. The formula for parameter adjustment is: , For the The model parameters in iterations. is the learning rate, which determines the step size of parameter update. is the loss function Relative to the parameters The gradient of , indicates the direction in parameter space to reduce the loss. This iterative updating method allows fine-tuning of model parameters, ensuring that model predictions more accurately reflect real-time data.

[0043] S403: Using the adjusted model data, updating the model output in real time to keep in sync with the current grid operation status, and obtaining the instant deviation prediction result is as follows; The model output is updated in real time using the adjusted model data. This update process ensures that the output of the prediction model can keep pace with the actual operating status of the power grid in a timely manner. The calculation formula for real-time update is: , Output values ​​for the previous model. The new forecast value calculated based on the adjusted model data. is a smoothing coefficient, which is used to weigh the proportion of the old output value and the new adjusted value in the final output to ensure a smooth transition of the output result. The calculated result represents the updated model output, which combines the original output with adjustments based on new data to ensure that the model predictions are consistent with the actual state of the power grid.

[0044] See also Figure 6 ,Based on the instant deviation prediction results, the damping coefficient of the virtual synchronous machine is adjusted according to the current fluctuation of the power grid.,Through continuous monitoring and adjustment of the damping parameters, the specific steps of matching the changes in the power grid state and generating the optimized damping parameter configuration are as follows: S501: Based on the instant deviation prediction result, the fluctuation amplitude of the current power grid frequency and voltage is evaluated, and the damping coefficient to be adjusted is selected to obtain the basic damping adjustment value. For the step of evaluating the fluctuation amplitude of the current grid frequency and voltage and determining the damping adjustment value, the damping adjustment value is set ( ) is calculated as follows: , It is the frequency value measured in real time. is the voltage value measured in real time. is the predicted or reference value of the frequency. is the predicted or reference value of voltage. Adjust the sensitivity factor to adjust the magnitude of the damping factor changes based on the specific needs of your system. The calculated result represents the damping adjustment value, which is used in the subsequent simulation test phase.

[0045] S502: using the basic damping adjustment value, adjusting the damping coefficient of the virtual synchronous machine by means of simulation test, monitoring the adjustment effect, and generating the damping value adjusted by the test; The new damping factor after adjusting the effect ( )for, here, is the damping coefficient of the current virtual synchronous machine. To adjust the efficiency factor, control the actual impact of the damping adjustment. is the updated damping coefficient, which will be used for further iterative adjustments.

[0046] S503: using the damping value adjusted by the test, continuously monitoring the matching degree between the grid state and the preset damping parameter, iteratively adjusting the damping coefficient, and generating the optimized damping parameter configuration process; For the process of iteratively adjusting the damping coefficient to optimize the matching grid state, the formula is as follows: , For the The optimized damping coefficient for the iteration. is the new damping value obtained from the simulation test. is the learning rate, which is used to balance the weights of new and old data during the iteration process to ensure that the system transitions smoothly to the optimal damping configuration. It is the updated optimized damping coefficient, which is the result of iterative calculation and is used to further optimize the matching degree of the power grid state.

[0047] See also Figure 7 ,Based on the optimized damping parameter configuration, the power factor and phase angle are adjusted in response to the current grid state, the output parameters are optimized, and the specific steps of establishing a real-time adjustment strategy are as follows: S601: Based on the optimized damping parameter configuration, a weighted average method is adopted to analyze the current power factor and phase angle requirements of the power grid, select an adjustment starting point, and generate a power adjustment benchmark; Based on the optimized damping parameters, the power factor of the power grid is recalculated ( ) and the phase angle ( ) needs, determine the adjustment starting point, and set the power adjustment benchmark; Weighted average method, according to the formula: , recalculated power adjustment benchmarks according to optimized damping parameter configurations; in, Adjust the baseline for power. It is a balancing factor used to adjust the influence weight of power factor and phase angle, and determine the relative importance of power factor and phase angle in the overall adjustment. The number of measurements, that is, the number of data points collected during the calculation cycle. is a sum operation, which means that for all The indicators are accumulated. For the The power factor measured this time reflects the power efficiency of the power grid at a specific point in time. For the is the damping response coefficient corresponding to the first measurement, which is used to adjust the power factor influence of the corresponding measurement point and improve the response sensitivity and accuracy of the model. It is the adjustment coefficient of the power factor change to the phase angle change, which is used to fine-tune the phase angle calculation to adapt to the power change. For the The phase angle change from the last measurement to the current measurement. is the average value of the phase angle, providing the average performance of the phase angle within the cycle. is an adjustment factor used to enhance the influence of the average phase angle. is the damping average value, reflecting the average performance of the damping parameters over a period of time, and Used in combination, adjusts the contribution of the phase angle.

[0048] The calculation process is as follows: assumed It is related to the grid load and power generation capacity and is calculated as follows: , in, is a constant, It is The load measured, is the power generation capacity.

[0049] Based on the phase angle difference of two consecutive measurements: , in, and are the phase angles of two consecutive times.

[0050] By weight Combined adjusted power factor and phase angle adjustment values: , in, is the adjustment factor, which is determined by analyzing historical data.

[0051] Combined adjustment of phase angle average and damping average: , in, is the adjustment coefficient, is the damped mean value.

[0052] Combining the weighted average power factor and the adjusted phase angle, according to the balance factor Get the final power adjustment reference: , The final calculated Used to guide the operation and adjustment of the power grid, improve the responsiveness and stability of the grid. This benchmark helps to effectively manage and optimize the performance of the power grid under changing conditions, reduce the risk of failure, and improve overall efficiency and reliability.

[0053] Reconstruction formula of step S602 In this step, nonlinear programming is used to adjust the output parameters of the virtual synchronous machine based on the power adjustment benchmark ( ): , is the current output parameter. To adjust the rate, control the speed and amplitude of parameter adjustment. The new output parameters are adjusted to ensure that the output parameters closely match the actual grid requirements.

[0054] The reconstructed formula of step S603 is in the final step, the adjusted output parameter ( ) are used for real-time monitoring and evaluation, as well as for further optimization: , For at the moment Optimized output parameters. To optimize the rate, it is used to adjust the response speed and details of the optimization process. It is the updated optimized output parameter, representing the result after iteration, which is used to ensure that the model prediction is consistent with the actual state of the power grid.

[0055] S602: Based on the power adjustment benchmark, the output parameters of the virtual synchronous machine are adjusted to optimize the response and efficiency of the power grid, and the process of obtaining the adjusted output parameters is as follows; The output parameters of the virtual synchronous machine are adjusted by nonlinear programming, based on the power adjustment benchmark calculated above ( ): , is the current output parameter. To adjust the rate, control the speed and amplitude of parameter adjustment. The new output parameters are adjusted to ensure that the output parameters closely match the actual grid requirements.

[0056] S603: Using the adjusted output parameters, real-time monitoring of the adjustment effect, evaluating the stability and efficiency of the power grid operation, and continuously optimizing according to the feedback data to establish a real-time adjustment strategy process; Adjusted output parameters ( ) are used for real-time monitoring and evaluation, as well as for further optimization: , For at the moment Optimized output parameters. To optimize the rate, it is used to adjust the response speed and details of the optimization process. It is the updated optimized output parameter, representing the result after iteration, which is used to ensure that the model prediction is consistent with the actual state of the power grid.

[0057] The above are only preferred embodiments of the present invention and are not intended to limit the present invention in other forms. Any technician familiar with the profession may use the technical contents disclosed above to change or modify them into equivalent embodiments with equivalent changes and apply them to other fields. However, any simple modification, equivalent change and modification made to the above embodiments based on the technical essence of the present invention without departing from the technical solution of the present invention still falls within the protection scope of the technical solution of the present invention.

Claims

1. Virtual synchronous adaptive grid-connected control strategy, characterized in that: The following steps are involved: Collect historical data of the power grid, extract key points through time interval sampling, measure frequency deviation and voltage deviation, synchronously record key change data, extract fluctuation characteristics, and generate deviation data sets; Performing normalization processing on the deviation data set, extracting key fluctuation indicators and time tags from the data set, integrating the data, and generating sorted feature data; Using the collated characteristic data, analyzing the fluctuation pattern of the power grid data, identifying future change trends, and building a power grid state prediction model by matching and learning historical fluctuation patterns; Inputting real-time grid data into the grid state prediction model, analyzing current frequency and voltage changes, updating model data, and obtaining instant deviation prediction results; Based on the instant deviation prediction result, the damping coefficient of the virtual synchronous machine is adjusted according to the current fluctuation of the power grid, and the optimized damping parameter configuration is generated by continuously monitoring and adjusting the damping parameter to match the change of the power grid state; Based on the optimized damping parameter configuration, the power factor and phase angle are adjusted in response to the current grid state, the output parameters are optimized, and a real-time adjustment strategy is established.

2. The virtual synchronous adaptive grid-connected control strategy according to claim 1 is characterized in that: The deviation data set includes frequency readings, voltage readings and fluctuation amplitudes of voltage readings at critical moments of the power grid; the sorted characteristic data includes processed frequency change rate, voltage stability index and associated operating time period identifiers; the power grid state prediction model includes analysis of steady-state and dynamic behaviors of the power grid, trend capture and fluctuation response; the instant deviation prediction results include the expected maximum fluctuation of power grid frequency, the expected fluctuation range of voltage and an evaluation of the accuracy of the prediction; the optimized damping parameter configuration includes an adjusted damping coefficient, a preset adjustment threshold and an expected adjustment frequency; the real-time adjustment strategy includes a detailed power factor adjustment plan, a time series of phase angle adjustment and a priority ranking of adjustments.

3. The virtual synchronous adaptive grid-connected control strategy according to claim 1 is characterized in that: The specific steps of collecting historical data of the power grid, extracting key points through time interval sampling, measuring frequency deviation and voltage deviation, synchronously recording key change data, extracting fluctuation characteristics, and generating deviation data sets are as follows: Collect historical data of the power grid, regularly record frequency and voltage values, set the sampling interval to once per minute, record the power grid status at each sampling point, and generate initial data records; Based on the initial data record, identifying abnormal fluctuations in frequency and voltage, marking fluctuation events exceeding a preset threshold, recording a timestamp and amplitude of the fluctuation event, and obtaining a marked deviation record; Extract key fluctuation characteristics from the marked deviation record, analyze the peak frequency and voltage fluctuation period, organize and format the key fluctuation characteristics, and generate a deviation data set.

4. The virtual synchronous adaptive grid-connected control strategy according to claim 1 is characterized in that: The specific steps of normalizing the deviation data set, extracting key fluctuation indicators and time tags from the data set, integrating the data, and generating sorted feature data are as follows: Normalizing the deviation data set, adjusting the data scale so that the data items are at the same level, and generating a normalized data set; Selecting key performance indicators of power grid regulation from the normalized data set, the key performance indicators including voltage recovery speed and frequency stability, extracting performance indicators, and obtaining a key indicator set; Using the key indicator set, the data is associated with the time tag, the features are sorted and encoded, and the sorted feature data is generated.

5. The virtual synchronous adaptive grid-connected control strategy according to claim 1 is characterized in that: The specific steps of using the collated feature data to analyze the fluctuation pattern of the power grid data, identify future change trends, and build a power grid state prediction model by matching and learning historical fluctuation patterns are as follows: From the collated characteristic data, a long short-term memory network is used to process the data of power grid fluctuation frequency and amplitude, the data is sorted in time series, and fluctuation events that have occurred repeatedly in history are analyzed to obtain a historical fluctuation focus set; Based on the historical fluctuation focus set, by calculating the time interval and amplitude difference between each event, identifying the pattern, recording the fluctuation types with high frequency, and generating a frequent fluctuation pattern set; By using the set of frequent fluctuation patterns, a framework is constructed to simulate the changes in power grid state, and future power grid state fluctuations are predicted by integrating pattern data to establish a power grid state prediction model.

6. The virtual synchronous adaptive grid-connected control strategy according to claim 5 is characterized in that: The long short-term memory network is based on the formula: and , Calculate the characteristic intensity of each wave event and frequency of occurrence , quantify the characteristic intensity and frequency of fluctuation events in the power grid; in, Indicates that in the target event The characteristic strength of Expressing arrive Add up all the items of For at time point The voltage value, For at time point The amplitude value of For all time points and The average of the products, for and The standard deviation of the product, For the target event The frequency of occurrence, is a weighted counting function, based on each time point Voltage change , frequency changes and the time interval from the last event to the current one Adjust the weights, For at time point The observed voltage change, For at time point The observed frequency change, is the time interval from the last fluctuation event to the current one.

7. The virtual synchronous adaptive grid-connected control strategy according to claim 1 is characterized in that: The specific steps of inputting real-time grid data into the grid state prediction model, analyzing the current frequency and voltage changes, updating the model data, and obtaining the instant deviation prediction results are as follows: Input the real-time power grid data stream into the power grid state prediction model, monitor the frequency and voltage data of the power grid in real time, compare the historical fluctuation pattern, perform pattern matching, and obtain the model response result; Based on the model response results, adjust the model to reflect real-time data, analyze the deviation between the current data and the prediction model, adjust the prediction parameters, and generate adjusted model data; The adjusted model data is used to update the model output in real time, keep in sync with the current grid operation status, and obtain an immediate deviation prediction result.

8. The virtual synchronous adaptive grid-connected control strategy according to claim 1 is characterized in that: Based on the instant deviation prediction result, the damping coefficient of the virtual synchronous machine is adjusted according to the current fluctuation of the power grid, and the specific steps of generating an optimized damping parameter configuration by continuously monitoring and adjusting the damping parameter to match the change of the power grid state are as follows: Based on the instant deviation prediction result, the fluctuation amplitude of the current power grid frequency and voltage is evaluated, the damping coefficient to be adjusted is selected, and the basic damping adjustment value is obtained; Using the basic damping adjustment value, adjusting the damping coefficient of the virtual synchronous machine by means of simulation test, monitoring the adjustment effect, and generating a damping value for test adjustment; The damping value adjusted by the test is used to continuously monitor the matching degree between the grid state and the preset damping parameter, and the damping coefficient is iteratively adjusted to generate an optimized damping parameter configuration.

9. The virtual synchronous adaptive grid-connected control strategy according to claim 1, characterized in that: Based on the optimized damping parameter configuration, the specific steps of adjusting the power factor and phase angle in response to the current grid state, optimizing the output parameters, and establishing a real-time adjustment strategy are as follows: Based on the optimized damping parameter configuration, a weighted average method is used to analyze the current power factor and phase angle requirements of the power grid, select an adjustment starting point, and generate a power adjustment benchmark; Based on the power adjustment benchmark, the output parameters of the virtual synchronous machine are adjusted to optimize the response and efficiency of the power grid, and the adjusted output parameters are obtained; The adjusted output parameters are used to monitor the adjustment effect in real time, evaluate the stability and efficiency of the power grid operation, continuously optimize based on feedback data, and establish a real-time adjustment strategy.

10. The virtual synchronous adaptive grid-connected control strategy according to claim 9, characterized in that: The weighted average method is based on the formula: recalculated power adjustment benchmarks according to optimized damping parameter configurations; in, is the power adjustment benchmark, is the balance factor, which is used to adjust the influence weight of power factor and phase angle. is the number of measurements, For all values ​​from 1 to The indicators are accumulated. For the The power factor measured is For the The corresponding damping response coefficient for the measurement is, is the adjustment coefficient of power factor change to phase angle change, For the The phase angle change from the last measurement to the current measurement. is the average value of the phase angle, is the adjustment coefficient, is the damping average value.

Citation Information

Patent Citations

  • Virtual synchronous generator control method and system for new energy power supply

    CN118174377A

  • Electric energy quality comprehensive evaluation method and system, computer equipment and storage medium

    CN118365202A

  • High-voltage isolation protection method and system

    CN118432000A

  • Method and system for energy storage system control based on grid-forming converter, storage medium, and device

    WO2024021206A1

  • Microgrid adaptive virtual synchronous control method and apparatus, medium, and device

    WO2024040781A1

Cited By

  • Intelligent management system of voltage monitoring operation and maintenance platform

    CN119362719A

  • Fault identification and network efficiency improvement method for intelligent micro-grid

    CN119814684A

  • Full-dimensional real-time monitoring stable operation linkage system of power system

    CN120074026A

  • Full-dimensional Real-time Monitoring and Stable Operation Linkage System for Power System

    CN120074026B

  • Energy storage power supply AI fast charging data analysis system of GaN integrated BMS

    CN121440870A