Photovoltaic power generation system management platform and method based on digital twinning and deep learning
Through digital twin and deep learning technology, real-time collection and analysis of photovoltaic power generation system data solves the problems of delayed fault detection and high operation and maintenance costs in traditional management methods, realizes intelligent management and safety monitoring of the system, and improves power generation efficiency and Security.
Patent Information
- Application Number
- CN202411003641.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-25
- Publication Date
- 2024-08-30
AI Technical Summary
Traditional photovoltaic power generation system management relies on manual inspection and scheduled data collection, which cannot achieve real-time monitoring, resulting in delayed fault detection, increased operation and maintenance costs, lack of intelligent management and safety monitoring functions, difficulty in optimizing power generation, and potential safety hazards.
A photovoltaic power generation system management platform based on digital twins and deep learning is used to collect data in real time through sensors, use deep learning neural networks for power prediction and fault diagnosis, and optimize system operation based on meteorological data to achieve remote monitoring and visual management.
It realizes real-time status monitoring and intelligent management of photovoltaic power generation systems, improves fault prediction accuracy and power generation efficiency, reduces operation and maintenance costs, and enhances system security.
Smart Images

Figure CN118572893A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of photovoltaic power generation technology, and more specifically to a photovoltaic power generation system management platform and method based on digital twins and deep learning. Background Art
[0002] With the development of science and technology and the increase in environmental protection needs, intelligent photovoltaic power generation system management platforms are receiving more and more attention.
[0003] Traditional photovoltaic power generation system management mainly relies on manual inspections and data acquisition instruments for data collection. However, these methods have many limitations and cannot meet the growing intelligent management needs of the photovoltaic power generation industry.
[0004] The current system generally adopts the method of scheduled data collection, which makes it difficult to achieve real-time monitoring. When a fault occurs or system performance changes, the delayed data update is not conducive to timely detection of problems; traditional data analysis relies on manual experience, which is time-consuming and labor-intensive and prone to omissions and misjudgments; in addition, traditional management often requires operation and maintenance personnel to be on-site or to check on site regularly, which is particularly inconvenient for distributed photovoltaic power generation systems (such as household rooftop photovoltaics), increasing the cost and difficulty of operation and maintenance.
[0005] The resulting impact is serious. For example, data collection lags and limitations of manual inspections can lead to delayed fault detection, or even worsening and causing greater losses. Difficulties in timely detection of faults and performance changes, as well as lack of optimized power generation management, will lead to actual power generation of PV power stations being lower than the design value, resulting in economic loss. Traditional operation and maintenance methods that rely on manual inspections are costly, and this becomes even more severe as the scale of power stations expands. Most importantly, the lack of real-time monitoring and early warning functions makes it difficult to detect safety hazards in a timely manner, such as the fire risk of PV modules, posing a threat to the safe operation of power stations.
[0006] Therefore, how to monitor the system operation status in real time and perform intelligent remote optimization management is an urgent problem that technical personnel in this field need to solve. Summary of the invention
[0007] In view of this, the present invention provides a photovoltaic power generation system management platform and method based on digital twins and deep learning to solve some of the technical problems mentioned in the background technology.
[0008] In order to achieve the above object, the present invention adopts the following technical solution:
[0009] A photovoltaic power generation system management platform based on digital twins and deep learning, including a data acquisition module, a preprocessing module, a central processing module, a remote monitoring and visualization module, and a data storage module;
[0010] A data acquisition module, used to monitor and collect operating parameter data of the photovoltaic array in real time through sensors, including but not limited to voltage, current, temperature and irradiance;
[0011] A preprocessing module is used to preprocess the collected operating parameter data and upload it to the central processing module;
[0012] The central processing module is used to perform power prediction and fault diagnosis based on the received operating parameter data through deep learning neural networks, and to optimize the photovoltaic power generation system by reversely adjusting the parameters after analyzing the operating parameter data collected by the sensor in combination with the meteorological data through the digital twin structure system;
[0013] Remote monitoring and visualization module, used to visualize the real-time collected data and processed data;
[0014] A data storage module, used to store the operation data and historical records of the photovoltaic power generation system;
[0015] The central processing module includes a power prediction unit, a fault diagnosis unit, and a digital twin model optimization unit;
[0016] A power prediction unit for predicting power generation through artificial neural networks (ANN) and long short-term memory (LSTM) recurrent neural networks;
[0017] A fault diagnosis unit is used to predict faults by analyzing the voltage and current values of the photovoltaic power generation system during operation using a convolutional neural network (CNN);
[0018] The digital twin model optimization unit is used to optimize the back propagation neural network GA-BP according to the genetic algorithm and perform power calculation through the constructed digital twin structure system, while simulating the actual operation of the photovoltaic power generation system, compensating and modifying the operating parameters of the photovoltaic power generation system to obtain the maximum output power;
[0019] The constructed digital twin structure system includes physical layer, perception layer, data transmission layer, data processing layer and decision-making layer;
[0020] The physical layer provides parameter data information to the perception layer through the photovoltaic array;
[0021] The sensing layer is used to collect real-time parameter data of solar radiation intensity, temperature, voltage, current, and meteorological data of the environment where the photovoltaic array is located;
[0022] Data transmission layer: build a wireless network transmission system to achieve efficient transmission of parameter data; use a combination of distributed local storage and centralized cloud storage to store data comprehensively;
[0023] The data processing layer uses real-time meteorological data as the input of the back propagation neural network model GA-BP to calculate the initial value of photovoltaic power generation prediction; based on the historical meteorological data compensation and correction prediction model, the final digital twin prediction value, that is, the photovoltaic power generation output power prediction data, is obtained;
[0024] The decision-making layer generates corresponding improvement plans based on the processed photovoltaic power generation output power prediction data and feeds them back to the terminal equipment to guide the operation strategy.
[0025] Preferably, the contents of preprocessing the collected operating parameter data include:
[0026] Invalid data and outliers are cleaned through built-in data cleaning algorithms;
[0027] Normalize data to facilitate comparison and analysis across sensor types;
[0028] Set up a buffer to temporarily store preprocessed data.
[0029] Preferably, the artificial neural network is used to process complex nonlinear relationships, specifically:
[0030] In ANN, the ReLU activation function is used to increase the nonlinearity of the network, and the error between the output layer and the true value is calculated. The error is transferred back layer by layer, and the weights are updated so that the network can adjust itself based on the error. The gradient of the loss function is calculated, and the network parameters are gradually updated in the opposite direction of the gradient so that the network parameters gradually approach the point with the minimum loss.
[0031] The long short-term memory recurrent neural network is used to process the time series data of the photovoltaic power generation system. The specific contents are as follows:
[0032] The information retention and transmission of LSTM are controlled by the forget gate, memory gate and output gate, which are ultimately reflected in the cell state and output signal.
[0033] Preferably, the convolutional neural network (CNN) of the fault diagnosis unit includes multiple convolutional layers and pooling layers, and neurons in the same layer share the same weights, which are used to extract features from a large amount of sensor data and identify potential fault modes through a classification layer.
[0034] Preferably, the central processing module also includes a continuous learning mechanism for continuously adjusting and optimizing the neural network algorithm based on real-time feedback and historical data analysis results.
[0035] Preferably, the remote monitoring and visualization module includes a front-end user interface, a back-end server and a data processing engine;
[0036] Front-end user interface for displaying real-time operating data and historical trends of the photovoltaic power generation system in a graphical manner;
[0037] The backend server is used to process the data request of the frontend user interface and return the processing result to the frontend user interface in JSON format;
[0038] The data processing engine is used to convert the acquired performance parameters and operating status data into charts and reports.
[0039] Preferably, the data storage module includes a cloud database, a data backup unit, a data encryption unit, a data access interface and a data maintenance tool;
[0040] The cloud database is used to store the operating data and historical records of the photovoltaic power generation system. The data backup unit is used to automatically back up the database content regularly. The data encryption unit is used to protect the stored data from unauthorized access and tampering. The data access interface is used to allow the central processing unit and the remote monitoring and visualization unit to read and write data safely. The data maintenance tool is used to perform database maintenance tasks.
[0041] A photovoltaic power generation system management method based on digital twins and deep learning, based on the photovoltaic power generation system management platform based on digital twins and deep learning, comprising:
[0042] Real-time monitoring and collection of operating parameter data of photovoltaic arrays through sensors, including but not limited to voltage, current, temperature and irradiance;
[0043] Preprocess the collected operating parameter data and upload them;
[0044] Based on the received operating parameter data, power prediction and fault diagnosis are performed through deep learning neural networks. The operating parameter data collected by sensors is analyzed in combination with meteorological data through the digital twin structure system, and then reverse parameters are adjusted to optimize the photovoltaic power generation system.
[0045] Visualize the real-time collected data and processed data;
[0046] Store the operating data and history of the photovoltaic power generation system.
[0047] It can be seen from the above technical solution that compared with the prior art, the present invention discloses a photovoltaic power generation system management platform and method based on digital twins and deep learning. It adopts an advanced hardware platform as a lower computer, cooperates with various sensors to monitor the performance parameters of the photovoltaic power generation system in real time, and uses deep learning algorithms to analyze and intelligently optimize the data. At the same time, digital twin technology is used to construct a digital twin to optimize the power generation of the photovoltaic power generation system, and a Web-based user interface is developed to facilitate users to monitor the system operation status in real time and perform remote management, thereby realizing intelligent management and operation optimization of the photovoltaic power generation system. It has broad application prospects in the field of intelligent optimization and management of photovoltaic power generation systems. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0049] Figure 1 A schematic diagram of a photovoltaic power generation system management platform based on digital twins and deep learning provided by the present invention;
[0050] Figure 2 The control flow chart of the photovoltaic power generation system management platform provided by the present invention;
[0051] Figure 3 A hardware circuit connection diagram of the data acquisition module provided by the present invention;
[0052] Figure 4 The hardware system circuit connection of the pre-processing module provided by the present invention;
[0053] Figure 5 A schematic diagram of the training results of the artificial neural network ANN provided by the present invention;
[0054] Figure 6 A schematic diagram of the training results of the long short-term memory recursive neural network LSTM provided by the present invention;
[0055] Figure 7 A schematic diagram of the test results of the long short-term memory recurrent neural network LSTM provided by the present invention;
[0056] Figure 8 A schematic diagram of the fault accuracy and loss value of the CNN model checking of the fault diagnosis unit provided by the present invention;
[0057] Fig. 9 A schematic diagram of the digital twin structure system provided by the present invention;
[0058] Fig.10 A schematic diagram of the training results and test results of the GA-BP neural network model provided by the present invention;
[0059] Fig.11 A data monitoring and visualization effect diagram provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0060] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0061] The embodiment of the present invention discloses a photovoltaic power generation system management platform based on digital twins and deep learning, such as Figure 1 and Figure 2 , including data acquisition module, preprocessing module, central processing module, remote monitoring and visualization module and data storage module;
[0062] The data acquisition module is an Arduino microcontroller, which is used to monitor and collect the operating parameter data of the photovoltaic array in real time through sensors, including but not limited to voltage, current, temperature and irradiance, and transmit it to the pre-processing module via serial communication;
[0063] The preprocessing module is a Raspberry Pi microcomputer, which is used to preprocess the collected operating parameter data and upload it to the central processing module;
[0064] The central processing module is a backend cloud server that is used to perform power prediction and fault diagnosis based on the received operating parameter data through deep learning neural networks, and to optimize the photovoltaic power generation system by reversely adjusting the parameters after analyzing the operating parameter data collected by sensors in combination with meteorological data through the digital twin structure system;
[0065] The remote monitoring and visualization module is a Vue+Django-based web page used to visualize the real-time collected data and processed data;
[0066] The data storage module, including the RDS MySQL cloud database, is used to store the operating data and historical records of the photovoltaic power generation system, which is convenient for later reference and further improvement and refinement of the algorithm.
[0067] In practical applications, sensors include high-precision sensors such as current sensors, voltage sensors, irradiance sensors, and temperature sensors. Each sensor is specifically used to monitor specific performance parameters. The preprocessing module uses the RaspberryPi OS operating system and TCP communication protocol to transmit data to the central processing module using the cellular network protocol or 802.11WIFI protocol.
[0068] In this embodiment, each sensor is connected to an Arduino microcontroller, and the collected data is aggregated through the digital pins and analog pins connected to the sensor and the microcontroller and packaged and transmitted to the next unit. The circuit connection diagram is shown in Figure 3 .
[0069] In order to further implement the above technical solution, the contents of preprocessing the collected operating parameter data include:
[0070] Invalid data and outliers are cleaned through built-in data cleaning algorithms;
[0071] Normalize data to facilitate comparison and analysis across sensor types;
[0072] Set up a buffer to temporarily store preprocessed data.
[0073] In this example, the Python program is embedded in the Raspberry Pi microcomputer to process missing values, duplicate values, and outliers in the data to avoid invalid data from misleading the analysis results. Specifically:
[0074] In the Python program embedded in the Raspberry Pi, the NumPy library is imported to provide a large number of mathematical function libraries. The existing data is cleaned by combining the drop() function, including deleting duplicate values, processing missing values, data standardization, data type conversion, etc., and then packaged and transmitted to the next unit, effectively avoiding the impact of invalid data on the data set. Specifically, the preprocessing unit is connected to an external communication module, using the Raspberry Pi OS operating system and TCP communication protocol, and the parameter data can be transmitted to the next unit via WIFI or cellular network, such as Figure 4 This is the hardware connection circuit diagram of the preprocessing module.
[0075] In order to further implement the above technical solution, the central processing module includes a power prediction unit, a fault diagnosis unit and a digital twin model optimization unit;
[0076] A power prediction unit for predicting power generation through artificial neural networks (ANN) and long short-term memory (LSTM) recurrent neural networks;
[0077] A fault diagnosis unit is used to predict faults by analyzing the voltage and current values of the photovoltaic power generation system during operation using a convolutional neural network (CNN);
[0078] The digital twin model optimization unit is used to optimize the back propagation neural network GA-BP according to the genetic algorithm and perform power calculation through the constructed digital twin structure system, while simulating the actual operation of the photovoltaic power generation system and compensating and modifying the operating parameters of the photovoltaic power generation system to obtain the maximum output power.
[0079] In this embodiment, the central processing module uses Alibaba Cloud (ECS) cloud computing server, which is equipped with static analysis algorithm and dynamic analysis algorithm;
[0080] Among them, the static analysis algorithm deploys mainstream neural networks and deep learning and other intelligent algorithms, supports mainstream artificial neural networks, convolutional neural networks, long short-term memory recursive neural networks, recurrent neural networks, residual networks, etc., and uses efficient Python, JavaScript and other languages for deployment and expansion to ensure system operation stability and realize static calculation and analysis of photovoltaic parameter data;
[0081] The dynamic analysis algorithm takes the digital twin model as its core to achieve high-fidelity virtual-to-real mapping between digital virtual space and actual physical equipment. It constructs a digital twin and then optimizes the back propagation neural network GA-BP neural network based on the genetic algorithm to perform power calculation. At the same time, it obtains the power value under simulated conditions through similar meteorological conditions, and compensates and modifies the operating parameters of the photovoltaic power generation system so that it can operate at maximum output power.
[0082] In order to further implement the above technical solution, artificial neural network is used to process complex nonlinear relationships, specifically:
[0083] In ANN, the ReLU activation function is used to increase the nonlinearity of the network, and the error between the output layer and the true value is calculated. The error is transferred back layer by layer, and the weights are updated so that the network can adjust itself based on the error. The gradient of the loss function is calculated, and the network parameters are gradually updated in the opposite direction of the gradient so that the network parameters gradually approach the point with the minimum loss, ensuring the accuracy of the prediction results.
[0084] In this embodiment, the historical data of power generation and related factors are used to train the ANN model, so that power can be accurately predicted based on weather forecasts or real-time measurement results. Specifically:
[0085] Data collection: Collect historical data from the PV power plant, including: power generation (dependent variable), weather data (independent variable), solar irradiance, ambient temperature, humidity, wind speed, and other relevant factors (dust accumulation on panels, inverter efficiency);
[0086] Data preprocessing: cleaning and formatting data for use with ANN models, handling missing values, and normalizing data points;
[0087] Model design: Based on multi-layer perceptron design, it includes an input layer, multiple hidden layers, and an output layer. ReLU is used as the activation function of the hidden layer, and the linear activation function is used as the activation function of the output layer. The Adam optimizer and mean square error are used as the loss function.
[0088] Model training: Input data (weather conditions, etc.) is fed into the network. The model attempts to predict the corresponding power generation based on the training data for power forecasting. The error between the predicted power generation and the actual power generation is calculated. The back propagation algorithm is used to adjust the network's internal weights and biases based on the error. This iterative process is repeated until the model accuracy meets the requirements.
[0089] Verification and testing: Evaluate the model’s power prediction using new data and evaluate the model’s generalization ability in new situations. If the power prediction accuracy is not up to standard, adjust the network structure, training parameters, or data preprocessing techniques.
[0090] The specific mathematical description of artificial neural network ANN training is:
[0091]
[0092] in, is the loss function, is the number of nodes from the input layer to the output layer, For the output vector elements, For the label vector elements, The output vector elements and label vector The difference between the elements; when the loss value output by the model is reduced to the requirement, the training is completed.
[0093] like Figure 5 Schematic diagram of artificial neural network ANN training results, in which (a) is the mean square error diagram, (b) is the comparison diagram of the power generation predicted by the neural network and the true value, and (c) is the comparison diagram of the solar irradiation predicted by the neural network and the true value;
[0094] The LTSM neural network is improved and retrained based on the ANN, using specially designed “gates” to introduce or remove cell state C t (Cell state that saves the current LSTM state information);
[0095] The long short-term memory recurrent neural network LSTM is used to process the time series data of the photovoltaic power generation system. The specific contents are as follows:
[0096] Data collection: Collect the actual operating data of the photovoltaic power generation system, including the voltage, current, irradiance, temperature and corresponding power generation of the photovoltaic modules. The data is recorded in minutes or hours, covering multiple seasons and climate conditions;
[0097] Data preprocessing: data cleaning and normalization;
[0098] Model design: LSTM captures long-term dependencies by introducing memory units, which is suitable for the prediction task of photovoltaic power generation. It includes an input layer, multiple LSTM layers and fully connected layers, and an output layer. The LSTM unit uses tanh and sigmoid activation functions, and uses the Adam optimizer and mean square error as the loss function;
[0099] Model training: During the training process, the model needs to input historical data sequences and output future power generation;
[0100] In order to train the LSTM model, the data is processed first: the data set is divided into 70% training set, 15% validation set and 15% test set; the time window length is set to 24 hours, that is, the data of the previous 24 hours is used to predict the power generation of the next hour; the number of training epochs is set to 100 times, and the batch size is set to 32;
[0101] During the training process, the learning rate is dynamically adjusted by monitoring the loss changes of the validation set to avoid overfitting. The model evaluates the validation set at the end of each epoch and saves the best performing model parameters.
[0102] like Figure 6 The training results of the long short-term memory recurrent neural network LSTM are shown in Figure 1. Figure 6 Figures (a), (b), (c), and (d) are the prediction results at different time series, and the memory time series increases from (a) to (d);
[0103] Verification and testing: Verify the power prediction effect of the LSTM model and use the test set to evaluate the model. The mean square error and mean absolute error are mainly used as evaluation indicators, and the evaluation is performed based on the output loss value.
[0104] like Figure 7 The test results of the long short-term memory recurrent neural network LSTM, Figure 7 (a) is a data analysis diagram, (b) is a training and prediction comparison diagram, and (c) is a 72-hour comparison diagram of the actual value and the predicted value;
[0105] The information retention and transmission of LSTM is controlled by the forget gate, memory gate and output gate, and finally reflected in the cell state C t And the output signal h t;
[0106] The specific description of the door structure is:
[0107] Forget Gate:
[0108]
[0109] in, is the output signal, is a constant, and are neural network parameters, is the input signal, is the previous output signal, is the bias term;
[0110] Memory Gate:
[0111]
[0112] in, is a value between 0 and 1. and are neural network parameters, is the input signal, is the previous output signal, is the bias term;
[0113]
[0114] in, It is a value between -1 and 1. and are neural network parameters, is the input signal, is the previous output signal, is the bias term;
[0115] Output Gate:
[0116]
[0117] in, is a value between 0 and 1. and are neural network parameters, is the input signal, is the previous output signal, is the bias term;
[0118]
[0119] in, is the output signal, The result of the output gate, is the cell state, is the activation function.
[0120] The LTSM neural network is improved and retrained using a specially designed gate structure, which gives the LSTM the ability to dynamically adjust the flow of information, enabling it to adapt to the complex characteristics of various sequence data and provide a more efficient and accurate processing method for processing complex photovoltaic power generation system sequence data.
[0121] In order to further implement the above technical solution, the convolutional neural network (CNN) of the fault diagnosis unit includes multiple convolutional layers and pooling layers. Neurons in the same layer share the same weights, which are used to extract features from a large amount of sensor data and identify potential fault modes through the classification layer.
[0122] This embodiment uses the CNN model feature extraction capability to obtain the change of the IV curve when a deep learning fault occurs, avoiding the tedious process of manually designing features, and the neurons in the same layer share the same weights. This parameter sharing method greatly reduces the number of model parameters, thereby reducing the complexity of the model and the risk of overfitting, and realizes sensitive perception of parameter data, ensuring timely and effective prediction of possible faults. The specific contents are as follows:
[0123] Data collection: Collect actual operation data, including the voltage, current, irradiance, temperature of the photovoltaic modules, and corresponding fault labels, such as normal, hot spot, shading, poor contact, etc.;
[0124] Data preprocessing: data cleaning, data normalization, data labeling;
[0125] Model design: The CNN model performs well in image processing and pattern recognition. It extracts local features through the convolution layer, reduces the dimension through the pooling layer, and completes the classification task through the fully connected layer.
[0126] Specifically, it includes: input layer, input feature matrix, shape is n×m, where n is the time step, m is the number of features (such as voltage, current, irradiance, temperature); multiple convolution layers, each layer contains 32 convolution kernels, the kernel size is 3×3, and the activation function is ReLU; pooling layer, each convolution layer is followed by a maximum pooling layer, the window size is, to perform feature dimension reduction; three fully connected layers, containing 256, 128 and 64 neurons respectively, and the activation function is ReLU; the output layer is a Softmax layer, which outputs the probability distribution according to the fault category; the Adam optimizer is used for propagation calculation and reverse parameter adjustment, and the Cross-entropy loss function is used to evaluate the model accuracy;
[0127] Model training: By monitoring the loss changes of the validation set, the learning rate is dynamically adjusted to avoid overfitting. The model evaluates the validation set at the end of each epoch and saves the best performing model parameters;
[0128] Model evaluation: Use the test set to evaluate the model and obtain potential fault types. The accuracy and loss value of the fault detection are as follows: Figure 8 As shown;
[0129] The forward propagation formula of the CNN model is:
[0130]
[0131] in, is the convolutional layer The output of a neuron, is the activation function, For connection input and neurons The weight of is the bias term.
[0132] In order to further implement the above technical solution, Fig. 9 ,The constructed digital twin structure system includes the physical layer, the perception layer, the data transmission layer, the data processing layer, and the decision layer;
[0133] The physical layer provides parameter data information to the perception layer through the photovoltaic array;
[0134] The sensing layer is used to collect real-time parameter data of solar radiation intensity, temperature, voltage, current, and meteorological data of the environment where the photovoltaic array is located;
[0135] Data transmission layer: build a wireless network transmission system to achieve efficient transmission of parameter data; use a combination of distributed local storage and centralized cloud storage to store data comprehensively;
[0136] The data processing layer uses real-time meteorological data as the input of the GA-BP neural network model to calculate the initial value of the photovoltaic power generation prediction; based on the historical meteorological data compensation and correction prediction model, the final digital twin prediction value, that is, the photovoltaic power generation output power prediction data, is obtained;
[0137] The decision-making layer generates corresponding improvement plans based on the processed photovoltaic power generation output power prediction data and feeds them back to the terminal equipment to guide the operation strategy.
[0138] In this embodiment, the GA-BP neural network model is a multi-layer feedforward neural network. The present invention introduces a genetic algorithm to continuously adjust the weights and biases of the network to minimize the error between the predicted output and the actual output, specifically:
[0139] Data collection: collect real-time meteorological data, including temperature, irradiance, humidity, wind speed, etc., as well as historical meteorological data, i.e. meteorological data over a period of time in the past, as the basis for compensation and correction of the model;
[0140] Model design: GA-BP neural network can better capture the complex relationship between meteorological data and power generation, and the introduction of genetic algorithm significantly speeds up the training of the model and avoids the problem of local optimal solution. The specific model structure is as follows:
[0141] Input layer: contains the characteristics of meteorological data, such as temperature, irradiance, humidity, wind speed, etc.
[0142] Hidden layer: There are multiple hidden layers, each layer contains several neurons, and the activation function is ReLU;
[0143] Output layer: output the predicted photovoltaic power generation;
[0144] Genetic algorithm optimization: First, the weights and bias parameters of the BP neural network are encoded into chromosomes, and several chromosomes are randomly generated as the initial population. Then, the inverse of the prediction error is used as the fitness value. The smaller the error, the higher the fitness. Finally, through selection, crossover and mutation operations, the individuals in the population are continuously optimized. After several generations of iterations, the fitness reaches the set threshold or reaches the maximum number of iterations.
[0145] Model training: First, normalize the real-time meteorological data and historical meteorological data. Then, the model starts to initialize the population, calculate the fitness of each individual, perform selection, crossover and mutation operations, generate a new population, and repeat the above steps until the fitness converges or the maximum number of iterations is reached. Finally, use the weights and biases optimized by GA as the initial values to perform back propagation training of the BP neural network.
[0146] Model prediction: First, the real-time meteorological data is input into the GA-BP neural network to obtain the initial prediction value of photovoltaic power generation. Then, based on the historical meteorological data, the initial prediction value is compensated and corrected to obtain the final power prediction value of the digital twin.
[0147] like Fig.10 The training and testing results of the genetic algorithm-optimized back propagation neural network GA-BP at the data processing layer of the digital twin model are shown in the figure. Fig.10 (a) is a seasonal data analysis chart, and (b) is a comparison chart between the actual value and the predicted value;
[0148] The back propagation formula of the GA-BP model is:
[0149]
[0150]
[0151]
[0152] in, The output layer neurons The error term, is the derivative of the activation function, is the actual output, To predict the output, For connection input and output The amount of weight adjustment, The output layer neurons The adjustment amount of the bias term, is the learning rate.
[0153] In this embodiment, the compensation correction prediction model, that is, the compensation loss power, is specifically: the data collected by the sensor is compared and analyzed with the real-time meteorological data through the GA-BP neural network to obtain the actual value of the output power and predicted values ; Select various twin data such as radiation intensity and ambient temperature collected by the sensor in real time to construct feature vectors, and then establish the objective function:
[0154]
[0155]
[0156] in, is the correction amount, For meteorological data, They are real-time twin data such as irradiance and ambient temperature. is the correlation coefficient, and ; For each sample point The Euclidean distance of the sample point refers to each historical meteorological data record, which can be regarded as a vector , represents the value of the i-th meteorological parameter; is the maximum allowable correction amount, Must be less than , otherwise the correction will be invalid.
[0157] In order to further implement the above technical solutions, the central processing module also includes a continuous learning mechanism for continuously adjusting and optimizing the neural network algorithm based on real-time feedback and historical data analysis results.
[0158] In this example, the photovoltaic power generation system management platform also includes a security protocol to ensure the security of all data transmission and processing to prevent data leakage and unauthorized access.
[0159] To further implement the above technical solution, the remote monitoring and visualization module includes a front-end user interface, a back-end server and a data processing engine;
[0160] The front-end user interface, based on the Vue.js framework, is used to graphically display the real-time operating data and historical trends of the photovoltaic power generation system;
[0161] The backend server, based on the Django framework, is used to process data requests from the frontend user interface and return the processing results to the frontend user interface in JSON format;
[0162] The data processing engine is used to convert the acquired performance parameters and operating status data into charts and reports.
[0163] The remote monitoring and visualization module receives the data processed, analyzed and packaged by the central processing module, and performs operations such as unpacking, reading, rendering and displaying it on the web page, such as Fig.11 , specifically:
[0164] The website uses the Vue technology stack to build the front-end page and sub-routing, and the Django framework is responsible for opening the API interface to ensure network request processing and data interaction;
[0165] The Echarts chart library and Node.js technology stack are introduced to render data. The Canvas and SVG dual engines carried by Echarts can ensure smooth interaction in the case of large amounts of data;
[0166] It adopts responsive design and intuitive operation interface, has friendly interactivity and visualization effects, can be displayed and operated normally on different devices, enables users to easily view real-time data and processing results of intelligent algorithms, and conduct remote management and control.
[0167] In this embodiment, the front-end user interface includes:
[0168] Dashboards showing key performance indicators (KPIs) such as current power generation, total power generation, system efficiency, etc.
[0169] Real-time monitoring panel, showing real-time voltage, current, temperature and other parameters of the photovoltaic array;
[0170] Historical data analysis panel, allowing users to view and compare performance data over different time periods;
[0171] The system configuration page allows users to configure and adjust the parameters of the photovoltaic power generation system.
[0172] The data processing engine includes:
[0173] Data cleaning and verification module to ensure the displayed data is accurate;
[0174] Data aggregation and summarization modules to generate easy-to-understand data summaries and key indicators;
[0175] The chart generation engine is used to generate various charts, such as line charts, bar charts, pie charts, etc., to show the performance of the photovoltaic power generation system.
[0176] In order to further implement the above technical solution, the data storage module includes an RDS MySQL cloud database, a data backup unit, a data encryption unit, a data access interface, and a data maintenance tool;
[0177] The cloud database is used to store the operation data and history records of the photovoltaic power generation system. The data backup unit is used to automatically back up the database content regularly. The data encryption unit is used to protect the stored data from unauthorized access and tampering. The data access interface is used to allow the central processing unit and the remote monitoring and visualization unit to read and write data safely. The data maintenance tool is used to perform maintenance tasks of the database.
[0178] RDS MySQL cloud database supports high concurrency, large data volumes, and multiple clusters, effectively ensuring the stability and security of photovoltaic parameter data storage.
[0179] A photovoltaic power generation system management method based on digital twins and deep learning, based on a photovoltaic power generation system management platform based on digital twins and deep learning, including:
[0180] Real-time monitoring and collection of operating parameter data of photovoltaic arrays through sensors, including but not limited to voltage, current, temperature and irradiance;
[0181] Preprocess the collected operating parameter data and upload them;
[0182] Based on the received operating parameter data, power prediction and fault diagnosis are performed through deep learning neural networks. The operating parameter data collected by sensors is analyzed in combination with meteorological data through the digital twin structure system, and then reverse parameters are adjusted to optimize the photovoltaic power generation system.
[0183] Visualize the real-time collected data and processed data;
[0184] Store the operating data and history of the photovoltaic power generation system.
[0185] By adopting the optimization method proposed in the present invention, the operation of the photovoltaic power generation system can be effectively monitored, the operation information can be timely grasped, the power generation power can be predicted, and possible failures can be predicted, thereby improving the performance of the photovoltaic power generation system and the user interaction experience as a whole.
[0186] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0187] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A photovoltaic power generation system management platform based on digital twins and deep learning, characterized in that: It includes data acquisition module, preprocessing module, central processing module, remote monitoring and visualization module and data storage module; A data acquisition module, used to monitor and collect operating parameter data of the photovoltaic array in real time through sensors, including but not limited to voltage, current, temperature and irradiance; A preprocessing module is used to preprocess the collected operating parameter data and upload it to the central processing module; The central processing module is used to perform power prediction and fault diagnosis based on the received operating parameter data through deep learning neural networks, and to optimize the photovoltaic power generation system by reversely adjusting the parameters after analyzing the operating parameter data collected by the sensor in combination with the meteorological data through the digital twin structure system; Remote monitoring and visualization module, used to visualize the real-time collected data and processed data; A data storage module, used to store the operation data and historical records of the photovoltaic power generation system; The central processing module includes a power prediction unit, a fault diagnosis unit, and a digital twin model optimization unit; A power prediction unit for predicting power generation through artificial neural networks (ANN) and long short-term memory (LSTM) recurrent neural networks; A fault diagnosis unit is used to predict faults by analyzing the voltage and current values of the photovoltaic power generation system during operation using a convolutional neural network (CNN); The digital twin model optimization unit is used to optimize the back propagation neural network GA-BP according to the genetic algorithm and perform power calculation through the constructed digital twin structure system, while simulating the actual operation of the photovoltaic power generation system, compensating and modifying the operating parameters of the photovoltaic power generation system to obtain the maximum output power; The constructed digital twin structure system includes physical layer, perception layer, data transmission layer, data processing layer and decision-making layer; The physical layer provides parameter data information to the perception layer through the photovoltaic array; The sensing layer is used to collect real-time parameter data of solar radiation intensity, temperature, voltage, current, and meteorological data of the environment where the photovoltaic array is located; Data transmission layer: build a wireless network transmission system to achieve efficient transmission of parameter data; use a combination of distributed local storage and centralized cloud storage to store data comprehensively; The data processing layer uses real-time meteorological data as the input of the back propagation neural network model GA-BP to calculate the initial value of photovoltaic power generation prediction; based on the historical meteorological data compensation and correction prediction model, the final digital twin prediction value, that is, the photovoltaic power generation output power prediction data, is obtained; The decision-making layer generates corresponding improvement plans based on the processed photovoltaic power generation output power prediction data and feeds them back to the terminal equipment to guide the operation strategy.
2. A photovoltaic power generation system management platform based on digital twins and deep learning according to claim 1, characterized in that: The contents of preprocessing the collected operating parameter data include: Invalid data and outliers are cleaned through built-in data cleaning algorithms; Normalize data to facilitate comparison and analysis across sensor types; Set up a buffer to temporarily store preprocessed data.
3. A photovoltaic power generation system management platform based on digital twins and deep learning according to claim 1, characterized in that: Artificial neural networks are used to process complex nonlinear relationships, specifically: In ANN, the ReLU activation function is used to increase the nonlinearity of the network, and the error between the output layer and the true value is calculated. The error is transferred back layer by layer, and the weights are updated so that the network can adjust itself based on the error. The gradient of the loss function is calculated, and the network parameters are gradually updated in the opposite direction of the gradient so that the network parameters gradually approach the point with the minimum loss. The long short-term memory recurrent neural network is used to process the time series data of the photovoltaic power generation system. The specific contents are as follows: The information retention and transmission of the long short-term memory recursive neural network LSTM are controlled by the forget gate, memory gate and output gate, which are ultimately reflected in the cell state and output signal.
4. A photovoltaic power generation system management platform based on digital twins and deep learning according to claim 1, characterized in that: The convolutional neural network (CNN) of the fault diagnosis unit includes multiple convolutional layers and pooling layers. Neurons in the same layer share the same weights, which are used to extract features from a large amount of sensor data and identify potential fault modes through the classification layer.
5. A photovoltaic power generation system management platform based on digital twins and deep learning according to claim 1, characterized in that: The central processing module also includes a continuous learning mechanism for continuously adjusting and optimizing the neural network algorithm based on real-time feedback and historical data analysis results.
6. A photovoltaic power generation system management platform based on digital twins and deep learning according to claim 1, characterized in that: The remote monitoring and visualization module includes a front-end user interface, a back-end server, and a data processing engine; Front-end user interface for displaying real-time operating data and historical trends of the photovoltaic power generation system in a graphical manner; The backend server is used to process the data request of the frontend user interface and return the processing result to the frontend user interface in JSON format; The data processing engine is used to convert the acquired performance parameters and operating status data into charts and reports.
7. A photovoltaic power generation system management platform based on digital twins and deep learning according to claim 1, characterized in that: The data storage module includes a cloud database, a data backup unit, a data encryption unit, a data access interface, and a data maintenance tool; The cloud database is used to store the operating data and historical records of the photovoltaic power generation system. The data backup unit is used to automatically back up the database content regularly. The data encryption unit is used to protect the stored data from unauthorized access and tampering. The data access interface is used to allow the central processing unit and the remote monitoring and visualization unit to read and write data safely. The data maintenance tool is used to perform database maintenance tasks.
8. A photovoltaic power generation system management method based on digital twins and deep learning, characterized in that: A photovoltaic power generation system management platform based on digital twins and deep learning according to any one of claims 1 to 7, comprising: Real-time monitoring and collection of operating parameter data of photovoltaic arrays through sensors, including but not limited to voltage, current, temperature and irradiance; Preprocess the collected operating parameter data and upload them; Based on the received operating parameter data, power prediction and fault diagnosis are performed through deep learning neural networks. The operating parameter data collected by sensors is analyzed in combination with meteorological data through the digital twin structure system, and then reverse parameters are adjusted to optimize the photovoltaic power generation system. Visualize the real-time collected data and processed data; Store the operating data and history of the photovoltaic power generation system.
Citation Information
Patent Citations
Photovoltaic power generation power prediction method based on combined machine learning model and application thereof
CN115860177A
Distributed photovoltaic digital twin system power prediction method based on GA-BP neural network
CN115965132A
Cited By
Digital twin factory data processing and storage system based on cloud computing
CN118779867A
Digital twin factory data processing and storage system based on cloud computing
CN118779867B
Enclosed busbar wind speed prediction control method based on space-time intelligent adaptation prediction engine
CN119089410A
Photovoltaic power station design method based on digital twinborn model
CN119323139A
Photovoltaic generating capacity prediction method and domain knowledge driven visual analysis system
CN119474490A
