Method and device for predicting opening degree of guide vane of hydro-generator and electronic equipment
By constructing a random forest model and adjusting parameters, efficient and accurate prediction of the guide vane opening of the hydrogenerator is achieved, which solves the problem of large measurement errors in the existing technology and improves the measurement accuracy of the guide vane opening.
Patent Information
- Application Number
- CN202410630010.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-21
- Publication Date
- 2024-08-30
AI Technical Summary
Existing guide vane opening control of hydraulic generators has problems such as large measurement error and distortion of guide vane opening measurement. It is especially difficult to adjust accurately during manual adjustment, which affects the normal operation of the unit.
Use the random forest model to preprocess the guide vane opening data under water head and load, construct training and test data sets, build a random forest model through Python, use the test data set to evaluate the error parameters, adjust the model parameters, and obtain the final guide vane opening degree prediction model to achieve accurate prediction of the data to be detected.
It effectively reduces the error in guide vane opening measurement, improves the accuracy and efficiency of prediction, provides an efficient and accurate guide vane opening prediction method, and solves the problem of large measurement errors in the existing technology.
Smart Images

Figure CN118569068A
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of hydro-generator detection, and in particular to a method, device, electronic device and storage medium for predicting the guide vane opening of a hydro-generator. Background Art
[0002] The closed-loop PID control method is often used for the guide vane opening control of hydro-turbine generators. This control method can achieve good control effects when the guide vanes of hydro-turbine generators are in automatic control mode. However, the parameter adjustment process of this method is not intuitive enough, and it is difficult to quantify the guide vane opening for different heads and loads. When the guide vanes are opened manually to adjust the load, it is difficult to use the guide vane opening as a reference. On-site staff can only adjust the guide vane opening based on historical experience. When historical experience goes wrong, they can only gradually adjust the appropriate guide vane opening through trial and error, resulting in large measurement errors and distorted guide vane opening measurements, affecting the normal operation of the entire unit.
[0003] In summary, how to design a method for predicting the guide vane opening of a hydro-turbine generator with small error and high efficiency is an urgent problem to be solved. Summary of the invention
[0004] The present application aims to solve one of the technical problems in the related art at least to some extent.
[0005] To this end, the first purpose of the present application is to propose a method for predicting the guide vane opening of a hydro-turbine generator to solve the problems of large measurement errors and guide vane opening measurement distortion in the prior art.
[0006] The second object of the present application is to provide a device.
[0007] The third objective of the present application is to provide an electronic device.
[0008] A fourth objective of the present application is to provide a computer-readable storage medium.
[0009] To achieve the above-mentioned purpose, the first embodiment of the present application proposes a method for predicting the guide vane opening of a hydro-turbine generator, comprising:
[0010] Obtain guide vane opening data under different water heads and loads;
[0011] Preprocessing the guide vane opening data to obtain a training data set and a test data set;
[0012] Constructing a random forest model, and training the random forest model using the training data set to obtain a guide vane opening prediction model;
[0013] Using the guide vane opening prediction model to predict the test data set, obtain an error evaluation parameter, and adjust the guide vane opening prediction model based on the error evaluation parameter to obtain a final guide vane opening prediction model;
[0014] The final guide vane opening prediction model is used to predict the data to be detected to obtain a prediction result.
[0015] Preferably, obtaining the guide vane opening data under different water heads and loads includes:
[0016] The water head, load and guide vane opening data of the turbine generator under the automatic control operation mode are selected to construct a sample data set;
[0017] The samples with missing values in the sample data set are deleted and filled to obtain the guide vane opening data under different water heads and loads.
[0018] Preferably, the preprocessing of the guide vane opening data to obtain a training data set and a test data set comprises:
[0019] Different samples are selected from the guide vane opening data according to a preset ratio to construct two mutually exclusive data sets, the data set with more samples is used as a training set, and the data set with fewer samples is used as a test set.
[0020] Preferably, the constructing of a random forest model comprises:
[0021] Use Python to construct a random forest model and set the number of classifiers of the random forest and the maximum depth of the decision tree.
[0022] Preferably, the using the training data set to train the random forest model to obtain a guide vane opening prediction model comprises:
[0023] Selecting multiple samples from the training data set to construct a training data subset;
[0024] The training data subset is used to train a weak classifier, and the decision tree node is split based on the pre-selected features to obtain the corresponding child nodes. A random forest model is constructed using multiple weak classifiers to obtain a guide vane opening prediction model.
[0025] Preferably, the using the guide vane opening prediction model to predict the test data set to obtain an error evaluation parameter, and adjusting the guide vane opening prediction model based on the error evaluation parameter to obtain a final guide vane opening prediction model includes:
[0026] The guide vane opening prediction model is tested using the test data set to generate corresponding guide vane openings under different water heads and loads, and the guide vane opening value obtained by the guide vane opening prediction model is compared with the actual guide vane opening value in the test data set to obtain MSE, RMSE, R correlation coefficient, MAE, and MAPE error evaluation parameters;
[0027] The number of weak classifiers of the guide vane opening prediction model and the maximum depth of the decision tree are adjusted based on the error evaluation parameter to obtain a final guide vane opening prediction model.
[0028] Preferably, the predictive processing of the data to be detected by using the final guide vane opening prediction model to obtain the prediction result includes:
[0029] Run the data to be tested on each decision tree to obtain the prediction results of each decision tree, and then take the average of the prediction results of all decision trees as the final prediction result.
[0030] To achieve the above-mentioned purpose, the second embodiment of the present application proposes a device for predicting the guide vane opening of a hydro-turbine generator, comprising:
[0031] Data acquisition module, to obtain the guide vane opening data under different water heads and loads;
[0032] A data preprocessing module preprocesses the guide vane opening data to obtain a training data set and a test data set;
[0033] A training module constructs a random forest model, and uses the training data set to train the random forest model to obtain a guide vane opening prediction model;
[0034] A test module, using the guide vane opening prediction model to predict the test data set, obtain an error evaluation parameter, and adjust the guide vane opening prediction model based on the error evaluation parameter to obtain a final guide vane opening prediction model;
[0035] The prediction module uses the final guide vane opening prediction model to predict the data to be detected to obtain a prediction result.
[0036] To achieve the above-mentioned purpose, the third aspect of the present application provides an electronic device, including: a processor, and a memory communicatively connected to the processor;
[0037] The memory stores computer-executable instructions;
[0038] The processor executes the computer-executable instructions stored in the memory to implement any of the above methods.
[0039] To achieve the above-mentioned purpose, the fourth aspect embodiment of the present application proposes a computer-readable storage medium, including computer-executable instructions stored in the computer-readable storage medium, and the computer-executable instructions are used to implement any of the methods described above when executed by a processor.
[0040] The present application provides a method for predicting the guide vane opening of a hydro-turbine generator. The method uses water head and load to analyze the guide vane opening of the hydro-turbine generator. First, the guide vane opening data under different water heads and loads are collected under the automatic control operation mode of the hydro-turbine generator, and the data is preprocessed to construct a suitable sample set; a random forest model is constructed through Python, and the random forest model parameters are obtained through self-supervised training; after the random forest model is trained, an evaluation result is generated through a test set, and parameters such as the number of weak classifiers of the random forest model and the maximum depth of the decision tree are modified according to the evaluation result to obtain a final prediction model, and the guide vane opening of the hydro-turbine generator is predicted according to the water head and load data, and the guide vane opening at different water heads and loads is estimated, thereby solving the problems of large measurement errors and distortion in guide vane opening measurement.
[0041] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0043] Figure 1 A flowchart of a first specific embodiment of a method for predicting the guide vane opening of a hydro-generator provided by the present invention;
[0044] Figure 2 This is the workflow diagram for predicting the guide vane opening of a hydro-generator;
[0045] Figure 3 A structural block diagram of a device for predicting the guide vane opening of a hydro-generator provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0046] The core of the present invention is to provide a method, device, electronic device and storage medium for predicting the guide vane opening of a hydro-turbine generator. Based on the random forest algorithm, the guide vane opening of the hydro-turbine generator is predicted using head and load data, and the guide vane opening at different heads and loads is estimated, thereby solving the problem of large measurement errors and distortion in guide vane opening measurement.
[0047] In order to enable those skilled in the art to better understand the scheme of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0048] Please refer to Figure 1 , Figure 1 This is a flow chart of a first specific embodiment of a method for predicting the guide vane opening of a hydro-generator provided by the present invention; the specific operation steps are as follows:
[0049] Step S101: obtaining guide vane opening data under different water heads and loads;
[0050] The water head, load and guide vane opening data of the turbine generator under the automatic control operation mode are selected to construct a sample data set;
[0051] The samples with missing values in the sample data set are deleted and filled to obtain the guide vane opening data under different water heads and loads.
[0052] Step S102: preprocessing the guide vane opening data to obtain a training data set and a test data set;
[0053] Different samples are selected from the guide vane opening data according to a preset ratio to construct two mutually exclusive data sets, the data set with more samples is used as a training set, and the data set with fewer samples is used as a test set.
[0054] Step S103: constructing a random forest model, and using the training data set to train the random forest model to obtain a guide vane opening prediction model;
[0055] Use Python to construct a random forest model and set the number of classifiers of the random forest and the maximum depth of the decision tree.
[0056] Selecting multiple samples from the training data set to construct a training data subset;
[0057] The training data subset is used to train a weak classifier, and the decision tree node is split based on the pre-selected features to obtain the corresponding child nodes. A random forest model is constructed using multiple weak classifiers to obtain a guide vane opening prediction model.
[0058] Step S104: using the guide vane opening prediction model to predict the test data set to obtain an error evaluation parameter, and adjusting the guide vane opening prediction model based on the error evaluation parameter to obtain a final guide vane opening prediction model;
[0059] The guide vane opening prediction model is tested using the test data set to generate corresponding guide vane openings under different water heads and loads, and the guide vane opening value obtained by the guide vane opening prediction model is compared with the actual guide vane opening value in the test data set to obtain MSE, RMSE, R correlation coefficient, MAE, and MAPE error evaluation parameters;
[0060] The number of weak classifiers of the guide vane opening prediction model and the maximum depth of the decision tree are adjusted based on the error evaluation parameter to obtain a final guide vane opening prediction model.
[0061] Step S105: using the final guide vane opening prediction model to predict the data to be detected to obtain a prediction result.
[0062] Run the data to be tested on each decision tree to obtain the prediction results of each decision tree, and then take the average of the prediction results of all decision trees as the final prediction result.
[0063] The present embodiment provides a method for predicting the guide vane opening of a hydro-turbine generator, which uses water head and load to analyze the guide vane opening of the hydro-turbine generator. First, the guide vane opening data under different water heads and loads are collected in the automatic control operation mode of the hydro-turbine generator, and the data is preprocessed to construct a suitable sample set; a random forest model is constructed by Python, and the random forest model parameters are obtained by self-supervised training; after the random forest model is trained, an evaluation result is generated through a test set, and parameters such as the number of weak classifiers of the random forest model and the maximum depth of the decision tree are modified according to the evaluation result to obtain a final prediction model, and the guide vane opening of the hydro-turbine generator is predicted according to the water head and load data, and the guide vane openings under different water heads and loads are estimated, thereby achieving efficient and accurate prediction of the guide vane opening of the hydro-turbine generator.
[0064] Based on the above embodiment, this embodiment describes a method for predicting the guide vane opening of a hydro-turbine generator. Figure 2 As shown, the details are as follows:
[0065] The water head, load and guide vane opening data of the turbine generator at several moments under the automatic control operation mode are selected to construct samples. The samples with missing values in the data are deleted and filled to construct a suitable sample set. The water head and load data are selected as much as possible when the unit is operating normally. The proportion of data during the shutdown process in the sample set should not be too large to avoid affecting the prediction accuracy.
[0066] Different samples are selected from the constructed sample set in a ratio of 9:1 to construct two mutually exclusive data sets, and the data set with more samples is used as the training data set, and the data set with fewer samples is used as the test data set. The training data set and the test data set cannot contain the same samples;
[0067] Use Python to construct a random forest model, set the number of weak classifiers (number of decision trees) of the random forest and the maximum depth of the decision tree;
[0068] Randomly select N samples (N < the number of samples in the training set) from the training set to form a new training data subset, and randomly select m features (m < the total number of features selected), and select the best feature from these m features for splitting;
[0069] Use the training data subset to train the weak classifier (decision tree), split the decision tree node according to the selected features, obtain the corresponding child nodes, repeat the training, obtain multiple weak classifiers, and construct the required random forest model. The number of weak classifiers (number of decision trees) should not be too many at the beginning. Setting too many decision trees will increase the training time and affect the training accuracy. Try to start from 100 and gradually increase. The maximum depth of the decision tree should not be too many at the beginning. Setting too many decision trees will increase the training time and affect the training accuracy. Try to start from 3 and gradually increase.
[0070] The random forest model was tested using the test set data to generate the corresponding guide vane openings under different water heads and loads. The guide vane opening values obtained by the random forest model were compared with the actual guide vane opening values in the test set to obtain error evaluation parameters such as MSE, RMSE, R correlation coefficient, MAE, and MAPE.
[0071] According to the evaluation results, modify the parameters such as the number of weak classifiers (number of decision trees) and the maximum depth of the decision tree of the random forest model, and repeat the model training until the model with the highest training accuracy is selected. The change trends of error evaluation parameters such as MSE, RMSE, R correlation coefficient, MAE, and MAPE are basically the same. When modifying the model parameters, you can focus on the overall numerical change trend, and there is no need to reduce all parameters. To avoid local optimal situations, you need to modify the model parameters at least n times (n is the number of training times, and try not to be less than 5 times) to obtain multiple random forest models, and then select the final random forest model according to the evaluation parameters of the random forest model.
[0072] A method for predicting the guide vane opening of a hydro-turbine generator provided by an embodiment of the present invention uses water head and load to analyze the guide vane opening of a hydro-turbine generator. First, the guide vane opening data under different water heads and loads are collected in an automatic control operation mode of the hydro-turbine generator, and the data is preprocessed to construct a suitable sample set; a random forest model is constructed by Python, and the number of weak classifiers (number of decision trees) of the random forest and the maximum depth of the decision tree are set; the sample set is classified according to the retention method, and the sample set is divided into a training set and a test set; the training set is used for random forest model training, and the self-supervised training method is used to obtain Random forest model parameters; after the random forest model is trained, the guide vane opening values under the corresponding water head and load are generated through the test set, and the guide vane opening values obtained by the random forest model are compared with the actual guide vane opening values in the test set to obtain error evaluation parameters such as MSE, RMSE, R correlation coefficient, MAE, and MAPE. According to the evaluation results, the number of weak classifiers (number of decision trees) and the maximum depth of the decision tree of the random forest model are modified, and the model training is repeated; the above training process is repeated until the model with the highest training accuracy is selected, thereby achieving efficient and accurate prediction of the guide vane opening of the hydro-turbine generator.
[0073] Please refer to Figure 3 , Figure 3 A structural block diagram of a device for predicting the guide vane opening of a hydro-turbine generator provided by an embodiment of the present invention; the specific device may include:
[0074] A data acquisition module 100 acquires guide vane opening data under different water heads and loads;
[0075] A data preprocessing module 200 preprocesses the guide vane opening data to obtain a training data set and a test data set;
[0076] A training module 300 constructs a random forest model, and uses the training data set to train the random forest model to obtain a guide vane opening prediction model;
[0077] A test module 400 predicts the test data set using the guide vane opening prediction model to obtain an error evaluation parameter, and adjusts the guide vane opening prediction model based on the error evaluation parameter to obtain a final guide vane opening prediction model;
[0078] The prediction module 500 uses the final guide vane opening prediction model to predict the data to be detected and obtain a prediction result.
[0079] A device for predicting the guide vane opening of a hydro-turbine generator in this embodiment is used to implement the aforementioned method for predicting the guide vane opening of a hydro-turbine generator. Therefore, the specific implementation method of a device for predicting the guide vane opening of a hydro-turbine generator can be seen in the embodiment part of the method for predicting the guide vane opening of a hydro-turbine generator in the previous text. For example, the data acquisition module 100, the data preprocessing module 200, the training module 300, the testing module 400, and the prediction module 500 are respectively used to implement steps S101, S102, S103, S104, and S105 in the aforementioned method for predicting the guide vane opening of a hydro-turbine generator. Therefore, its specific implementation method can refer to the description of the corresponding embodiments of each part, which will not be repeated here.
[0080] In order to implement the above embodiments, the present application also proposes an electronic device, comprising: a processor, and a memory communicatively connected to the processor; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory to implement the method provided by the above embodiments.
[0081] In order to implement the above embodiments, the present application also proposes a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the methods provided by the above embodiments.
[0082] In order to implement the above embodiments, the present application also proposes a computer program product, including a computer program, which implements the methods provided by the above embodiments when executed by a processor.
[0083] The collection, storage, use, processing, transmission, provision and disclosure of user personal information involved in this application are in compliance with relevant laws and regulations and do not violate public order and good morals.
[0084] It should be noted that personal information from users should be collected for legitimate and reasonable purposes and should not be shared or sold outside of these legitimate uses. In addition, such collection / sharing should be carried out after receiving the user's informed consent, including but not limited to notifying the user to read the user agreement / user notice and sign the agreement / authorization including authorization of relevant user information before the user uses the function. In addition, any necessary steps should be taken to protect and safeguard access to such personal information data and ensure that others who have access to personal information data comply with its privacy policy and procedures.
[0085] The present application is expected to provide an implementation scheme for users to selectively block the use or access of personal information data. That is, the present disclosure is expected to provide hardware and / or software to prevent or block access to such personal information data. Once the personal information data is no longer needed, the risk can be minimized by limiting data collection and deleting the data. In addition, when applicable, such personal information is de-identified to protect the privacy of the user.
[0086] In the description of the aforementioned embodiments, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0087] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0088] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
[0089] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute the instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.
[0090] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0091] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
[0092] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
[0093] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present application. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A method for predicting the guide vane opening of a hydro-turbine generator, characterized in that: include: Obtain guide vane opening data under different water heads and loads; Preprocessing the guide vane opening data to obtain a training data set and a test data set; Constructing a random forest model, and training the random forest model using the training data set to obtain a guide vane opening prediction model; Using the guide vane opening prediction model to predict the test data set, obtain an error evaluation parameter, and adjust the guide vane opening prediction model based on the error evaluation parameter to obtain a final guide vane opening prediction model; The final guide vane opening prediction model is used to predict the data to be detected to obtain a prediction result.
2. The method for predicting the guide vane opening of a hydro-turbine generator according to claim 1, characterized in that: The obtaining of guide vane opening data under different water heads and loads includes: The water head, load and guide vane opening data of the turbine generator under the automatic control operation mode are selected to construct a sample data set; The samples with missing values in the sample data set are deleted and filled to obtain the guide vane opening data under different water heads and loads.
3. The method for predicting the guide vane opening of a hydro-turbine generator according to claim 1, characterized in that: The preprocessing of the guide vane opening data to obtain a training data set and a test data set includes: Different samples are selected from the guide vane opening data according to a preset ratio to construct two mutually exclusive data sets, the data set with more samples is used as a training set, and the data set with fewer samples is used as a test set.
4. The method for predicting the guide vane opening of a hydro-turbine generator according to claim 1, characterized in that: The construction of the random forest model includes: Use Python to construct a random forest model and set the number of classifiers of the random forest and the maximum depth of the decision tree.
5. The method for predicting the guide vane opening of a hydro-turbine generator according to claim 1, characterized in that: The use of the training data set to train the random forest model to obtain a guide vane opening prediction model includes: Selecting multiple samples from the training data set to construct a training data subset; The training data subset is used to train a weak classifier, and the decision tree node is split based on the pre-selected features to obtain the corresponding child nodes. A random forest model is constructed using multiple weak classifiers to obtain a guide vane opening prediction model.
6. The method for predicting the guide vane opening of a hydro-turbine generator according to claim 1, characterized in that: The method of using the guide vane opening prediction model to predict the test data set to obtain an error evaluation parameter, and adjusting the guide vane opening prediction model based on the error evaluation parameter to obtain a final guide vane opening prediction model includes: The guide vane opening prediction model is tested using the test data set to generate corresponding guide vane openings under different water heads and loads, and the guide vane opening value obtained by the guide vane opening prediction model is compared with the actual guide vane opening value in the test data set to obtain MSE, RMSE, R correlation coefficient, MAE, and MAPE error evaluation parameters; The number of weak classifiers of the guide vane opening prediction model and the maximum depth of the decision tree are adjusted based on the error evaluation parameter to obtain a final guide vane opening prediction model.
7. The method for predicting the guide vane opening of a hydro-turbine generator according to claim 1, characterized in that: The prediction results obtained by using the final guide vane opening prediction model to predict the detected data include: Run the data to be tested on each decision tree to obtain the prediction results of each decision tree, and then take the average of the prediction results of all decision trees as the final prediction result.
8. A device for predicting the guide vane opening of a hydro-turbine generator, characterized in that: include: Data acquisition module, to obtain the guide vane opening data under different water heads and loads; A data preprocessing module preprocesses the guide vane opening data to obtain a training data set and a test data set; A training module constructs a random forest model, and uses the training data set to train the random forest model to obtain a guide vane opening prediction model; A test module, using the guide vane opening prediction model to predict the test data set, obtain an error evaluation parameter, and adjust the guide vane opening prediction model based on the error evaluation parameter to obtain a final guide vane opening prediction model; The prediction module uses the final guide vane opening prediction model to predict the data to be detected to obtain a prediction result.
9. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 7 when executed by a processor.
Citation Information
Cited By
Wind power blade adjusting method, device and equipment based on blade root load and medium
CN120120180A
