In this paper, three main approaches (univariate, multivariate and multistep) for electricity consumption forecasting have been investigated. In fact, three major algorithms (XGBOOST, LSTM and SARIMA) have been evaluated in each approach with the main aim to figure out which one performs the best in forecasting electricity consumption. The motivation behind this work is to assess the forecasting accuracy and the computational time/complexity for an embedded forecasting and model training at the smart meter level. Moreover, we investigate the deployment of the most efficient model in our platform for an online electricity consumption forecasting. This solution will serve for deploying predictive control solutions for efficient energy management in buildings. As a proof of concept, an already existing public dataset has been used. These data were mainly collected thanks to the usage of already deployed sensors. These provide accurate data related to occupancy (e.g., presence) as well as contextual data (e.g., disaggregated electricity consumption of equipment). Experiments have been conducted and the results showed the effectiveness of these algorithms, used in each approach, for short-term electricity consumption forecasting. This has been proved by performance evaluation and error calculations. The obtained results mainly shed light on the challenging trade-off between embedded forecasting model training and processing for being deployed in smart meters for electricity consumption forecasting.
Nowadays, electric vehicles (EV) are increasingly penetrating the transportation roads in most countries worldwide. Many efforts are oriented toward the deployment of the EVs infrastructures, including those dedicated to intelligent transportation and electro-mobility as well. For instance, many Moroccan organizations are collaborating to deploy charging stations in mostly all Moroccan cities. Furthermore, in Morocco, EVs are tax-free, and their users can charge for free their vehicles in any station. However, customers are still worried by the driving range of EVs. For instance, a new driving style is needed to increase the driving range of their EV, which is not easy in most cases. Therefore, the need for a companion system that helps in adopting a suitable driving style arise. The driving range depends mainly on the battery’s capacity. Hence, knowing in advance the battery’s state-of-charge (SoC) could help in computing the remaining driving range. In this paper, a battery SoC forecasting method is introduced and tested in a real case scenario on Rabat-Salé-Kénitra urban roads using a Twizy EV. Results show that this method is able to forecast the SoC up to 180 s ahead with minimal errors and low computational overhead, making it more suitable for deployment in in-vehicle embedded systems.
Load forecasting is considered to be the core of an efficient predictive energy management for buildings. In this context, the deployment of smart meters and sensors enabled continuous energy usage monitoring in modern buildings. This streaming data led to the development of a new Online Home Energy Management System (OHEMS). The aim of this study is to develop an advanced smart metering infrastructure for online power forecasting, using embedded hardware with low computing power and real time constraints. As a benchmark, we applied both online and offline load forecasting modes to assess three prediction approaches in terms of accuracy and computational time. A single Machine learning algorithm using Long Short-Term Memory (LSTM) and hybrid Machine learning algorithms (CNN-LSTM), and ensembles machine learning approaches including eXtreme Gradient Boosting Machine (XGBoost) and Random Forest (RF). Furthermore, a novel practical stacking method for Short-Term Load Forecasting (STLF) using a stacked generalization ensemble method, which combines XGBoost and RF methods has been proposed. In online mode, the proposed stacking model achieved the best forecasting performance with a sMAPE of 1.15%, followed by RF (1.22%), XGBoost (1.23%), CNN-LSTM (1.97%) and LSTM (2.20%). In offline mode, the CNN-LSTM model outperformed all other methods with a sMAPE of 1.01%, demonstrating the advantage of deep feature extraction and complete data availability in batch forecasting. Performance-based retraining was shown to be more effective than periodic retraining, which might still be useful in fog computing scenarios. In general, offline CNN-LSTM is preferable for scenarios demanding maximum accuracy, while the stacking model is more suitable for scalable, real-time online forecasting in constrained environments.
This article is an introductory work towards a larger research framework relative to Scientific Prediction. It is a mixed between science and philosophy of science, therefore we can talk about Experimental Philosophy of Science. As a first result, we introduce a new forecasting method based on image completion, named Forecasting Method by Image Inpainting (FM2I). In fact, time series forecasting is transformed into fully images- and signal-based processing procedures. After transforming a time series data into its corresponding image, the problem of data forecasting becomes essentially a problem of image inpainting problem, i.e., completing missing data in the image. An extensive experimental evaluation is conducted using a large dataset proposed by the well-known M3-competition. Results show that FM2I represents an efficient and robust tool for time series forecasting. It has achieved prominent results in terms of accuracy and outperforms the best M3 forecasting methods.
Inpainting, for filling missing image regions, is a crucial task in various applications, such as medical imaging and remote sensing. Trending data-driven approaches efficiency, for image inpainting, often requires extensive data preprocessing. In this sense, there is still a need for model-driven approaches in case of application constrained with data availability and quality, especially for those related for time series forecasting using image inpainting techniques. This paper proposes an improved modeldriven approach relying on patch-based techniques. Our approach deviates from the standard Sum of Squared Differences (SSD) similarity measure by introducing a Hybrid Similarity (HySim), which combines both strengths of Chebychev and Minkowski distances. This hybridization enhances patch selection, leading to high-quality inpainting results with reduced mismatch errors. Experimental results proved the effectiveness of our approach against other model-driven techniques, such as diffusion or patch-based approaches, showcasing its effectiveness in achieving visually pleasing restorations.