Forecasting–Scheduling Co-Optimization for Rural Microgrids: An Edge-Deployable Approach
Abstract
1. Introduction
- (1)
- Accuracy vs. Lightweight Deployment: High-precision fusion models cannot be deployed at the edge, while lightweight models exhibit sharp error increases under fluctuating conditions.
- (2)
- Global Optimization vs. Real-Time Response: Intelligent algorithms approach optimal solutions but require excessive computation time, hindering second-level scheduling.
- (3)
- Technological Advancement vs. Scenario Adaptation: Most studies remain at the simulation stage without validation under real-world rural conditions.
- (1)
- Adaptive Gated Dual-stream Network (AGDN): A feature-dimensional gated fusion mechanism dynamically balances LSTM and Transformer contributions, overcoming the limitations of single models in volatile rural scenarios while achieving both accuracy and efficiency.
- (2)
- Prediction Uncertainty-Guided Quantum-Inspired Optimization (PUG-QIO): Forecasting confidence intervals are adaptively mapped to quantum rotation angles, enabling exploration–exploitation trade-offs to vary with prediction uncertainty—realizing closed-loop forecasting–scheduling optimization.
- (3)
- Temporal Sensitivity-Aware Differentiated Pruning (TSADP): A layer-wise pruning strategy based on temporal contribution preserves forecasting accuracy under substantial parameter compression, resolving the edge deployment challenge for high-precision models.
2. Related Work and Theoretical Basis
2.1. Challenges of Rural Microgrid Energy Management
2.2. Time-Series Forecasting Models
2.3. Optimal Scheduling Methods for Microgrids
2.4. Edge-Side Model Lightweight Technologies
2.5. Research Gaps and Positioning of This Paper
- (1)
- The gap between forecasting accuracy and lightweight deployment: High-precision fusion models such as K-NBEATSx cannot be deployed at the edge [7], while lightweight models suffer sharply increased errors under fluctuating conditions.
- (2)
- The gap between global optimization and real-time response: Although intelligent algorithms such as bilevel optimization can approach optimal solutions, their excessive computation time makes meeting second-level scheduling requirements difficult [22].
- (3)
- The gap between technological advancement and scenario adaptability: Most studies remain at the simulation stage without validation under real-world rural conditions [14].
- (1)
- Adaptive Gated Dual-stream Network (AGDN): Achieves fine-grained fusion of LSTM and Transformer through a feature-dimensional gated fusion mechanism.
- (2)
- Prediction Uncertainty-Guided Quantum-Inspired Optimization (PUG-QIO): Maps prediction confidence intervals to adaptive rotation angles, enabling dynamic exploration–exploitation trade-offs.
- (3)
- Temporal Sensitivity-Aware Differentiated Pruning (TSADP): Maintains forecasting accuracy at 63% compression ratio through layer-wise pruning based on temporal contribution.
3. System Requirements Analysis
3.1. System Function and Performance Requirements
3.2. Rural Environment Adaptation Requirements
4. System Design
4.1. System Architecture Design
- (1)
- Data acquisition: Through multi-protocol hybrid access including Modbus RTU (RS-485 bus), IEC 104 (Ethernet), and CAN (energy storage internal bus), 38 types of operating parameters are collected at 5 s sampling intervals. These parameters include PV DC power, energy storage SOC/SOH, three-phase load power, and irradiance.
- (2)
- Command execution: The layer receives scheduling instructions from the edge computing layer to control energy storage charging/discharging power, diesel generator start/stop operations, and grid-connected switch states. A local cache provides short-term data buffering (≥2 h) during communication exceptions.
- (1)
- Path 1—Data acquisition and preprocessing (continuous operation, triggered every 5 s): Raw data undergoes temporal alignment, anomaly detection, imputation, and standardization before being written to a local time-series database. Average processing time: 320 ms.
- (2)
- Path 2—Time-series forecasting (triggered every 15 min by the scheduling module, or automatically when new data accumulation exceeds 1 h): The forecasting module reads 72 h of historical data, executes the Adaptive Gated Dual-stream Network (AGDN), and outputs load and PV predictions with 95% confidence intervals for the next 24 h. Single inference time: approximately 31 ms (after lightweight deployment).
- (3)
- Path 3—Energy scheduling (rolling optimization every 15 min, or triggered when deviation between predicted and actual values exceeds threshold): The scheduling module takes the latest prediction results and real-time status as input, runs the Prediction Uncertainty-Guided Quantum-Inspired Optimization (PUG-QIO) algorithm, and generates energy storage charging/discharging plans, diesel generator start/stop schedules, and power purchase/sale strategies for the next 24 h (96 time slots). Average solution time: 5.3 s. Generated scheduling instructions are transmitted to the field equipment layer through the communication link.
- (4)
- Path 4—Local autonomy and mode switching (communication link quality detected every second): When communication is interrupted, the system automatically switches to degraded or emergency mode to maintain basic scheduling capability (see Section 4.4.3).
4.2. Design of Data Acquisition Module
4.2.1. Acquisition Objects and Sampling Strategy
4.2.2. Communication Architecture Design
- (1)
- Primary link (4G): Through DTU transparent transmission, supporting TCP/MQTT protocols, used for real-time data transmission and cloud command reception.
- (2)
- Standby link (LoRa): Ad-hoc network mode covering scattered nodes (weather stations, irrigation loads) within a 5 km radius, used for critical data backhaul during communication interruptions.
4.2.3. Data Preprocessing Pipeline
- (1)
- Statistical method: Based on the 3σ principle, data points beyond mean ±3 standard deviation are identified.
- (2)
- Physical method: Based on rate-of-change constraints, power change rates exceeding 50%/s (amplitude change exceeding 50% of rated power per second) are flagged as abnormal. This threshold is determined from physical response characteristics of PV and load.
- (1)
- Short gaps (≤30 s): Forward fill (retain last valid value).
- (2)
- Moderate gaps (30 s to 5 min): Predictive imputation using ARIMA (2, 1, 2) model, where 2 is the autoregressive order, 1 is the differencing order, and 2 is the moving average order. Model parameters are optimized on historical datasets using Bayesian Information Criterion and updated online based on historical contemporaneous data.
- (3)
- Long gaps (>5 min): Marked as unavailable, triggering robust mode switching in the scheduling module.
4.3. Time-Series Forecasting Subsystem: Adaptive Gated Dual-Stream Network (AGDN)
4.3.1. Problem Formulation
4.3.2. Model Overall Architecture
- (1)
- LSTM encoding branch: Extracts long and short-term temporal dependence features, outputting feature vector .
- (2)
- Transformer encoding branch: Captures global correlation characteristics, outputting feature vector .
- (3)
- Gated fusion layer: Dynamically fuses features from both branches to generate fusion feature vector .
- (4)
- Output layer: Maps fused features to final prediction result .
4.3.3. LSTM Encoding Branch
4.3.4. Transformer Encoding Branch
4.3.5. Gated Fusion Mechanism
4.3.6. Output Layer and Loss Function
4.4. Design of Energy Scheduling Decision Module
4.4.1. Multi-Objective Optimization Model
4.4.2. Prediction Uncertainty-Guided Quantum-Inspired Optimization (PUG-QIO)
| Algorithm 1 Prediction Uncertainty-Guided Quantum-Inspired Optimization (PUG-QIO) |
| 2: for iter = 1 to M do |
| , bit j is 0, otherwise 1) |
| is penalty coefficient |
| do |
| 7: for each dimension j do |
| at current time (corresponding to scheduling time slot t) |
| is defined |
| 12: end for |
| 13: end for |
| 14: If no improvement in optimal solution for 30 consecutive generations, terminate iteration |
| 15: end for |
4.4.3. Robust Mode-Switching Mechanism
- (1)
- If and PV output kW, charge energy storage first, charging power (50 kW, PV output).
- (2)
- If and PV output kW, start diesel generator at minimum power (30 kW) to power load and charge energy storage simultaneously.
- (3)
- If and load kW, priority energy storage discharge, discharge power (100 kW, load demand).
- (4)
- If and load kW, energy storage discharge meets load, surplus electricity sold to grid.
- (5)
- If and PV output load, PV powers load, surplus charges energy storage.
- (6)
- If and PV output load, PV + energy storage joint power supply, insufficient portion supplemented by diesel generator.
4.5. Lightweight Deployment Design
4.5.1. Temporal Sensitivity-Aware Differentiated Pruning (TSADP)
- (1)
- Temporal Sensitivity Definition
- (2)
- Differentiated Pruning Rate
- (3)
- Pruning Execution with Fine-Tuning
4.5.2. Knowledge Distillation and Model Compression
- (1)
- LSTM Layer 1: Input 8 dimensions, hidden layer 64 dimensions, return sequences
- (2)
- LSTM Layer 2: Input 64 dimensions, hidden layer 64 dimensions, return sequences
- (3)
- LSTM Layer 3: Input 64 dimensions, hidden layer 64 dimensions, return last moment output
- (4)
- Fully-connected layer: 64 → 24 dimensions
- (1)
- Optimizer: Adam
- (2)
- Learning rate:
- (3)
- Batch size: 32
- (4)
- Training epochs: 50
- (5)
- Early stopping: validation set loss not decreasing for 5 epochs
- (6)
- Hardware: NVIDIA RTX 3090, training time approximately 1 h
4.5.3. Edge Deployment Scheme
- (1)
- Model conversion: Python 3.9.7-trained Keras model → TensorFlow Lite Converter → .tflite file
- (2)
- Quantization: Dynamic range quantization (weights from float32 to float16) further reduces model size
- (3)
- Deployment: C++ program loads .tflite model, performs inference using TensorFlow Lite C++ API
- (4)
- Input/output: Input is float array; output is 24-dimension float array
- (1)
- Normal state: inference time < 50 ms, memory footprint < 500 MB
- (2)
- Alert state: inference time > 80 ms or memory usage > 600 MB for 1 min, triggering alarm
- (3)
- Emergency state: inference time > 120 ms or memory footprint > 800 MB, automatically switch to standby ARIMA prediction model (lightweight, no neural network)
- (1)
- Parameter count: <10 KB
- (2)
- Inference time: <5 ms
- (3)
- Memory footprint: <10 MB
- (4)
- Prediction MAE: ~7.5% (lower precision, but ensures basic functionality)
- (1)
- System boot script managed by systemd, set to auto-start on boot
- (2)
- When process exits abnormally, automatic restart with up to 3 retry attempts
- (3)
- Key logs recorded in local files to facilitate troubleshooting
5. System Implementation and Experiments
5.1. Development Environment and Tools
5.2. Core Module Implementation
5.3. Experimental Dataset and Evaluation Metrics
- (1)
- Training set: January–December 2022 (70%)
- (2)
- Validation set: January–March 2023 (15%)
- (3)
- Test set: April–June 2023 (15%)
Evaluation Metrics
- (1)
- (2)
- (3)
- (4)
- (1)
- Energy utilization rate:
- (2)
- Comprehensive cost:
5.4. Experimental Results and Analysis
5.4.1. Forecasting Performance Comparison
- (1)
- 18.7% reduction compared to LSTM (5.2%);
- (2)
- 12.3% reduction compared to Transformer (4.8%);
- (3)
- 6.7% reduction compared to TCN–Transformer (4.5%).
- (1)
- Scalar weighting: , with determined by grid search.
- (2)
- Concatenation + fully-connected: LSTM and Transformer outputs are concatenated and passed through a two-layer fully-connected network for nonlinear fusion.
- (3)
- Gated fusion (this paper): Dynamic weighted fusion at the feature-dimension level.
5.4.2. Scheduling Effectiveness Analysis
- (1)
- Baseline strategy: No forecasting, fixed rules;
- (2)
- Standard quantum-inspired algorithm: Fixed rotation angle;
- (3)
- PUG-QIO (this paper): Adaptive rotation angle guided by prediction uncertainty.
- (1)
- Low noise: SNR = 20 dB;
- (2)
- Medium noise: SNR = 15 dB;
- (3)
- High noise: SNR = 10 dB.
5.4.3. Lightweighting Effectiveness Validation
- (1)
- Unified pruning: Fixed threshold ;
- (2)
- TSADP (this paper): Differentiated pruning based on temporal sensitivity;
- (3)
- Separate knowledge distillation;
- (4)
- Separate weight quantization (INT8);
- (5)
- TSADP + distillation (this paper): Hybrid strategy.
- (1)
- Unified pruning increases MAE to 4.9% at 63% compression (0.7 percentage point loss), while TSADP loses only 0.2 percentage points at the same compression ratio (4.2% → 4.4%). The 0.5 percentage point MAE difference fully proves TSADP’s core idea: identifying important layers through temporal sensitivity analysis and implementing differentiated pruning can effectively protect layers critical to temporal modeling (LSTM layers, self-attention layers) and avoid loss of critical temporal information.
- (2)
- Knowledge distillation alone compresses the model to 1.2 M, but MAE rises to 4.7%, slightly higher than TSADP + distillation (4.5%), indicating that pruning before distillation can mitigate accuracy loss.
- (3)
- Weight quantization alone (INT8) achieves the fastest inference speed (28 ms) and lowest memory footprint (310 MB), but requires dedicated hardware acceleration, with MAE 4.5% similar to TSADP + distillation.
- (4)
- The TSADP + distillation hybrid strategy achieves 90% compression, MAE of only 4.5% (meeting the design target of ≤4.5%), inference speed of 31 ms, and memory footprint of 458 MB—the best comprehensive effect.
- (1)
- LSTM layers: Average pruning rate 52%.
- (2)
- Transformer self-attention layers: Average pruning rate 45%.
- (3)
- Feedforward network layers: Average pruning rate 68%.
5.4.4. Comprehensive System Performance Evaluation
- (1)
- Average: 8.7 s
- (2)
- P95 delay: 9.8 s
- (3)
- Maximum delay: 11.2 s
- (1)
- Data acquisition and preprocessing: 3.2 s
- (2)
- Prediction inference: 0.8 s
- (3)
- Scheduling optimization: 4.1 s
- (4)
- Instruction issuance and execution: 0.6 s
- (1)
- 30 s after interruption: System automatically switched to degraded mode, generating scheduling schemes based on historical similar-day matching.
- (2)
- After 2 h: System switched to emergency mode, enabling rule-based operation.
- (3)
- During interruption: Energy utilization rate was 88.3% (4.9 percentage points lower than normal mode), with no system shutdown or equipment misoperation.
- (4)
- After communication restoration: Local cache data synchronized automatically with 99.7% integrity rate.
- (1)
- July 2022 (before deployment): Diesel consumption ≈ 1362 L; electricity purchase cost ≈ 12,000 yuan.
- (2)
- July 2023 (system trial): Diesel consumption ≈ 982 L (reduction of 380 L); electricity purchased 1.8 MWh; electricity sales revenue 2460 yuan.
- (3)
- Diesel price: 8.2 yuan/L (local purchase price).
- (4)
- Diesel cost savings: 380 L × 8.2 yuan/L ≈ 3116 yuan.
- (5)
- Net electricity cost savings: After subtracting the net increase in electricity sales revenue (2460 yuan—previous year’s revenue), the net savings are approximately 2180 yuan.
- (1)
- Software exceptions: 3 recorded (all repaired)
- (2)
- Hardware exceptions: 0 recorded
- (3)
- Mean time between failures: Approximately 240 h
- (4)
- WARNING-level alarms: 42 recorded, mainly from communication transients (31 times) and sensor data anomalies (11 times)
6. Conclusions and Future Work
6.1. Research Summary
- (1)
- Adaptive Gated Dual-stream Network (AGDN): A gated fusion mechanism has been proposed to dynamically balance the contributions of LSTM and Transformer at the feature-dimension level. The load forecasting Mean Absolute Percentage Error (MAPE) reaches 4.2%, representing an 18.7% reduction compared to standalone LSTM.
- (2)
- Prediction Uncertainty-Guided Quantum-Inspired Optimization (PUG-QIO): An algorithm that maps prediction confidence intervals to quantum rotation angles has been designed to enable adaptive search. The energy utilization rate reaches 93.2%, and the average daily fuel cost of the diesel generator is reduced by 27.3%.
- (3)
- Temporal Sensitivity-Aware Differentiated Pruning (TSADP): A pruning strategy that maintains forecasting accuracy at a 63% parameter compression ratio has been developed. Combined with knowledge distillation, the final deployment model is compressed to 1.2M parameters (9.6% of the original model), achieving a 63% improvement in inference speed and a memory footprint below 500 MB.
- (4)
- Field Validation: The system was tested in a real rural microgrid for 30 consecutive days. The end-to-end response delay remained below 10 s. Even under weak communication conditions, the energy utilization rate reached 88.3%, with cumulative electricity cost savings of 2180 yuan—verifying the effectiveness and reliability of the proposed scheme.
6.2. Main Contributions
- (1)
- Forecasting Level: AGDN achieves fine-grained adaptive fusion of LSTM and Transformer through a gated mechanism, enabling single models to capture multi-scale fluctuation features.
- (2)
- Scheduling Level: PUG-QIO embeds prediction uncertainty into quantum search, realizing closed-loop co-optimization and increasing energy utilization by 5.7 percentage points under high uncertainty.
- (3)
- Deployment Level: TSADP introduces temporal sensitivity-guided differentiated pruning, enabling edge deployment of high-precision models on resource-constrained devices.
6.3. Limitations and Future Work
- (1)
- Data Limitations: Multi-source information such as Numerical Weather Prediction (NWP), dynamic electricity pricing, and agricultural activity schedules have not been fully integrated into the forecasting framework. As noted by the reviewer, incorporating these data sources could further enhance forecasting accuracy and robustness. This limitation will be addressed in our future work on multi-source data fusion (Future Work direction 1).
- (2)
- Algorithmic Limitations: The interpretability of the gating vectors in AGDN requires further analysis. Additionally, the historical similar-day matching algorithm does not adequately account for load profile morphological characteristics.
- (3)
- Engineering Limitations: The system has not yet been tested under extreme environmental conditions (e.g., severe weather, prolonged communication outages), and the risk of single-point failures has not been fully addressed.
- (4)
- System Integration Limitations: Adjustable resources (e.g., flexible loads, electric vehicles) are not yet connected, and the potential for multi-microgrid collaboration remains unexplored.
- (1)
- Multi-source data fusion: We plan to incorporate Numerical Weather Prediction (NWP), dynamic electricity pricing, and agricultural machinery scheduling into a multi-source fusion framework. Meteorological fluctuations, price peaks, and farming activities will be encoded as auxiliary features and concatenated with original time-series data, enabling the model to anticipate weather evolution and agricultural impacts on load patterns.
- (2)
- Cross-regional generalization via transfer learning: Transfer learning will encode geographical location, climate zone, and PV resource level as prior knowledge through regional embeddings, allowing the model to dynamically adjust prediction bias according to regional characteristics—enabling rapid adaptation to new areas with minimal fine-tuning samples.
- (3)
- Federated learning for multi-microgrid collaboration: A federated learning framework will be constructed where each edge node trains locally and uploads only encrypted model parameters to the cloud, eliminating privacy risks. After cloud aggregation, a global prediction model is distributed, enabling coordinated energy storage sharing among multiple microgrids and improving regional renewable energy accommodation.
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Shahzad, S.; Abbasi, M.A.; Ali, H.; Iqbal, M.; Munir, R.; Kilic, H. Possibilities, Challenges, and Future Opportunities of Microgrids: A Review. Sustainability 2023, 15, 6366. [Google Scholar] [CrossRef]
- Liu, X.; Zhao, T.; Deng, H.; Wang, P.; Liu, J.; Blaabjerg, F. Microgrid Energy Management with Energy Storage Systems: A Review. IEEE Trans. Power Syst. 2025, 40, 1234–1250. [Google Scholar] [CrossRef]
- Li, J.H. Discussion on the Application and Development of Microgrids in Modern Rural Power Grids. China Electr. Power Enterp. Manag. 2024, 40, 66–68. (In Chinese) [Google Scholar]
- Qiao, Q. Microgrids Burst with Great Energy. China Electr. Power Enterp. Manag. 2024, 6, 24–26. (In Chinese) [Google Scholar]
- Habbak, H.; Mahmoud, M.; Metwally, K.; Fouda, M.M.; Ibrahem, M.I. Load Forecasting Techniques and Their Applications in Smart Grids. Energies 2023, 16, 1480. [Google Scholar] [CrossRef]
- Abumohsen, M.; Owda, A.Y.; Owda, M. Electrical Load Forecasting Using LSTM, GRU, and RNN Algorithms. Energies 2023, 16, 2283. [Google Scholar] [CrossRef]
- Zhang, W.; Cheng, M.; Xiang, Q.; Li, Q. Enhancing Short-Term Load Forecasting Through K-Shape Clustering and Deep Learning Integration. IEEE Access 2025, 13, 30123–30138. [Google Scholar] [CrossRef]
- Akhtar, S.; Shahzad, S.; Zaheer, A.; Ullah, H.S.; Kilic, H.; Gono, R.; Jasinski, M.; Leonowicz, Z. Short-Term Load Forecasting Models: A Review of Challenges, Progress, and the Road Ahead. Energies 2023, 16, 4060. [Google Scholar] [CrossRef]
- Abdelghany, M.B.; Al-Durra, A.; Gao, F. A Coordinated Optimal Operation of a Grid-Connected Wind-Solar Microgrid Incorporating Hybrid Energy Storage Management Systems. IEEE Trans. Sustain. Energy 2024, 15, 39–51. [Google Scholar] [CrossRef]
- Rangarajan, S.S.; Raman, R.; Singh, A.; Shiva, C.K.; Kumar, R.; Sadhu, P.K.; Collins, E.R.; Senju, T. DC Microgrids: A Propitious Smart Grid Paradigm for Smart Cities. Smart Cities 2023, 6, 1690–1718. [Google Scholar] [CrossRef]
- Du, M.Z.; Wu, J.L.; Sun, H.Y.; Gao, L.L. Research on Construction and Application of Rural Smart Energy Systems Based on DC Microgrids in the Context of China’s Dual Carbon Goals. J. Shenyang Inst. Eng. (Nat. Sci. Ed.) 2025, 21, 1–8. (In Chinese) [Google Scholar]
- Chen, J.; Wang, S.S.; Ying, D.X.; Fan, X.C.; Shi, R.J.; Zhu, R.W.; Li, J. Electricity Empowers Smart Agriculture and Helps Rural Revitalization: A Case Study of Grapes in Turpan, Xinjiang. Appl. Energy Technol. 2022, 6, 1–4. (In Chinese) [Google Scholar]
- Jing, X.W.; Fu, Y. Tongzhou: Microgrid System Empowers Beautiful Countryside. China Electr. Power Enterp. Manag. 2024, 6, 27–29. (In Chinese) [Google Scholar]
- Che, Y.Y.; Liu, L.T.; Fang, B.M.; Fan, R.M.; Zhao, X. Coordinated Optimal Operation Strategy of Wind-Solar Microgrid Hybrid Energy Storage System Based on Model Predictive Control. Hydropower Energy Sci. 2025, 11, 172–178. (In Chinese) [Google Scholar]
- Yan, Y.H. Discussion and Research on Serving “Village Revitalization” Grid-Connected Optical Storage Microgrid Technology. Ningxia Electr. Power 2021, 5, 38–40. (In Chinese) [Google Scholar]
- Eyimaya, S.E.; Altin, N.; Nasiri, A. Optimization of Photovoltaic and Battery Storage Sizing in a DC Microgrid Using LSTM Networks Based on Load Forecasting. Energies 2025, 18, 3676. [Google Scholar] [CrossRef]
- Dewangan, F.; Abdelaziz, A.Y.; Biswal, M. Load Forecasting Models in Smart Grid Using Smart Meter Information: A Review. Energies 2023, 16, 1404. [Google Scholar] [CrossRef]
- Chen, Y.; Wan, K.; Zhao, J.; Yu, M. Accurate Consensus-Based Distributed Secondary Control with Tolerance of Communication Delays for DC Microgrids. Int. J. Electr. Power Energy Syst. 2024, 155, 109636. [Google Scholar] [CrossRef]
- Tomás-Martín, A.; Kazemtabrizi, B.; García-Cerrada, A.; Sigrist, L.; Bueno, E.J. Decentralised Consensus-Based Hierarchical Control of a Hybrid AC-DC Microgrid Robust to Communication Delays. Int. J. Electr. Power Energy Syst. 2026, 175, 111645. [Google Scholar] [CrossRef]
- He, P.; Zhu, Y.; Tao, Y.; Liu, X.; Shao, J. Frequency Control Strategy of Microgrid Distributed Virtual Synchronous Generator Based on Asynchronous Event Triggered Communication Protocol. Int. J. Electr. Power Energy Syst. 2025, 168, 110666. [Google Scholar] [CrossRef]
- Fu, D.; Miao, G.X.; Wang, X.; Yuan, L.; Sun, H.R.; Chen, Y.W.; Li, Z.X.; Wang, X.H. Robust Optimal Scheduling Strategy for Agricultural Microgrid Containing Small Pumped Storage Plant. Hydropower Energy Sci. 2025; in press. (In Chinese)
- Lei, J.; Liu, Z. Nested Bi-level Scheduling Strategy for Energy Storage Systems in Hybrid Microgrid Considering Uncertainties of Battery Dynamic Performances. Int. J. Electr. Power Energy Syst. 2025, 166, 110575. [Google Scholar] [CrossRef]










| S | Research Gap | Contribution |
|---|---|---|
| Time-series forecasting | LSTM global dependency limited; excessive Transformer parameter count; hybrid models use fixed weights | AGDN with gated fusion for dynamic weight allocation |
| Optimized scheduling | Standard quantum-inspired algorithms use fixed rotation angles | PUG-QIO with adaptive rotation angles guided by prediction confidence |
| Edge deployment | Unified pruning thresholds ignore layer-wise differences | TSADP with temporal sensitivity-guided differentiated pruning |
| Scenario validation | Most studies stop at simulation | 30-day field trial validation |
| Metric Dimension | Indicator Name | Target Value | Test Conditions |
|---|---|---|---|
| Forecasting accuracy | MAPE for load forecasting | ≤4.5% | 24 h forecast window, 5 min sampling interval |
| Forecasting accuracy | PV forecast nRMSE | ≤10% | 24 h forecast window, stratified by weather type |
| Real-time response | End-to-end processing latency | ≤10 s | From data acquisition completion to dispatch instruction generation |
| System reliability | Average annual system availability | ≥95% | Including planned maintenance and unplanned failures |
| Weak communication availability | Core function availability at packet loss rate ≤ 20% | ≥90% | Based on 48 h of continuous testing |
| Data Category | Objects to Collect | Interface Protocol | Steady-State Sampling Interval | Wave-Dynamic Trigger Conditions | Wave-Dynamic Sampling Interval |
|---|---|---|---|---|---|
| Generation unit | PV inverter (DC power, voltage, current) | Modbus RTU (RS-485) | 5 s | Power change rate > 10%/min | 1 s |
| Energy storage system | SOC, SOH, charge/discharge power, cell voltage/temperature | CAN 2.0B | 5 s | Charge/discharge state switch | 1 s |
| Load side | Total incoming line power, branch loop power (cold chain/irrigation) | Modbus TCP (Ethernet) | 5 s | Load surge > 15%/min | 1 s |
| Weather station | Irradiance, ambient temperature, humidity, wind speed | LoRa (gateway convergence) | 1 min | Irradiance change > 200 W/m2·min | 10 s |
| Indicators | Original Model | After Pruning | Pruning + Distillation (Final Deployment) |
|---|---|---|---|
| Parameter count | 12.5 M | 4.6 M | 1.2 M |
| Compression ratio | — | 63% | 90% |
| Inference time (Raspberry Pi 4B) | 85 ms | 52 ms | 31 ms |
| Memory footprint | 820 MB | 430 MB | 458 MB |
| Load forecasting MAE | 4.2% | 4.4% | 4.5% |
| PV forecasting MAE | 4.8% | 5.0% | 5.1% |
| Load MAPE (%) | Load RMSE (%) | PV MAE (%) | PV RMSE (%) | Params (M) | Inference Time (ms) | |
|---|---|---|---|---|---|---|
| LSTM | 5.2 ± 0.3 | 6.8 ± 0.4 | 6.1 ± 0.4 | 7.5 ± 0.5 | 0.8 | 42 |
| Transformer | 4.8 ± 0.2 | 6.3 ± 0.3 | 5.7 ± 0.3 | 7.1 ± 0.4 | 4.2 | 68 |
| TCN-Transformer | 4.5 ± 0.2 | 5.9 ± 0.3 | 5.3 ± 0.3 | 6.8 ± 0.4 | 3.5 | 56 |
| SCINet | 4.6 ± 0.2 | 6.0 ± 0.3 | 5.4 ± 0.3 | 6.9 ± 0.4 | 1.8 | 35 |
| DLinear | 4.9 ± 0.3 | 6.4 ± 0.4 | 5.8 ± 0.4 | 7.3 ± 0.5 | 0.5 | 12 |
| AGDN (scalar weighting) | 4.4 ± 0.2 | 5.7 ± 0.3 | 5.1 ± 0.3 | 6.5 ± 0.4 | 2.1 | 48 |
| AGDN (gated fusion) | 4.2 ± 0.2 | 5.3 ± 0.3 | 4.8 ± 0.3 | 6.1 ± 0.4 | 2.2 | 49 |
| Fusion Approach | Load MAE (%) | PV MAE (%) | Parameter Increment (K) |
|---|---|---|---|
| Scalar weighting | 4.4 | 5.1 | 0 |
| Concatenation + FC | 4.3 | 5.0 | 28.4 |
| Gated fusion | 4.2 | 4.8 | 32.9 |
| Strategy | Energy Utilization (%) | Fuel Cost (Yuan/Day) | Purchase Cost (Yuan/Day) | Sales Revenue (Yuan/Day) | Comprehensive Cost (Yuan/Day) | Solution Time (s) |
|---|---|---|---|---|---|---|
| Baseline | 81.7 ± 2.1 | 1260 ± 85 | 320 ± 42 | 45 ± 12 | 1535 | 0.02 (rule lookup) |
| Standard Quantum | 89.5 ± 1.8 | 1020 ± 62 | 210 ± 28 | 68 ± 15 | 1162 | 5.8 ± 0.6 |
| PUG-QIO | 93.2 ± 1.5 | 918 ± 48 | 150 ± 21 | 82 ± 18 | 986 | 5.3 ± 0.5 |
| Noise Level | SNR | Standard Quantum (Yuan/Day) | PUG-QIO (Yuan/Day) | Cost Reduction | Constraint Violation (PUG-QIO) |
|---|---|---|---|---|---|
| Low | 20 dB | 1195 ± 42 | 1012 ± 35 | 15.3% | 0% |
| Medium | 15 dB | 1287 ± 68 | 1065 ± 52 | 17.2% | 0.3% |
| High | 10 dB | 1452 ± 112 | 1183 ± 86 | 18.5% | 1.2% |
| Params (M) | Compression (%) | Inference (ms) | Memory (MB) | Load MAE (%) | PV MAE (%) | |
|---|---|---|---|---|---|---|
| Original model | 12.5 | — | 85 | 820 | 4.2 ± 0.2 | 4.8 ± 0.2 |
| ) | 4.6 | 63% | 51 | 430 | 4.9 ± 0.3 | 5.6 ± 0.3 |
| TSADP (this paper) | 4.6 | 63% | 52 | 430 | 4.4 ± 0.2 | 5.0 ± 0.2 |
| Separate knowledge distillation | 1.2 | 90% | 32 | 460 | 4.7 ± 0.2 | 5.4 ± 0.2 |
| Separate weight quantization (INT8) * | 3.1 | 75% | 28 | 310 | 4.5 ± 0.2 | 5.2 ± 0.2 |
| TSADP + distillation (this paper) | 1.2 | 90% | 31 | 458 | 4.5 ± 0.2 | 5.1 ± 0.2 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Guo, L.; Xu, X.; Lv, F. Forecasting–Scheduling Co-Optimization for Rural Microgrids: An Edge-Deployable Approach. Energies 2026, 19, 1910. https://doi.org/10.3390/en19081910
Guo L, Xu X, Lv F. Forecasting–Scheduling Co-Optimization for Rural Microgrids: An Edge-Deployable Approach. Energies. 2026; 19(8):1910. https://doi.org/10.3390/en19081910
Chicago/Turabian StyleGuo, Lei, Xinran Xu, and Feiya Lv. 2026. "Forecasting–Scheduling Co-Optimization for Rural Microgrids: An Edge-Deployable Approach" Energies 19, no. 8: 1910. https://doi.org/10.3390/en19081910
APA StyleGuo, L., Xu, X., & Lv, F. (2026). Forecasting–Scheduling Co-Optimization for Rural Microgrids: An Edge-Deployable Approach. Energies, 19(8), 1910. https://doi.org/10.3390/en19081910

