Model optimization method, device and equipment for pumped storage unit and storage medium

Through the neural network model and dynamic optimization technology, the problem of poor compatibility of the pumped storage unit model is solved, the adaptability and operating efficiency of different brands and models of units are improved, and more accurate monitoring data and efficient operation support are provided.

CN118657280APending Publication Date: 2024-09-17ENERGY STORAGE RES INST OF CHINA SOUTHERN POWER GRID PEAK-FREQUENCY MODULATION POWER GENERATION CO LTD
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202410697875.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

The existing pumped storage unit model algorithm has poor compatibility and cannot adapt to units of different brands and models, resulting in low monitoring data accuracy and low operating efficiency.

Method used

Neural network models are used for data preprocessing and training, dynamic optimization and adjustment are performed based on real-time operating data, appropriate optimization algorithms are selected to improve model accuracy and adaptability, and interactions are implemented through cloud service deployment API interfaces.

Benefits of technology

It provides a universal model that is configurable and compatible, improves the monitoring accuracy and operating efficiency of pumped storage units, adapts to different scenarios, and supports dynamic simulation and operation optimization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118657280A
    Figure CN118657280A
Patent Text Reader

Abstract

The embodiment of the invention discloses a model optimization method and device for a pumped storage unit, equipment and a storage medium. The method comprises the following steps: collecting historical operation data of a historical pumped storage unit, and preprocessing the historical operation data to obtain preprocessed data; inputting the preprocessed data as a training sample into an initial neural network model for training to obtain a trained neural network model; inputting the obtained real-time operation data of the to-be-monitored pumped storage unit into the trained neural network model, so that the trained neural network model outputs predicted operation data of the to-be-monitored pumped storage unit in a preset time period; and performing dynamic optimization adjustment on the to-be-adjusted parameters of the trained neural network model based on the predicted operation data to obtain an optimized neural network model. According to the method, the universal model can better adapt to various scenes, and more accurate and reliable data support can be provided for unit monitoring.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of pumped storage units, and in particular to a model optimization method, device, equipment and storage medium for a pumped storage unit. Background Art

[0002] Pumped storage is a type of energy storage technology that uses water as an energy storage medium and realizes the storage and management of electric energy through the mutual conversion of electric energy and potential energy. The electric energy during the low load period is used to pump water to the upper reservoir, and then the water is released to the lower reservoir to generate electricity during the peak load period. It can convert the excess electric energy during the low load period of the power grid into high-value electric energy during the peak period of the power grid, stabilize the frequency and potential of the power system, and improve the efficiency of thermal power plants and nuclear power plants in the system. It plays a fundamental role in ensuring the safety of large power grids, promoting the consumption of new energy, and improving the performance of the entire system. It is an important part of the energy Internet. The pumped storage generator motor in the pumped storage unit, also known as the electric generator, refers to a motor that operates as a generator when generating electricity and as a motor when pumping water.

[0003] In the relevant technology, there may be differences between the units of different power stations. The model algorithm of the pumped-storage unit has poor compatibility and cannot be compatible with and support the differences between these units. It cannot adapt to units of different brands and models, resulting in poor accuracy and reliability of the unit's monitoring data and low operating efficiency of the power station. Summary of the invention

[0004] In view of this, the embodiments of the present disclosure provide a model optimization method, device, equipment and storage medium for a pumped-storage unit, which can provide a configurable and universal model with a certain degree of compatibility. The model can adapt to units of different brands and models so that the universal model can better adapt to various scenarios. It can be widely used in dynamic simulation, auxiliary design, operation optimization and other scenarios of pumped-storage power stations, provide more accurate and reliable data support for unit monitoring, and improve the operating efficiency and reliability of the power station.

[0005] In a first aspect, the embodiment of the present disclosure provides a model optimization method for a pumped storage unit, which adopts the following technical solution:

[0006] Collecting historical operation data of historical pumped storage units, and preprocessing the historical operation data to obtain preprocessed data;

[0007] Inputting the preprocessed data as training samples into an initial neural network model for training to obtain a trained neural network model;

[0008] Inputting the acquired real-time operation data of the pumped-storage unit to be monitored into the trained neural network model, so that the trained neural network model outputs the predicted operation data of the pumped-storage unit to be monitored within a preset time period;

[0009] Based on the predicted operation data, the parameters to be adjusted of the trained neural network model are dynamically optimized to obtain an optimized neural network model.

[0010] In some embodiments, based on the predicted operation data, dynamically optimizing and adjusting the parameters to be adjusted of the trained neural network model to obtain an optimized neural network model includes:

[0011] Setting initial values ​​of parameters to be adjusted of the trained neural network model;

[0012] Calculating a prediction error between the predicted operation data and the real-time operation data;

[0013] Based on the prediction error, a matching optimization algorithm is selected to dynamically optimize and adjust the initial value of the parameter to be adjusted to obtain the adjusted target parameter and the optimized neural network model;

[0014] Based on the adjusted target parameters, the real-time operating data of the pumped-storage unit to be monitored is adjusted.

[0015] In some embodiments, based on the prediction error, a matching optimization algorithm is selected to dynamically optimize and adjust the initial value of the parameter to be adjusted to obtain the adjusted target parameter and the optimized neural network model, including:

[0016] comparing the prediction error with a preset error threshold;

[0017] When the prediction error is less than the preset error threshold, a gradient descent algorithm is selected to dynamically optimize and adjust the initial value of the parameter to be adjusted;

[0018] When the prediction error is greater than or equal to the preset error threshold, selecting the Newton method or the quasi-Newton method to dynamically optimize and adjust the initial value of the parameter to be adjusted;

[0019] When the prediction error has a minimum value, a simulated annealing algorithm or a genetic algorithm is selected to dynamically optimize and adjust the initial value of the parameter to be adjusted.

[0020] In some embodiments, the method further comprises:

[0021] When the prediction error is greater than or equal to the preset error threshold, feature extraction is performed on the preprocessed data, and data modeling is performed based on the feature data obtained by the feature extraction to obtain a mathematical model; wherein the feature data includes first correlation data between the preprocessed data and the predicted operation data, second correlation data between the preprocessed data and the real-time operation data, a fault occurrence condition, and a fault occurrence probability;

[0022] Training the mathematical model and obtaining updated preprocessed data output by the mathematical model;

[0023] Obtaining correlation between numerical distribution of each value of the preprocessed data and the updated preprocessed data and distribution function of each value;

[0024] Each value whose correlation is greater than a preset threshold is used as an updated training sample and inputted into the initial neural network model for training.

[0025] In some embodiments, the method further comprises:

[0026] Select at least one cloud service provider;

[0027] Deploy at least one cloud server on the cloud platform of the at least one cloud service provider, and configure corresponding hardware and software environment;

[0028] Deploying the optimized neural network model to a cloud server;

[0029] The API interface is published to the cloud server so that users can interact with the cloud server through the API interface.

[0030] In some embodiments, the preprocessed data is input as a training sample into an initial neural network model for training to obtain a trained neural network model, including:

[0031] Obtaining historical prediction results of the preprocessed data;

[0032] Initializing the weight matrix and bias vector of the initial neural network model to random decimal values;

[0033] Inputting the preprocessed data as training samples into an initial neural network model for training, so that the initial neural network model outputs a prediction result;

[0034] Calculating a loss function value based on a deviation value between the prediction result and the historical prediction result;

[0035] Based on the loss function value, calculate the gradient value of each parameter in the initial neural network model;

[0036] Parameters in the initial neural network model are adjusted based on the gradient value until the initial neural network model is successfully trained.

[0037] In some embodiments, collecting historical operation data of historical pumped-storage units and preprocessing the historical operation data to obtain preprocessed data includes:

[0038] Collect historical operating parameters and historical performance data of historical pumped storage units of different preset models and brands;

[0039] Cleaning the historical working parameters and historical performance data to obtain clean historical working parameters and historical performance data;

[0040] Perform feature selection based on the clean historical working parameters and historical performance data to obtain at least one target feature;

[0041] The clean historical working parameters and historical performance data are normalized so that the similarities of the numerical ranges corresponding to the different target features are greater than or equal to a preset similarity threshold.

[0042] In some embodiments, cleaning the historical operating parameters and historical performance data to obtain clean historical operating parameters and historical performance data includes:

[0043] Abnormal values ​​or erroneous data in the historical working parameters and historical performance data are removed, and missing values ​​are filled to obtain the clean historical working parameters and historical performance data.

[0044] In a second aspect, the embodiment of the present disclosure further provides a model optimization device for a pumped storage unit, which adopts the following technical solution:

[0045] A collection unit is configured to collect historical operation data of the historical pumped storage unit, and preprocess the historical operation data to obtain preprocessed data;

[0046] A training unit is configured to input the preprocessed data as training samples into an initial neural network model for training to obtain a trained neural network model;

[0047] A prediction unit is configured to input the acquired real-time operation data of the pumped-storage unit to be monitored into the trained neural network model, so that the trained neural network model outputs the predicted operation data of the pumped-storage unit to be monitored within a preset time period;

[0048] The optimization unit is configured to dynamically optimize and adjust the parameters to be adjusted of the trained neural network model based on the predicted operation data to obtain an optimized neural network model.

[0049] In a third aspect, the present disclosure also provides an electronic device, which adopts the following technical solution:

[0050] The electronic device comprises:

[0051] at least one processor; and,

[0052] a memory communicatively connected to the at least one processor; wherein,

[0053] The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute any of the above-mentioned model optimization methods for the pumped-storage power unit.

[0054] In a fourth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium, which stores computer instructions, and the computer instructions are used to enable a computer to execute any of the above-mentioned model optimization methods for pumped-storage units.

[0055] A model optimization method for a pumped-storage unit provided in an embodiment of the present disclosure can provide a configurable universal model with a certain degree of compatibility. The model can adapt to units of different brands and models so that the universal model can better adapt to various scenarios. It can be widely used in dynamic simulation, auxiliary design, operation optimization and other scenarios of pumped-storage power stations, provide more accurate and reliable data support for unit monitoring, and improve the operating efficiency and reliability of the power station.

[0056] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the following preferred embodiments are specifically cited and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0058] Figure 1 A schematic flow chart of a model optimization method for a pumped storage unit provided in an embodiment of the present disclosure;

[0059] Figure 2 A schematic diagram of the structure of a model optimization device for a pumped storage unit provided in an embodiment of the present disclosure;

[0060] Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0061] The embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.

[0062] It should be clear that the following embodiments of the present disclosure are described by specific specific examples, and those skilled in the art can easily understand other advantages and effects of the present disclosure from the contents disclosed in this specification. Obviously, the described embodiments are only a part of the embodiments of the present disclosure, rather than all of the embodiments. The present disclosure can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present disclosure. It should be noted that the following embodiments and features in the embodiments can be combined with each other in the absence of conflict. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present disclosure.

[0063] It should be noted that various aspects of the embodiments within the scope of the appended claims are described below. It should be apparent that the aspects described herein may be embodied in a wide variety of forms, and any specific structure and / or function described herein is merely illustrative. Based on the present disclosure, it should be understood by those skilled in the art that an aspect described herein may be implemented independently of any other aspect, and two or more of these aspects may be combined in various ways. For example, any number of aspects described herein may be used to implement the device and / or practice the method. In addition, other structures and / or functionalities other than one or more of the aspects described herein may be used to implement this device and / or practice this method.

[0064] It should also be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present disclosure. The drawings only show components related to the present disclosure rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.

[0065] Additionally, in the following description, specific details are provided to facilitate a thorough understanding of the examples. However, it will be understood by those skilled in the art that the aspects described may be practiced without these specific details.

[0066] Figure 1 A schematic diagram of a flow chart of a model optimization method for a pumped storage unit is provided in an embodiment of the present disclosure. A model optimization method for a pumped storage unit is provided in an embodiment of the present disclosure. YY+231761P

[0067] The following steps are involved:

[0068] S101. Collect historical operation data of historical pumped storage units, and preprocess the historical operation data to obtain preprocessed data.

[0069] The historical operation data may include data such as the rotor inertia of the historical pumped storage unit, the unit input power, and the constant volume ratio of the oil-water mixture.

[0070] The historical operation data of the pumped storage unit can be obtained through on-site sensors or log files.

[0071] S102: Input the preprocessed data as training samples into the initial neural network model for training to obtain a trained neural network model.

[0072] The initial neural network model may be a deep learning model, for example, a convolutional neural network (CNN) or a recurrent neural network (RNN). The disclosed embodiment uses a deep learning method to extract characteristics and analyze dynamic performance of historical operation data of historical pumped storage units, and can analyze the nonlinear relationship in the historical operation data, thereby improving the training accuracy of the initial neural network model.

[0073] S103, inputting the acquired real-time operation data of the pumped-storage unit to be monitored into the trained neural network model, so that the trained neural network model outputs the predicted operation data of the pumped-storage unit to be monitored within a preset time period.

[0074] S104: Based on the predicted operation data, dynamically optimize and adjust the parameters to be adjusted of the trained neural network model to obtain an optimized neural network model.

[0075] A model optimization method for a pumped-storage unit is provided in an embodiment of the present disclosure. First, a universal neural network model is trained for pumped-storage units of different models and brands. Various parameters of internal components of the pumped-storage unit are taken into consideration, and factors such as rotor inertia, constant volume ratio of oil-water mixture, unit input power and other various aspects of parameters are comprehensively considered to optimize the dynamic performance and response characteristics of the pumped-storage unit.

[0076] Secondly, the neural network model is set to a configurable form to adapt to the usage requirements of different power stations, and supports free configuration of core parameters such as power station capacity, head, water pipe characteristics, valve response, etc., fully considering the differences between different power stations to ensure the practicality and wide adaptability of the neural network model.

[0077] Finally, considering that there will be differences between units in different power stations, it is necessary to be compatible and support these differences so that the general neural network model can better adapt to various scenarios. In the training process of the neural network model, the embodiment of the present disclosure takes into account the compatibility with different hardware and software systems, and develops corresponding interfaces and compatible modules to facilitate the practical use of the neural network model. Therefore, the embodiment of the present disclosure can adapt to units of different brands and models by providing a configurable and compatible general neural network model, so that the general model can better adapt to various scenarios, and can be widely used in dynamic simulation, auxiliary design, operation optimization and other scenarios of pumped storage power stations, providing more accurate and reliable data support for unit monitoring, and improving the operating efficiency and reliability of the power station.

[0078] In some embodiments, based on the predicted operation data, dynamically optimizing and adjusting the parameters to be adjusted of the trained neural network model to obtain an optimized neural network model includes:

[0079] Set the initial values ​​of the parameters to be adjusted for the trained neural network model;

[0080] Calculate the prediction error between the predicted operation data and the real-time operation data;

[0081] Based on the prediction error, a matching optimization algorithm is selected to dynamically optimize and adjust the initial value of the parameter to be adjusted, and the adjusted target parameter and the optimized neural network model are obtained;

[0082] Based on the adjusted target parameters, the real-time operating data of the pumped-storage unit to be monitored is adjusted.

[0084] The disclosed embodiment adopts dynamic adaptive parameter optimization technology, which receives the real-time operation data of the unit and the feedback results of the user, so that the trained neural network model can automatically adjust the parameters to be adjusted according to the real-time operation data and the feedback results of the user, so as to achieve the optimal output result of the trained neural network model, thereby greatly improving the practicality and wide adaptability of the model.

[0085] For example, the initial value of the capacity parameter of the power station can be set to 1000MW, and then the capacity parameter of the power station can be dynamically adjusted according to the real-time operation data of the unit and the feedback from users to achieve the optimal effect.

[0086] In some embodiments, based on the prediction error, a matching optimization algorithm is selected to dynamically optimize and adjust the initial value of the parameter to be adjusted to obtain the adjusted target parameter and the optimized neural network model, including:

[0087] comparing the prediction error to a preset error threshold;

[0088] When the prediction error is less than the preset error threshold, the gradient descent algorithm is selected to dynamically optimize the initial value of the parameter to be adjusted;

[0089] When the prediction error is greater than or equal to the preset error threshold, the Newton method or the quasi-Newton method is selected to dynamically optimize the initial value of the parameter to be adjusted;

[0090] When the prediction error has a minimum value, the simulated annealing algorithm or genetic algorithm is selected to dynamically optimize the initial value of the parameter to be adjusted.

[0091] The disclosed embodiment realizes real-time adjustment of parameters through a "feedback control loop" mechanism. This mechanism can monitor the performance of the system in real time, dynamically adjust the control parameters according to the real-time performance of the system and the expected goals, and ensure that the performance of the system is always at YY+231761P

[0092] optimal state or quickly adapt to new environments and demands.

[0093] By continuously monitoring the real-time operating data of the pumped-storage unit to be monitored, including data such as rotor inertia, input power, and constant volume ratio of oil-water mixture. Using the trained neural network model, the predicted operating data is predicted based on the current real-time operating data, and the prediction error between the predicted operating data and the real-time operating data is calculated. Based on the prediction error, the control parameters of the neural network model are dynamically adjusted using the corresponding optimization algorithm (for example, gradient descent algorithm, Newton method, simulated annealing algorithm, etc.) to minimize the prediction error. The adjusted new control parameters are applied to the pumped-storage unit, and the real-time operating data of the unit is continued to be monitored, and then prediction, error calculation and dynamic adjustment parameters are performed again, so that various environmental changes and demand changes can be responded to in real time, ensuring that the pumped-storage unit always works in the optimal state. For example, if it is detected that the input power of the pumped-storage unit suddenly increases, the control parameters will be dynamically adjusted so that the pumped-storage unit can respond quickly and work stably.

[0094] Specifically, real-time operating data can be acquired through sensors deployed at various key locations of the pumped-storage unit. These real-time operating data include but are not limited to rotor inertia, input power, constant volume ratio of oil-water mixture, etc. The acquisition frequency of these real-time operating data can be set to several times per second to several times per minute according to actual needs.

[0095] Secondly, the deep learning model is used to predict the monitored real-time operating data and predict the unit operating status in the future (for example, the next minute), including the operating status of the rotor, the change in input power, etc. After the prediction is completed, the prediction result is compared with the actual operating data to calculate the prediction error. For example, if the predicted input power is P1 and the actual input power is P2, then the prediction error is |P1-P2|.

[0096] Finally, based on the prediction error, an optimization algorithm can be used to dynamically adjust the model parameters. Common optimization algorithms include gradient descent, Newton's method, simulated annealing, etc. For example, if the gradient descent algorithm is used, the partial derivative (that is, the gradient) of the prediction error for each parameter will be calculated, and then the parameters will be adjusted in the opposite direction of the gradient, so that the prediction error can be minimized.

[0097] The best optimization algorithm can be selected based on the size of the prediction error. Different optimization algorithms may perform better in different situations. Therefore, the appropriate algorithm is selected based on the size of the prediction error and the specific situation: Determine an appropriate preset error threshold, which can be used to judge the size of the prediction error. The appropriate preset error threshold can be selected based on the specific application and needs. After each prediction and calculation of the error, the size of the error is judged based on its absolute value. By comparing the prediction error with the preset error threshold, the corresponding optimization algorithm is selected. The following are some common optimization algorithms and possible matching schemes:

[0098] When the prediction error is less than the preset error threshold, the gradient descent algorithm or the improved gradient descent algorithm (such as Adam, RMSprop, etc.) can be selected. These algorithms are suitable for smooth, smaller-scale optimization problems and can converge quickly.

[0099] When the prediction error is greater than or equal to the preset error threshold, you can choose to use the Newton method or quasi-Newton method (such as BFGS, L-BFGS, etc.), which may be more effective in dealing with larger-scale, nonlinear optimization problems.

[0100] For problems with multiple local minima, that is, when the prediction error has a very small value, you can choose global optimization algorithms such as simulated annealing or genetic algorithms, which can explore more extensively in the search space and may find better solutions.

[0101] According to the selected optimization algorithm, the calculated gradient or other relevant information is used to dynamically adjust the parameters of the model, and the parameters are updated according to the specific implementation of the selected algorithm. It should be noted that different optimization algorithms may require different parameter settings, such as learning rate, convergence conditions, etc. Therefore, in practical applications, it is necessary to carefully select and adjust these parameters according to the specific situation to achieve better optimization results. Selecting the optimal optimization algorithm according to the size of the prediction error can improve the tuning effect of the model.

[0102] Apply the adjusted parameters to the pumped storage unit to change the working state of the pumped storage unit. For example, if the input power is found to be too large, the valve opening degree may be adjusted to reduce the input power, and then the real-time operation data of the pumped storage unit will be monitored again to conduct the next round of prediction, calculation error and dynamic adjustment. Through this continuous dynamic adjustment process, the pumped storage generator motor can always be kept in the optimal working state, and it can also quickly respond to various sudden changes and needs.

[0103] In some embodiments, the method further comprises: when the prediction error is greater than or equal to a preset error threshold, performing feature extraction on the preprocessed data, and performing data modeling based on the feature data obtained by the feature extraction to obtain a mathematical model; wherein the feature data comprises first correlation data between the preprocessed data and the predicted operation data, second correlation data between the preprocessed data and the real-time operation data, a fault occurrence condition, and a fault occurrence probability;

[0104] Training a mathematical model and obtaining updated preprocessed data output by the mathematical model;

[0105] Obtaining the correlation between the numerical distribution of each value of the preprocessed data and the updated preprocessed data and the distribution function of each value;

[0106] Each value with a correlation greater than a preset threshold is used as an updated training sample and input into the initial neural network model for training.

[0107] The disclosed embodiments evaluate the correlation effects between data and possible faults through data modeling, and predict the conditions and probability of fault occurrence, thereby improving the data processing performance of the mathematical model and the output efficiency and accuracy of the predicted operating data. By training the initial neural network model with the original training samples and the updated training samples, the diversity of the model's training data is expanded and the model's training accuracy is improved.

[0108] In some embodiments, the method further comprises:

[0109] Select at least one cloud service provider;

[0110] Deploy at least one cloud server on a cloud platform of at least one cloud service provider, and configure corresponding hardware and software environments;

[0111] Deploy the optimized neural network model to the cloud server;

[0112] Publish the API interface to the cloud server so that users can interact with the cloud server through the API interface.

[0113] Optionally, the optimized neural network model can be further optimized and iterated according to the effect of the optimized neural network model in actual operation and the feedback results of users to improve the accuracy and stability of the model.

[0114] Optionally, the optimized neural network model is deployed on a cloud server and provided to users as a service. Users can access the neural network model through an API interface, perform computing tasks, and obtain results. In this way, users do not need to worry about the specific implementation and hardware configuration of the neural network model, but only need to focus on their specific needs. Cloud server deployment utilizes the elastic resources and large-scale parallel processing capabilities of cloud computing. This deployment method has the advantages of high flexibility, low cost, and easy expansion. After the deployment of the cloud server is completed, sufficient testing is required to ensure the normal operation of the cloud server. In addition, the performance of the cloud server needs to be monitored and optimized as needed.

[0115] Optionally, configure the corresponding hardware and software environment, for example, set the corresponding CPU, memory, storage, operating system, network configuration, etc.

[0116] Optionally, publish the API interface to the cloud server so that users can interact with the cloud server through the API interface, including:

[0117] Define the API interface and determine what functions the API interface should provide, such as data upload, computing task execution, result acquisition, etc. Then define the API interface corresponding to these functions. Usually, an architectural style called REST is used to design the API interface.

[0118] Implement API interfaces. According to the definition of API interfaces, write corresponding codes to implement these interfaces. These codes need to be able to process user requests, call backend algorithm services, and return corresponding results;

[0119] Publish and maintain API interfaces. Publish the implemented API interfaces to the cloud server and provide them to users. After release, maintenance is required, including monitoring the usage of the API interfaces, handling user questions and feedback, and updating and optimizing as needed.

[0120] The data interaction process is the process in which users interact with algorithm services through API interfaces, which includes data upload, computing task execution, and result acquisition. Data upload means that users upload the data to be calculated to the cloud server through the API interface. These data may include the real-time working data of the unit, the configuration parameters of the model, etc.; computing task execution means that after the cloud server receives the data uploaded by the user, it will call the algorithm service for calculation, which can perform data preprocessing, model prediction, parameter optimization, etc.; result acquisition means that after the calculation is completed, the cloud server returns the calculation results to the user, and the user can obtain the calculation results through the API interface, such as obtaining the predicted status of the unit, optimized parameters, etc.

[0121] The cloud-based service model provided by the embodiments of the present disclosure allows users to conveniently use the pumped-storage generator motor model algorithm anywhere and at any time as long as there is an Internet connection.

[0122] The disclosed embodiments develop corresponding API interfaces and compatible modules to support the interaction between the cloud server and different hardware and software systems, so that this universal, configurable and highly compatible neural network model can better adapt to various scenarios and requirements of power stations.

[0123] In some embodiments, the preprocessed data is input as a training sample into an initial neural network model for training to obtain a trained neural network model, including:

[0124] Get historical prediction results of preprocessed data;

[0125] Initialize the weight matrix and bias vector of the initial neural network model to random small values;

[0126] Input the preprocessed data as training samples into the initial neural network model for training, so that the initial neural network model outputs a prediction result;

[0127] Calculate the loss function value based on the deviation between the predicted result and the historical predicted result;

[0128] Based on the loss function value, calculate the gradient value of each parameter in the initial neural network model;

[0129] The parameters in the initial neural network model are adjusted based on the gradient value until the initial neural network model is successfully trained.

[0130] Optionally, the loss function may include a mean square error (MSE) loss function, a cross entropy loss function, or the like.

[0131] Optionally, the gradient of the loss function with respect to each parameter in the initial neural network model is calculated by the chain rule.

[0132] Optionally, the parameters in the initial neural network model are adjusted based on the gradient value by using the gradient descent method or its variants (such as Adam, RMSprop, etc.) until the initial neural network YY+231761P

[0133] The performance of the model reaches a satisfactory level or reaches the preset number of training rounds.

[0134] Optionally, the disclosed embodiment divides the preprocessed data into a training set and a test set. For example, 80% of the preprocessed data can be used as a training set and 20% of the preprocessed data can be used as a test set. The test set is used to evaluate the performance of the trained neural network model. The accuracy, precision and other performance indicators of the trained neural network model are evaluated by inputting the test data in the test set into the trained neural network model and comparing it with the true labels of the test set. The randomness and representativeness of the preprocessed data should be maintained during the division of the training set and the test set to avoid data bias problems.

[0135] In some embodiments, collecting historical operation data of historical pumped-storage units and preprocessing the historical operation data to obtain preprocessed data includes:

[0136] Collect historical operating parameters and historical performance data of historical pumped storage units of different preset models and brands;

[0137] Clean historical working parameters and historical performance data to obtain clean historical working parameters and historical performance data;

[0138] Perform feature selection based on clean historical working parameters and historical performance data to obtain at least one target feature;

[0139] The clean historical working parameters and historical performance data are normalized so that the similarity of the numerical ranges corresponding to different target features is greater than or equal to a preset similarity threshold.

[0140] Optionally, the historical operating parameters of the historical pumped storage unit may be some core parameters, such as the capacity, lift, water pipe characteristics, valve response and other parameters of the power station. The embodiment of the present disclosure develops the neural network model into a configurable form, and some core parameters can be freely configured YY+231761P

[0141] To adapt to different power station needs.

[0142] Optionally, feature selection is performed based on clean historical operating parameters and historical performance data, and the at least one target feature obtained may be rotor inertia, input power of the motor, constant volume ratio of the oil-water mixture, etc.

[0143] Optionally, by normalizing or standardizing the clean historical working parameters and historical performance data, the similarity of the numerical ranges corresponding to different target features is made greater than or equal to a preset similarity threshold, so as to improve the stability and convergence of the model training.

[0144] In some embodiments, cleaning the historical operating parameters and historical performance data to obtain clean historical operating parameters and historical performance data includes:

[0145] Remove outliers or erroneous data from historical working parameters and historical performance data, and fill in missing values ​​to obtain clean historical working parameters and historical performance data.

[0146] Figure 2 A schematic diagram of a model optimization device for a pumped storage unit is provided for an embodiment of the present disclosure. The model optimization device for a pumped storage unit provided by an embodiment of the present disclosure includes:

[0147] The collecting unit 21 is configured to collect historical operation data of the historical pumped storage unit, and preprocess the historical operation data to obtain preprocessed data;

[0148] The training unit 22 is configured to input the preprocessed data as training samples into the initial neural network model for training to obtain a trained neural network model;

[0149] The prediction unit 23 is configured to input the acquired real-time operation data of the pumped-storage unit to be monitored into the trained neural network model, so that the trained neural network model outputs the predicted operation data of the pumped-storage unit to be monitored within a preset time period;

[0150] The optimization unit 24 is configured to dynamically optimize and adjust the parameters to be adjusted of the trained neural network model based on the predicted operation data to obtain an optimized neural network model.

[0151] The electronic device according to an embodiment of the present disclosure includes a memory and a processor. The memory is used to store non-temporary computer-readable instructions. Specifically, the memory may include one or more computer program products, and the computer program product may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may, for example, include a random access memory (RAM) and / or a cache memory (cache), etc. The non-volatile memory may, for example, include a read-only memory (ROM), a hard disk, a flash memory, etc.

[0152] The processor may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device to perform desired functions. In one embodiment of the present disclosure, the processor is used to run the computer-readable instructions stored in the memory, so that the electronic device performs all or part of the steps of the model optimization method of the pumped storage unit in the aforementioned embodiments of the present disclosure.

[0153] Those skilled in the art should be able to understand that in order to solve the technical problem of how to obtain a good user experience, the present embodiment may also include well-known structures such as a communication bus and an interface, and these well-known structures should also be included in the protection scope of the present disclosure.

[0154] like Figure 3 The present invention provides a schematic diagram of the structure of an electronic device according to an embodiment of the present invention, which is suitable for implementing the electronic device in the embodiment of the present invention. Figure 3 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0155] like Figure 3 As shown, the electronic device may include a processor (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) or a program loaded from a storage device into a random access memory (RAM). In the RAM, various programs and data required for the operation of the electronic device are also stored. The processor, ROM, and RAM are connected to each other via a bus. An input / output (I / O) interface is also connected to the bus.

[0156] Typically, the following devices can be connected to the I / O interface: input devices such as sensors or visual information acquisition devices; output devices such as display screens; storage devices such as magnetic tapes and hard disks; and communication devices. The communication device can allow the electronic device to communicate with other devices (such as edge computing devices) wirelessly or by wire to exchange data. Figure 3 An electronic device having various devices is shown, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0157] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device, or installed from a ROM. When the computer program is executed by a processor, all or part of the steps of the model optimization method of the pumped storage unit of the embodiment of the present disclosure are executed.

[0158] For detailed description of this embodiment, reference may be made to the corresponding descriptions in the aforementioned embodiments, which will not be repeated here.

[0159] According to the computer-readable storage medium of the embodiment of the present disclosure, non-transitory computer-readable instructions are stored thereon. When the non-transitory computer-readable instructions are executed by a processor, all or part of the steps of the model optimization method of the pumped storage unit in the above-mentioned embodiments of the present disclosure are executed.

[0160] The above-mentioned computer-readable storage media include, but are not limited to: optical storage media (e.g., CD-ROM and DVD), magneto-optical storage media (e.g., MO), magnetic storage media (e.g., magnetic tape or mobile hard disk), media with built-in rewritable non-volatile memory (e.g., memory card) and media with built-in ROM (e.g., ROM box).

[0161] For detailed description of this embodiment, reference may be made to the corresponding descriptions in the aforementioned embodiments, which will not be repeated here.

[0162] The basic principles of the present disclosure are described above in conjunction with specific embodiments. However, it should be noted that the advantages, strengths, effects, etc. mentioned in the present disclosure 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 disclosure. In addition, the specific details disclosed above are only for the purpose of illustration and ease of understanding, and are not limitations. The above details do not limit the present disclosure to the necessity of adopting the above specific details to be implemented.

[0163] In the present disclosure, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is any such actual relationship or order between these entities or operations. The block diagrams of the devices, devices, equipment, and systems involved in the present disclosure 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, devices, 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.

[0164] Additionally, as used herein, "or" used in a list of items beginning with "at least one" indicates a separate list, so that, for example, a list of "at least one of A, B, or C" means A or B or C, or AB or AC or BC, or ABC (i.e., A and B and C). Furthermore, the word "exemplary" does not mean that the example described is preferred or better than other examples.

[0165] It should also be noted that in the system and method of the present disclosure, 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 disclosure.

[0166] Various changes, substitutions, and modifications of the techniques described herein may be made without departing from the teachings defined by the appended claims. Furthermore, the scope of the claims of the present disclosure is not limited to the specific aspects of the processes, machines, manufactures, compositions of events, means, methods, and actions described above. Currently existing or later to be developed processes, machines, manufactures, compositions of events, means, methods, or actions that perform substantially the same functions or achieve substantially the same results as the corresponding aspects described herein may be utilized. Thus, the appended claims include such processes, machines, manufactures, compositions of events, means, methods, or actions within their scope.

[0167] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present disclosure. 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.

[0168] Thus, the present disclosure is not intended to be limited to the aspects shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

[0169] The above description has been given for the purpose of illustration and description. In addition, this description is not intended to limit the embodiments of the present disclosure to the forms disclosed herein. Although multiple example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, changes, additions and sub-combinations thereof.

Claims

1. A model optimization method for pumped storage units, It is characterized in that include: Collecting historical operation data of historical pumped storage units, and preprocessing the historical operation data to obtain preprocessed data; Inputting the preprocessed data as training samples into an initial neural network model for training to obtain a trained neural network model; Inputting the acquired real-time operation data of the pumped-storage unit to be monitored into the trained neural network model, so that the trained neural network model outputs the predicted operation data of the pumped-storage unit to be monitored within a preset time period; Based on the predicted operation data, the parameters to be adjusted of the trained neural network model are dynamically optimized to obtain an optimized neural network model.

2. The model optimization method of the pumped storage unit according to claim 1, It is characterized in that Based on the predicted operation data, dynamically optimizing and adjusting the parameters to be adjusted of the trained neural network model to obtain an optimized neural network model, including: Setting initial values ​​of parameters to be adjusted of the trained neural network model; Calculating a prediction error between the predicted operation data and the real-time operation data; Based on the prediction error, a matching optimization algorithm is selected to dynamically optimize and adjust the initial value of the parameter to be adjusted to obtain the adjusted target parameter and the optimized neural network model; Based on the adjusted target parameters, the real-time operating data of the pumped-storage unit to be monitored is adjusted.

3. The model optimization method of the pumped storage unit according to claim 2, It is characterized in that Based on the prediction error, a matching optimization algorithm is selected to dynamically optimize and adjust the initial value of the parameter to be adjusted to obtain the adjusted target parameter and the optimized neural network model, including: comparing the prediction error with a preset error threshold; When the prediction error is less than the preset error threshold, a gradient descent algorithm is selected to dynamically optimize and adjust the initial value of the parameter to be adjusted; When the prediction error is greater than or equal to the preset error threshold, selecting the Newton method or the quasi-Newton method to dynamically optimize and adjust the initial value of the parameter to be adjusted; When the prediction error has a minimum value, a simulated annealing algorithm or a genetic algorithm is selected to dynamically optimize and adjust the initial value of the parameter to be adjusted.

4. The model optimization method of the pumped storage unit according to claim 3, It is characterized in that The method further comprises: When the prediction error is greater than or equal to the preset error threshold, feature extraction is performed on the preprocessed data, and data modeling is performed based on the feature data obtained by the feature extraction to obtain a mathematical model; wherein the feature data includes first correlation data between the preprocessed data and the predicted operation data, second correlation data between the preprocessed data and the real-time operation data, a fault occurrence condition, and a fault occurrence probability; Training the mathematical model and obtaining updated preprocessed data output by the mathematical model; Obtaining correlation between numerical distribution of each value of the preprocessed data and the updated preprocessed data and distribution function of each value; Each value whose correlation is greater than the preset threshold is input as the updated training sample Enter into the initial neural network model for training.

5. The model optimization method of the pumped storage unit according to claim 1, It is characterized in that The method further comprises: Select at least one cloud service provider; Deploy at least one cloud server on the cloud platform of the at least one cloud service provider, and configure corresponding hardware and software environment; Deploying the optimized neural network model to a cloud server; The API interface is published to the cloud server so that users can interact with the cloud server through the API interface.

6. The model optimization method of the pumped storage unit according to claim 1, It is characterized in that Inputting the preprocessed data as training samples into the initial neural network model for training to obtain a trained neural network model, including: Obtaining historical prediction results of the preprocessed data; Initializing the weight matrix and bias vector of the initial neural network model to random decimal values; Inputting the preprocessed data as training samples into an initial neural network model for training, so that the initial neural network model outputs a prediction result; Calculating a loss function value based on a deviation value between the prediction result and the historical prediction result; Based on the loss function value, calculate the gradient value of each parameter in the initial neural network model; Based on the gradient value, the parameters in the initial neural network model are adjusted until YY+231761P The initial neural network model training was successful.

7. The model optimization method of the pumped storage unit according to claim 1, It is characterized in that Collecting historical operation data of historical pumped storage units, and preprocessing the historical operation data to obtain preprocessed data, including: Collect historical operating parameters and historical performance data of historical pumped storage units of different preset models and brands; Removing abnormal values ​​or erroneous data from the historical working parameters and historical performance data, and filling missing values, to obtain clean historical working parameters and historical performance data; Perform feature selection based on the clean historical working parameters and historical performance data to obtain at least one target feature; The clean historical working parameters and historical performance data are normalized so that the similarities of the numerical ranges corresponding to the different target features are greater than or equal to a preset similarity threshold.

8. A model optimization device for a pumped storage unit, It is characterized in that include: A collection unit is configured to collect historical operation data of the historical pumped storage unit, and preprocess the historical operation data to obtain preprocessed data; A training unit is configured to input the preprocessed data as training samples into an initial neural network model for training to obtain a trained neural network model; A prediction unit, configured to input the acquired real-time operation data of the pumped-storage unit to be monitored into the trained neural network model, so that the trained neural network model outputs the predicted operation data of the pumped-storage unit to be monitored within a preset time period; The optimization unit is configured to optimize the trained neural network YY+231761P based on the predicted operation data. The parameters to be adjusted of the network model are dynamically optimized to obtain an optimized neural network model.

9. An electronic device, It is characterized in that The electronic device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the model optimization method of the pumped-storage unit described in any one of claims 1 to 7.

10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer instructions, which are used to enable a computer to execute the model optimization method of the pumped-storage unit described in any one of claims 1 to 7.

Citation Information

Cited By

  • Multi-scene material scheduling method and device

    CN118966726A

  • A multi-scenario material scheduling method and device

    CN118966726B

  • Underground water level monitoring method and system based on artificial intelligence

    CN119476632A