Energy data processing method, device and storage medium
By processing and optimizing energy data in the energy management system, the problem of low energy data processing efficiency in the existing technology is solved, and more efficient energy data management and cost reduction are achieved.
Patent Information
- Application Number
- CN202311191154.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-13
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2043-09-13
AI Technical Summary
Existing energy platforms cannot effectively process and manage energy data, resulting in low data governance efficiency and inability to provide enterprises with substantial value and energy management and control assistance.
In the energy management system, the data center station obtains basic data from power stations and energy storage stations, establishes energy data processing models, processes and optimizes data to predict energy demand and prices, thereby adjusting energy control strategies and reducing duplication of data processing work. Improve efficiency.
The efficiency of energy data processing and management is improved. The optimized model can process large-scale data faster, reduce calculation and processing time, reduce energy costs, and formulate more reasonable energy procurement and usage strategies.
Smart Images

Figure CN117235519B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of new energy technologies, and in particular to an energy data processing method, device and storage medium. Background Art
[0002] As my country's emission reduction situation becomes increasingly severe and emission constraints continue to tighten, while the scale of the domestic carbon market continues to expand, the demand for energy governance services from local governments and enterprises has become increasingly strong. By carrying out energy governance services, analyzing the distribution of enterprise energy consumption, analyzing carbon efficiency indicators, and activating enterprise carbon assets, it can not only help enterprises save energy and reduce carbon emissions, but also improve enterprise energy efficiency, drive regional healthy energy construction, and standardize the participation of industry enterprises in the carbon market.
[0003] At present, most of the energy platforms on the market are still at the data display level, unable to provide substantial value and management for enterprises, and have no processing methods for energy-related businesses. The data governance efficiency is low and the auxiliary effect on the energy management of enterprises is not great. Therefore, the problem of how to improve the efficiency of energy data processing and management needs to be solved urgently. Summary of the invention
[0004] The embodiment of the present invention provides an energy data management method, which improves the efficiency of energy data processing and management.
[0005] In a first aspect, an embodiment of the present invention provides an energy data processing method, which is applied to an energy management system, wherein the energy management system includes a power station, an energy storage station, and a data center station, and the method includes:
[0006] Acquire basic data of the power station, the energy storage station and the data center station through the data center station, and establish an energy data processing model through the basic data;
[0007] Acquire original data in a target object from the basic data to obtain an original data set, wherein the target object is at least one of the power station, the energy storage station, and the data center station;
[0008] Processing the original data set to obtain a target data set;
[0009] The energy data processing model is optimized by the target data set to obtain a target energy data processing model, and the target energy data processing model is used to predict the acquired basic data to obtain corresponding prediction data, and the prediction data is used to adjust the energy control strategy.
[0010] In a second aspect, an embodiment of the present invention provides an energy data processing device, which is applied to an energy management system, wherein the energy management system includes a power station, an energy storage station, and a data center station, and the device includes: an acquisition unit, a processing unit, and an optimization unit, wherein:
[0011] The acquisition unit is used to acquire basic data of the power station, the energy storage station and the data center station through the data center station, and establish an energy data processing model through the basic data;
[0012] The processing unit is used to obtain the original data in the target object from the basic data to obtain an original data set, wherein the target object is at least one of the power station, the energy storage station and the data center station; and is used to process the original data set to obtain a target data set;
[0013] The optimization unit is used to optimize the energy data processing model through the target data set to obtain a target energy data processing model. The target energy data processing model is used to predict the acquired basic data to obtain corresponding prediction data. The prediction data is used to adjust the energy control strategy.
[0014] In a third aspect, an embodiment of the present application provides an electronic device, comprising a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing the steps in the first aspect of the embodiment of the present application.
[0015] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program enables a computer to execute part or all of the steps described in the first aspect of the embodiment of the present application.
[0016] The implementation of the embodiments of the present application has the following beneficial effects:
[0017] It can be seen that an energy data processing method described in an embodiment of the present application is applied to an energy management system, which includes a power station, an energy storage station and a data center station. The basic data of the power station, the energy storage station and the data center station are obtained through the data center station, and an energy data processing model is established through the basic data; the original data in the target object is obtained from the basic data to obtain an original data set, and the target object is at least one of the power station, the energy storage station and the data center station; the original data set is processed to obtain a target data set; the energy data processing model is optimized through the target data set to obtain a target energy data processing model, and the target energy data processing model is used to predict the acquired basic data to obtain corresponding prediction data, and the prediction data is used to adjust the energy control strategy. By predicting future energy prices and demand peaks and valleys, a more reasonable energy procurement plan and energy use strategy can be formulated to reduce energy costs; establishing an energy data processing model through basic data can reduce repetitive work in data processing and improve data processing efficiency; in addition, by optimizing the energy data processing model through the target data set, the efficiency of data processing is improved, and the optimized model processes large-scale energy data faster, reduces calculation and processing time, improves data processing efficiency and response speed, and improves energy data processing management efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the background technology, the drawings required for use in the embodiments of the present invention or the background technology will be described below.
[0019] Figure 1 A schematic diagram of a process flow of an energy data processing method provided in an embodiment of the present application;
[0020] Figure 2 A schematic diagram of an energy management system provided in an embodiment of the present application;
[0021] Figure 3 A block diagram of the functional units of an energy data processing device provided in an embodiment of the present application;
[0022] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0023] The following is a clear and complete description of the technical solutions in the embodiments of the present application in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0024] The terms "first", "second", "third" and "fourth" etc. in the specification and claims of the present application and the drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.
[0025] Reference to "embodiments" herein means that a particular feature, result, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0026] See also Figure 1 , Figure 1 For a flow chart of an energy data processing method provided in an embodiment of the present application, please refer to Figure 2 , Figure 2 A schematic diagram of an energy management system provided in an embodiment of the present application; Figure 1 The energy data processing method shown is applied to Figure 2 The energy management system shown includes a power station, an energy storage station and a data center station, and the method includes:
[0027] S101. Obtain basic data of the power station, the energy storage station and the data center station through the data center station, and establish an energy data processing model through the basic data.
[0028] In the energy management system, the role of a power station is to generate electricity. A power station can use different energy sources, such as fossil fuels, nuclear energy, wind energy, solar energy, etc., and convert energy into electricity through power generation equipment. The role of an energy storage station is to store electricity. An energy storage station can convert electricity into other forms of energy through various technologies and equipment, such as batteries, supercapacitors, pumped storage, etc., and release it as electricity when needed. The role of a data center station is to collect, process and analyze energy data. A data center station can monitor and record the operating status, energy production, energy consumption and other data of power stations and energy storage stations in real time through sensors, monitoring equipment and communication networks.
[0029] In the embodiment of the present application, the basic data may include at least one of the following: IoT data, static data, user data, operational data, environmental data, energy data, etc., which are not limited here. Among them, IoT data refers to data related to energy collected and transmitted through IoT technology, and IoT data may include at least one of the following: power data of power stations, operation data of energy storage equipment in energy storage stations, etc., which are not limited here. Static data refers to relatively fixed and infrequently changing data in energy management systems. These data are usually information related to the basic configuration, structure and properties of energy systems. Static data may include at least one of the following: power generation equipment data of power stations, parameter configuration data of energy storage equipment in energy storage stations, etc., which are not limited here. User data may include at least one of the following: user energy consumption data, user behavior data, etc., which are not limited here. Operational data may include at least one of the following: historical operation data of energy management system, real-time status data of equipment in energy management system, etc., which are not limited here. Environmental data may include at least one of the following: temperature data of energy management system, solar radiation data of power stations, etc., which are not limited here. Energy data may include at least one of the following: energy supply data, energy usage data, etc., which are not limited here.
[0030] The method for obtaining the basic data may be to extract it from a database. The basic data is stored in the database of the data center station, and the required basic data can be obtained by querying the database of the data center station.
[0031] In specific implementations, basic data of power stations, energy storage stations, and data center stations can be obtained through data center stations. For example, user data, operation data, and energy data can be obtained as basic data.
[0032] Optionally, step S101, obtaining basic data of the power station, the energy storage station and the data center station through the data center station, may include the following steps:
[0033] A1. Obtain the user's target demand parameters;
[0034] A2. Determine target data identification information corresponding to the target requirement parameter;
[0035] A3. Obtain basic data of the power station, the energy storage station and the data center station according to the target data identification information through the data center station.
[0036] In the embodiment of the present application, the user's target demand parameter may include at least one of the following: power generation of a power station, storage capacity of an energy storage station, energy consumption data of a data center, user's power demand, etc., which are not limited here. The data identification information may include at least one of the following: data time range, data type, data identifier, data source identifier, etc., which are not limited here.
[0037] In a specific implementation, the target data identification information is obtained through the user's target demand parameters. The mapping relationship between the preset demand parameters and the data identification information can be pre-stored, and the target data identification information corresponding to the target demand parameters is determined based on the mapping relationship. For example, the user's electricity demand can be used as the user's target demand parameter, and the data time range can be used as the target data identification information. Then, the target data identification information corresponding to the target demand parameter can be obtained, that is, the data time range corresponding to the electricity demand.
[0038] Next, the basic data is obtained through the data center station according to the data time range. Specifically, the query conditions can be determined according to the type of data and data time range to be obtained. For example, the query condition is the power generation data of the power station from the 1st to the 10th of a certain month. Use a database query language or tool to extract basic data from the database of the data center station according to the query conditions. The basic data extracted from the database is processed to ensure the accuracy and consistency of the data. For example, the extracted basic data can be subjected to operations such as removing duplicate data and processing outliers, and the obtained basic data can be integrated and associated to obtain the basic data of the target object. The basic data can also be converted and calculated according to the needs of the user to obtain the basic data required by the user. For example, the power generation data of the power station can be converted into power generation costs or power generation revenues, etc., which are not limited here.
[0039] Optionally, step S101, establishing an energy data processing model through the basic data, may include the following steps:
[0040] B1. Classify the basic data to obtain category a data, where a is an integer greater than or equal to 1;
[0041] B2. Assign a deep learning model to each type of data in the a-type data to obtain a deep learning models;
[0042] B3, determining the weight of each type of data in the a-type data, and obtaining a weight values;
[0043] B4. According to the a weight values, the a deep learning models are connected to obtain the energy data processing model.
[0044] In an embodiment of the present application, the classification method for classifying basic data may include at least one of the following: classification by energy type, classification by energy source, classification by energy price, etc., which are not limited here. A deep learning model can be assigned to each type of data in the a-type data, wherein the deep learning model may include at least one of the following: a convolutional neural network model, a recurrent neural network model, a long short-term memory network model, etc., which are not limited here. Each deep learning model can be configured with a weight value to obtain a weight values, and according to the a weight values, the a deep learning models are connected. For example, the a deep learning models can be cascaded, or partially or fully connected in parallel.
[0045] Optionally, while assigning a deep learning model to each type of data in type a, one or more deep learning models can also be trained. Specifically, data preprocessing can be performed on any type of data first, and the data preprocessing can include at least one of the following: data cleaning, data normalization, data denoising, etc. For example, data cleaning operations are performed on the data to check whether there are duplicate records in the data. If there are duplicate values, they are deleted to ensure the uniqueness of the data, check whether there are format errors in the data, perform data type conversion or correct the wrong format, and obtain the processed basic data. The purpose of this is to ensure that the format and characteristics of the data in the basic data are suitable for the input requirements of the deep learning model, and to prepare for subsequent model training.
[0046] Furthermore, a corresponding deep learning model is assigned to each type of data in the a-type data for training. For example, the basic data can be divided into a training set, a validation set, and a test set, and the training set is used for model training, the validation set is used for model tuning, and finally the model performance is evaluated on the test set to obtain a trained deep learning model. Next, the weight of each type of data in the a-type data is obtained. Specifically, the mapping relationship between the preset data type and the weight value can be pre-stored, and the weight value corresponding to each type of data in the a-type data is determined based on the mapping relationship to obtain a weight value, wherein the sum of the a weight values is 1 and the a weight values are all between 0 and 1. According to the a weight values, the a deep learning models can be connected. For example, the a deep learning models can be cascaded to obtain an energy data processing model.
[0047] In this way, by obtaining the user's target demand parameters, the target data identification information corresponding to the target demand parameters can be determined, and the basic data can be obtained according to the target data identification information. In this way, personalized data identification information and basic data can be provided according to the needs of different users, satisfying the personalized needs of users and providing customized data services; then, the basic data is classified, a deep learning model is assigned to each type of data in the classified data, the weight of each type of data is determined, and all deep learning models are cascaded according to the weight value to obtain an energy data processing model. Different model structures and parameter settings can be used for different types of data. This can improve the flexibility and adaptability of the model, enable it to better adapt to the characteristics and needs of different types of data, and improve the efficiency of energy data processing and management.
[0048] S102. Acquire original data in a target object from the basic data to obtain an original data set, wherein the target object is at least one of the power station, the energy storage station, and the data center station.
[0049] In the embodiment of the present application, the original data may include at least one of the following: power generation data of a power station, energy storage data of an energy storage station, server data of a data center, etc., which are not limited here. The target object is determined according to the target data identification information, and the target object may be at least one of the power station, the energy storage station and the data center.
[0050] In a specific implementation, the target object is determined according to the target data identification information, and the target data identification information may be a data identifier, for example, if the target data identification information is a power station identifier, the target object is a power station. The original data may be the power generation data of the power station, and the basic data is obtained through the data center station, and the basic data includes the original data. Then, the original data in the target object can be obtained from the basic data to obtain the original data set.
[0051] S103: Process the original data set to obtain a target data set.
[0052] In an embodiment of the present application, a series of processing may be performed on the original data set to obtain a target data set. The series of processing may include at least one of the following: noise reduction processing, normalization processing, sampling processing, etc., which are not limited here.
[0053] Optionally, step S103, processing the original data set to obtain a target data set, may include the following steps:
[0054] C1. performing noise reduction and normalization processing on the original data set to obtain a first data set;
[0055] C2. Sampling the first data set to obtain a second data set;
[0056] C3. sorting the data in the second data set in chronological order, and segmenting the sorted second data set to obtain a plurality of data segments, each data segment corresponding to a time period, and each time period having the same length;
[0057] C4. Merge the data in the multiple data segments to obtain the target data set.
[0058] In the embodiment of the present application, the noise reduction method may include at least one of the following: mean filtering, median filtering, Gaussian filtering, etc., which are not limited here. The normalization processing method may include at least one of the following: deviation standardization, decimal calibration normalization, etc., which are not limited here. The sampling method may include at least one of the following: random sampling, uniform sampling, stratified sampling, cluster sampling, etc., which are not limited here.
[0059] In a specific implementation, the original data set can be denoised by using a median filter. Specifically, the median filter can be used to replace the data with the median of the adjacent data to remove outliers and noise. The window size of the median filter can be determined, which can be 5. The data in the window is sorted, and the middle value is taken as the output value of the window. The window is slid forward by a time step, which can be 2. The above steps are repeated until all data are processed. Next, the original data set can be normalized by using a deviation normalization method. Specifically, the normalization range is first determined, for example, the data is mapped to [0, 1], and the minimum and maximum values of the data in the original data set are calculated. For each data in the original data set, the following formula is used for normalization:
[0060] Normalized value = (data i - minimum value) / (maximum value - minimum value)
[0061] Based on this formula, the normalized value can be used as the data in the first data set, and the data i is any data in the original data set.
[0062] Furthermore, the first data set can be sampled, for example, uniformly sampled, to obtain a second data set, and then the data in the second data set can be sorted in chronological order, and the sorted second data set can be segmented. The method of equal interval segmentation can be used to obtain multiple data segments, and the data in these multiple data segments are merged to obtain the target data set. Since the amount of data is reduced, the efficiency of model training is improved, and the sampled data can represent the data situation of a time period, the model capability will not be reduced to a certain extent.
[0063] Optionally, step C4, merging the data in the multiple data segments to obtain the target data set, may include the following steps:
[0064] D1, fitting the data of each data segment in the multiple data segments to obtain multiple fitting straight lines;
[0065] D2. Determine the slope and the middle value of each of the plurality of fitted straight lines, and determine corresponding reference data according to the slope and the middle value of each of the fitted straight lines to obtain a plurality of reference data, each of which represents a data variation rule of a data segment;
[0066] D3. Determine the target data set according to the multiple reference data.
[0067] In the embodiment of the present application, since the data of each data segment corresponds to a time point, that is, the data of each data segment can be regarded as multiple coordinate points, the horizontal axis of each coordinate point represents time, and the vertical axis represents the size of the data value. Then, a fitting straight line is drawn according to the data value and its corresponding time point to obtain multiple fitting straight lines.
[0068] Next, the slope and middle value of each of the multiple fitted straight lines can be determined, and the corresponding reference data can be determined based on the slope and middle value of each fitted straight line to obtain multiple reference data. Each reference data represents the data change law of a data segment, and the target data set can be determined based on the multiple reference data. Since the amount of data is reduced, the efficiency of model training is improved, and the sampled data can represent the data situation of a time period, the model capability will not be reduced to a certain extent.
[0069] Optionally, step D2, determining corresponding reference data according to the slope and the intermediate value of each fitting straight line to obtain multiple reference data, may include the following steps:
[0070] E1. Obtaining a slope i and an intermediate value i of a fitting straight line i, where the fitting straight line i is a fitting straight line among the plurality of fitting straight lines;
[0071] E2. Determine the target adjustment parameter corresponding to the slope i;
[0072] E3. Adjust the intermediate value i according to the target adjustment parameter to obtain reference data corresponding to the fitting straight line i.
[0073] In a specific implementation, taking a fitted straight line i as an example, the fitted straight line i is a fitted straight line among multiple fitted straight lines, then the slope i and the intermediate value i of the fitted straight line i can be obtained, and the mapping relationship between the preset slope and the adjustment parameter can be pre-stored, and the value range of the adjustment parameter can be set to -0.12 to 0.12. Based on the mapping relationship, the target adjustment parameter corresponding to the slope i can be determined, and then the intermediate value i is adjusted according to the target adjustment parameter to obtain the reference data corresponding to the fitted straight line i, as follows:
[0074] Reference data corresponding to fitting line i = (1 + target adjustment parameter) * intermediate value i
[0075] Among them, the reference data corresponding to the fitting line i can represent the data change law of the data segment. Since the amount of data is reduced, the model training efficiency is improved, and the sampled data can represent the data situation of a time period, the model capability will not be reduced to a certain extent.
[0076] S104. Optimizing the energy data processing model through the target data set to obtain a target energy data processing model, wherein the target energy data processing model is used to predict the acquired basic data to obtain corresponding prediction data, and the prediction data is used to adjust the energy control strategy.
[0077] In the embodiment of the present application, the target data set is a processed original data set, and the data in the target data set is of better quality and higher accuracy than the data in the original data set. The target data set is used to optimize the energy data processing model to obtain the target energy data processing model, and the target energy data processing model is used to predict the acquired basic data to obtain predicted data, and the predicted data is used to adjust the energy control strategy. For example, the predicted data shows that energy prices will rise in the future. The energy control strategy is adjusted according to the predicted data, and the energy purchase amount in the energy control strategy can be pre-adjusted to increase, and more energy can be purchased before the energy price rises, so as to avoid the need to purchase high-priced energy in the future, save costs for users, and ensure stable energy supply.
[0078] Optionally, step S104, optimizing the energy data processing model by using the target data set to obtain a target energy data processing model, may include the following steps:
[0079] 41. Determine a target data type corresponding to the target data set;
[0080] 42. Determine the optimizable parameters in the energy data processing model according to the target data type, and obtain b optimizable parameters; b is a positive integer;
[0081] 43. Input the target data set into the energy data processing model for learning, and optimize the b optimizable parameters during the learning process until the energy data processing model converges to obtain the target energy data processing model.
[0082] In the embodiments of the present application, the data type can be understood in a narrow sense as a data format type, a data source type, etc., which is not limited here. The data type can be understood in a broad sense as a data category, that is, the data is classified, and each data type corresponds to a data category. The optimizable parameters may include at least one of the following: learning rate, regularization parameter, initialization weight, etc., which are not limited here.
[0083] In a specific implementation, the energy management system may determine the target data type corresponding to the target data set, and may also pre-store the mapping relationship between the preset data type and the optimization parameter, determine the optimizable parameters in the energy data processing model corresponding to the target data type based on the mapping relationship, obtain b optimizable parameters, input the target data set into the energy data processing model for learning, and optimize the b optimizable parameters during the learning process until the energy data processing model converges. For example, the energy data processing model is processed by a parameter tuning method until the energy data processing model converges. The range of optimizable parameters that need to be tuned may be determined first, and the optimizable parameters may be a learning rate, and the range of values of the parameters may be preset or defaulted by the energy management system. An evaluation indicator may be selected to measure the performance of the model, and the evaluation indicator may be accuracy. According to the range of optimizable parameters and the complexity of the problem, a suitable search method may be selected, and the search method may be a grid search. For the grid search, the search space and step size need to be set, and the search space is the range of values of the optimizable parameters, and the step size is the amplitude of the change of the parameters during the search process. According to the characteristics of the parameters and the complexity of the problem, a suitable search space and step size are set, and the space and step size may be preset or defaulted by the energy management system. According to the selected search method and the set search space, the parameter search is started. For grid search, all possible parameter combinations are traversed, and the evaluation index value of each parameter combination is calculated. According to the results of the evaluation index, the performance of each parameter combination is recorded. According to the calculation results of the evaluation index, the parameter combination with the best performance is selected as the optimal parameter. After obtaining the optimal parameter, the optimizable parameter is adjusted to the optimal parameter value to obtain the target energy data processing model.
[0084] It can be seen that an energy data processing method described in an embodiment of the present application is applied to an energy management system, which includes a power station, an energy storage station and a data center station. The basic data of the power station, the energy storage station and the data center station are obtained through the data center station, and an energy data processing model is established through the basic data; the original data in the target object is obtained from the basic data to obtain an original data set, and the target object is at least one of the power station, the energy storage station and the data center station; the original data set is processed to obtain a target data set; the energy data processing model is optimized through the target data set to obtain a target energy data processing model, and the target energy data processing model is used to predict the acquired basic data to obtain corresponding prediction data, and the prediction data is used to adjust the energy control strategy. By predicting future energy prices and demand peaks and valleys, a more reasonable energy procurement plan and energy use strategy can be formulated to reduce energy costs; establishing an energy data processing model through basic data can reduce repetitive work in data processing and improve data processing efficiency; in addition, by optimizing the energy data processing model through the target data set, the efficiency of data processing is improved, and the optimized model processes large-scale energy data faster, reduces calculation and processing time, improves data processing efficiency and response speed, and improves energy data processing management efficiency.
[0085] See also Figure 3 , Figure 3 The functional unit composition block diagram of an energy data processing device 300 provided in an embodiment of the present application. The energy data processing device 300 is applied to an energy management system, which includes a power station, an energy storage station, and a data center station. The energy data processing device 300 includes: an acquisition unit 301, a processing unit 302, and an optimization unit 303, wherein:
[0086] The acquisition unit 301 is used to acquire basic data of the power station, the energy storage station and the data center station through the data center station, and establish an energy data processing model through the basic data;
[0087] The processing unit 302 is used to obtain the original data in the target object from the basic data to obtain an original data set, wherein the target object is at least one of the power station, the energy storage station and the data center station; and is used to process the original data set to obtain a target data set;
[0088] The optimization unit 303 is used to optimize the energy data processing model through the target data set to obtain a target energy data processing model, and the target energy data processing model is used to predict the acquired basic data to obtain corresponding prediction data, and the prediction data is used to adjust the energy control strategy.
[0089] Optionally, in acquiring the basic data of the power station, the energy storage station and the data center station through the data center station, the acquiring unit 301 is specifically used to:
[0090] Obtain the user's target demand parameters;
[0091] Determining target data identification information corresponding to the target requirement parameter;
[0092] The basic data of the power station, the energy storage station and the data center station are obtained through the data center station according to the target data identification information.
[0093] Optionally, in the aspect of establishing the energy data processing model by using the basic data, the acquisition unit 301 is specifically used for:
[0094] Classify the basic data to obtain category a data, where a is an integer greater than or equal to 1;
[0095] Assign a deep learning model to each of the a-type data to obtain a deep learning models;
[0096] Determine the weight of each type of data in the a-type data to obtain a weight values;
[0097] According to the a weight values, the a deep learning models are connected to obtain the energy data processing model.
[0098] Optionally, in processing the original data set to obtain the target data set, the processing unit 302 is specifically configured to:
[0099] Performing noise reduction and normalization processing on the original data set to obtain a first data set;
[0100] Sampling the first data set to obtain a second data set;
[0101] Sorting the data in the second data set based on time sequence, and segmenting the sorted second data set to obtain multiple data segments, each data segment corresponds to a time period, and the time length of each time period is equal;
[0102] The data in the multiple data segments are merged to obtain the target data set.
[0103] Optionally, in the aspect of merging the data in the plurality of data segments to obtain the target data set, the processing unit 302 is specifically configured to:
[0104] Fitting the data of each data segment in the multiple data segments to obtain multiple fitting straight lines;
[0105] Determine the slope and the middle value of each of the plurality of fitted straight lines, and determine corresponding reference data according to the slope and the middle value of each of the fitted straight lines to obtain a plurality of reference data, each of which represents a data variation law of a data segment;
[0106] The target data set is determined according to the plurality of reference data.
[0107] Optionally, in the aspect of determining corresponding reference data according to the slope and the intermediate value of each fitting straight line to obtain a plurality of reference data, the processing unit 302 is specifically configured to:
[0108] Obtaining a slope i and an intermediate value i of a fitting straight line i, wherein the fitting straight line i is a fitting straight line among the plurality of fitting straight lines;
[0109] Determine a target adjustment parameter corresponding to the slope i;
[0110] The intermediate value i is adjusted according to the target adjustment parameter to obtain reference data corresponding to the fitting straight line i.
[0111] Optionally, in optimizing the energy data processing model by using the target data set to obtain a target energy data processing model, the optimization unit 303 is specifically configured to:
[0112] Determine a target data type corresponding to the target data set;
[0113] Determine the optimizable parameters in the energy data processing model according to the target data type, and obtain b optimizable parameters; b is a positive integer;
[0114] The target data set is input into the energy data processing model for learning, and the b optimizable parameters are optimized during the learning process until the energy data processing model converges to obtain the target energy data processing model.
[0115] In a specific implementation, the acquisition unit 301, the processing unit 302, and the optimization unit 303 described in the embodiment of the present invention may also execute other implementations described in the energy data processing method provided in the above embodiment of the present invention, which will not be described in detail here.
[0116] See also Figure 4 , Figure 4 The electronic device includes a processor, a memory, a communication interface, and one or more programs, wherein the processor, the memory, and the communication interface are interconnected via a bus.
[0117] The memory includes, but is not limited to, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), or compact disc read-only memory (CD-ROM), which is used for related instructions and data. The transceiver is used to receive and send data.
[0118] The processor may be one or more central processing units (CPUs). When the processor is a CPU, the CPU may be a single-core CPU or a multi-core CPU.
[0119] The electronic device is applied to an energy management system, which includes a power station, an energy storage station and a data center station; the one or more programs are stored in the memory and configured to be executed by the processor. In the embodiment of the present application, the program includes instructions for executing the following steps:
[0120] Acquire basic data of the power station, the energy storage station and the data center station through the data center station, and establish an energy data processing model through the basic data;
[0121] Acquire the original data in the target object from the basic data to obtain an original data set, wherein the target object is at least one of the power station, the energy storage station and the data center station; and process the original data set to obtain a target data set;
[0122] The energy data processing model is optimized by the target data set to obtain a target energy data processing model, and the target energy data processing model is used to predict the acquired basic data to obtain corresponding prediction data, and the prediction data is used to adjust the energy control strategy.
[0123] Optionally, in terms of acquiring basic data of the power station, the energy storage station and the data center station through the data center station, the program further includes instructions for executing the following steps:
[0124] Obtain the user's target demand parameters;
[0125] Determining target data identification information corresponding to the target requirement parameter;
[0126] The basic data of the power station, the energy storage station and the data center station are obtained through the data center station according to the target data identification information.
[0127] Optionally, in the aspect of establishing the energy data processing model through the basic data, the program further includes instructions for executing the following steps:
[0128] Classify the basic data to obtain category a data, where a is an integer greater than or equal to 1;
[0129] Assign a deep learning model to each of the a-type data to obtain a deep learning models;
[0130] Determine the weight of each type of data in the a-type data to obtain a weight values;
[0131] According to the a weight values, the a deep learning models are connected to obtain the energy data processing model.
[0132] Optionally, in the aspect of processing the original data set to obtain the target data set, the program further includes instructions for executing the following steps:
[0133] Performing noise reduction and normalization processing on the original data set to obtain a first data set;
[0134] Sampling the first data set to obtain a second data set;
[0135] Sorting the data in the second data set based on time sequence, and segmenting the sorted second data set to obtain multiple data segments, each data segment corresponds to a time period, and the time length of each time period is equal;
[0136] The data in the multiple data segments are merged to obtain the target data set.
[0137] Optionally, in the aspect of merging the data in the multiple data segments to obtain the target data set, the program further includes instructions for executing the following steps:
[0138] Fitting the data of each data segment in the multiple data segments to obtain multiple fitting straight lines;
[0139] Determine the slope and the middle value of each of the plurality of fitted straight lines, and determine corresponding reference data according to the slope and the middle value of each of the fitted straight lines to obtain a plurality of reference data, each of which represents a data variation law of a data segment;
[0140] The target data set is determined according to the plurality of reference data.
[0141] Optionally, in the aspect of determining corresponding reference data according to the slope and the intermediate value of each fitting straight line to obtain a plurality of reference data, the program further includes instructions for executing the following steps:
[0142] Obtaining a slope i and an intermediate value i of a fitting straight line i, wherein the fitting straight line i is a fitting straight line among the plurality of fitting straight lines;
[0143] Determine a target adjustment parameter corresponding to the slope i;
[0144] The intermediate value i is adjusted according to the target adjustment parameter to obtain reference data corresponding to the fitting straight line i.
[0145] Optionally, in terms of optimizing the energy data processing model by using the target data set to obtain a target energy data processing model, the program further includes instructions for executing the following steps:
[0146] Determine a target data type corresponding to the target data set;
[0147] Determine the optimizable parameters in the energy data processing model according to the target data type, and obtain b optimizable parameters; b is a positive integer;
[0148] The target data set is input into the energy data processing model for learning, and the b optimizable parameters are optimized during the learning process until the energy data processing model converges to obtain the target energy data processing model.
[0149] An embodiment of the present application also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, wherein the computer program enables a computer to execute part or all of the steps of any method described in the above method embodiments, and the above computer includes an electronic device.
[0150] Those skilled in the art can understand that to implement all or part of the processes in the above-mentioned embodiments, the processes can be completed by computer programs to instruct related hardware, and the programs can be stored in computer-readable storage media. When the programs are executed, they can include the processes of the above-mentioned method embodiments. The aforementioned storage media include: ROM or random access memory RAM, magnetic disk or optical disk and other media that can store program codes.
Claims
1. A method for processing energy data, characterized in that: Applied to an energy management system, the energy management system includes a power station, an energy storage station and a data center station, the method includes: Obtain basic data of the power station, the energy storage station and the data center station through the data center station, and establish an energy data processing model through the basic data; the basic data includes at least one of the following: IoT data, static data, user data, operation data, environmental data, and energy data; Acquire original data in a target object from the basic data to obtain an original data set, wherein the target object is at least one of the power station, the energy storage station, and the data center station; Processing the original data set to obtain a target data set; The energy data processing model is optimized by the target data set to obtain a target energy data processing model, wherein the target energy data processing model is used to predict the acquired basic data to obtain corresponding prediction data, and the prediction data is used to adjust the energy control strategy; The processing of the original data set to obtain the target data set includes: Performing noise reduction and normalization processing on the original data set to obtain a first data set; Sampling the first data set to obtain a second data set; Sorting the data in the second data set based on time sequence, and segmenting the sorted second data set to obtain multiple data segments, each data segment corresponds to a time period, and the time length of each time period is equal; Merging the data in the multiple data segments to obtain the target data set; The step of merging the data in the plurality of data segments to obtain the target data set includes: Fitting the data of each data segment in the multiple data segments to obtain multiple fitting straight lines; Determine the slope and the middle value of each of the plurality of fitted straight lines, and determine corresponding reference data according to the slope and the middle value of each of the fitted straight lines to obtain a plurality of reference data, each of which represents a data variation law of a data segment; Determine the target data set according to the plurality of reference data; Wherein, the corresponding reference data is determined according to the slope and the intermediate value of each fitting straight line to obtain a plurality of reference data, including: Obtaining a slope i and an intermediate value i of a fitting straight line i, wherein the fitting straight line i is a fitting straight line among the plurality of fitting straight lines; Determine a target adjustment parameter corresponding to the slope i; The intermediate value i is adjusted according to the target adjustment parameter to obtain reference data corresponding to the fitting straight line i.
2. The method according to claim 1, characterized in that The obtaining of basic data of the power station, the energy storage station and the data center station through the data center station includes: Obtain the user's target demand parameters; Determining target data identification information corresponding to the target requirement parameter; The basic data of the power station, the energy storage station and the data center station are obtained through the data center station according to the target data identification information.
3. The method according to claim 1, characterized in that The step of establishing an energy data processing model through the basic data includes: Classify the basic data to obtain category a data, where a is an integer greater than or equal to 1; Assign a deep learning model to each of the a-type data to obtain a deep learning models; Determine the weight of each type of data in the a-type data to obtain a weight values; According to the a weight values, the a deep learning models are connected to obtain the energy data processing model.
4. The method according to any one of claims 1 to 3, characterized in that: The energy data processing model is optimized by using the target data set to obtain a target energy data processing model, including: Determine a target data type corresponding to the target data set; Determine the optimizable parameters in the energy data processing model according to the target data type, and obtain b optimizable parameters; b is a positive integer; The target data set is input into the energy data processing model for learning, and the b optimizable parameters are optimized during the learning process until the energy data processing model converges to obtain the target energy data processing model.
5. An energy data processing device, characterized in that: Applied to an energy management system, the energy management system includes a power station, an energy storage station and a data center station, the device includes: an acquisition unit, a processing unit, and an optimization unit, wherein: The acquisition unit is used to acquire basic data of the power station, the energy storage station and the data center station through the data center station, and establish an energy data processing model through the basic data; the basic data includes at least one of the following: IoT data, static data, user data, operation data, environmental data, and energy data; The processing unit is used to obtain the original data in the target object from the basic data to obtain an original data set, wherein the target object is at least one of the power station, the energy storage station and the data center station; and is used to process the original data set to obtain a target data set; The optimization unit is used to optimize the energy data processing model through the target data set to obtain a target energy data processing model, the target energy data processing model is used to predict the acquired basic data to obtain corresponding prediction data, and the prediction data is used to adjust the energy control strategy; Wherein, in the aspect of processing the original data set to obtain the target data set, the processing unit is specifically used for: Performing noise reduction and normalization processing on the original data set to obtain a first data set; Sampling the first data set to obtain a second data set; Sorting the data in the second data set based on time sequence, and segmenting the sorted second data set to obtain multiple data segments, each data segment corresponds to a time period, and the time length of each time period is equal; Merging the data in the multiple data segments to obtain the target data set; Wherein, in the aspect of merging the data in the plurality of data segments to obtain the target data set, the processing unit is specifically used for: Fitting the data of each data segment in the multiple data segments to obtain multiple fitting straight lines; Determine the slope and the middle value of each of the plurality of fitted straight lines, and determine corresponding reference data according to the slope and the middle value of each of the fitted straight lines to obtain a plurality of reference data, each of which represents a data variation law of a data segment; Determine the target data set according to the plurality of reference data; Wherein, in the aspect of determining corresponding reference data according to the slope and the intermediate value of each fitting straight line to obtain a plurality of reference data, the processing unit is specifically used for: Obtaining a slope i and an intermediate value i of a fitting straight line i, wherein the fitting straight line i is a fitting straight line among the plurality of fitting straight lines; Determine a target adjustment parameter corresponding to the slope i; The intermediate value i is adjusted according to the target adjustment parameter to obtain reference data corresponding to the fitting straight line i.
6. An electronic device, characterized in that: The method comprises a processor, a memory, a communication interface, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the energy data processing method according to any one of claims 1 to 4 when executing the computer program.
7. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute the energy data processing method according to any one of claims 1 to 4.
