As power systems are gradually evolving into more efficient and intelligent cyber–physical energy systems with the large-scale penetration of renewable energies and information technology, they become increasingly reliant upon more accurate and complex forecasting. The accuracy and generalizability of the forecasting rest, to a great extent, upon the data quality, which is very susceptible to cyberattacks. False data injection (FDI) attacks constitute a class of cyberattacks that could maliciously alter a large portion of supposedly protected data, which may not be easily detected by existing operational practices, thereby deteriorating the forecasting performance causing catastrophic consequences in the power system. This article proposes a novel data-driven FDI attack detection mechanism to automatically detect the intrusions and thus enrich the reliability and resiliency of energy forecasting systems. The proposed mechanism is based on cross-validation, least-squares, and z -score metric providing accurate detections with low computational cost and high scalability without utilizing either system’s models or parameters. The effectiveness of the proposed detector is corroborated through six representative tree-based wind power forecasting models. Experiments indicate that corrupted data injected into input, output, and input–output data is properly located and removed, whereby the accuracy and generalizability of the final forecasts are recovered.
Uncertainty in renewable energy generation, energy consumption, and electricity prices, as well as transmission congestion, pose a number of problems in modern power grids, necessitating stability on the supply, grid, and demand sides. Grid‐side stability can be achieved by dynamic line rating (DLR) forecasting, which reliably predicts the overall current carrying potential of overhead transmission lines. Long short‐term memory proved beneficiary in this field, owing to its ability to learn highly variable and uncertain data. To empower this network to tackle the non‐stationary nature of meteorological parameters, a novel machine learning (ML) architecture based on Dagging technique is proposed and tested on the data collected from a 400 kV overhead transmission line. Simulation results corroborate that the proposed Dagging‐based stacked LSTM can successfully handle the non‐stationary issue and outperform the decomposition‐based technique, as the state‐of‐the‐art algorithm, for various forecasting horizons. The results confirm the generalizability of models with an application in forecasting DLR over the line without utilizing additional sensors and communication networks. Moreover, the proposed model is compared to several ML architectures, including support vector machines (SVM), random forest (RF), and multi‐layer perceptron (MLP) in a comprehensive benchmark study. The introduced algorithm outperforms MLP by 3.4%, RF by 9.4%, and SVM by 6.7% in terms of average prediction accuracy.