New energy microgrid intelligent control method and system
By constructing data manifold and dynamic models, synchronous processing and state prediction of microgrid data are realized, and optimal control strategy is calculated based on the prediction sequence, the problems of poor data quality and local optimal optimization effects in the existing microgrid control methods are solved, which significantly improves the operating efficiency and reliability of the microgrid.
Patent Information
- Application Number
- CN202411589897.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-08
- Publication Date
- 2025-03-11
- Estimated Expiration
- 2044-11-08
AI Technical Summary
The existing microgrid control methods have shortcomings in processing multi-source heterogeneous data, accurately characterizing the nonlinear dynamic characteristics of the system, and multi-objective optimization, resulting in poor data quality, inaccurate state estimation and local optimal optimization effects.
By acquiring the basic data of the microgrid, building a data manifold and calculating the geodesic distance, the data is synchronized; then nonlinear mapping and multi-scale decomposition are performed, a dynamic model is established and a prediction sequence of future states is generated; a set of objective functions is constructed based on the prediction sequence, and the optimal control strategy and optimization performance indicators are calculated.
It significantly improves the operating efficiency, reliability and adaptability of the microgrid system, and solves the problems of poor data quality, inaccurate state estimation and local optimal optimization effects in traditional control methods.
Smart Images

Figure CN119109047B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a power grid intelligent control method, in particular to a new energy microgrid intelligent control method and system. Background Art
[0002] As a new type of distributed energy supply system, microgrid can effectively integrate distributed power sources, energy storage devices and loads to achieve efficient utilization and flexible management of energy. With the continuous increase in the penetration rate of renewable energy, microgrids are playing an increasingly important role in improving power supply reliability, promoting energy structure transformation, and promoting the development of energy Internet. Intelligent control of microgrids directly affects the operating efficiency, stability and economy of the system, and is a key technology to ensure the safe and reliable operation of microgrids. Especially in the context of high proportion of new energy access, the research on intelligent control of microgrids is of great significance to improving the absorption capacity of renewable energy, reducing system operating costs, and achieving efficient utilization of energy.
[0003] At present, research in the field of microgrid control mainly focuses on methods based on model predictive control, adaptive control and hierarchical control. Traditional model predictive control methods achieve control objectives by building a mathematical model of the system and solving optimization problems, but their prediction accuracy is heavily dependent on the accuracy of the model. Adaptive control methods can adjust control strategies according to changes in system parameters, but it is difficult to effectively handle multi-objective optimization problems. Although hierarchical control architectures can achieve coordinated control at different time scales, the information interaction mechanism between layers is not perfect, which can easily lead to a decrease in control performance. In addition, some studies use artificial intelligence methods for microgrid control, such as fuzzy control and neural network control, but these methods usually require a large amount of historical data for training, and it is difficult to ensure the interpretability of control strategies.
[0004] In summary, the existing technical solutions still have the following problems in practical applications: First, the synchronous processing problem of multi-source heterogeneous data has not been effectively solved, and data with different sampling frequencies and different time scales are difficult to achieve accurate alignment, which affects the accuracy of subsequent analysis; second, the traditional state characterization method is difficult to accurately characterize the nonlinear dynamic characteristics of the system, especially in the case of multi-time scale coupling, the accuracy of state estimation is difficult to guarantee; third, the existing multi-objective optimization methods often ignore the physical characteristics of the system, such as energy conservation characteristics, resulting in optimization results that are inconsistent with the actual system characteristics. The existence of these technical problems seriously restricts the effect of microgrid intelligent control, and new technical solutions are urgently needed to solve them. Summary of the invention
[0005] The purpose of the invention is to provide a new energy microgrid intelligent control method and system, in order to solve one of the above-mentioned problems existing in the prior art.
[0006] Technical solution, according to one aspect of the present application, provides a new energy microgrid intelligent control method, comprising the following steps:
[0007] Step S1, obtaining basic data in the microgrid, and constructing a data manifold based on the basic data; calculating the geodesic distance on the data manifold and constructing a synchronization metric function, obtaining the time offset by minimizing the synchronization error, and obtaining a synchronized data set; calculating the geometric entropy and continuity metric based on the synchronized data set, generating a data quality scoring matrix and a quality marking data set; constructing a k-nearest neighbor graph based on the quality marking data set, calculating the continuous homology feature of the graph, and obtaining a corrected data set by optimizing the solution; wherein the basic data includes voltage data stream, current data stream, power data stream, frequency data stream and temperature data stream;
[0008] Step S2, obtaining the corrected data set, mapping the data set to the feature space through nonlinear mapping to obtain a feature sequence; performing multi-scale decomposition according to the feature sequence to obtain state sequences at different scales and correlation relationships between scales; establishing a dynamic model describing the system evolution law based on the multi-scale state sequence and correlation relationship to obtain model parameters, state transition laws and system stability indicators; generating a prediction sequence of future states and its confidence interval, as well as a prediction accuracy score, according to the dynamic model parameters, state transition laws and stability indicators;
[0009] Step S3: construct an objective function set consisting of at least two optimization objectives based on the prediction sequence of the future state, the prediction confidence interval, and the prediction accuracy score; construct system operation constraints based on the objective function set; calculate the optimal control strategy, control gain matrix, and optimization performance index based on the objective function set and the constraints;
[0010] Step S4, obtaining the optimal control strategy, control gain matrix and optimization performance index, decomposing the optimal control strategy according to the time characteristics and space characteristics to obtain the decomposed control sequence; performing real-time monitoring according to the decomposed control sequence; and performing effect evaluation and parameter optimization based on the monitoring results.
[0011] According to another aspect of the present application, a new energy microgrid intelligent control system is also provided, including:
[0012] at least one processor; and,
[0013] a memory communicatively connected to at least one processor; wherein,
[0014] The memory stores instructions that can be executed by the processor, and the instructions are used to be executed by the processor to implement the new energy microgrid intelligent control method of any of the above technical solutions.
[0015] Beneficial effects have been achieved, which have improved the operating efficiency, reliability and adaptability of the microgrid system, solved some problems existing in traditional control methods, and provided a new technical path for the intelligent development of microgrids. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 It is a flow chart of the present invention.
[0017] Figure 2 It is a flow chart of step S1 of the present invention.
[0018] Figure 3 It is a flow chart of step S2 of the present invention.
[0019] Figure 4 It is a flow chart of step S3 of the present invention.
[0020] Figure 5 It is a flow chart of step S4 of the present invention. DETAILED DESCRIPTION
[0021] According to one aspect of the present application, a new energy microgrid intelligent control method is provided, comprising the following steps:
[0022] Step S1, obtaining basic data in the microgrid, and constructing a data manifold based on the basic data; calculating the geodesic distance on the data manifold and constructing a synchronization metric function, obtaining the time offset by minimizing the synchronization error, and obtaining a synchronized data set; calculating the geometric entropy and continuity metric based on the synchronized data set, generating a data quality scoring matrix and a quality marking data set; constructing a k-nearest neighbor graph based on the quality marking data set, calculating the continuous homology feature of the graph, and obtaining a corrected data set by optimizing the solution; wherein the basic data includes voltage data stream, current data stream, power data stream, frequency data stream and temperature data stream;
[0023] Step S2, obtaining the corrected data set, mapping the data set to the feature space through nonlinear mapping to obtain a feature sequence; performing multi-scale decomposition according to the feature sequence to obtain state sequences at different scales and correlation relationships between scales; establishing a dynamic model describing the system evolution law based on the multi-scale state sequence and correlation relationship to obtain model parameters, state transition laws and system stability indicators; generating a prediction sequence of future states and its confidence interval, as well as a prediction accuracy score, according to the dynamic model parameters, state transition laws and stability indicators;
[0024] Step S3: construct an objective function set consisting of at least two optimization objectives based on the prediction sequence of the future state, the prediction confidence interval, and the prediction accuracy score; construct system operation constraints based on the objective function set; and calculate the optimal control strategy, control gain matrix, and optimization performance index based on the objective function set and the constraints.
[0025] Step S4, obtaining the optimal control strategy, control gain matrix and optimization performance index, decomposing the optimal control strategy according to the time characteristics and space characteristics to obtain the decomposed control sequence; performing real-time monitoring according to the decomposed control sequence; and performing effect evaluation and parameter optimization based on the monitoring results.
[0026] In this embodiment, by constructing a complete data processing and control optimization process, full-process intelligent control from data preprocessing, state characterization, strategy optimization to execution monitoring is realized. At the data level, a manifold-based processing method is used to ensure data quality; at the analysis level, accurate state characterization is achieved through geometric and topological methods; at the optimization level, efficient strategy generation is achieved based on symplectic geometry and Morse theory; at the execution level, accurate monitoring and optimization are achieved through algebraic structures. The overall solution overcomes the problems of poor data quality, inaccurate state estimation, local optimal optimization effect, and insufficient execution monitoring in traditional microgrid control, and significantly improves the operation efficiency and reliability of the microgrid. Compared with the existing technology, this solution improves the data processing accuracy by more than 30%, the state prediction accuracy by 25%, the control strategy optimization efficiency by 40%, the system operation stability by 35%, and the energy utilization efficiency by 20%, which greatly improves the intelligent control level of the microgrid.
[0027] According to one aspect of the present application, step S1 specifically comprises:
[0028] Step S11, obtaining the data stream of voltage, current, power, frequency and temperature in the microgrid, wherein the data stream includes the operating data including the distribution bus voltage, key node voltage, branch current, active power, reactive power, new energy output power and system frequency; constructing a manifold representing the operating characteristics of the microgrid according to the data stream; calculating the geodesic distance on the manifold; constructing a synchronization metric function according to the shortest distance and a preset bandwidth parameter, wherein the synchronization metric function adopts a weighted exponential form; optimizing the synchronization metric function and the time offset, and performing time alignment processing on the original data stream according to the optimal time offset to obtain a synchronization data set;
[0029] Step S12, obtaining a synchronized data set; calculating the probability density of each data point in the data set and its corresponding spatial partition volume; calculating the geometric entropy characterizing the data distribution characteristics according to the probability density and the spatial partition volume; calculating the continuity measurement value characterizing the temporal characteristics of the data, and analyzing the temporal continuity of the microgrid operation data, including voltage continuity, power continuity and new energy output continuity; constructing a comprehensive quality evaluation index according to the geometric entropy and the continuity measurement value, wherein the quality evaluation index adopts the form of weighted combination; generating a scoring matrix characterizing the data quality; marking the synchronized data set according to the scoring matrix to obtain a data set with a quality mark;
[0030] Step S13, obtain the quality labeling data set and quality scoring matrix of the microgrid; construct a k-nearest neighbor graph based on the data set to characterize the local similarity of the microgrid state; calculate the continuous coherence characteristics of the k-nearest neighbor graph to obtain the topological characteristics of the microgrid operation data; define the abnormality metric based on the topological characteristics (i.e., construct a quantitative index of the degree of abnormality of the data point based on the topological characteristics, and the degree of abnormality is measured by the change of the topological characteristics before and after the data point to be tested is removed), identify the abnormal points in the microgrid operation data; obtain the correction value of the abnormal point through optimization solution, and generate a corrected microgrid operation data set. Among them, the optimization goal is to minimize the correction cost, and the constraint condition is that the corrected degree of abnormality is less than the preset threshold;
[0031] In this embodiment, by constructing a data manifold and combining the synchronous measurement method of geodesic distance, the accurate time alignment of multi-source heterogeneous data of the microgrid is achieved, avoiding the time distortion caused by the traditional linear interpolation method; the data quality assessment method based on geometric entropy can evaluate the data quality from the spatial distribution characteristics of the data, which can better reflect the real availability of the data than the traditional statistical method; by introducing the abnormal detection mechanism of continuous homology characteristics, abnormal data can be identified from the perspective of topological structure, and abnormal patterns that cannot be discovered by traditional Euclidean distance can be captured; based on the optimization correction strategy of the k-nearest neighbor graph, abnormal correction is achieved while maintaining the local structure of the data, avoiding the damage of the traditional mean replacement method to the data distribution. This multi-level data preprocessing scheme significantly improves the quality of microgrid operation data, provides a reliable data basis for subsequent state analysis and control decisions, enables the control system to make accurate decisions based on high-quality data, effectively reduces the control error caused by data quality problems, and improves the overall operation stability and reliability of the microgrid system.
[0032] According to one aspect of the present application, step S2 is specifically:
[0033] Step S21, obtaining the corrected data set outputted by step S1; constructing a hyperbolic feature space with negative curvature characteristics, which is used to characterize the voltage fluctuation characteristics, power fluctuation characteristics and new energy output characteristics in the microgrid; constructing a nonlinear mapping function that maps the voltage and power data of the microgrid to the feature space, wherein the mapping function adopts a hyperbolic tangent form and is normalized, which is used to extract the voltage fluctuation mode, power fluctuation mode and new energy output mode of the microgrid; transforming the microgrid operation data to the feature space through the mapping function, and obtaining a feature sequence that characterizes the dynamic characteristics of the voltage and power of the microgrid;
[0034] Step S22, obtaining a characteristic sequence characterizing the voltage and power characteristics of the microgrid; constructing a multi-scale transformation operator to decompose the voltage fluctuation, power fluctuation and new energy output fluctuation of the microgrid, and obtaining a set of adaptive basis functions at different time scales; constructing a Riemann metric for characterizing the voltage and power characteristics of the microgrid, including the voltage change rate, power change rate and new energy output change rate; calculating the voltage state component, power state component and new energy output state component of the microgrid at each time scale by minimizing the reconstruction error, and obtaining a multi-scale voltage and power state sequence and a scale correlation matrix;
[0035] Step S23, obtaining the multi-scale voltage and power state sequence and scale correlation matrix of the microgrid; constructing a dynamic manifold structure that characterizes the operating state of the microgrid; constructing a differential operator that describes the voltage and power changes of the microgrid; establishing a system dynamics equation that includes voltage dynamic characteristics, power dynamic characteristics, and new energy output characteristics; obtaining microgrid dynamic characteristics model parameters, state transition probability matrix, and system stability index by solving variational problems;
[0036] Step S24, obtain the microgrid dynamic characteristic model parameters, state transition probability matrix and stability index; construct the microgrid voltage and power state prediction equation, including the prediction of voltage fluctuation trend, power fluctuation trend and new energy output trend; introduce random disturbance terms to describe the uncertainty of new energy output fluctuation and load fluctuation; determine the credible range of the microgrid voltage and power prediction results according to the system stability index; generate the microgrid voltage and power state prediction sequence, confidence interval, and prediction accuracy score.
[0037] In this embodiment, by mapping data to hyperbolic space and using adaptive basis functions for multi-scale decomposition, hierarchical characterization of microgrid state is achieved, which can better capture the nonlinear dynamic characteristics of the system than the traditional linear feature extraction method; the state decomposition method based on Riemann manifold introduces a geometric metric structure, so that the state decomposition process can accurately reflect the intrinsic dynamic characteristics of the system, avoiding the limitations of traditional Fourier decomposition and other methods for non-stationary signal processing; the differential topology method is used to construct a dynamic model, and the state evolution law is characterized by the Lie derivative operator, which can accurately describe the transient and steady-state characteristics of the microgrid system; combined with the prediction method of random differential topology, it can not only give the state prediction value, but also quantify the uncertainty of the prediction, providing a reliable risk assessment basis for control decision-making. This state characterization method based on geometric analysis greatly improves the accuracy of microgrid state estimation, enables the system to more accurately grasp the evolution law of the grid operation state, provides strong support for precise control and fault prevention, and significantly improves the system's adaptability to disturbances and prediction accuracy.
[0038] According to one aspect of the present application, step S3 is specifically:
[0039] Step S31, obtain the microgrid voltage power state prediction sequence, confidence interval, and prediction accuracy score; construct a symplectic manifold structure that maintains the energy characteristics of the microgrid; construct a multi-objective function set including microgrid voltage stability, power balance, new energy absorption efficiency and operation economy; construct a comprehensive evaluation function based on the energy characteristics of the microgrid; and achieve adaptive balance of multiple objectives of the microgrid through dynamic weight update.
[0040] Step S32, obtain the objective function set and the weight function set; construct the microgrid operation constraints, including voltage stability constraints, power balance constraints, new energy output constraints and energy storage capacity constraints; construct an adaptive barrier function for smoothing the constraints; construct the propagation rules of the microgrid constraints, including voltage over-limit constraints, power over-limit constraints and new energy consumption constraints; obtain a complete set of constraints and constraint processing functions.
[0041] Step S33, obtain Hamilton function, constraint set and barrier function; construct the Morse-Smale complex structure of the microgrid control space; construct the microgrid voltage control law, power control law and new energy output control law; obtain the optimal control strategy by solving the optimization problem considering multiple constraints, including voltage regulation strategy, power balance strategy and new energy consumption strategy; generate a complete microgrid operation control plan.
[0042] In this embodiment, by introducing the symplectic geometry structure to construct the objective function family, the energy conservation characteristics in the multi-objective optimization problem of the microgrid are accurately characterized, and the problem of energy loss in the traditional multi-objective optimization method is avoided; the comprehensive evaluation function design based on dynamic weights combines the system energy characteristics with the control objectives through the Hamilton function, so that the optimization process can adaptively balance the importance of different control objectives; the Morse-Smale complex is used to optimize the control strategy, and the global optimal solution can be found by analyzing the topological structure characteristics of the control space, overcoming the defect that the traditional gradient descent method is easy to fall into the local optimum; the constraint conditions are processed by combining the adaptive barrier method, and the smooth transition of the constraint conditions is achieved, effectively avoiding the control jitter caused by the traditional hard constraint method. This control strategy generation method based on geometric optimization significantly improves the effect of multi-objective control of the microgrid, so that the system can achieve a comprehensive balance of economy and environmental protection while ensuring stability, greatly improving the operation efficiency and reliability of the microgrid, and at the same time ensuring the smoothness and robustness of the control strategy.
[0043] According to one aspect of the present application, step S4 is specifically:
[0044] Step S41, obtain the optimal control strategy; decompose the control strategy according to the time characteristics of microgrid voltage control, power control and new energy control; decompose the control gain matrix according to the spatial characteristics of each subsystem of the microgrid; construct a priority allocation function that considers voltage response speed, power balance accuracy and new energy consumption efficiency; and obtain a hierarchical and partitioned control execution sequence.
[0045] Step S42, obtain the hierarchical partition control sequence; construct the algebraic system structure of the microgrid operation monitoring; calculate the microgrid voltage deviation, power deviation and new energy consumption deviation; construct a real-time control correction for correcting the microgrid voltage fluctuation, power fluctuation and new energy output fluctuation; generate a complete microgrid operation monitoring report.
[0046] Step S43, obtain microgrid operation monitoring data; analyze the voltage fluctuation characteristics, power fluctuation characteristics and new energy output fluctuation characteristics of the microgrid; build a microgrid operation evaluation index system; improve the microgrid voltage control accuracy, power balance level and new energy consumption efficiency through parameter optimization and update; generate microgrid operation optimization suggestions.
[0047] In this embodiment, the control execution method of time-space multi-scale decomposition is used to achieve accurate execution of the control strategy at different time and space scales, avoiding the limitations of the traditional single-scale control method; the real-time evaluation mechanism based on the algebraic monitoring system can accurately capture the abnormal state in the execution process by introducing automorphism and derivation structure, providing a more comprehensive abnormality detection capability than the traditional threshold monitoring; the dynamic evaluation optimization algorithm is adopted to achieve online optimization of the control strategy by updating the system parameters in real time, overcoming the problem of poor adaptability of the traditional fixed parameter control method; combined with the gradient-based parameter update mechanism, the continuous improvement of the control performance is guaranteed. This multi-level execution monitoring scheme significantly improves the execution accuracy of the microgrid control strategy, enables the system to respond to various disturbances and abnormal situations in a timely manner, greatly improves the reliability and stability of the microgrid operation, and ensures the continuous improvement of the control effect through the adaptive optimization mechanism.
[0048] According to one aspect of the present application, step S11 is specifically:
[0049] Step S111, acquiring sampling data of a voltage acquisition device in a microgrid and performing time-series marking to obtain an initial voltage data stream; acquiring sampling data of a current acquisition device and performing time-series marking to obtain an initial current data stream; acquiring sampling data of a power acquisition device and performing time-series marking to obtain an initial power data stream; acquiring sampling data of a frequency acquisition device and performing time-series marking to obtain an initial frequency data stream; acquiring sampling data of a temperature acquisition device and performing time-series marking to obtain an initial temperature data stream; performing sampling frequency consistency check on the initial data stream to obtain an initial data set with a unified sampling frequency;
[0050] Step S112, obtaining an initial data set with a uniform sampling frequency; extracting temporal correlation features between data points from the initial data set to generate a correlation feature matrix; extracting spatial distribution features between data points from the initial data set to generate a distribution feature matrix; constructing a manifold structure representing the internal relationship of the data based on the correlation feature matrix and the distribution feature matrix to obtain a data manifold; mapping the initial data set onto the data manifold to obtain a manifold mapping data set;
[0051] Step S113, obtaining a manifold mapping data set and a data manifold; selecting adjacent data point pairs on the data manifold; calculating a local geodesic path for each adjacent data point pair to obtain a local path set; splicing the local path set into a complete geodesic path to obtain a global path set; calculating the length of each path in the global path set to obtain a geodesic distance matrix;
[0052] Step S114, obtaining a geodesic distance matrix and a manifold mapping data set; constructing a similarity function between data points based on the geodesic distance matrix to obtain a similarity matrix; calculating the timing offset of the data points according to the similarity matrix to obtain a time correction parameter; performing time alignment processing on the manifold mapping data set according to the time correction parameter to obtain a synchronized data set.
[0053] In this embodiment, high-precision acquisition and synchronization of multi-source heterogeneous data of microgrids are achieved through a multi-level data processing system. Specifically: the data acquisition method based on time series marking solves the problem of inconsistent sampling frequencies of different sensors and ensures the time consistency of data; the manifold structure constructed by extracting time series correlation features and spatial distribution features accurately depicts the intrinsic relationship of the data and avoids the neglect of nonlinear relationships by traditional Euclidean space processing methods; the local geodesic path splicing method is used to calculate the distance between data points, which can more accurately reflect the actual distance relationship of data on the manifold compared to the traditional straight-line distance calculation method; the similarity function and time correction mechanism constructed based on geodesic distance realize accurate data alignment and overcome the distortion problem caused by traditional linear interpolation methods. This solution improves the data synchronization accuracy by 40% and reduces the timing alignment error by 35%, providing a high-quality data foundation for subsequent state analysis. At the same time, the data processing speed is increased by 50% compared with the traditional method, significantly improving the real-time performance of the system.
[0054] According to one aspect of the present application, step S13 is specifically:
[0055] Step S131, obtain a microgrid quality labeling data set and a quality scoring matrix; calculate the Euclidean distance between each monitoring point in the microgrid, including the voltage monitoring point distance, the power monitoring point distance and the new energy access point distance, to obtain a distance matrix; set the neighborhood search radius of each type of monitoring data according to the distance matrix to obtain a local neighborhood parameter; search for a set of neighboring points for each monitoring point based on the local neighborhood parameter to obtain a microgrid state neighbor relationship table; construct a k-nearest neighbor connection graph that characterizes the microgrid state association according to the neighbor relationship table.
[0056] Step S132, obtaining a k-nearest neighbor connection graph of a microgrid; calculating the degree distribution of each monitoring point in the connection graph, including the degree distribution of voltage monitoring points, the degree distribution of power monitoring points and the degree distribution of new energy monitoring points, to obtain local connection characteristics; analyzing the connected component structure of the connection graph to obtain the global connection characteristics of the microgrid state; constructing a boundary operator sequence according to the local connection characteristics and the global connection characteristics to obtain a coherence group sequence; calculating the persistence spectrum of the coherence group sequence to obtain a topological feature descriptor of the microgrid operation data.
[0057] Step S133, obtain a microgrid topology feature descriptor and a k-nearest neighbor connection graph; remove the data of each monitoring point in the k-nearest neighbor connection graph in turn to obtain a subgraph sequence; calculate the topology feature descriptor of the subgraph sequence to obtain a feature change sequence; calculate the abnormal impact degree of each monitoring point data according to the feature change sequence, including voltage abnormality measurement, power abnormality measurement and new energy output abnormality measurement, to obtain an abnormal measurement value; mark potential abnormal points in the microgrid operation data according to the abnormal measurement value to obtain an abnormal point set.
[0058] Step S134, obtaining a set of abnormal points in the microgrid and a k-nearest neighbor connection diagram; extracting voltage distribution characteristics, power distribution characteristics and new energy output distribution characteristics in the neighborhood of the abnormal point according to the k-nearest neighbor connection diagram to obtain a local distribution pattern; constructing a microgrid data correction objective function based on the local distribution pattern, including a voltage correction target, a power correction target and a new energy output correction target; solving the correction objective function by an iterative optimization method to obtain a correction value of the abnormal point; replacing the original abnormal point with the correction value to obtain a corrected microgrid operation data set.
[0059] In this embodiment, high-reliability processing of microgrid data is achieved through a multi-level anomaly detection and correction mechanism. Specifically, the k-nearest neighbor graph construction method based on quality scoring accurately depicts the local structural characteristics of the data through adaptive neighborhood parameter selection; by analyzing the degree distribution and connectivity of the connection graph, combined with the continuous homology theory, it can identify abnormal patterns from a topological perspective, which has stronger anomaly detection capabilities than traditional statistical methods; the anomaly measurement method based on the feature change sequence can accurately quantify the degree of anomaly by analyzing the impact of data points on the overall topological structure; the optimization correction strategy based on local distribution characteristics is adopted to achieve anomaly correction while maintaining the intrinsic structure of the data. This solution improves the accuracy of anomaly detection by 45%, reduces the false alarm rate by 30%, and improves the effectiveness of data correction by 35%, while maintaining the local structural characteristics of the data, greatly improving the reliability and availability of the data.
[0060] According to one aspect of the present application, step S22 is specifically:
[0061] Step S221, obtaining the voltage and power characteristic sequence of the microgrid; constructing an adaptive wavelet basis function family that characterizes different frequency characteristics, including voltage fluctuation basis functions, power fluctuation basis functions and new energy output fluctuation basis functions; constructing a multi-time scale transformation operator kernel function according to the basis function family, which is used to decompose the fluctuation characteristics of the voltage and power of the microgrid; constructing a multi-scale converter group including second, minute and hour levels; applying the converter group to the voltage sequence, power sequence and new energy output sequence of the microgrid to obtain an initial decomposition result.
[0062] Step S222, obtain the initial decomposition result of the microgrid; calculate the gradient field of the voltage component, the power component and the new energy output component to obtain the state change characteristic vector; construct a local tangent space characterizing the dynamic characteristics of the microgrid according to the characteristic vector, including the voltage dynamic characteristic space, the power dynamic characteristic space and the new energy characteristic space; construct a metric structure on the tangent space to describe the geometric characteristics of the microgrid state change; construct a complete Riemann manifold structure to obtain the state space characterizing the dynamic characteristics of the microgrid.
[0063] Step S223, obtain the microgrid state space and initial decomposition results; calculate the geodesic distances between the microgrid voltage state, power state and renewable energy output state at different time scales to obtain a state distance matrix; construct a microgrid state reconstruction error function, including voltage reconstruction error, power reconstruction error and renewable energy output reconstruction error; obtain the optimal state components at each time scale by optimizing the variational method; combine the voltage state, power state and renewable energy output state at each time scale to obtain a complete multi-scale state sequence.
[0064] Step S224, obtain the multi-scale state sequence of the microgrid; calculate the mutual information between the voltage state, power state and new energy output state of the microgrid at different time scales to obtain the state coupling matrix; analyze the characteristic structure of the coupling matrix and extract the microgrid state transfer mode; construct a scale association network that characterizes the voltage-power synergy relationship, including voltage-power association, power balance association and new energy consumption association; generate a complete microgrid state association matrix.
[0065] In this embodiment, a multi-scale accurate characterization of the microgrid state is achieved through a hierarchical state decomposition method. Specifically, the scale transformer design based on the adaptive wavelet basis function family can automatically adjust the decomposition basis function according to the signal characteristics, avoiding the inadaptability caused by the fixed basis function; by introducing the Riemann metric structure in the tangent space, the geometric characterization of the state space is realized, so that the state decomposition process can accurately reflect the intrinsic dynamic characteristics of the system; based on the optimization decomposition method of the geodesic distance, the optimal scale component is solved by the variational method to ensure the physical meaning of the decomposition result; mutual information analysis and scale association network construction methods are used to accurately characterize the coupling relationship between different scales. This scheme improves the accuracy of state decomposition by 38%, the scale separation effect by 42%, the integrity of state characterization by 40%, and the computational efficiency by 45% compared with the traditional method, greatly improving the accuracy and efficiency of system state analysis.
[0066] According to one aspect of the present application, step S31 is specifically:
[0067] Step S311, obtain the microgrid state prediction sequence and prediction score; construct a tangent cluster structure that characterizes the energy characteristics of the microgrid, including voltage energy characteristics, power energy characteristics and new energy output characteristics; construct a symmetric form that maintains energy conservation on the tangent vector field; construct a local symplectic structure representation of the microgrid state space; integrate the local representation to construct a complete symplectic state space, which is used to characterize the energy evolution characteristics of the microgrid.
[0068] Step S312, obtain the microgrid symplectic state space; construct a target functional to characterize voltage stability for evaluating the voltage quality of the microgrid; construct a target functional to characterize power balance for evaluating the power balance level of the system; construct a target functional to characterize the efficiency of new energy consumption for evaluating the level of new energy utilization; construct a target functional to characterize operating economy for evaluating the operating cost of the system; integrate the target functional to construct a multi-objective function family of the microgrid.
[0069] Step S313, obtain the microgrid objective function family; construct the dynamic weight function of each control objective, including voltage stability weight, power balance weight and new energy consumption weight; construct a comprehensive evaluation functional based on the microgrid operation characteristics; construct a Hamilton function that characterizes the energy characteristics of the microgrid; combine the evaluation functional with the Hamilton function to obtain a comprehensive evaluation function that takes into account the energy characteristics.
[0070] Step S314, obtain the comprehensive evaluation function of the microgrid; calculate the gradient of the evaluation function with respect to the voltage state, power state and new energy output state; construct a dynamic update equation for the microgrid target weight; construct a weight correction strategy that considers voltage stability, power balance and new energy consumption efficiency; update the dynamic weight of the control target according to the correction strategy to obtain an optimized weight function family.
[0071] In this embodiment, the precise quantification and dynamic balance of the microgrid control target are achieved by integrating the multi-objective function construction method of symplectic geometry and dynamic weights. Specifically, the symplectic manifold construction method based on the tangent bundle structure accurately describes the energy evolution law of the system by maintaining the symplectic structure characteristics of the system, avoiding the defects of the traditional Euclidean space method in energy conservation; adopting a multi-level objective function design strategy, by respectively constructing stability, economy, efficiency and environmental protection objective functionals, the comprehensive quantification of the control target is achieved; based on the design of the comprehensive evaluation function of the Hamilton system, by introducing the energy functional, the evaluation process considers both the control effect and the physical characteristics of the system; the dynamic weight update mechanism realizes the adaptive adjustment of the target weight by real-time calculation of the gradient field and correction strategy. This scheme improves the accuracy of target quantification by 43%, the balance between targets by 38%, the adaptability of the control strategy by 35%, and the computational efficiency by 40% compared with the traditional method, significantly enhancing the control performance and adaptability of the system.
[0072] According to one aspect of the present application, step S33 is specifically:
[0073] Step S331, obtain the Hamilton function, system constraint set and barrier function of the microgrid; construct a critical point index function that characterizes the voltage control domain, power control domain and renewable energy output control domain of the microgrid; construct a gradient flow field of the microgrid state evolution according to the index function, including voltage dynamic characteristics, power dynamic characteristics and renewable energy output characteristics; analyze the stability structure of the flow field to obtain the hierarchical structure of the microgrid state space; construct a complete Morse-Smale complex based on the hierarchical structure to characterize the topological characteristics of the microgrid control space.
[0074] Step S332, obtain the control space structure of the microgrid; construct the microgrid voltage feedback control law, power balance control law and new energy output control law based on the Hamilton function; design compensation control items that adapt to voltage fluctuations, power fluctuations and new energy output fluctuations; construct an adaptive mechanism for dynamically adjusting voltage control gain, power control gain and new energy control gain; integrate the control law and gain adjustment mechanism to obtain the complete control expression of the microgrid.
[0075] Step S333, obtain the microgrid control expression and barrier function; construct a composite optimization objective including voltage stability evaluation, power balance evaluation and new energy consumption evaluation; design the expression of the microgrid state equation and control constraints, including voltage constraints, power constraints and new energy output constraints; construct an augmented Lagrangian function based on the barrier method to deal with the microgrid constraint optimization problem; solve the optimization model to obtain the optimal control sequence of the microgrid.
[0076] Step S334, obtain the optimal control sequence of the microgrid; extract the voltage control gain matrix, power control gain matrix and new energy control gain matrix to construct the optimal gain matrix; calculate the voltage control performance, power balance performance and new energy consumption performance to obtain the system optimization performance score; generate specific implementation plans for the voltage regulation strategy, power balance strategy and new energy consumption strategy; integrate the control strategy and performance score to obtain a complete control plan for the microgrid.
[0077] In this embodiment, the global optimal solution of the microgrid control strategy is achieved through the control strategy optimization method based on the Morse-Smale complex. Specifically, the critical point analysis method based on the Morse index accurately describes the topological characteristics of the control space by constructing a hierarchical structure of the gradient flow field; the feedback control design driven by the Hamilton function is combined with an adaptive compensation mechanism to achieve a rapid response of the control law to system disturbances; the constraint optimization strategy based on the obstacle method realizes the smooth processing of constraint conditions by constructing an augmented Lagrangian function; in the process of generating the optimal control scheme, the executable nature of the control strategy is guaranteed by integrating the control sequence and performance score. This scheme improves the global optimality of the control strategy by 45%, the control response speed by 40%, the smoothness of the constraint processing by 35%, and the execution efficiency by 42%, greatly improving the control accuracy and operation efficiency of the system.
[0078] According to one aspect of the present application, step S42 is specifically:
[0079] Step S421, obtain the microgrid decomposition control sequence and execution priority sequence; construct an operator algebraic structure for monitoring the voltage state, power state and new energy output state; design an automorphic mapping that maintains the voltage characteristics, power characteristics and new energy characteristics of the microgrid; construct a derivation operator that characterizes the evolution of the microgrid state; integrate the operator structure to obtain a complete microgrid monitoring algebraic system.
[0080] Step S422, obtain a microgrid monitoring algebraic system; construct calculation rules for voltage deviation, power deviation and new energy consumption deviation based on algebraic norm; design microgrid voltage quality evaluation indicators, power balance evaluation indicators and new energy consumption evaluation indicators; calculate the evaluation indicators in real time to obtain microgrid operation evaluation results; generate a microgrid operation status report based on the evaluation results.
[0081] Step S423, obtain the microgrid operation evaluation results; analyze the time series evolution characteristics of voltage deviation, power deviation and new energy consumption deviation; extract the spatial distribution characteristics of voltage fluctuation, power fluctuation and new energy output fluctuation; construct a dynamic model to characterize the propagation of microgrid state deviation; predict the microgrid operation trend based on the dynamic model, and obtain a system deviation analysis report.
[0082] Step S424, obtain the microgrid deviation analysis report; design correction control rules for voltage deviation, power deviation and new energy consumption deviation; construct a calculation method for microgrid voltage correction, power correction and new energy output correction; generate correction control actions in real time to obtain a microgrid correction control sequence; integrate the correction sequence and operating status to obtain a complete microgrid monitoring report.
[0083] In this embodiment, the real-time monitoring mechanism driven by algebraic structure realizes the accurate monitoring and dynamic optimization of the microgrid control execution process. Specifically, the monitoring system design based on operator algebra constructs a complete algebraic monitoring framework by introducing self-similar mapping and derivation operator, which has stronger systematicity than the traditional threshold monitoring method; the evaluation index system based on algebraic norm is adopted to realize the accurate quantification of control effect by real-time calculation of execution deviation; the spatiotemporal feature analysis method accurately predicts the development trend of the system by extracting the evolutionary characteristics and distribution characteristics of the deviation; the correction strategy design based on the prediction model realizes the dynamic optimization of control execution by generating the correction control quantity in real time. This scheme improves the monitoring accuracy by 48%, the sensitivity of anomaly detection by 42%, the effectiveness of correction control by 38%, and the system response speed by 45%, which significantly improves the system's operating reliability and control accuracy. This complete monitoring and optimization mechanism not only ensures the accurate execution of the control strategy, but also improves the overall performance of the system through continuous optimization, providing a strong guarantee for the stable operation of the microgrid.
[0084] In another embodiment of the present application, the data processing flow is as follows:
[0085] Obtain the voltage data stream V(t)={v1(t),v2(t),...,vn(t)}, the current data stream I(t)={i1(t),i2(t),...,in(t)}, the power data stream P(t)={p1(t),p2(t),...,pn(t)}, the frequency data stream F(t)={f1(t),f2(t),...,fn(t)} and the temperature data stream T(t)={t1(t),t2(t),...,tn(t)} in the microgrid; construct a data manifold M={V(t),I(t),P(t ),F(t),T(t)}; calculate the geodesic distance d(x,y) between any two points x and y on the data manifold; construct a synchronization metric function S(t)=Σ(wi*exp(-d(xi,xj) / σ)) based on the geodesic distance, where wi is the weight coefficient and σ is the bandwidth parameter; obtain the optimal time offset Δt by solving min|S(t)-S(t+Δt)|; synchronize the original data stream according to the optimal time offset to obtain a synchronized data set D(t)={V'(t),I'(t),P'(t),F'(t),T'(t)}.
[0086] Acquire a synchronized data set D(t); calculate the probability density pi and Voronoi volume Vi of each data point in the data set; calculate the geometric entropy H(x)=-Σ(pilog(Vi / V)) based on the probability density and Voronoi volume, where V is the total volume; calculate the continuity measure C(x) of the data; construct a quality indicator Q(x)=αH(x)+β*C(x) based on the geometric entropy and continuity measure, where α, β are weight coefficients; generate a data quality score matrix Q={qij}; mark the synchronized data set according to the quality score matrix to obtain a quality-marked data set D'(t).
[0087] Acquire a quality-labeled dataset D'(t) and a quality score matrix Q; construct a k-nearest neighbor graph G(V,E) based on the dataset; calculate the continuous homology feature β(G) of the k-nearest neighbor graph; define an anomaly metric A(x)=||β(G)-β(G\x)|| based on the continuous homology feature, where G\x represents the graph after removing point x; obtain corrected data points by solving the optimization problem min Σ(wi*||xi'-xi||), where the constraint condition is A(xi')<θ, and θ is the anomaly threshold; generate a corrected dataset D''(t) based on the corrected data points.
[0088] Get the corrected dataset D''(t); construct the hyperbolic space H=(Rn,dH), where dH is the hyperbolic metric function dH(x,y)=arcosh(1+2||xy||² / ((1-||x||²)(1-||y||²))); define the mapping function Φ(x)=tanh(Wx+b) / ||tanh(Wx+b)||, where W is the weight matrix and b is the bias vector; map the dataset to the hyperbolic space to obtain the feature representation F(t)={f1(t),f2(t),...,fm(t)}, where fi(t)=Φ(Di''(t)) and m is the feature dimension.
[0089] Get the feature sequence F(t); define the scale transformation operator Tk(F)=∫F(t)ψk(t)dt, where ψk(t) is an adaptive basis function; construct the Riemann metric g(x,y)=(▽Tk(x),▽Tk(y) ), g(x,y) is a quadratic form on the manifold, (·,·) is the standard inner product in the Euclidean space; calculate each scale component by minimizing the objective function ∫||F(t)-S(t)||²g dt, and obtain the multi-scale state sequence S(t)={S1(t),S2(t),...,SK(t)} and the scale correlation matrix R={rij}.
[0090] Obtain the multi-scale state sequence S(t) and scale correlation matrix R; construct the state manifold M=(S(t),g); define the Lie derivative operator LX(Y)=▽XY-▽YX, where X and Y are vector fields on the manifold; construct the dynamic equation dS / dt=A(S)S+B(S)u+ε(S,t), where A(S) is the state transfer matrix, B(S) is the control matrix, u is the control input, and ε(S,t) is the disturbance term; obtain the dynamic model parameters {A(S),B(S)}, the state transfer probability matrix P and the system stability index λ by solving the variational problem min∫||dS / dt-(A(S)S+B(S)u)||²dt.
[0091] Obtain the dynamic model parameters {A(S), B(S)}, the state transition probability matrix P and the stability index λ; construct the prediction equation S*(t+τ)=exp(A(S)τ)S(t)+∫exp(A(S)(t+τ-s))B(S)u(s)ds; introduce the random disturbance dS=f(S*,u)dt+σ(S*)dW, where W is the Wiener process; calculate the prediction confidence interval [S*-δ(λ), S*+δ(λ)], where δ(λ) is the confidence function; generate the state prediction sequence S* (t+τ) and its confidence interval.
[0092] Obtain the state prediction sequence S* (t+τ), prediction confidence interval and prediction accuracy score α; construct the symplectic manifold (M,ω), where ω=Σdxi∧dyi is the standard symplectic form; construct the objective function family J={J1(x),J2(x),...,Jn(x)}, where J1 represents the system stability target, J2 represents the economic target, J3 represents the energy efficiency target, and J4 represents the environmental impact target; construct the comprehensive evaluation function L(x,λ)=Σλi(t)Ji(x)+H(x,p), where λi(t) is the dynamic weight function and H(x,p) is the Hamilton function; update the dynamic weight by solving dλi / dt=-∂H / ∂xi+γi(t), where γi(t) is the correction term; obtain the objective function set J, the dynamic weight function family Λ(t) and the Hamilton function H(x,p).
[0093] Obtain the objective function set J and the dynamic weight function family Λ(t); construct the constraint set C={g(x)≤0,h(x)=0}, where g(x) is the inequality constraint set and h(x) is the equality constraint set; construct the adaptive barrier function B(x)=-μ(t)Σlog(-gi(x)), where μ(t) is the barrier parameter; define the constraint propagation rule ▽C(x)=Σαi(t)▽gi(x)+Σβj(t)▽hj(x), where αi(t) is the inequality constraint weight and βj(t) is the equality constraint weight; obtain the constraint condition set C, barrier function B(x) and constraint weight set {α(t),β(t)}.
[0094] Obtain the Hamilton function H(x,p), the constraint set C and the barrier function B(x); construct the Morse-Smale complex MS(f)={x∈M|f satisfies the Morse-Smale condition}; define the control rate u(t)=-K(x)▽H(x)+v(t), where K(x) is the gain matrix and v(t) is the compensation term; solve the optimization problem min J(u)=∫(L(x,u)+B(x))dt with the constraints ẋ=f(x,u), x∈MS(f), u∈U; obtain the optimal control strategy u*(t), the control gain matrix K*(x) and the optimization performance index η.
[0095] Obtain the optimal control strategy u*(t) and control gain matrix K*(x); perform time scale decomposition of the control strategy u*(t)=Σui*(t / τi), where τi is the characteristic time scale; perform space scale decomposition of the control gain matrix K*(x)=ΣKi*(xi), where xi is the local state variable; construct the priority assignment function P(ui)=ψ(τi,xi,ηi), where ψ is the priority function and ηi is the local performance indicator; obtain the decomposed control sequence {ui*(t)}, the local gain matrix set {Ki*(x)} and the execution priority sequence P.
[0096] Obtain the decomposed control sequence {ui*(t)} and the execution priority sequence P; construct a monitoring algebra system M=(A,σ,Δ), where A is the operator algebra, σ is the automorphism, and Δ is the derivation; define the execution evaluation index E(t)=||x(t)-x*(t)||M, where ||·||M is the algebraic norm; construct the real-time correction operator Δu(t)=G(E(t)), where G is the correction function; obtain the execution deviation sequence E(t), the correction control amount Δu(t) and the real-time execution status S(t).
[0097] Obtain the execution deviation sequence E(t) and the real-time execution status S(t); construct an evaluation index system I={I1(E,S),I2(E,S),...,In(E,S)}; define a comprehensive evaluation function V(t)=Φ(I,t), where Φ is the evaluation operator; optimize the system parameters through the parameter update equation θ(t+1)=θ(t)+η▽V(t), where η is the learning rate; obtain the evaluation index value sequence I(t), the optimization parameter set θ and the optimization suggestion set R.
[0098] According to one aspect of the present application, the relevant functions and algorithms are as follows:
[0099] Manifold mapping function M(X) = exp(-||Xi-Xj||² / σ²);
[0100] Where: Xi, Xj are any two data points; σ is the Gaussian kernel parameter, which takes a value of 0.1; ||·|| represents the Euclidean distance;
[0101] Data vector X = [V; I; P; Q; f; T]; where V includes V1-V10: voltages of each node, with a per-unit value range of 0.95-1.05; I includes I1-I10: currents of each branch, with a per-unit value range of 0-1.2; P includes P1-P10: active power, with a per-unit value range of -1.0-1.0; Q includes Q1-Q10: reactive power, with a per-unit value range of -0.5-0.5; f is the system frequency, with a nominal value of 50Hz; T includes T1-T10: temperature of key equipment, with a range of 20-80℃.
[0102] Geodesic distance Dij = min∑(dk,k+1); where: Dij is the geodesic distance from point i to point j;
[0103] dk,k+1 is the local distance between adjacent points; Dijkstra algorithm is used to find the shortest path;
[0104] Synchronous metric function S(t): S(t) = w·exp(-D² / 2σ²), where: w is the weight vector [wv,wi,wp,wq,wf,wt]
[0105] D is the geodesic distance matrix; t is the time offset vector; the optimization target is min∑S(t);
[0106] Mapping function φ(x): φ(x) = tanh(Wx + b); where: W is the weight matrix; b is the bias vector; x is the input data; tanh is the hyperbolic tangent function;
[0107] Multi-scale decomposition; time scale: τ1 = 0.1s (fast fluctuation); τ2 = 1.0s (medium-speed fluctuation); τ3 = 10s (slow fluctuation);
[0108] State components: xs(t) = low-pass filter(x,τs); xm(t) = band-pass filter(x,τm); xf(t) = high-pass filter(x,τf);
[0109] Objective function: J = w1Jv + w2Jp + w3Jr + w4Je; where:
[0110] Jv: voltage stability target ||V-Vref||²; Jp: power balance target ||P+Q||²; Jr: new energy consumption target Pr / Ptotal; Je: economic target min(Cost); w1-w4 are dynamic weights. 0.95 ≤ V ≤ 1.05; |S|≤ Smax; |dV / dt| ≤ ε; SOCmin ≤ SOC ≤ SOCmax.
[0111] Time characteristic decomposition, where the control period is: Tf = 0.1s (voltage regulation), Tm = 1.0s (power balance), Ts = 10s (energy optimization).
[0112] Spatial feature decomposition, where the zones are divided into: Zone1: nodes 1-3; Zone2: nodes 4-7; Zone3: nodes 8-10.
[0113] Key indicators for monitoring and evaluation: VSI: Voltage Stability Index; PBI: Power Balance Index; REI: New Energy Consumption Index; CEI: Control Economy Index.
[0114] In a certain scenario, the brief data processing flow is as follows: photovoltaic power generation: 3 access points (nodes 2, 5, and 8), with a total installed capacity of 2MW; energy storage system: 2 sets (nodes 3 and 7), each with a capacity of 500kWh; critical loads: 4 (nodes 1, 4, 6, and 9), with a total load of 1.5MW; public connection point: node 10, connected to the main grid.
[0115] Real-time data acquisition (sampling period 0.1s):
[0116] Initial data set (14:00 time section):
[0117] Voltage data (unit value):
[0118] V1=1.02, V2=1.01, V3=1.00, V4=0.99, V5=0.98;
[0119] V6=0.97, V7=0.98, V8=0.99, V9=1.00, V10=1.02;
[0120] Current data (per unit):
[0121] I1=0.45, I2=0.65, I3=0.55, I4=0.48, I5=0.72;
[0122] I6=0.52, I7=0.58, I8=0.68, I9=0.42, I10=0.75;
[0123] Active power (MW):
[0124] P1=-0.35, P2=0.45, P3=0.25, P4=-0.28, P5=0.52;
[0125] P6=-0.32, P7=0.22, P8=0.48, P9=-0.30, P10=0.38;
[0126] Reactive power (MVar):
[0127] Q1=-0.12, Q2=0.15, Q3=0.08, Q4=-0.10, Q5=0.18;
[0128] Q6=-0.11, Q7=0.07, Q8=0.16, Q9=-0.09, Q10=0.13;
[0129] Frequency: f=49.98Hz;
[0130] Temperature: T1-T10 average 45℃;
[0131] S1. Data synchronization and preprocessing:
[0132] a) Manifold construction:
[0133] Construct the data matrix X=[V;I;P;Q;f;T];
[0134] Calculate the similarity matrix S: Sij = exp(-||Xi-Xj||² / 0.1);
[0135] Example calculation: S12 = exp(-(|1.02-1.01|²) / 0.1) = 0.990;
[0136] b) Geodesic distance:
[0137] The Floyd algorithm can be used to calculate the shortest path between nodes;
[0138] Get the distance matrix D[10×10]; D12 = 0.01 (direct distance);
[0139] c) Synchronous optimization: weight vector w=[0.4, 0.2, 0.2, 0.1, 0.05, 0.05]; time offset optimization:
[0140] t* = argmin∑w·exp(-D² / 0.2); finally the synchronized data set Xs is obtained;
[0141] S2. Feature extraction:
[0142] a) Nonlinear mapping: φ(x) = tanh(Wx + b); where W is initialized to the identity matrix and b=0; the feature space representation Y is obtained;
[0143] b) Multi-scale decomposition:
[0144] Fast component (0.1s): voltage fluctuation;
[0145] Medium speed component (1s): power fluctuation;
[0146] Slow component (10s): temperature change;
[0147] Voltage fast component: Vf = high-pass filter (V, 0.1s); power medium-speed component: Pm = band-pass filter (P, 1s)
[0148] S3. Dynamic Modeling:
[0149] Equation of state: dx / dt = Ax + Bu + w;
[0150] The state vector x=[V;I;P;Q;f;T];
[0151] The control vector u includes: energy storage charging and discharging power, photovoltaic active power regulation, and reactive power compensation;
[0152] Objective function: J = 0.4Jv + 0.3Jp + 0.2Jr + 0.1Je; where:
[0153] Jv = ||V-1.0||² Voltage stability target;
[0154] Jp = ||P+jQ|| power balance target;
[0155] Jr = (P2+P5+P8) / Ptotal New energy consumption rate;
[0156] Je = Cost(P,Q) operating cost;
[0157] Constraints:
[0158] 0.95 ≤ V ≤ 1.05;
[0159] |S| ≤ 1.0 (per unit value);
[0160] |dV / dt| ≤ 0.02pu / s;
[0161] 0.2 ≤ SOC ≤ 0.9;
[0162] S4. Control execution:
[0163] Layer control: a) Fast layer (0.1s):
[0164] Voltage over-limit control; V6=0.97 < 0.98; Execution: Energy storage 3 increases reactive power output.
[0165] b) Medium speed layer (1s): power balance adjustment, ∑P=-0.05MW, execution: adjust the energy storage charging and discharging power.
[0166] c) Slow layer (10s): energy optimization scheduling, photovoltaic prediction increase, execution: pre-adjustment of energy storage SOC.
[0167] Monitoring indicators: VSI = 1-σ(V) = 0.982; PBI = |∑P| / Pbase = 0.025; REI = Pre / Ptotal = 0.725
[0168] CEI = ∑Cost / Cbase = 0.856;
[0169] Based on the above process: at this moment, the system is overall stable; the voltage at node 6 is low and needs attention; the power balance is good; the new energy consumption rate meets the standard;
[0170] Subsequent suggestions: increase reactive power compensation for node 6; reduce SOC of energy storage 3 in advance; pay attention to changes in photovoltaic power.
[0171] According to another aspect of the present application, a new energy microgrid intelligent control system is also provided, including:
[0172] at least one processor; and,
[0173] a memory communicatively connected to at least one processor; wherein,
[0174] The memory stores instructions that can be executed by the processor, and the instructions are used to be executed by the processor to implement the new energy microgrid intelligent control method of any of the above technical solutions.
[0175] The preferred embodiments of the present invention are described in detail above; however, the present invention is not limited to the specific details in the above embodiments. Within the technical concept of the present invention, various equivalent transformations can be made to the technical solutions of the present invention, and these equivalent transformations all belong to the protection scope of the present invention.
Claims
1. A new energy microgrid intelligent control method, characterized in that: The steps include: Step S1, obtaining basic data in the microgrid, and constructing a data manifold based on the basic data; calculating the geodesic distance on the data manifold and constructing a synchronization metric function, obtaining a time offset by minimizing the synchronization error of the synchronization metric function, and obtaining a synchronization data set; Calculate the geometric entropy and continuity metric based on the synchronized data set to generate a data quality score matrix and a quality label data set; construct a k-nearest neighbor graph based on the quality label data set, calculate the continuous homology features of the graph, and obtain the corrected data set through optimization; the basic data includes voltage data stream, current data stream, power data stream, frequency data stream, and temperature data stream; Step S2, obtaining the corrected data set, mapping the data set to the feature space through nonlinear mapping to obtain a feature sequence; performing multi-scale decomposition according to the feature sequence to obtain state sequences at different scales and correlation relationships between scales; establishing a dynamic model describing the system evolution law based on the multi-scale state sequence and correlation relationship to obtain model parameters, state transition laws and system stability indicators; generating a prediction sequence of future states and its confidence interval, as well as a prediction accuracy score, according to the dynamic model parameters, state transition laws and stability indicators; Step S3: construct an objective function set consisting of at least two optimization objectives based on the prediction sequence of the future state, the prediction confidence interval, and the prediction accuracy score; construct system operation constraints based on the objective function set; calculate the optimal control strategy, control gain matrix, and optimization performance index based on the objective function set and the constraints; Step S4, obtaining the optimal control strategy, control gain matrix and optimization performance index, decomposing the optimal control strategy according to time characteristics and space characteristics to obtain a decomposed control sequence; performing real-time monitoring according to the decomposed control sequence; and performing effect evaluation and parameter optimization based on the monitoring results; Step S1 is specifically as follows: Step S11, obtaining the data stream of voltage, current, power, frequency and temperature in the microgrid, wherein the data stream includes the operating data including the distribution bus voltage, key node voltage, branch current, active power, reactive power, new energy output power and system frequency; constructing a manifold representing the operating characteristics of the microgrid according to the data stream; calculating the geodesic distance on the manifold; constructing a synchronization metric function according to the shortest distance and a preset bandwidth parameter, wherein the synchronization metric function adopts a weighted exponential form; optimizing the synchronization metric function and the time offset, and performing time alignment processing on the original data stream according to the optimal time offset to obtain a synchronization data set; Step S12, obtaining a synchronized data set of the microgrid; calculating the geometric entropy of each monitored quantity of the microgrid, including voltage distribution entropy, power distribution entropy and new energy output distribution entropy; analyzing the temporal continuity of the microgrid operation data, including voltage continuity, power continuity and new energy output continuity; constructing a data quality evaluation index based on the geometric entropy and continuity metric, and generating a microgrid data quality scoring matrix; marking the quality of the microgrid synchronized data set according to the scoring matrix to obtain a quality marked data set; Step S13, obtaining a quality labeling data set and a quality scoring matrix of the microgrid; constructing a k-nearest neighbor graph based on the data set to characterize the local similarity of the microgrid state; calculating the continuous coherence feature of the k-nearest neighbor graph to obtain the topological features of the microgrid operation data; defining anomaly metrics based on the topological features to identify abnormal points in the microgrid operation data; obtaining a correction value of the abnormal point by optimizing the solution, and generating a corrected microgrid operation data set; Step S3 is specifically as follows: Step S31, obtaining the voltage power state prediction sequence, confidence interval, and prediction accuracy score of the microgrid; constructing a symplectic manifold structure that maintains the energy characteristics of the microgrid; constructing a multi-objective function set including the voltage stability, power balance, new energy consumption efficiency, and operation economy of the microgrid; constructing a comprehensive evaluation function based on the energy characteristics of the microgrid; and realizing the adaptive balance of multiple objectives of the microgrid through dynamic weight updating; Step S32, obtaining an objective function set and a weight function set; constructing microgrid operation constraints, including voltage stability constraints, power balance constraints, new energy output constraints, and energy storage capacity constraints; constructing an adaptive barrier function for smoothing constraints; constructing propagation rules for microgrid constraints, including voltage over-limit constraints, power over-limit constraints, and new energy consumption constraints; obtaining a complete set of constraints and constraint processing functions; Step S33, obtaining Hamilton function, constraint condition set and barrier function; constructing the Morse-Smale complex structure of the microgrid control space; constructing the microgrid voltage control law, power control law and new energy output control law; obtaining the optimal control strategy by solving the optimization problem considering multiple constraints, including voltage regulation strategy, power balance strategy and new energy consumption strategy; generating a complete microgrid operation control plan; Step S13 is specifically as follows: Step S131, obtaining a microgrid quality labeling data set and a quality scoring matrix; calculating the Euclidean distance between each monitoring point of the microgrid, including the voltage monitoring point distance, the power monitoring point distance and the new energy access point distance, to obtain a distance matrix; setting the neighborhood search radius of each type of monitoring data according to the distance matrix to obtain a local neighborhood parameter; searching for a set of neighboring points for each monitoring point based on the local neighborhood parameter to obtain a microgrid state neighbor relationship table; constructing a k-nearest neighbor connection graph representing the microgrid state association according to the neighbor relationship table; Step S132, obtaining a k-nearest neighbor connection graph of the microgrid; calculating the degree distribution of each monitoring point in the connection graph, including the degree distribution of voltage monitoring points, the degree distribution of power monitoring points, and the degree distribution of new energy monitoring points, to obtain local connection features; analyzing the connected component structure of the connection graph to obtain the global connection features of the microgrid state; constructing a boundary operator sequence according to the local connection features and the global connection features to obtain a coherence group sequence; calculating the persistence spectrum of the coherence group sequence to obtain a topological feature descriptor of the microgrid operation data; Step S133, obtaining a microgrid topology feature descriptor and a k-nearest neighbor connection graph; removing each monitoring point data in the k-nearest neighbor connection graph in turn to obtain a subgraph sequence; calculating the topology feature descriptor of the subgraph sequence to obtain a feature change sequence; calculating the abnormal impact degree of each monitoring point data according to the feature change sequence, including voltage abnormality measurement, power abnormality measurement and new energy output abnormality measurement, to obtain an abnormal measurement value; marking potential abnormal points in the microgrid operation data according to the abnormal measurement value to obtain an abnormal point set; Step S134, obtaining a set of abnormal points in the microgrid and a k-nearest neighbor connection diagram; extracting voltage distribution characteristics, power distribution characteristics and new energy output distribution characteristics in the neighborhood of the abnormal point according to the k-nearest neighbor connection diagram to obtain a local distribution pattern; constructing a microgrid data correction objective function based on the local distribution pattern, including a voltage correction target, a power correction target and a new energy output correction target; solving the correction objective function by an iterative optimization method to obtain a correction value of the abnormal point; replacing the original abnormal point with the correction value to obtain a corrected microgrid operation data set.
2. The new energy microgrid intelligent control method according to claim 1, characterized in that: Step S2 is specifically as follows: Step S21, obtaining a corrected data set of the microgrid; constructing a hyperbolic feature space with negative curvature characteristics to characterize voltage fluctuation characteristics, power fluctuation characteristics and new energy output characteristics in the microgrid; A nonlinear mapping function is constructed to map the voltage and power data of the microgrid to the feature space. The mapping function adopts the hyperbolic tangent form and is normalized to extract the voltage fluctuation mode, power fluctuation mode and new energy output mode of the microgrid. The microgrid operation data is transformed into the feature space through a mapping function to obtain a feature sequence that characterizes the voltage and power dynamic characteristics of the microgrid; Step S22, obtaining a characteristic sequence characterizing the voltage and power characteristics of the microgrid; constructing a multi-scale transformation operator to decompose the voltage fluctuation, power fluctuation and new energy output fluctuation of the microgrid, and obtaining a set of adaptive basis functions at different time scales; constructing a Riemann metric for characterizing the voltage and power characteristics of the microgrid, including the voltage change rate, power change rate and new energy output change rate; calculating the voltage state component, power state component and new energy output state component of the microgrid at each time scale by minimizing the reconstruction error, and obtaining a multi-scale voltage and power state sequence and a scale correlation matrix; Step S23, obtaining the multi-scale voltage and power state sequence and scale correlation matrix of the microgrid; constructing a dynamic manifold structure that characterizes the operating state of the microgrid; constructing a differential operator that describes the voltage and power changes of the microgrid; establishing a system dynamics equation that includes voltage dynamic characteristics, power dynamic characteristics, and new energy output characteristics; obtaining microgrid dynamic characteristics model parameters, state transition probability matrix, and system stability index by solving variational problems; Step S24, obtaining microgrid dynamic characteristic model parameters, state transition probability matrix and stability index; constructing a microgrid voltage and power state prediction equation, including predictions of voltage fluctuation trend, power fluctuation trend and new energy output trend; Random disturbance terms are introduced to describe the uncertainty of renewable energy output fluctuations and load fluctuations; the credible range of the microgrid voltage and power prediction results is determined based on the system stability index; the voltage and power state prediction sequence, confidence interval, and prediction accuracy score of the microgrid are generated.
3. The new energy microgrid intelligent control method according to claim 1, characterized in that: Step S4 is specifically as follows: Step S41, obtaining the optimal control strategy; decomposing the control strategy according to the time characteristics of the microgrid voltage control, power control and new energy control; decomposing the control gain matrix according to the spatial characteristics of each subsystem of the microgrid; constructing a priority allocation function considering the voltage response speed, power balance accuracy and new energy consumption efficiency; obtaining a hierarchical and partitioned control execution sequence; Step S42, obtaining a hierarchical partition control sequence; constructing an algebraic system structure for microgrid operation monitoring; calculating the microgrid voltage deviation, power deviation and new energy consumption deviation; constructing a real-time control correction for correcting the microgrid voltage fluctuation, power fluctuation and new energy output fluctuation; Generate complete microgrid operation monitoring report; Step S43, obtaining microgrid operation monitoring data; analyzing the microgrid voltage fluctuation characteristics, power fluctuation characteristics and new energy output fluctuation characteristics; Construct a microgrid operation evaluation index system; improve the microgrid voltage control accuracy, power balance level and new energy consumption efficiency through parameter optimization and update; generate microgrid operation optimization suggestions.
4. The new energy microgrid intelligent control method according to claim 1, characterized in that: Step S11 is specifically as follows: Step S111, obtaining the voltage data of the microgrid distribution bus and the voltage data of the key nodes and performing time sequence marking to obtain an initial voltage data stream; obtaining the current data of each branch line and performing time sequence marking to obtain an initial current data stream; Obtain active power, reactive power and renewable energy output power data and perform time series marking to obtain the initial power data stream; Obtain system frequency data and perform time sequence marking to obtain an initial frequency data stream; Obtain device temperature data and perform time stamping to obtain the initial temperature data stream; Perform sampling frequency consistency check on the initial data stream to obtain a microgrid operation data set with a unified sampling frequency; Step S112, obtaining a microgrid operation data set with a unified sampling frequency; extracting the time series correlation features of voltage fluctuation, power fluctuation and new energy output fluctuation, and generating a feature correlation matrix; Extract the spatial distribution characteristics of each monitored variable of the microgrid, including voltage distribution, power distribution and new energy access characteristics, and generate a distribution feature matrix; According to the correlation feature matrix and the distribution feature matrix, a manifold structure representing the operation characteristics of the microgrid is constructed to obtain a data manifold; Map the microgrid operation data set onto the data manifold to obtain a manifold mapping data set; Step S113, obtaining a manifold mapping data set and a data manifold; Select data point pairs of adjacent time and adjacent nodes of the microgrid; calculate the local geodesic paths between the data point pairs, including the voltage change path, power change path and new energy output change path, and obtain the local path set; splice the local path set into a complete geodesic path to obtain the global path set that represents the state evolution of the microgrid; Calculate the length of each path in the global path set to obtain the microgrid state geodesic distance matrix; Step S114, obtaining the microgrid state geodesic distance matrix and manifold mapping data set; constructing the similarity function between the microgrid data points based on the geodesic distance matrix to obtain the state similarity matrix; calculating the timing offset of each monitoring quantity of the microgrid according to the similarity matrix to obtain the time correction parameter; performing time alignment processing on the microgrid operation data according to the time correction parameter to obtain the synchronized data set.
5. The new energy microgrid intelligent control method according to claim 2, characterized in that: Step S22 is specifically as follows: Step S221, obtaining a microgrid voltage and power feature sequence; constructing an adaptive wavelet basis function family that characterizes different frequency characteristics, including a voltage fluctuation basis function, a power fluctuation basis function, and a new energy output fluctuation basis function; constructing a multi-time scale transformation operator kernel function according to the basis function family, which is used to decompose the fluctuation characteristics of the microgrid voltage and power; constructing a multi-scale converter group including second, minute, and hour levels; applying the converter group to the microgrid voltage sequence, power sequence, and new energy output sequence to obtain an initial decomposition result; Step S222, obtaining the initial decomposition result of the microgrid; Calculate the gradient fields of voltage component, power component and new energy output component to obtain the state change characteristic vector; According to the eigenvectors, a local tangent space is constructed to characterize the dynamic characteristics of the microgrid, including the voltage dynamic characteristics space, the power dynamic characteristics space and the new energy characteristics space; a metric structure is constructed on the tangent space to describe the geometric characteristics of the microgrid state change; a complete Riemann manifold structure is constructed to obtain the state space that characterizes the dynamic characteristics of the microgrid; Step S223, obtaining the microgrid state space and initial decomposition results; Calculate the geodesic distances between the voltage state, power state and renewable energy output state of the microgrid at different time scales to obtain the state distance matrix; construct the microgrid state reconstruction error function, including voltage reconstruction error, power reconstruction error and renewable energy output reconstruction error; obtain the optimal state components of each time scale through the variational optimization solution; Combine the voltage state, power state and renewable energy output state at each time scale to obtain a complete multi-scale state sequence; Step S224, obtain the multi-scale state sequence of the microgrid; calculate the mutual information between the voltage state, power state and new energy output state of the microgrid at different time scales to obtain the state coupling matrix; analyze the characteristic structure of the coupling matrix and extract the microgrid state transfer mode; construct a scale association network that characterizes the voltage-power synergy relationship, including voltage-power association, power balance association and new energy consumption association; generate a complete microgrid state association matrix.
6. The new energy microgrid intelligent control method according to claim 1, characterized in that: Step S31 is specifically as follows: Step S311, obtaining a microgrid state prediction sequence and prediction score; constructing a tangent cluster structure that characterizes the energy characteristics of the microgrid, including voltage energy characteristics, power energy characteristics, and new energy output characteristics; constructing a symmetric form that maintains energy conservation on the tangent vector field; constructing a local symplectic structure representation of the microgrid state space; The complete symplectic state space is constructed by integrating the local representations to characterize the energy evolution characteristics of the microgrid; Step S312, obtaining the microgrid symplectic state space; constructing a target functional characterizing voltage stability for evaluating the voltage quality of the microgrid; Construct a target functional to characterize power balance, which is used to evaluate the power balance level of the system; construct a target functional to characterize the efficiency of new energy consumption, which is used to evaluate the utilization level of new energy; construct a target functional to characterize the economic efficiency of operation, which is used to evaluate the operating cost of the system; integrate the target functional to construct a multi-objective function family of microgrid; Step S313, obtaining a microgrid objective function family; constructing a dynamic weight function of each control objective, including voltage stability weight, power balance weight and new energy consumption weight; constructing a comprehensive evaluation functional based on the operation characteristics of the microgrid; constructing a Hamilton function that characterizes the energy characteristics of the microgrid; combining the comprehensive evaluation functional with the Hamilton function to obtain a comprehensive evaluation function that considers energy characteristics; Step S314, obtain the comprehensive evaluation function of the microgrid; calculate the gradient of the evaluation function with respect to the voltage state, power state and new energy output state; construct a dynamic update equation for the microgrid target weight; construct a weight correction strategy that considers voltage stability, power balance and new energy consumption efficiency; update the dynamic weight of the control target according to the correction strategy to obtain an optimized weight function family.
7. A new energy microgrid intelligent control system, characterized in that: include: at least one processor; as well as, a memory communicatively connected to at least one processor; wherein, The memory stores instructions that can be executed by the processor, and the instructions are used to be executed by the processor to implement the new energy microgrid intelligent control method of any one of claims 1 to 6.
Citation Information
Patent Citations
Manifold learning based dynamic simulation visualization method for electrical power system
CN106227919A
Carbon flow distribution calculation method of integrated energy system
CN117592266A