With the steep rise in the development of smart grids and the current advancement in developing measuring infrastructure, short term power consumption forecasting has recently gained increasing attention. In fact, the prediction of future power loads turns out to be a key issue to avoid energy wastage and to build effective power management strategies. Furthermore, energy consumption information can be considered historical time series data that are required to extract all meaningful knowledge and then forecast the future consumption. In this work, we aim to model and to compare three different machine learning algorithms in making a time series power forecast. The proposed models are the Long Short-Term Memory (LSTM), the Gated Recurrent Unit (GRU) and the Drop-GRU. We are going to use the power consumption data as our time series dataset and make predictions accordingly. The LSTM neural network has been favored in this work to predict the future load consumption and prevent consumption peaks. To provide a comprehensive evaluation of this method, we have performed several experiments using real data power consumption in some French cities. Experimental results on various time horizons show that the LSTM model produces a better result than the GRU and the Drop-GRU forecasting methods. There are fewer prediction errors and its precision is finer. Therefore, these predictions based on the LSTM method will allow us to make decisions in advance and trigger load shedding in cases where consumption exceeds the authorized threshold. This will have a significant impact on planning the power quality and the maintenance of power equipment.
This paper describes an energy management strategy for a DC microgrid that utilizes a hybrid renewable energy system (HRES) composed of a photovoltaic (PV) module, a wind turbine based on a permanent magnetic synchronous generator (PMSG), and a battery energy storage system (BESS). The strategy is designed to provide a flexible and reliable system architecture that ensures continuous power supply to loads under all conditions. The control scheme is based on the generation of reference source currents and the management of power flux. To optimize the supply–demand balance and ensure optimal power sharing, the strategy employs artificial intelligence algorithms that use previous data, constantly updated forecasts (such as weather forecasts and local production data), and other factors to control all system components in an optimal manner. A double-input single-output DC–DC converter is used to extract the maximum power point tracking (MPPT) from each source. This allows the converter to still transfer power from one source to another even if one of the sources is unable to generate power. In this HRES configuration, all the sources are connected in parallel through the common DC–DC converter. The strategy also includes a long short-term memory (LSTM) network-based forecasting approach to predict the available energy production and the battery state of charge (SOC). The system is tested using Matlab/Simulink and validated experimentally in a laboratory setting.