Introduction
Accurate solar photovoltaics (PV) power generation forecasting is a cornerstone of modern smart grid management and energy dispatching. However, utility providers often face a significant challenge: PV data is typically collected from a heterogeneous mix of sources—ranging from small residential rooftop arrays to massive industrial installations—and this data is frequently de-identified.
Training a single "one-size-fits-all" model on this mixed data often results in poor performance because the generation patterns of a residential home differ fundamentally from those of a commercial plant. Conversely, training isolated models for each customer type ignores the commonalities they share, such as regional weather patterns. This paper introduces the Clustering-based Multitasking Deep Neural Network (CM-DNN), a framework designed to identify these hidden groups and optimize the sharing of information between them to maximize prediction accuracy.
The CM-DNN Framework
The proposed CM-DNN framework operates through a three-stage pipeline designed to transition from raw, unlabeled data to a highly specialized multitasking network.
1. Unsupervised Clustering
Since customer types are often unknown in real-world datasets, the framework first employs K-means clustering (using Euclidean distance). This segments the raw PV data into $n$ distinct groups based on their generation profiles, successfully identifying latent categories such as residential, industrial, and agricultural without the need for manual labels.
2. Intra-model Learning
For each identified cluster, a dedicated Deep Neural Network—specifically a Long Short-Term Memory (LSTM) network—is trained individually. This stage establishes a baseline of specialized knowledge for each specific customer type, allowing the model to capture the unique temporal dependencies of that group's generation patterns.
3. Inter-model Knowledge Transfer
The core innovation of CM-DNN is its multitasking approach to knowledge transfer. To enhance a "target" model's accuracy, the framework "borrows" weights and biases from "source" models (the other clusters). To prevent "negative transfer"—where unrelated data from a different cluster degrades the target model's performance—the authors use Particle Swarm Optimization (PSO). PSO solves the dual problem of selecting the most relevant source tasks and determining the optimal coefficient ($\alpha$) for each, dictating exactly how much knowledge should be transferred.
Experimental Setup and Data
The study utilized a real-world dataset from the CitiPower/Powercor network in Victoria, Australia, spanning the full year of 2020. The data was recorded at 30-minute intervals, providing 26,870 daily instances. The models were tasked with using data from 6:00 AM to 1:00 PM to predict generation for the afternoon period (1:30 PM to 6:30 PM).
The K-means clustering identified four primary categories:
- Residential: 14,529 samples
- Agricultural: 4,513 samples
- Industrial: 1,967 samples
- Commercial: 485 samples
Key Results and Discussion
The researchers compared the CM-DNN framework against standard versions of RNN, CNN-LSTM, LSTM, and GRU models. The results consistently showed that the "CM" (Clustered Multitasking) versions outperformed their standard counterparts across all metrics.
- Superior Accuracy: CM-LSTM and CM-GRU yielded the lowest Root Mean Square Error (RMSE) overall.
- Significant Error Reduction: In the Residential category, the standard RNN recorded an RMSE of 1.9777, which the proposed CM-GRU slashed to 0.1938.
- Stability in Small Clusters: The multitasking approach proved particularly beneficial for smaller datasets. For the Commercial cluster (the smallest sample size), the CM-RNN achieved an RMSE of 9.2927, a vast improvement over the 20.1362 RMSE produced by the standard RNN. This demonstrates that the model successfully leveraged knowledge from larger clusters to stabilize predictions for smaller ones.
Conclusion
The CM-DNN framework demonstrates that discovering the hidden structure of PV data and enabling selective knowledge transfer between clusters significantly improves forecasting reliability. By using PSO to fine-tune the multitasking process, the model avoids the pitfalls of global modeling while retaining the benefits of shared regional insights. Future work will focus on incorporating external weather variables, such as cloud cover and temperature, and exploring more computationally efficient evolutionary algorithms for the optimization process.
Summary updated