Drools-based intelligent wind and light resource management method for new energy centralized control platform
Through the time series prediction model and Pearson correlation evaluation, combined with the Drools rule engine, the problem of data change trend prediction and resource collaborative optimization in the wind and solar resource management platform is solved, the intelligent management and automated decision-making of the wind and solar resources are realized, and the system is improved. Flexibility and efficiency.
Patent Information
- Application Number
- CN202410709498.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-03
- Publication Date
- 2024-09-06
Smart Images

Figure CN118608323A
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of intelligent wind and solar resource management methods, and specifically to an intelligent wind and solar resource management method for a new energy centralized control platform based on drools. Background Art
[0002] With the rapid development of renewable energy, wind and solar energy, as representatives of clean energy, have become important issues in the field of new energy for efficient management and optimal configuration. Traditional wind and solar resource management methods mostly rely on manual monitoring and empirical decision-making, which is not only inefficient but also difficult to adapt to the temporal and spatial variation characteristics of wind and solar resources.
[0003] The existing wind and solar resource management platforms generally have the following technical defects:
[0004] The lack of in-depth analysis of the time series changes in wind and solar resource point data makes it impossible to accurately predict resource change trends.
[0005] The lack of quantitative assessment of the correlation between adjacent wind and solar resource points makes it impossible to effectively achieve regional coordinated optimization of resources.
[0006] Resource allocation and usage are mostly based on static data and empirical judgment, lacking the ability for dynamic adjustment and real-time optimization.
[0007] Business rules are highly coupled with system code, making rule changes and maintenance difficult, which affects the flexibility and scalability of the system. Summary of the invention
[0008] In view of the deficiencies in the prior art, the purpose of the present invention is to provide an intelligent wind and solar resource management method for a new energy centralized control platform based on drools.
[0009] The technical solution of the present invention is as follows:
[0010] The present invention provides a method for intelligent wind and solar resource management of a new energy centralized control platform based on drools, which is characterized by comprising:
[0011] Use time series prediction model analysis to establish a time series relationship chain of single wind and solar resource point data;
[0012] The Pearson correlation coefficient is used to evaluate the correlation of data from adjacent wind and solar resource points and establish a relationship chain of adjacent wind and solar resource points.
[0013] Integrate the data of all wind and solar resource points, the time series relationship chain, and the relationship chain of adjacent wind and solar resource points into the data platform, determine the resource contribution rate of each wind and solar resource point to the entire platform and assign corresponding weights to each wind and solar resource point, and build a wind and solar resource platform based on multi-dimensional data vectors;
[0014] Define business rules in Drools, integrate the Drools rule engine into the wind and solar resource platform, and manage the allocation and use of wind and solar resources based on the business rules in Drools.
[0015] Furthermore, the steps of establishing the time series relationship chain of the single wind and solar resource point data include:
[0016] Collect historical data of a single wind and solar resource point and pre-process the historical data;
[0017] Use historical data to train seasonally decomposed time series forecasting models;
[0018] Using the trained model, the temporal dependency of wind and solar resource point data is analyzed, and the time series relationship chain of single wind and solar resource point data is established.
[0019] Furthermore, the step of establishing the relationship chain of adjacent wind and solar resource points includes:
[0020] Determine the characteristics of adjacent wind and solar resource points for correlation analysis;
[0021] The Pearson correlation coefficient r is used to measure the similarity of the characteristics of adjacent wind and solar resource points; its calculation formula is as follows:
[0022]
[0023] X i and Y i They are the observed values of the characteristics of two wind and solar resource points. and They are X i and Y i The average value of
[0024] Determine the relevance threshold;
[0025] According to the Pearson correlation coefficient and correlation threshold, a relationship chain between wind and solar resource points with significant correlation is established.
[0026] Furthermore, the correlation threshold is determined as follows:
[0027] Strong correlation: r ≥ 0.7 or r ≤ -0.7;
[0028] Moderate correlation: 0.4≤r<0.7 or -0.4≤r>-0.7;
[0029] Weak correlation: 0≤r<0.40 or -0.4≥r.
[0030] Furthermore, the steps of constructing the wind and solar resource platform based on the multi-dimensional data vector include:
[0031] Integrate the data of all wind and solar resource points, time series relationship chains, and relationship chains of adjacent wind and solar resource points into the data platform;
[0032] Determine the resource contribution rate of each wind and solar resource point to the entire platform and assign corresponding weights to each wind and solar resource point. The calculation is as follows:
[0033]
[0034] Among them, CR i is the resource contribution rate of the i-th resource point, W 1i and W 2i is the weight coefficient, P i out is the power generation of the resource point, SS i is the stability score of the i-th resource point;
[0035] Construct a multidimensional data vector based on the time series relationship chain, resource point characteristic dimension, adjacent wind and solar resource point relationship chain, resource contribution and weight dimension, and environmental and external factor dimension:
[0036] D i =(T i ,C i ,Sim i ,R i ,Env i ),
[0037] Among them, T i = {V i , S i , T i temp , H i} is a time series data set;
[0038] C i ={ID i , Geo i , Cap i ,Perf i} is a resource point feature set;
[0039] Sim i ={Adj i , r i} is a set of similarity measures;
[0040] R i = {RC i , W i} is a collection of resource contributions and weights;
[0041] Env i ={Weather i , PolMarki} is a collection of environmental and external factors.
[0042] Furthermore, the definition of Drools business rules includes: resource point performance monitoring, resource point maintenance scheduling, resource point fault detection, resource point resource contribution rate calculation, resource point weight allocation, and resource allocation optimization.
[0043] The beneficial effects of the present invention are as follows: the intelligent wind and solar resource management method for the new energy centralized control platform based on Drools proposed in the present invention realizes in-depth analysis and intelligent management of wind and solar resource point data through a series of innovative technical means. First, by using the time series prediction model, the present method can accurately capture the law of changes in resources such as wind speed and light intensity over time, and provide a scientific basis for resource prediction. Secondly, by calculating the Pearson correlation coefficient between adjacent wind and solar resource points, the present method not only quantifies the correlation between resource points, but also establishes an effective resource point relationship chain, laying the foundation for regional collaborative optimization. In addition, the present method provides rich data support for the comprehensive evaluation and decision-making of wind and solar resources by constructing a data vector containing multi-dimensional information such as time series relationship chains, resource point characteristics, and adjacent wind and solar resource point relationship chains.
[0044] Furthermore, the present invention integrates the Drools rule engine into the wind and solar resource platform, and realizes automated management functions such as resource point performance monitoring, fault detection, maintenance scheduling, and resource allocation optimization by defining a series of business rules. This method significantly improves the flexibility and maintainability of the system, allowing business rules to be managed and updated independently of the code, thereby quickly responding to business changes. At the same time, the real-time monitoring and automated decision-making execution capabilities of the Drools rule engine make resource allocation more dynamic and optimized, significantly improving the utilization of wind and solar resources and the operating efficiency of the platform.
[0045] In summary, the beneficial effect of the present invention is that it can provide a scientific, accurate, flexible and efficient wind and solar resource management solution. It not only improves the intelligent level of wind and solar resource prediction and management, but also enhances the system's adaptability and responsiveness to wind and solar resource changes, providing strong technical support for the sustainable development of the new energy field. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 This is a flow chart of the intelligent wind and solar resource management method for the new energy centralized control platform based on drools;
[0047] Figure 2 is a flowchart of the specific steps of S100;
[0048] Figure 3 is a flowchart of the specific steps of S200;
[0049] Figure 4 It is a flowchart of the specific steps of S300. DETAILED DESCRIPTION
[0050] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0051] See also Figure 1 , which shows a flow chart of a method for intelligent wind and solar resource management of a new energy centralized control platform based on drools according to an embodiment of the present invention, specifically including:
[0052] S100: Use the time series prediction model to analyze and establish a time series relationship chain of data for a single wind and solar resource point;
[0053] In this step, time series analysis is a statistical method used to analyze time series data to identify trends, seasonality, periodicity, and random fluctuations in the data. In wind and solar resource management, time series analysis can help understand the change patterns of resources such as wind speed and light intensity over time, thereby providing a scientific basis for resource prediction and management.
[0054] The steps of the time-dependent data relationship chain of a single wind and solar resource point data include:
[0055] S110: Collect historical data of a single wind and solar resource point, including wind speed, sunshine intensity and power generation; historical data should have time tags to ensure the time series of data. The collected historical data needs to be preprocessed, including removing outliers, filling missing values, data standardization, etc., to improve data quality.
[0056] S120: Train a seasonally decomposed time series forecasting model (STL) using historical data. Adjust model parameters to obtain the best fit.
[0057] The specific implementation steps of the STL model are:
[0058] Determine the seasonal cycle s based on the cyclical characteristics of the data. Use moving average or other seasonal adjustment methods to seasonally decompose the original data. Then choose a polynomial regression to estimate the trend. Calculate the difference between the original data and the trend and seasonal components to obtain the residual series. Iterate and adjust the seasonal component and trend component until the prediction error of the model reaches an acceptable range.
[0059] S130: Analyze the time dependency of the wind and solar resource point data using the trained model, and establish a time series relationship chain of the single wind and solar resource point data.
[0060] S200: Evaluate the correlation of data of adjacent wind and solar resource points through the Pearson correlation coefficient and establish a relationship chain of adjacent wind and solar resource points.
[0061] In this step, the Pearson correlation coefficient is a statistical indicator that measures the degree of linear correlation between two variables, with a value range of -1 to 1, where 1 indicates a perfect positive correlation, -1 indicates a perfect negative correlation, and 0 indicates no correlation. The Pearson correlation coefficient is calculated to evaluate the correlation of the data of adjacent wind and solar resource points, and the relationship chain of adjacent wind and solar resource points is established accordingly.
[0062] The steps to establish a relationship chain of adjacent wind and solar resource points include:
[0063] S210: Determine the characteristics of adjacent wind and solar resource points for correlation analysis, such as wind speed, light intensity, etc.
[0064] S220: Use the Pearson correlation coefficient r to measure the similarity of the characteristics of adjacent wind and solar resource points. The calculation formula is as follows:
[0065]
[0066] X i and Y i They are the observed values of the characteristics of two wind and solar resource points. and They are X i and Y i The average value of .
[0067] The value of the Pearson correlation coefficient is between -1 and 1. When r is close to 1, it means that there is a strong positive correlation between the characteristics of adjacent wind and solar resource points; when r is close to -1, it means that there is a strong negative correlation between the characteristics of adjacent wind and solar resource points; when r is close to 0, it means that there is no linear correlation between the characteristics of adjacent wind and solar resource points.
[0068] S230: Determine correlation threshold:
[0069] Strong correlation: r ≥ 0.7 or r ≤ -0.7;
[0070] Moderate correlation: 0.4≤r<0.7 or -0.4≤r>-0.7;
[0071] Weak correlation: 0≤r<0.40 or -0.4≥r
[0072] S240: Establish a relationship chain between wind and solar resource points with significant correlation according to the Pearson correlation coefficient and the correlation threshold.
[0073] S300: Integrate the data of all wind and solar resource points, the time series relationship chain and the relationship chain of adjacent wind and solar resource points into the data platform, determine the resource contribution rate of each wind and solar resource point to the entire platform and assign corresponding weights to each wind and solar resource point, and build a wind and solar resource platform based on multi-dimensional data vectors.
[0074] In this step, the wind and solar resource platform is a centralized data management system that is responsible for storing, processing and analyzing various types of data from wind and solar resource points. Wind and solar resource platforms usually have the following characteristics: they can store large-scale structured and unstructured data, including time series data, similarity measurement results, geographic information of resource points, historical performance data, etc.; they can integrate data from different sources, including data from different wind and solar resource points and similarity relationship chains calculated by Pearson correlation coefficients; and they support complex data analysis and processing.
[0075] like Figure 3 As shown, S300 specifically includes:
[0076] S310: Load and integrate the time-dependent data relationship chain of the single wind and solar resource point data obtained in S100 and S200 and the relationship chain of adjacent wind and solar resource points into the data platform.
[0077] S320: Determine the resource contribution rate of each wind and solar resource point to the entire platform and assign corresponding weights to each wind and solar resource point. The resource contribution rate refers to the overall contribution of each wind and solar resource point to the entire wind and solar resource platform. The weight allocation is based on the resource contribution rate and is used to adjust the importance of the resource point in the wind and solar resource platform. The calculation is as follows:
[0078]
[0079] Among them, CR i is the resource contribution rate of the i-th resource point, W 1i and W 2i is the weight coefficient, P i out is the power generation of the resource point, SS i is the stability score of the ith resource point, based on expert judgment.
[0080] S330: Construct a multidimensional data vector, which includes: a time series relationship chain, a resource point characteristic dimension, a neighboring wind and solar resource point relationship chain, a resource contribution and weight dimension, and an environment and external factor dimension.
[0081] The multidimensional data vector D contains the data of n wind and solar resource points. Each wind and solar resource point i has the following attributes:
[0082] Time series relationship chain T i, including wind speed V i , light intensity S i , temperature T i temp , humidity H i .
[0083] Resource Point Features C i , including resource point ID i , Geographic locationGeo i , installation capacity Cap i , Historical Performance Perf i .
[0084] Simulation of the relationship chain of adjacent scenery and solar resource points i , including adjacent resource point IDAdj i and Pearson correlation coefficient r i .
[0085] Resource contribution and weight R i , including resource contribution rate RC i and weight W i .
[0086] Environment and external factors i , including weather conditions i and policy market factors PolMark i .
[0087] D i =(T i ,C i ,Sim i ,R i ,Env i ),
[0088] Among them, T i = {V i , S i , T i temp , H i} is a collection of time series data.
[0089] C i ={ID i , Geo i , Cap i ,Perf i} is a collection of resource point characteristics.
[0090] Sim i ={Adj i , r i} is a set of similarity measures.
[0091] Ri = {RC i , W i} is a collection of resource contributions and weights.
[0092] Env i ={Weather i ,PolMark i} is a collection of environmental and external factors.
[0093] S400: define business rules in Drools, integrate the Drools rule engine into the wind and solar resource platform, and manage the allocation and use of wind and solar resources according to the business rules in Drools.
[0094] Drools is a powerful open source rule engine that allows developers to separate business logic from code and manage it in the form of rules. This can improve the flexibility and maintainability of the system because changes in business rules do not require code changes, only rules adjustments.
[0095] In this step, the Drools business rules are defined as follows:
[0096] Resource point performance monitoring: If the performance of a wind and solar resource point is lower than the preset threshold, an insufficient performance alarm is triggered.
[0097] Resource point maintenance scheduling: If the time since the last maintenance of a wind and solar resource point exceeds the configured maintenance interval, maintenance is scheduled.
[0098] Resource point fault detection: If the status of a wind and solar resource point is faulty, a fault alarm is triggered.
[0099] Calculation of resource contribution rate of resource points: Calculate the resource contribution rate based on the power generation and stability of wind and solar resource points, and update it to the system.
[0100] Resource point weight allocation: weights are allocated to the scenery and solar resource points according to their resource contribution rates.
[0101] Resource allocation optimization: Optimize resource allocation based on the total resource contribution rate of all wind and solar resource points.
[0102] Activate the business rules written in Drools, and the rule engine will automatically execute the decision logic according to these rules. The Drools open source rule engine defined above has been used to load into the wind and solar resource platform to ensure that the rules can access and operate the data in the multidimensional data model. Use the Drools rule engine to monitor the real-time data of wind and solar resource points, trigger the corresponding business rules in real time, and realize dynamic resource allocation and management.
[0103] The basic principles of the present application are described above in conjunction with specific embodiments. However, it should be noted that the advantages, strengths, effects, etc. mentioned in the present application are only examples and not limitations, and it cannot be considered that these advantages, strengths, effects, etc. are required by each embodiment of the present application. In addition, the specific details disclosed above are only for the purpose of illustration and ease of understanding, not for limitation, and the above details do not limit the present application to being implemented by adopting the above specific details.
[0104] The block diagrams of the devices, apparatuses, equipment, and systems involved in this application are only illustrative examples and are not intended to require or imply that they must be connected, arranged, and configured in the manner shown in the block diagram. As will be appreciated by those skilled in the art, these devices, apparatuses, equipment, and systems can be connected, arranged, and configured in any manner. Words such as "including", "comprising", "having", etc. are open words, referring to "including but not limited to", and can be used interchangeably with them. The words "or" and "and" used here refer to the words "and / or" and can be used interchangeably with them, unless the context clearly indicates otherwise. The words "such as" used here refer to the phrase "such as but not limited to", and can be used interchangeably with them.
[0105] It should also be noted that in the apparatus, device and method of the present application, each component or each step can be decomposed and / or recombined. Such decomposition and / or recombination should be regarded as equivalent solutions of the present application.
[0106] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present application. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other aspects without departing from the scope of the present application. Therefore, the present application is not intended to be limited to the aspects shown herein, but rather to the widest scope consistent with the principles and novel features of the present invention.
[0107] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.
Claims
1. Intelligent wind and solar resource management method based on drools for new energy centralized control platform, characterized by ,include: Use time series prediction model analysis to establish a time series relationship chain of single wind and solar resource point data; The Pearson correlation coefficient is used to evaluate the correlation of data from adjacent wind and solar resource points and establish a relationship chain of adjacent wind and solar resource points. Integrate the data of all wind and solar resource points, the time series relationship chain, and the relationship chain of adjacent wind and solar resource points into the data platform, determine the resource contribution rate of each wind and solar resource point to the entire platform and assign corresponding weights to each wind and solar resource point, and build a wind and solar resource platform based on multi-dimensional data vectors; Define business rules in Drools, integrate the Drools rule engine into the wind and solar resource platform, and manage the allocation and use of wind and solar resources based on the business rules in Drools.
2. According to claim 1, the intelligent wind and solar resource management method for the new energy centralized control platform based on drools is characterized in that ,The steps of establishing the time series relationship chain of the single wind and solar resource point data include: Collect historical data of a single wind and solar resource point and pre-process the historical data; Use historical data to train seasonally decomposed time series forecasting models; Using the trained model, the temporal dependency of wind and solar resource point data is analyzed, and the time series relationship chain of single wind and solar resource point data is established.
3. The intelligent wind and solar resource management method for a new energy centralized control platform based on drools according to claim 1 is characterized in that ,The steps of establishing the relationship chain of adjacent scenery resource points include: Determine the characteristics of adjacent wind and solar resource points for correlation analysis; The Pearson correlation coefficient r is used to measure the similarity of the characteristics of adjacent wind and solar resource points; its calculation formula is as follows: X i and Y i They are the observed values of the characteristics of two wind and solar resource points; and They are X i and Y i The average value of Determine the relevance threshold; According to the Pearson correlation coefficient and correlation threshold, a relationship chain between wind and solar resource points with significant correlation is established.
4. The intelligent wind and solar resource management method for a new energy centralized control platform based on drools according to claim 3 is characterized in that , the correlation threshold is determined as follows: Strong correlation: r ≥ 0.7 or r ≤ -0.7; Moderate correlation: 0.4≤r<0.7 or -0.4≤r>-0.7; Weak correlation: 0≤r<0.40 or -0.4≥r.
5. The intelligent wind and solar resource management method for a new energy centralized control platform based on drools according to claim 1 is characterized in that ,The steps of constructing the wind and solar resource platform based on multi-dimensional data vectors include: Integrate the data of all wind and solar resource points, time series relationship chains, and relationship chains of adjacent wind and solar resource points into the data platform; Determine the resource contribution rate of each wind and solar resource point to the entire platform and assign corresponding weights to each wind and solar resource point. The calculation is as follows: Among them, CR i is the resource contribution rate of the i-th resource point, W 1i and W 2i is the weight coefficient, P i out is the power generation of the resource point, SS i is the stability score of the i-th resource point; Construct a multidimensional data vector based on the time series relationship chain, resource point characteristic dimension, adjacent wind and solar resource point relationship chain, resource contribution and weight dimension, and environmental and external factor dimension: D i =(T i ,C i ,Sim i ,R i ,Env i ), Among them, T i = {V i , S i , T i temp , H i } is a time series data set; C i ={ID i , Geo i , Cap i ,Perf i } is a resource point feature set; Sim i ={Adj i , r i } is a set of similarity measures; R i = {RC i , W i } is a collection of resource contributions and weights; Env i ={Weather i ,PolMark i } is a collection of environmental and external factors.
6. The intelligent wind and solar resource management method for a new energy centralized control platform based on drools according to claim 1 is characterized in that ,The content of Drools business rules are defined as follows: resource point ,performance monitoring, resource point maintenance scheduling, resource point fault detection, resource point ,resource contribution rate calculation, resource point weight allocation, and resource ,allocation optimization.
