Remote update method, device and system for multi-source power prediction algorithm of new energy station
By detecting and screening the update models of new energy stations, generating encrypted update instructions and compressed packages, and updating the station models remotely, it solves the problem in the existing technology of being unable to remotely update and be compatible with models from different manufacturers, and improves the accuracy of power prediction. and update efficiency.
Patent Information
- Application Number
- CN202411062378.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-05
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-08-05
AI Technical Summary
The power prediction system of existing new energy stations cannot remotely update the model and is not compatible with models from different manufacturers, resulting in heavy maintenance workload, difficulty in ensuring prediction accuracy, and low update efficiency.
By obtaining update model information from multiple manufacturers, detecting model prediction accuracy, screening target update models, and generating encrypted model update instructions and model compression packages, remotely update models in the site to achieve compatibility and dynamic optimization of models from different manufacturers. .
It improves the accuracy of power prediction and maintenance efficiency, ensures the accuracy of the updated model's power generation prediction for stations, and improves the centralized update efficiency of multi-vendor models.
Smart Images

Figure CN118585225B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of model updating of new energy stations, and in particular to a method, device and system for remotely updating a multi-source power prediction algorithm of a new energy station. Background Art
[0002] Power prediction is one of the essential functions of new energy stations. The operation of the new energy power prediction system will affect the operating efficiency of the new energy power plant and directly affect the dispatching strategy of the power grid company. At present, the new energy power prediction system is deployed in the station to realize functions such as power prediction calculation and data upload. The power prediction system deployed at the station is multi-faceted and has a large maintenance workload, and the prediction accuracy is difficult to guarantee. In order to improve the accuracy of power prediction and maintenance efficiency, the centralized power prediction system deployed in the centralized control center has received more and more attention. However, there is often a certain distance between the centralized control center and the station, so how to update the model of the remote station is the current research focus.
[0003] The traditional way to update station models is to have professional technicians go to the station site to replace models and carry out related system maintenance and upgrades. However, this method has a large maintenance workload and the dynamic optimization effect of each model is poor. It is impossible to ensure the accuracy of power prediction for the station by each updated model, resulting in low efficiency of centralized updating of multiple models. Summary of the invention
[0004] Based on this, it is necessary to provide a method, device, computer equipment, computer-readable storage medium and computer program product for remote updating of a multi-source power prediction algorithm for a new energy station in response to the above-mentioned technical problems.
[0005] In a first aspect, the present application provides a method for remotely updating a multi-source power prediction algorithm for a new energy station. The method comprises:
[0006] Acquire updated model information of each model that needs to be updated by multiple manufacturers, and detect the prediction accuracy of each model based on the updated model information of each model;
[0007] Based on the prediction accuracy of each of the models, each target update model is selected from each of the models, and based on the update model information of each target update model, an encrypted model update instruction of each target update model and a model compression package of each target update model are generated;
[0008] The encrypted model update instructions of each target update model and the model compression package of each target update model are sent to each station, and based on the model update instructions corresponding to the encrypted model update instructions of each target update model and the model compression package of each target update model, each current target update model in each of the stations is updated to obtain each updated target update model.
[0009] Optionally, obtaining update model information of each model that needs to be updated by multiple manufacturers includes:
[0010] In response to the model update request of each manufacturer, the model update package of each model sent by each manufacturer is received, and each model update package is parsed to obtain the environment image file of each model, the model file of each model, the numerical weather forecast file corresponding to each model, and the power prediction file of each model;
[0011] The environment image file of each model is transmitted to the distribution directory of each model through the image transmission channel, and the model file of each model and the numerical weather forecast file corresponding to each model are pulled through the file pulling program to obtain the file to be tested of each model;
[0012] The power prediction file of each model is used as the detection comparison file of each model, and the file to be detected of each model and the detection comparison file of each model are used as the updated model information of each model.
[0013] Optionally, the updating model information of each model and detecting the prediction accuracy of each model include:
[0014] For each model, parse the numerical weather forecast file corresponding to the model to obtain the predicted meteorological data of the model, and transmit the predicted meteorological data to the distribution directory of the model;
[0015] Based on the forecasted meteorological data of the model, the updated model forecast results of the model in the forecasted meteorological data and the current model forecast results of the model in the forecasted meteorological data are simulated and predicted through the model file of the model and the current model file of the model at the station, and the manufacturer forecast results of the model in the forecasted meteorological data are identified based on the detection comparison file of the model;
[0016] Based on the updated model prediction result of the model in the predicted meteorological data, the current model prediction result of the model in the predicted meteorological data, and the manufacturer prediction result of the model in the predicted meteorological data, respectively calculate the first accuracy of the manufacturer adaptation of the model and the second accuracy of the site adaptation of the model;
[0017] The first accuracy of the manufacturer adaptation of the model and the second accuracy of the site adaptation of the model are used as the prediction accuracy of the model.
[0018] Optionally, the step of selecting each target update model from each model based on the prediction accuracy of each model includes:
[0019] For each model, when a first accuracy of the model adapted by the manufacturer is lower than a first accuracy threshold, determining that the model does not need to be updated;
[0020] When the first accuracy of the model adapted by the manufacturer is higher than the first accuracy threshold, and the second accuracy is greater than the second accuracy threshold, determining the model as a target update model, setting the update mode of the target update model to a model parameter update mode, and transmitting the model file of the model to the distribution directory of the model;
[0021] When the first accuracy of the model adapted by the manufacturer is higher than the first accuracy threshold and the second accuracy is not greater than the second accuracy threshold, the model is determined to be the target update model, and the update method of the target update model is set to the model replacement method, and the model file of the model is transferred to the distribution directory of the model.
[0022] Optionally, the generating, based on the update model information of each target update model, an encrypted model update instruction of each target update model and a model compression package of each target update model comprises:
[0023] Obtain a model standard startup program and a model startup configuration file, and based on the environment image file of each target update model, identify the image configuration file of each target update model;
[0024] Based on the model startup configuration file of each target update model, the model standard startup program is adjusted to obtain the model startup program corresponding to each target update model, and based on the model startup program corresponding to each target update model, a model update instruction of each target update model is generated;
[0025] Each model update instruction is encrypted to obtain the encrypted model update instruction of each target update model, and based on the distribution directory of each target update model, a model compression package of each target update model is generated through the mirror configuration file.
[0026] Optionally, the step of sending the encrypted model update instruction of each target update model and the model compression package of each target update model to each station includes:
[0027] Sending the encrypted model update instructions of each target update model and the model compression packages of each target update model to the distribution control center through the reverse isolation strategy;
[0028] The distribution control center identifies the site corresponding to each target update model, and the distribution control center decrypts the encrypted model update instruction of each target update model to obtain the model update instruction of each target update model;
[0029] The model update instructions of each target update model and the model compression packages of each target update model are sent to the sites corresponding to each target update model respectively through the distribution control center.
[0030] Optionally, after updating each current target update model in each station based on the model update instruction corresponding to the encrypted model update instruction of each target update model and the model compression package of each target update model to obtain each updated target update model, the method further includes:
[0031] For each station, based on each updated target update model of the station and the predicted meteorological data of each target update model, predict each power generation prediction data of the station, identify the weight value of each updated target update model, perform weighted sum processing on the power generation prediction data predicted by each updated target update model, and obtain the target power generation prediction data of the station;
[0032] The target power generation forecast data of each station is reported to the dispatching center system through the data transmission channel.
[0033] In a second aspect, the present application also provides a remote updating device for a multi-source power prediction algorithm of a new energy station. The device comprises:
[0034] An acquisition module, used for acquiring update model information of each model that needs to be updated by multiple manufacturers, and detecting the prediction accuracy of each model based on the update model information of each model;
[0035] A generation module, for screening each target update model in each of the models based on the prediction accuracy of each of the models, and generating an encrypted model update instruction for each target update model and a model compression package for each target update model based on the update model information of each target update model;
[0036] An update module is used to send the encrypted model update instructions of each target update model and the model compression package of each target update model to each station, and based on the model update instructions corresponding to the encrypted model update instructions of each target update model and the model compression package of each target update model, update each current target update model in each of the stations to obtain each updated target update model.
[0037] Optionally, the acquisition module is specifically used to:
[0038] In response to the model update request of each manufacturer, the model update package of each model sent by each manufacturer is received, and each model update package is parsed to obtain the environment image file of each model, the model file of each model, the numerical weather forecast file corresponding to each model, and the power prediction file of each model;
[0039] The environment image file of each model is transmitted to the distribution directory of each model through the image transmission channel, and the model file of each model and the numerical weather forecast file corresponding to each model are pulled through the file pulling program to obtain the file to be tested of each model;
[0040] The power prediction file of each model is used as the detection comparison file of each model, and the file to be detected of each model and the detection comparison file of each model are used as the updated model information of each model.
[0041] Optionally, the acquisition module is specifically used to:
[0042] For each model, parse the numerical weather forecast file corresponding to the model to obtain the predicted meteorological data of the model, and transmit the predicted meteorological data to the distribution directory of the model;
[0043] Based on the forecasted meteorological data of the model, the updated model forecast results of the model in the forecasted meteorological data and the current model forecast results of the model in the forecasted meteorological data are simulated and predicted through the model file of the model and the current model file of the model at the station, and the manufacturer forecast results of the model in the forecasted meteorological data are identified based on the detection comparison file of the model;
[0044] Based on the updated model prediction result of the model in the predicted meteorological data, the current model prediction result of the model in the predicted meteorological data, and the manufacturer prediction result of the model in the predicted meteorological data, respectively calculate the first accuracy of the manufacturer adaptation of the model and the second accuracy of the site adaptation of the model;
[0045] The first accuracy of the manufacturer adaptation of the model and the second accuracy of the site adaptation of the model are used as the prediction accuracy of the model.
[0046] Optionally, the generating module is specifically used for:
[0047] For each model, when a first accuracy of the model adapted by the manufacturer is lower than a first accuracy threshold, determining that the model does not need to be updated;
[0048] When the first accuracy of the model adapted by the manufacturer is higher than the first accuracy threshold, and the second accuracy is greater than the second accuracy threshold, determining the model as a target update model, setting the update mode of the target update model to a model parameter update mode, and transmitting the model file of the model to the distribution directory of the model;
[0049] When the first accuracy of the model adapted by the manufacturer is higher than the first accuracy threshold and the second accuracy is not greater than the second accuracy threshold, the model is determined to be the target update model, and the update method of the target update model is set to the model replacement method, and the model file of the model is transferred to the distribution directory of the model.
[0050] Optionally, the generating module is specifically used for:
[0051] Obtain a model standard startup program and a model startup configuration file, and based on the environment image file of each target update model, identify the image configuration file of each target update model;
[0052] Based on the model startup configuration file of each target update model, the model standard startup program is adjusted to obtain the model startup program corresponding to each target update model, and based on the model startup program corresponding to each target update model, a model update instruction of each target update model is generated;
[0053] Each model update instruction is encrypted to obtain the encrypted model update instruction of each target update model, and based on the distribution directory of each target update model, a model compression package of each target update model is generated through the mirror configuration file.
[0054] Optionally, the update module is specifically used to:
[0055] Sending the encrypted model update instructions of each target update model and the model compression packages of each target update model to the distribution control center through the reverse isolation strategy;
[0056] The distribution control center identifies the site corresponding to each target update model, and the distribution control center decrypts the encrypted model update instruction of each target update model to obtain the model update instruction of each target update model;
[0057] The model update instructions of each target update model and the model compression packages of each target update model are sent to the sites corresponding to each target update model respectively through the distribution control center.
[0058] Optionally, the device further comprises:
[0059] A prediction module is used to predict, for each station, the power generation prediction data of the station based on the updated target update models of the station and the predicted meteorological data of each target update model, identify the weight value of each updated target update model, perform weighted sum processing on the power generation prediction data predicted by each updated target update model, and obtain the target power generation prediction data of the station;
[0060] The reporting module is used to report the target power generation forecast data of each station to the dispatching center system through the data transmission channel.
[0061] In a third aspect, the present application provides a computer device, wherein the computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of any one of the methods in the first aspect are implemented.
[0062] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the steps of any one of the methods in the first aspect are implemented.
[0063] In a fifth aspect, the present application provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the steps of any one of the methods in the first aspect are implemented.
[0064] The above-mentioned remote update method, device and system of the multi-source power prediction algorithm for new energy stations obtains the update model information of each model that needs to be updated by multiple manufacturers, and detects the prediction accuracy of each model based on the update model information of each model; based on the prediction accuracy of each model, each target update model is screened in each model, and based on the update model information of each target update model, an encrypted model update instruction of each target update model and a model compression package of each target update model are generated; the encrypted model update instruction of each target update model and the model compression package of each target update model are sent to each station, and based on the model update instruction corresponding to the encrypted model update instruction of each target update model and the model compression package of each target update model, each current target update model in each station is updated to obtain each updated target update model. This solution aims at the problem that the existing power prediction system at the new energy station cannot remotely update the model and cannot be compatible with models from different manufacturers. This solution solves the problem of remotely updating the power prediction model at the new energy station end at the centralized power prediction system end by splitting and parsing the updated model information of each model and then issuing the information, thereby achieving compatibility with models from different manufacturers. Secondly, before the model is updated, this solution analyzes the prediction accuracy of the updated model information to be updated by each manufacturer, thereby screening the target update model, improving the accuracy of screening and replacing the models currently applicable to the station, realizing the dynamic optimization and elimination of each model, and ensuring the accuracy of the power generation prediction of the station after the update. After that, this solution uniformly monitors and issues the updated model files (including power prediction files, image files, model files and numerical weather forecast files) of the models that need to be updated by each manufacturer. It creates the optimal monitoring and transmission channel for each type of file based on the size, update frequency and usage of each type of file, thereby improving the efficiency of each model update. Finally, this solution splits and distributes the updated model information of each model from multiple manufacturers, verifies and screens each model, and finally automatically updates it remotely, ensuring that the models of multiple manufacturers can be updated at the same time and improving the centralized update efficiency of each model from multiple manufacturers. BRIEF DESCRIPTION OF THE DRAWINGS
[0065] Figure 1 A schematic diagram of a system processing flow of a remote update system for a power prediction model of a new energy station in one embodiment;
[0066] Figure 2 A schematic diagram of a flow chart of a remote updating method for a multi-source power prediction algorithm of a new energy station in one embodiment;
[0067] Figure 3 A schematic diagram of a detection process for sending various types of files from multiple manufacturers in one embodiment;
[0068] Figure 4 A schematic diagram of the steps of issuing a model compression package and a model update instruction in one embodiment;
[0069] Figure 5 A schematic diagram of a process of remotely updating a multi-source power prediction algorithm for a new energy station in an embodiment;
[0070] Figure 6 It is a structural block diagram of a remote updating device for a multi-source power prediction algorithm of a new energy station in one embodiment;
[0071] Figure 7 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0072] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0073] The remote update method of the multi-source power prediction algorithm of the new energy station provided in the embodiment of the present application can be applied to Figure 1The remote update system of the power prediction model of the new energy station shown. The system includes an external release network, a centralized control zone 3, a centralized control zone 2, a station zone 2, and a dispatching network. The external release network is for the manufacturers of each model attack / update, that is, a mirror warehouse system of each model of different manufacturers. The centralized control zone 3 and the centralized control zone 2 are the execution bodies of the control module of this solution. The station zone 2 is each new energy power generation station, and the dispatching network is the dispatching center system. The control module can be a terminal, a server, or a system combining a terminal and a server. The terminal is aimed at the problem that the existing power prediction system at the new energy station end cannot remotely update the model and cannot be compatible with models from different manufacturers. This solution solves the problem of remotely updating the power prediction model at the new energy station end at the centralized power prediction system end by splitting and parsing the updated model information of each model and then sending the information down for processing, thereby achieving compatibility with models from different manufacturers. Secondly, before the model is updated, this solution analyzes the prediction accuracy of the updated model information to be updated of each manufacturer, thereby selecting the target update model, improving the accuracy of the selection and replacement of the models currently applicable to the site, realizing the dynamic optimization and elimination of each model, and ensuring the prediction accuracy of the power generation of the site after the update. After that, this solution uniformly monitors and issues the updated model files (including power prediction files, image files, model files and numerical weather forecast files) of the models that need to be updated by each manufacturer. It creates the optimal monitoring and transmission channel for each type of file based on the size, update frequency and usage of each type of file, thereby improving the efficiency of each model update. Finally, this solution splits and issues the updated model information of each model of multiple manufacturers, inspects and screens each model, and finally remotely and automatically updates it, ensuring that the models of multiple manufacturers can be updated at the same time, and improving the centralized update efficiency of each model of multiple manufacturers.
[0074] In one embodiment, Figure 2 As shown, a remote update method for multi-source power prediction algorithm of new energy stations is provided, and the method is applied to Figure 1 The following steps are taken as an example to illustrate the terminal corresponding to the centralized control zone 3 and the centralized control zone 2:
[0075] Step S201 , obtaining updated model information of each model that needs to be updated by multiple manufacturers, and detecting the prediction accuracy of each model based on the updated model information of each model.
[0076] In this embodiment, the terminal receives the update data packet of each model released by each manufacturer through the external release network, and identifies the update model information in the update data packet to obtain the update model information of each model that each manufacturer needs to update. Among them, the model is a power generation prediction model, and the power generation prediction model of each manufacturer includes a short-term power generation prediction model and an ultra-short-term power generation prediction model. The update model information includes the power prediction file, mirror file, model file and numerical weather forecast file of the model. Among them, the numerical weather forecast file is the predicted meteorological data obtained from the meteorological forecast center; the model file is the file that needs to update the model; the mirror file is the environment mirror file corresponding to the power prediction algorithm operating environment of different service providers; the power prediction file is the model based on the predicted meteorological data when the manufacturer leaves the factory, and the power generation prediction data predicted by the model, which is the prediction data when the manufacturer detects the model, that is, the prediction data when the model achieves the best prediction effect. Then, the terminal performs model detection on each model in the three centralized control areas through the update model information of each model, so as to obtain the prediction accuracy of each model. Among them, the specific detection process will be described in detail later.
[0077] Step S202, based on the prediction accuracy of each model, select each target update model in each model, and based on the update model information of each target update model, generate an encrypted model update instruction for each target update model and a model compression package for each target update model.
[0078] In this embodiment, the terminal screens each target update model in each model based on the prediction accuracy of each model, and generates an encrypted model update instruction for each target update model and a model compression package for each target update model based on the update model information of each target update model. Among them, the target update model is a model that needs to be updated or replaced for each station. The specific screening process will be described in detail later. Among them, the model compression package includes the forecast meteorological data, environmental mirror file, and model file that need to be sent to the station. The encrypted model update instruction is the encrypted content obtained after encrypting the model update instruction, and the encryption method is any method corresponding to the encryption algorithm that can realize the encryption of instructions and programs. The specific generation process will be described in detail later.
[0079] Step S203, sending the encrypted model update instructions of each target update model and the model compression package of each target update model to each station, and based on the model update instructions corresponding to the encrypted model update instructions of each target update model and the model compression package of each target update model, updating each current target update model in each station to obtain each updated target update model.
[0080] In this embodiment, the terminal sends the encrypted model update instruction of each target update model and the model compression package of each target update model to each station through the centralized control area 2. After the terminal identifies the station corresponding to each model through the centralized control area 2, it decrypts the encrypted model update instruction, obtains the model update instruction, and then sends the model update instruction of each target update model and the model compression package of each target update model to the station corresponding to each target update model. Finally, based on the model update instruction corresponding to the encrypted model update instruction of each target update model and the model compression package of each target update model, the terminal updates each current target update model in each station to obtain each updated target update model. During the update process, the terminal identifies the update method of each target update model, and starts the model update process of each current target update model in the model update instruction of each target update model, and updates the model based on the model file, environmental image file, and predicted meteorological data in the model compression package through the update method of the target update model. The update mode includes a model parameter update mode and a model replacement mode. When the update mode is the model parameter update mode, the terminal replaces the current model parameters of the current target update model with the model parameters in the model file, thereby updating the current target update model. When the update mode is the model replacement mode, the terminal directly shuts down the deployment model of the current target update model that needs to be replaced by the model file at the station, and redeploys the model file at the station, thereby replacing the current target update model.
[0081] Based on the above scheme, the terminal aims at the problem that the existing power prediction system of the new energy station cannot remotely update the model and cannot be compatible with the models of different manufacturers. This scheme solves the problem of remotely updating the power prediction model of the new energy station at the centralized power prediction system end by splitting and parsing the updated model information of each model and then issuing the information, thereby realizing compatibility with models of different manufacturers. Secondly, before the model is updated, this scheme analyzes the prediction accuracy of the updated model information to be updated by each manufacturer, thereby screening the target update model, improving the accuracy of screening and replacing the models currently applicable to the station, realizing the dynamic optimization and elimination of each model, and ensuring the accuracy of the power generation prediction of the station after the update. After that, this scheme uniformly monitors and issues files for the updated model files (including power prediction files, image files, model files and numerical weather forecast files) of the models that need to be updated by each manufacturer. It is based on the size of each type of file, the update frequency and the usage method, and creates the optimal monitoring and transmission channel for each type of file separately, which improves the efficiency of each model update. Finally, this solution splits and distributes the updated model information of each model from multiple manufacturers, verifies and screens each model, and finally automatically updates it remotely, ensuring that the models of multiple manufacturers can be updated at the same time and improving the centralized update efficiency of each model from multiple manufacturers.
[0082] Optionally, update model information of models that need to be updated by multiple manufacturers is obtained, including: responding to the model update request of each manufacturer, receiving the model update package of each model sent by each manufacturer, and parsing each model update package to obtain the environmental image file of each model, the model file of each model, the numerical weather forecast file corresponding to each model, and the power prediction file of each model; transmitting the environmental image file of each model to the distribution directory of each model through the image transmission channel, and pulling the model file of each model and the numerical weather forecast file corresponding to each model through the file pulling program to obtain the file to be detected of each model; using the power prediction file of each model as the detection comparison file of each model, and using the file to be detected of each model and the detection comparison file of each model as the updated model information of each model.
[0083] In this embodiment, the terminal responds to the model update request of each manufacturer, receives the model update package of each model sent by each manufacturer, and parses each model update package to obtain the environment image file of each model, the model file of each model, the numerical weather forecast file corresponding to each model, and the power prediction file of each model. Then, the terminal transmits the environment image file of each model to the distribution directory of each model through the image transmission channel, and pulls the model file of each model and the numerical weather forecast file corresponding to each model through the file pulling program to obtain the file to be detected of each model. Finally, the terminal uses the power prediction file of each model as the detection comparison file of each model, and uses the file to be detected of each model and the detection comparison file of each model as the updated model information of each model. Among them, the distribution directory of each model is the directory corresponding to all data that the model needs to be sent to the station.
[0084] Specifically, the image file is generally between 500M and 2G, and its update frequency is low. Therefore, an exclusive channel for image transmission is established between the image warehouse, the centralized power prediction platform of multiple service providers and the unified sftp directory. The update of the image depends on the control of the centralized power prediction platform, which can realize the direct transmission of the image from the warehouse to the platform and from the warehouse to the sftp directory, thereby improving the response speed of image transmission and reducing the transmission time.
[0085] Model files are generally less than 10M and are updated frequently. To be compatible with model files of different formats from different power prediction service providers, a file pulling program is set up to pull the monitored update files directly into the service provider containers of the centralized power prediction platform without distinguishing between file types. The container performs a run test on the model and, after confirming that the model is running correctly, directly sends the model to the sftp directory corresponding to the service provider.
[0086] The update of numerical weather forecast files is generally 2-3 times a day, and different forecast service providers have different numerical weather file formats. Numerical weather forecast data is not only one of the reporting results required by the dispatching, but also one of the source data required for the operation of ultra-short-term models of various service providers. In order to be compatible with the confidentiality of meteorological files of various service providers and meet the reporting requirements, two processing methods are proposed for numerical weather forecast files.
[0087] First, a file transfer channel is built from the image warehouse to the centralized power prediction platform and then to the unified sftp directory, so that the numerical weather forecast files of each service provider can be directly sent to the sftp directory of each service provider, and then sent to the station system by the monitoring and distribution program for the station's ultra-short-term power prediction model to call;
[0088] Second, the prediction algorithm programs of each service provider are deployed on the centralized power prediction platform, including the loading interface of the program for parsing the numerical weather forecast files of each service provider. The loading interface is open to the outside world, and the service provider can update the parsing program in real time. Relying on the parsing program, the platform can call its predicted meteorological data according to unified standards, and package it into the numerical weather forecast data required by the platform, and send it to the corresponding sftp directory of each service provider. Through these two methods, the numerical weather forecast files of each power prediction service provider can be sent in two ways, namely source files and parsed files, to meet the platform requirements.
[0089] The short-term power forecast file is updated once a day. The short-term forecast files of each service provider are parsed and generated on the centralized power forecast platform and follow the platform's unified output standards. The power forecast result push model on the platform pushes the short-term forecast results to the corresponding sftp directory of each service provider.
[0090] Based on the above solution, the efficiency of sending each file is ensured by parsing (monitoring) various types of files from different service providers and sending them through different channels.
[0091] Optionally, based on the updated model information of each model, the prediction accuracy of each model is detected, including: for each model, parsing the numerical weather forecast file corresponding to the model to obtain the predicted meteorological data of the model, and transmitting the predicted meteorological data to the model's distribution directory; based on the model's predicted meteorological data, through the model file of the model and the current model file of the model at the site, simulating the prediction model's updated model prediction results of the predicted meteorological data and the model's current model prediction results of the predicted meteorological data through the model file, and based on the model's detection comparison file, identifying the manufacturer's prediction results of the model in predicting the meteorological data; based on the model's updated model prediction results of the predicted meteorological data, the model's current model prediction results of the predicted meteorological data, and the model's manufacturer prediction results of the predicted meteorological data, respectively calculating the model's manufacturer-adapted first accuracy and the model's site-adapted second accuracy; taking the model's manufacturer-adapted first accuracy and the model's site-adapted second accuracy as the model's prediction accuracy.
[0092] In this embodiment, the terminal parses the numerical weather forecast file corresponding to each model, obtains the model's forecasted meteorological data, and transmits the forecasted meteorological data to the model's distribution directory. Then, based on the model's forecasted meteorological data, the terminal simulates the forecast model's updated model forecast results for the forecasted meteorological data and the model's current model forecast results for the forecasted meteorological data through the model file of the model and the model's current model file at the station, and identifies the model's manufacturer forecast results for the forecasted meteorological data based on the model's detection comparison file.
[0093] The terminal calculates the first accuracy of the model's manufacturer adaptation and the second accuracy of the model's site adaptation based on the model's updated model prediction results in predicting meteorological data, the model's current model prediction results in predicting meteorological data, and the model's manufacturer prediction results in predicting meteorological data. Finally, the terminal uses the model's manufacturer adaptation first accuracy and the model's site adaptation second accuracy as the model's prediction accuracy. The first accuracy is the accuracy corresponding to the deviation value between the updated model prediction result and the manufacturer's prediction result, and the second accuracy is the accuracy corresponding to the deviation value between the updated model prediction result and the current model prediction result.
[0094] like Figure 3 As shown, it is a flow chart for the detection of the issuance of various types of files from multiple manufacturers. Among them, the terminal sends the operating environment image file to the model's issuance directory through a dedicated channel for image transmission, and pulls the model file of each model and the numerical weather forecast file corresponding to each model to the three centralized control areas through the file pulling program, and directly obtains the short-term power forecast file of each model. Then the terminal simulates the prediction model's updated model prediction results in the predicted meteorological data and the model's current model prediction results in the predicted meteorological data in the same way as the prediction algorithm program, and identifies the model's manufacturer prediction results in the predicted meteorological data based on the model's detection comparison file. Then, the platform pushes the short-term meteorological and power forecast results to the platform, calculates the first accuracy of the model's manufacturer adaptation, and the second accuracy of the model's site adaptation, and obtains the model's prediction accuracy.
[0095] Based on the above solution, by transmitting, predicting, and issuing model update files from different manufacturers through different channels according to the type of each file, the problems of being unable to update models remotely and being incompatible with models from different manufacturers are avoided, and the transmission efficiency of each file is improved.
[0096] Optionally, based on the prediction accuracy of each model, in each model, each target update model is screened, including: for each model, when the first accuracy of the model's manufacturer adaptation is lower than the first accuracy threshold, determining that the model does not need to be updated; when the first accuracy of the model's manufacturer adaptation is higher than the first accuracy threshold, and the second accuracy is greater than the second accuracy threshold, determining that the model is a target update model, and the update method of the target update model is a model parameter update method, and the model file of the model is transferred to the model's distribution directory; when the first accuracy of the model's manufacturer adaptation is higher than the first accuracy threshold, and the second accuracy is not greater than the second accuracy threshold, determining that the model is a target update model, and the update method of the target update model is a model replacement method, and the model file of the model is transferred to the model's distribution directory.
[0097] In this embodiment, for each model, when the first accuracy of the model's manufacturer adaptation is lower than the first accuracy threshold, the terminal determines that the model does not need to be updated. Wherein, the first accuracy corresponding to the power generation prediction data actually predicted by the model and the power generation prediction data of the model at the manufacturer is used to determine whether the model can achieve the prediction effect that the manufacturer can achieve in this update, wherein the higher the first accuracy, the closer the prediction effect of the model is to the prediction effect updated by the manufacturer, and the lower the first accuracy, the less close the prediction effect of the model is to the prediction effect updated by the manufacturer. Then, when the first accuracy is lower than the first accuracy threshold preset in the terminal, it is determined that the model cannot achieve the prediction effect updated by the manufacturer, and it is determined that the model is not suitable for the model update of the site.
[0098] When the first accuracy of the model's manufacturer adaptation is higher than the first accuracy threshold and the second accuracy is greater than the second accuracy threshold, the model is determined to be a target update model, and the update method of the target update model is set to the model parameter update method, and the model file of the model is transferred to the model's distribution directory.
[0099] When the first accuracy of the model's manufacturer adaptation is higher than the first accuracy threshold and the second accuracy is not greater than the second accuracy threshold, the model is determined to be the target update model, and the update method of the target update model is set to the model replacement method, and the model file of the model is transferred to the model's distribution directory.
[0100] The closer the prediction effect of the model is to the prediction effect updated by the manufacturer, it is necessary to consider whether the model is applicable to the site. The accuracy corresponding to the deviation value between the updated model prediction result and the current model prediction result represents the deviation value between the model's power generation prediction data and the actual power generation prediction data. The higher the deviation value, the more the model is not applicable to the site. The lower the deviation value, the more suitable the model is for the site. The difference threshold preset in the terminal is the dividing line for distinguishing whether the site is applicable or not.
[0101] When the model is more suitable for the station, it is necessary to update the model parameters of the current model of the station based on the model file of the model, so as to realize the update of the model. When the model is less suitable for the station, it indicates that the direction of this model update is not suitable for the station, and it is necessary to replace the current model of the station with a model that is more suitable for the station. The replacement process is to close the execution process of the current model, screen the models that are suitable for the station and have not been deployed for the station, and re-deploy and load them at the station, so as to complete the replacement process of the current model.
[0102] Based on the above scheme, the target update model for updating each station is determined by judging from multiple angles whether the model meets the manufacturer's update standards and whether the model is suitable for the station. This improves the dynamic optimization and adjustment process of the station model and the accuracy of the power generation prediction data of the station predicted by each model after the station model is updated.
[0103] Optionally, based on the update model information of each target update model, an encrypted model update instruction for each target update model and a model compression package for each target update model are generated, including: obtaining a model standard startup program and a model startup configuration file, and identifying the mirror configuration file for each target update model based on the environment image file of each target update model; based on the model startup configuration file of each target update model, adjusting the model standard startup program to obtain the model startup program corresponding to each target update model, and generating the model update instruction for each target update model based on the model startup program corresponding to each target update model; encrypting each model update instruction to obtain the encrypted model update instruction for each target update model, and generating a model compression package for each target update model based on the distribution directory of each target update model and the mirror configuration file.
[0104] In this embodiment, Figure 4 As shown, the terminal obtains the model standard startup program and the model startup configuration file, and identifies the mirror configuration file of each target update model based on the environment mirror file of each target update model. Then, the terminal adjusts the model standard startup program based on the model startup configuration file of each target update model, obtains the model startup program corresponding to each target update model, and generates the model update instruction of each target update model based on the model startup program corresponding to each target update model. Finally, the terminal encrypts each model update instruction to obtain the encrypted model update instruction of each target update model, and generates the model compression package of each target update model based on the distribution directory of each target update model and the mirror configuration file.
[0105] Among them, the model standard startup procedure is:
[0106] docker run -it \
[0107] --env URL_SITE_SEQUENCE = XXX \a # Mirror root directory
[0108] --env APPCODE'XXX'\b:Mirror working directory
[0109] --env FILEPATH = XXX.properties \c: Configuration file required for mirror startup, including port number + mirror name, etc.
[0110] -v / home / cs / 00X / model:XXX \d: power prediction algorithm model file
[0111] -v / home / cs / 00X / weather:XXX \e: Power prediction algorithm weather forecast file
[0112] XXX.image \f: image file name
[0113] All service providers' image startup commands are in this format. \f is the service provider's image, and \a-\c is the configuration required for the image to run. Figure 4 Module ① in the compresses the image and its configuration file at the same time, and sends them to the station end system through reverse isolation and other devices.
[0114] \d and \e are the model files and the numerical weather forecast files required for model operation. The files are issued by the monitoring and distribution program of the centralized control. In order to make the mirrors of each service provider correspond to the model files, a separate directory / home / cs / XXX is created for each service provider, and the model and numerical weather forecast files are placed in this directory by mounting.
[0115] Furthermore, the platform provides a startup command configuration interface for each prediction service provider, and the platform is compatible with configuration files such as \c for back-calling at startup. Through the configuration file synchronization service between the centralized control and the site, when the site image changes and the dependent configuration files also change, the site can receive the latest startup command, schedule the normal operation of the container, and realize remote control of the site container operation.
[0116] Based on the above solution, by generating an encrypted model update instruction for each target update model and a model compression package for each target update model, the update efficiency of each target update model is improved.
[0117] Optionally, the encrypted model update instructions of each target update model and the model compression package of each target update model are sent to each station, including: sending the encrypted model update instructions of each target update model and the model compression package of each target update model to the distribution control center through a reverse isolation strategy; identifying the station corresponding to each target update model through the distribution control center, and decrypting the encrypted model update instructions of each target update model through the distribution control center to obtain the model update instructions of each target update model; sending the model update instructions of each target update model and the model compression package of each target update model to the station corresponding to each target update model through the distribution control center.
[0118] In this embodiment, the terminal sends the encrypted model update instructions of each target update model and the model compression package of each target update model to the distribution control center through the reverse isolation strategy. Figure 4 As shown, the distribution through the reverse isolation strategy is that the image file cannot pass the reverse isolation at one time because the isolation device limits the size of the file to be transmitted at one time. Therefore, the image file will be split first, and then the split sub-files will be converted into a format that is allowed to pass through the isolation. After the sub-file passes the isolation, it is first converted to the original format, and then multiple sub-files are assembled and restored, thereby implementing the corresponding strategy for the transmission of the image file.
[0119] The terminal identifies the station corresponding to each target update model through the distribution control center, and decrypts the encrypted model update instruction of each target update model through the distribution control center to obtain the model update instruction of each target update model. Finally, the terminal sends the model update instruction of each target update model and the model compression package of each target update model to the station corresponding to each target update model through the distribution control center.
[0120] Based on the above solution, by identifying the site corresponding to each target update model and decrypting the model update instructions of each target update model, the model is distributed, which improves the accuracy and efficiency of distribution.
[0121] Optionally, based on the model update instructions corresponding to the encrypted model update instructions of each target update model and the model compression package of each target update model, each current target update model in each station is updated to obtain each updated target update model, and the method further includes: for each station, based on each updated target update model of the station and the predicted meteorological data of each target update model, predicting each power generation prediction data of the station, identifying the weight value of each updated target update model, performing weighted summation processing on the power generation prediction data predicted by each updated target update model to obtain the target power generation prediction data of the station; and reporting the target power generation prediction data of each station to the dispatching center system through the data transmission channel.
[0122] In this embodiment, the terminal predicts the power generation prediction data of each station based on the updated target update models of the station and the predicted meteorological data of each target update model, identifies the weight value of each updated target update model, and performs weighted summation processing on the power generation prediction data predicted by each updated target update model to obtain the target power generation prediction data of the station. Then, the terminal reports the target power generation prediction data of each station to the dispatching center system through the data transmission channel. The weight value of each target update model is the weight value obtained by normalizing the target update models of the same station through the above calculation of the second accuracy of each target update model. The data transmission channel is a transmission channel constructed by switches, longitudinal density, and dispatching dedicated lines.
[0123] Based on the above scheme, the accuracy of the power generation data of the multi-model prediction station is improved by weighting the updated model, and the power generation data of each station predicted by this method is transmitted to the dispatching center system through the data transmission channel, which improves the upload efficiency and upload security.
[0124] This application also provides an example of remote update of a multi-source power prediction algorithm for a new energy station, such as Figure 5 As shown, the specific processing process includes the following steps:
[0125] Step S501, in response to the model update request of each manufacturer, receives the model update package of each model sent by each manufacturer, and parses each model update package to obtain the environment image file of each model, the model file of each model, the numerical weather forecast file corresponding to each model, and the power prediction file of each model.
[0126] Step S502, the environment image file of each model is transmitted to the distribution directory of each model through the image transmission channel, and the model file of each model and the numerical weather forecast file corresponding to each model are pulled through the file pulling program to obtain the file to be tested of each model.
[0127] Step S503: Use the power prediction file of each model as the detection comparison file of each model, and use the to-be-detected file of each model and the detection comparison file of each model as the updated model information of each model.
[0128] Step S504: for each model, parse the numerical weather forecast file corresponding to the model to obtain the predicted meteorological data of the model, and transmit the predicted meteorological data to the distribution directory of the model.
[0129] Step S505, based on the model's predicted meteorological data, through the model file of the model and the current model file of the model at the site, simulate the prediction model's updated model prediction results in the predicted meteorological data and the model's current model prediction results in the predicted meteorological data, and based on the model's detection comparison file, identify the manufacturer's prediction results of the model in the predicted meteorological data.
[0130] Step S506, based on the updated model prediction results of the model in predicting meteorological data, the current model prediction results of the model in predicting meteorological data, and the manufacturer prediction results of the model in predicting meteorological data, respectively calculate the first accuracy of the manufacturer adaptation of the model and the second accuracy of the site adaptation of the model.
[0131] Step S507: taking the first accuracy of the model's manufacturer adaptation and the second accuracy of the model's site adaptation as the prediction accuracy of the model.
[0132] Step S508: for each model, when the first accuracy of the model adapted by the manufacturer is lower than the first accuracy threshold, it is determined that the model does not need to be updated.
[0133] Step S509, when the first accuracy of the model's manufacturer adaptation is higher than the first accuracy threshold and the second accuracy is greater than the second accuracy threshold, the model is determined to be a target update model, and the update method of the target update model is set to the model parameter update method, and the model file of the model is transferred to the model's distribution directory.
[0134] Step S510, when the first accuracy of the model's manufacturer adaptation is higher than the first accuracy threshold and the second accuracy is not greater than the second accuracy threshold, the model is determined to be a target update model, and the update method of the target update model is set to a model replacement method, and the model file of the model is transferred to the model's distribution directory.
[0135] Step S511, obtaining a model standard startup program and a model startup configuration file, and identifying a mirror configuration file of each target update model based on the environment mirror file of each target update model.
[0136] Step S512, based on the model startup configuration file of each target update model, adjust the model standard startup program to obtain the model startup program corresponding to each target update model, and generate the model update instruction of each target update model based on the model startup program corresponding to each target update model.
[0137] Step S513, encrypt each model update instruction to obtain the encrypted model update instruction of each target update model, and generate a model compression package of each target update model based on the distribution directory of each target update model and through the mirror configuration file.
[0138] Step S514, sending the encrypted model update instructions of each target update model and the model compression package of each target update model to the distribution control center through the reverse isolation strategy.
[0139] Step S515, identifying the site corresponding to each target update model through the distribution control center, and decrypting the encrypted model update instruction of each target update model through the distribution control center to obtain the model update instruction of each target update model.
[0140] Step S516: The model update instruction of each target update model and the model compression package of each target update model are respectively sent to the site corresponding to each target update model through the distribution control center.
[0141] Step S517, based on the model update instruction corresponding to the encrypted model update instruction of each target update model and the model compression package of each target update model, each current target update model in each station is updated to obtain each updated target update model.
[0142] Step S518, for each station, based on the updated target update models of the station and the predicted meteorological data of each target update model, predict the power generation prediction data of the station, identify the weight value of each updated target update model, and perform weighted summation processing on the power generation prediction data predicted by each updated target update model to obtain the target power generation prediction data of the station.
[0143] Step S519: Report the target power generation prediction data of each station to the dispatching center system through the data transmission channel.
[0144] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0145] Based on the same inventive concept, the embodiment of the present application also provides a remote update device for a multi-source power prediction algorithm for a new energy station for implementing the remote update method for a multi-source power prediction algorithm for a new energy station involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the embodiments of one or more remote update devices for a multi-source power prediction algorithm for a new energy station provided below can be referred to the limitations of the remote update method for a multi-source power prediction algorithm for a new energy station above, and will not be repeated here.
[0146] In one embodiment, Figure 6 As shown, a remote updating device for a multi-source power prediction algorithm of a new energy station is provided, comprising: an acquisition module 610, a generation module 620 and an update module 630, wherein:
[0147] An acquisition module 610 is used to acquire update model information of each model that needs to be updated by multiple manufacturers, and detect the prediction accuracy of each model based on the update model information of each model;
[0148] A generating module 620, configured to screen each target update model from each of the models based on the prediction accuracy of each of the models, and generate an encrypted model update instruction for each target update model and a model compression package for each target update model based on the update model information of each target update model;
[0149] The update module 630 is used to send the encrypted model update instructions of each target update model and the model compression package of each target update model to each station, and based on the model update instructions corresponding to the encrypted model update instructions of each target update model and the model compression package of each target update model, update each current target update model in each of the stations to obtain each updated target update model.
[0150] Optionally, the acquisition module 610 is specifically configured to:
[0151] In response to the model update request of each manufacturer, the model update package of each model sent by each manufacturer is received, and each model update package is parsed to obtain the environment image file of each model, the model file of each model, the numerical weather forecast file corresponding to each model, and the power prediction file of each model;
[0152] The environment image file of each model is transmitted to the distribution directory of each model through the image transmission channel, and the model file of each model and the numerical weather forecast file corresponding to each model are pulled through the file pulling program to obtain the file to be tested of each model;
[0153] The power prediction file of each model is used as the detection comparison file of each model, and the file to be detected of each model and the detection comparison file of each model are used as the updated model information of each model.
[0154] Optionally, the acquisition module 610 is specifically configured to:
[0155] For each model, parse the numerical weather forecast file corresponding to the model to obtain the predicted meteorological data of the model, and transmit the predicted meteorological data to the distribution directory of the model;
[0156] Based on the forecasted meteorological data of the model, the updated model forecast results of the model in the forecasted meteorological data and the current model forecast results of the model in the forecasted meteorological data are simulated and predicted through the model file of the model and the current model file of the model at the station, and the manufacturer forecast results of the model in the forecasted meteorological data are identified based on the detection comparison file of the model;
[0157] Based on the updated model prediction result of the model in the predicted meteorological data, the current model prediction result of the model in the predicted meteorological data, and the manufacturer prediction result of the model in the predicted meteorological data, respectively calculate the first accuracy of the manufacturer adaptation of the model and the second accuracy of the site adaptation of the model;
[0158] The first accuracy of the manufacturer adaptation of the model and the second accuracy of the site adaptation of the model are used as the prediction accuracy of the model.
[0159] Optionally, the generating module 620 is specifically configured to:
[0160] For each model, when a first accuracy of the model adapted by the manufacturer is lower than a first accuracy threshold, determining that the model does not need to be updated;
[0161] When the first accuracy of the model adapted by the manufacturer is higher than the first accuracy threshold, and the second accuracy is greater than the second accuracy threshold, determining the model as a target update model, setting the update mode of the target update model to a model parameter update mode, and transmitting the model file of the model to the distribution directory of the model;
[0162] When the first accuracy of the model adapted by the manufacturer is higher than the first accuracy threshold and the second accuracy is not greater than the second accuracy threshold, the model is determined to be the target update model, and the update method of the target update model is set to the model replacement method, and the model file of the model is transferred to the distribution directory of the model.
[0163] Optionally, the generating module 620 is specifically configured to:
[0164] Obtain a model standard startup program and a model startup configuration file, and based on the environment image file of each target update model, identify the image configuration file of each target update model;
[0165] Based on the model startup configuration file of each target update model, the model standard startup program is adjusted to obtain the model startup program corresponding to each target update model, and based on the model startup program corresponding to each target update model, a model update instruction of each target update model is generated;
[0166] Each model update instruction is encrypted to obtain the encrypted model update instruction of each target update model, and based on the distribution directory of each target update model, a model compression package of each target update model is generated through the mirror configuration file.
[0167] Optionally, the updating module 630 is specifically configured to:
[0168] Sending the encrypted model update instructions of each target update model and the model compression packages of each target update model to the distribution control center through the reverse isolation strategy;
[0169] The distribution control center identifies the site corresponding to each target update model, and the distribution control center decrypts the encrypted model update instruction of each target update model to obtain the model update instruction of each target update model;
[0170] The model update instructions of each target update model and the model compression packages of each target update model are sent to the sites corresponding to each target update model respectively through the distribution control center.
[0171] Optionally, the device further comprises:
[0172] A prediction module is used to predict, for each station, the power generation prediction data of the station based on the updated target update models of the station and the predicted meteorological data of each target update model, identify the weight value of each updated target update model, perform weighted sum processing on the power generation prediction data predicted by each updated target update model, and obtain the target power generation prediction data of the station;
[0173] The reporting module is used to report the target power generation forecast data of each station to the dispatching center system through the data transmission channel.
[0174] Each module in the above-mentioned remote update device for multi-source power prediction algorithm of new energy station can be implemented in whole or in part by software, hardware and their combination. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0175] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 7 As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a remote update method for a multi-source power prediction algorithm of a new energy station is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a key, trackball or touchpad set on the housing of the computer device, or an external keyboard, touchpad or mouse.
[0176] Those skilled in the art will understand that Figure 7 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0177] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the steps of any one of the methods in the first aspect are implemented.
[0178] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of any one of the methods in the first aspect are implemented.
[0179] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the steps of any one of the methods in the first aspect.
[0180] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.
[0181] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0182] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0183] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A remote update method for a multi-source power prediction algorithm of a new energy station, characterized in that: The method comprises: Acquire updated model information of each model that needs to be updated by multiple manufacturers, and detect the prediction accuracy of each model based on the updated model information of each model; Based on the prediction accuracy of each of the models, each target update model is selected from each of the models, and based on the update model information of each target update model, an encrypted model update instruction of each target update model and a model compression package of each target update model are generated; Sending the encrypted model update instructions of each target update model and the model compression packages of each target update model to the distribution control center through the reverse isolation strategy; The distribution control center identifies the site corresponding to each target update model, and the distribution control center decrypts the encrypted model update instruction of each target update model to obtain the model update instruction of each target update model; The model update instructions of each target update model and the model compression package of each target update model are respectively sent to the site corresponding to each target update model through the distribution control center; wherein the model compression package includes a mirror file, and when the mirror file of the model compression package is sent to the site where the target update model corresponding to the model compression package is located, the mirror file is split into each sub-file, and each sub-file is transmitted to the site where the target update model corresponding to the model compression package to which the mirror file belongs is located; Based on the model update instruction corresponding to the encrypted model update instruction of each target update model and the model compression package of each target update model, each current target update model in each of the stations is updated to obtain each updated target update model.
2. The method according to claim 1, characterized in that The obtaining of update model information of each model that needs to be updated by multiple manufacturers includes: In response to the model update request of each manufacturer, the model update package of each model sent by each manufacturer is received, and each model update package is parsed to obtain the environment image file of each model, the model file of each model, the numerical weather forecast file corresponding to each model, and the power prediction file of each model; The environment image file of each model is transmitted to the distribution directory of each model through the image transmission channel, and the model file of each model and the numerical weather forecast file corresponding to each model are pulled through the file pulling program to obtain the file to be tested of each model; The power prediction file of each model is used as the detection comparison file of each model, and the file to be detected of each model and the detection comparison file of each model are used as the updated model information of each model.
3. The method according to claim 2, characterized in that The updating model information of each model based on the updated model information of each model, detecting the prediction accuracy of each model, comprises: For each model, parse the numerical weather forecast file corresponding to the model to obtain the predicted meteorological data of the model, and transmit the predicted meteorological data to the distribution directory of the model; Based on the forecasted meteorological data of the model, the updated model forecast results of the model in the forecasted meteorological data and the current model forecast results of the model in the forecasted meteorological data are simulated and predicted through the model file of the model and the current model file of the model at the station, and the manufacturer forecast results of the model in the forecasted meteorological data are identified based on the detection comparison file of the model; Based on the updated model prediction result of the model in the predicted meteorological data, the current model prediction result of the model in the predicted meteorological data, and the manufacturer prediction result of the model in the predicted meteorological data, respectively calculate the first accuracy of the manufacturer adaptation of the model and the second accuracy of the site adaptation of the model; The first accuracy of the manufacturer adaptation of the model and the second accuracy of the site adaptation of the model are used as the prediction accuracy of the model.
4. The method according to claim 3, characterized in that Based on the prediction accuracy of each model, each target update model is selected from each model, including: For each model, when a first accuracy of the model adapted by the manufacturer is lower than a first accuracy threshold, determining that the model does not need to be updated; When the first accuracy of the model adapted by the manufacturer is higher than the first accuracy threshold, and the second accuracy is greater than the second accuracy threshold, determining the model as a target update model, setting the update mode of the target update model to a model parameter update mode, and transmitting the model file of the model to the distribution directory of the model; When the first accuracy of the model adapted by the manufacturer is higher than the first accuracy threshold and the second accuracy is not greater than the second accuracy threshold, the model is determined to be the target update model, and the update method of the target update model is set to the model replacement method, and the model file of the model is transferred to the distribution directory of the model.
5. The method according to claim 4, characterized in that The generating of the encrypted model update instruction of each target update model and the model compression package of each target update model based on the update model information of each target update model includes: Obtain a model standard startup program and a model startup configuration file, and based on the environment image file of each target update model, identify the image configuration file of each target update model; Based on the model startup configuration file of each target update model, the model standard startup program is adjusted to obtain the model startup program corresponding to each target update model, and based on the model startup program corresponding to each target update model, a model update instruction of each target update model is generated; Each model update instruction is encrypted to obtain the encrypted model update instruction of each target update model, and based on the distribution directory of each target update model, a model compression package of each target update model is generated through the mirror configuration file.
6. The method according to claim 1, characterized in that After updating each current target update model in each station based on the model update instruction corresponding to the encrypted model update instruction of each target update model and the model compression package of each target update model to obtain each updated target update model, the method further includes: For each station, based on each updated target update model of the station and the predicted meteorological data of each target update model, predict each power generation prediction data of the station, identify the weight value of each updated target update model, perform weighted sum processing on the power generation prediction data predicted by each updated target update model, and obtain the target power generation prediction data of the station; The target power generation forecast data of each station is reported to the dispatching center system through the data transmission channel.
7. A remote update device for multi-source power prediction algorithm of new energy stations, characterized in that: The device comprises: An acquisition module, used for acquiring update model information of each model that needs to be updated by multiple manufacturers, and detecting the prediction accuracy of each model based on the update model information of each model; A generation module, for screening each target update model in each of the models based on the prediction accuracy of each of the models, and generating an encrypted model update instruction for each target update model and a model compression package for each target update model based on the update model information of each target update model; The update module is used to send the encrypted model update instructions of each target update model and the model compression package of each target update model to the distribution control center through the reverse isolation strategy; identify the site corresponding to each target update model through the distribution control center, and decrypt the encrypted model update instructions of each target update model through the distribution control center to obtain the model update instructions of each target update model; send the model update instructions of each target update model and the model compression package of each target update model to the site corresponding to each target update model through the distribution control center; wherein the model compression package includes a mirror file, when the mirror file of the model compression package is sent to the site where the target update model corresponding to the model compression package is located, the mirror file is split into each sub-file, and each sub-file is transmitted to the site where the target update model corresponding to the model compression package to which the mirror file belongs is located; based on the model update instruction corresponding to the encrypted model update instruction of each target update model and the model compression package of each target update model, update each current target update model in each of the sites to obtain each updated target update model.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
New energy power generation power lightweight high-precision cloud prediction system, method and device
CN114462722A
Edge computing gateway platform architecture and interaction method thereof
CN116232803A
Model hot update method, device and equipment and computer readable storage medium
CN117540827A
