Next Article in Journal
Research on Specific Scenario Generation Methods for Autonomous Driving Simulation Tests
Previous Article in Journal
A GRASP Approach for the Energy-Minimizing Electric Vehicle Routing Problem with Drones
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Scheduling Algorithm for Appliance Energy Consumption Optimization in a Dynamic Pricing Environment

1
School of Science and Engineering, Al Akhawayn University, Ifrane 53000, Morocco
2
National School of Applied Sciences, Sidi Mohamed Ben Abdellah University, Fez 30000, Morocco
*
Author to whom correspondence should be addressed.
World Electr. Veh. J. 2024, 15(1), 1; https://doi.org/10.3390/wevj15010001
Submission received: 15 November 2023 / Revised: 3 December 2023 / Accepted: 12 December 2023 / Published: 19 December 2023

Abstract

:
This research delves into the intricate landscape of energy scheduling and optimization within microgrid and residential contexts, addressing pivotal aspects such as real-time scheduling systems, challenges in dynamic pricing, and an array of optimization strategies. This paper introduces a cutting-edge scheduling algorithm, harnessing the power of artificial neural networks driven by Long Short-Term Memory Networks, and highlights its exceptional performance, boasting a significantly lower Mean Absolute Error of 5.32 compared to conventional models. This heightened predictive accuracy translates into tangible improvements in both energy efficiency and cost savings. This study underscores the delicate balance between user satisfaction, cost reduction, and efficient scheduling for sustainable energy consumption, showcasing a remarkable 38% enhancement in optimized schedules. Further granularity revealed substantial gains in energy efficiency and cost reduction across different scheduling intensities: 11.11% in light schedules, 20.09% in medium schedules, and an impressive 38.85% in heavy schedules. However, this research does not shy away from highlighting challenges related to data quality, computational demands, and generalizability. Future research trajectories encompass the development of adaptive models tailored to diverse data qualities, enhancements in scalability for and adaptability to various microgrid configurations, the integration of real-time data, the accommodation of user preferences, the exploration of energy storage and renewables, and an imperative focus on enhancing algorithm transparency.

1. Introduction

Drawing from a multitude of theories, the discernible advancement of real-time scheduling systems stands out, a field that has been particularly propelled by the progress achieved through fixed-priority scheduling theories. These theories have notably empowered the efficient prioritization of tasks under a spectrum of constraints. This scholarly work embarks on an exploration of the intricate landscape of scheduling challenges, placing particular emphasis on the complexities inherent in resource-constrained project scheduling. Specifically, it delves into the nuances of the multi-mode Resource-Constrained Project Scheduling Problem (RCPSP). Beyond this, this study encompasses a comprehensive investigation into the multifaceted dynamics involved in dynamic pricing within microgrids, the strategic methodologies of demand response, and the burgeoning energy demands prevalent in high-consumption regions.
The complexity of these dynamics has sparked a need for a diverse exploration of optimization models and algorithms. A primary contribution of this research effort involves the conceptualization and implementation of an intricately designed, energy-efficient scheduling algorithm. This algorithm was meticulously crafted with the explicit goal of optimizing residential appliance usage, reducing energy expenditure, and alleviating the strain on energy suppliers, thereby fostering a more sustainable and economically viable energy consumption paradigm.
Our research methodology is inclusive of essential components such as comprehensive data collection, intricate predictive modeling techniques, algorithm design tailored for efficiency, rigorous performance evaluation, and in-depth comparative analysis. Through the synthesis of these critical components, we aim to provide a thorough and holistic understanding of the interwoven complexities within energy management systems.

2. Literature Review

The evolution of real-time scheduling systems has led to the development of fixed-priority scheduling theories, facilitating task prioritization based on start times, computation times, and deadlines [1]. In the realm of scheduling problems, various approaches, including machine learning and artificial intelligence, are employed, necessitating trade-offs between solution quality and computational time [2]. A critical challenge arises in the form of the resource-constrained project scheduling problem (RCPSP), involving the management of activities with limited resources and capacities [3]. Researchers have explored a multitude of methods, encompassing both heuristic and mathematical techniques, primarily focusing on time constraints [4,5,6]. The emergence of the multi-mode RCPSP introduced multi-mode resource constraints, with solutions rooted in both mathematical and heuristic methodologies [1,7,8,9].
In the realm of dynamic pricing in microgrids, challenges related to real-time information availability and customer scheduling are encountered. The use of reinforcement learning dynamic pricing algorithms has been proposed as a cost-reduction strategy, albeit sometimes overlooking user satisfaction [10]. Demand response relies on real-time energy price information, empowering customers to schedule devices based on smart grid data [11,12]. Diverse pricing plans, including time-of-use pricing and reinforcement learning algorithms for handling unpredictability, have been explored [13,14,15]. Different models consider the maximization of customer utility or supplier profit, often through dynamic pricing policies [16]. The growing demand for electricity, particularly in high-energy-consumption areas, has exacerbated supply–demand disparities. The introduction of microgrids and residential energy management is intended to curtail power consumption by implementing energy-saving and renewable sources [17,18]. Demand response algorithms prioritize matching power demand to reduce costs and consumption, frequently utilizing time-based rates or financial incentives for customers. A common strategy involves using linear programming models to optimize demand and response, especially in microgrids, utilizing mixed integer approaches and constraints to schedule power consumption across various appliances and time slots [19]. To enhance solution quality and accuracy, optimization techniques such as particle swarm optimization and stochastic methods are employed [3].
A range of optimization models have been introduced, encompassing diverse strategies like the Gray Wolf Optimization algorithm, which necessitates energy management controllers and smart meters [1]. Additionally, alternative approaches, including the greedy algorithm, mapping algorithms, and stochastic dynamic optimization, have been explored [20]. Some models focus on improving the quality of the user experience and minimizing power consumption [21]. Linear optimization has also been employed from the microgrid manager’s perspective, aiming to maximize profit by minimizing costs [22]. Stochastic dynamic optimization is appropriate for complex constraints, considering multiple targets to minimize costs [23]. Moreover, energy storage and optimization are employed to mitigate peak demand [24,25]. Furthermore, linear optimization is applied to optimize peak loads and real-time scheduling algorithms [26], collectively enhancing energy management and reducing peak power consumption.
Optimizing microgrid energy usage involves various objectives, including profit maximization, cost reduction, and renewable energy utilization [23]. The choice of algorithms and model components varies between studies, with some exploring scenarios involving energy storage technologies [27]. Quality of User Experience (QoE) constraints are considered, assessing the impact of load scheduling on consumers [21,27]. Notably, substantial cost savings (ranging from 19% to 84%) have been demonstrated by optimizing renewable production and consumption using QoE-aware algorithms [27]. Another innovative approach involves modeling the use of plug-in electric vehicles as an energy storage solution for households [28]. Game theory algorithms are applied in certain studies to maximize microgrid profits while minimizing costs [29,30,31]. Some studies incorporate technical constraints such as thermal limits and bus voltages to manage energy within and between microgrids [31]. The integration of distributed generation and the consideration of price elasticity have been employed to reduce system losses and enhance stability [31]. The application of the multiple-leader–multiple-follower Stackelberg game, with microgrids acting as leaders and customers serving as followers, has addressed storage availability and optimum pricing [32].
The context-aware energy management paradigm, often leveraging cloud technologies, optimizes data derived from sensors and devices within smart home energy management systems. The data are harnessed for learning user behaviors and predicting energy requirements [5]. Notably, Kazemi et al. [1] introduced a cloud-based framework designed to conserve electricity and reduce carbon dioxide emissions, relying on data from sensors and user behavior. The Context-Aware Energy Management System (CAEMS) introduced by [5,14] leverages data-mining algorithms to predict context information, facilitating the proactive control of energy resources and user preferences. In addition, Ruelens et al. [15] developed an energy management model using a Hierarchical Hidden Markov Model, drawing on activity patterns and real-time data. Location prediction, highlighted by Wang et al. [33], has proven instrumental in minimizing energy consumption while enhancing user comfort. The Internet of Things (IoT) plays a pivotal role in enhancing energy efficiency in public facilities, as demonstrated by IMPReSS [34]. Moreover, the studies by Yaagoubi et al. [35] and Al-Mulali et al. [36] have proposed user-comfort-aware load management algorithms, striking a balance between energy costs and user comfort. Pedrasa et al. [37] employed particle swarm optimization, while Mohsenianrad et al. [16] conducted an analysis of energy consumption scheduling within a dynamic pricing environment. Sinaki et al. [38] utilized a knapsack-based method for appliance scheduling, albeit they faced challenges related to prioritization. A spectrum of approaches, including mixed techniques and mathematical models, were proposed by Jain et al. [39] and Grosse et al. [40] for direct load control and demand-side management during peak hours. Shi et al. [41] proposed an equation for modeling home appliances while addressing electricity costs.
The evolution of energy consumption optimization in dynamic pricing environments has been substantially propelled by a spectrum of scholarly inquiries employing machine learning methodologies. Similarly, the integration of the Cognitive IoT for monitoring energy consumption patterns [42] has showcased commendable accuracy in predictive analytics for electricity bills and anomalous energy usage detection. Furthermore, investigations into time series forecasting for stock prices [43] and household appliance energy consumption prediction [44] have revealed robust performance, particularly in complex and ever-changing settings. Moreover, the amalgamation of supervised and transfer learning strategies [45] has led to notable efficiency gains in optimizing energy systems, while the advent of TinyML within IoT frameworks [46,47] introduced multiple pathways with which to confront environmental challenges via the integration of smart ML-enabled embedded systems that may be used to make intelligent decisions and control other devices such as the home appliances in our context. Additionally, the adeptness of deep Q-learning and double deep Q-learning in managing residential energy consumption [48] underscores their effectiveness in adaptively reducing electricity usage in fluctuating environments.
This literature review uncovers a notable research gap in effectively applying and validating theoretical models within the practical, complex, and variable contexts of real-world settings. This gap is particularly evident in the field of energy management, where current models primarily focus on cost reduction and energy consumption optimization, frequently at the expense of user comfort. Such an oversight underscores an urgent need for research that not only fine-tunes energy use but also earnestly incorporates user comfort and satisfaction. This balanced approach is vital in ensuring that energy management strategies are both efficient and user-friendly in practical scenarios.
Addressing this issue, in our study, we set out to develop a user-centric, adaptive model that bridges the divide between theoretical constructs and their tangible application in dynamic real-world environments. Our model is specifically designed to strike a harmonious balance between energy efficiency and user comfort, ensuring its relevance and applicability in various real-life situations. By focusing on this equilibrium, we aim to showcase that achieving sustainable energy savings is feasible without compromising on the quality of user experience. This endeavor aligns with our broader objective of proposing a model that is not only theoretically sound but also practically viable and effective in enhancing both energy management and user satisfaction in a dynamic pricing environment.

3. Methodology

In this section, we delineate the methodological framework underpinning our research endeavor. Our study revolves around the development and evaluation of an energy-efficient scheduling algorithm for optimizing appliance usage within residential environments. The primary objective is to minimize energy costs and alleviate the load on energy suppliers, fostering sustainable and economic energy consumption. The implementation of this methodology encompasses the following key components: data collection, predictive modeling, algorithm design, performance evaluation, and comparative analysis.

3.1. Data Collection and Preprocessing

The core of our research methodology hinges on the acquisition of a comprehensive dataset sourced from the Transmission Service Operator (TSO) Red Electric Espana via the European Network of Transmission System Operators for Electricity public portal. Spanning a four-year window, this dataset is a valuable repository of insights into Spain’s electrical generation and pricing dynamics [49]. Our data augmentation strategy incorporated supplementary sources, encompassing weather data and holiday information from five major Spanish cities: Madrid, Barcelona, Seville, Granada, and Palma de Mallorca. This augmentation process incorporates meteorological parameters, such as temperature and humidity, recorded at hourly intervals, as well as binary indicators for holiday occurrences and one-hot-encoded representations of weekdays [50,51].
The inclusion of weather and holiday data is pivotal, given their substantial influence on energy consumption patterns. Additionally, our data analysis entails the detection of week-based seasonality, a critical factor for the accurate modeling of energy prices. Figure 1 illustrates the clear week-based cycles in energy consumption [52].
Data preprocessing constitutes a crucial phase following data acquisition, with the primary objective of ensuring the integrity of data and optimizing their utility for model development. Several key preprocessing steps were carried out:
  • Normalization: This step ensures data uniformity by scaling electricity prices and loading demand data to a common reference point, typically the mean or median. The normalization process promotes equitable contributions of features to model training and prediction, irrespective of their scale or magnitude [53].
  • Feature Engineering: Incorporating supplementary data necessitates thoughtful feature engineering. Categorical variables, like weekdays, are one-hot-encoded to facilitate their integration into predictive models. Feature engineering also encompasses the creation and transformation of variables to capture nuanced data relationships. Lagged features and moving averages are computed to capture temporal dependencies and trends in the dataset [23].
  • Data Partitioning: Data partitioning is a fundamental step in facilitating model training and evaluation. The dataset is divided into training, validation, and test sets. The training set is dedicated to model training, the validation set assists in hyper parameter tuning, and the test set provides an unbiased evaluation of model performance. To preserve the temporal order of data, time-series cross-validation is often employed [54].
  • Outlier Handling: Robust statistical methods and domain-specific knowledge guide the detection and management of outliers in the dataset. Outliers, stemming from irregular events or measurement errors, are addressed to prevent undue influence on model training and predictions [55].
  • Missing Data Handling: Given the real-world nature of the data, values may be missing. To address this, missing data are imputed using strategies such as linear interpolation to maintain data completeness and mitigate data quality issues [56].

3.2. Algorithm Design

The algorithm’s initiation process involves obtaining the user’s appliance selection. Subsequently, the algorithm categorizes the appliances into three distinct classes, each necessitating a tailored approach:
  • Fixed-Load Appliances: This category encompasses devices that must be utilized when the user requires them, without any temporal adjustments. For fixed-load appliances such as home lighting and computers, immediate operation is essential. In such cases, the algorithm promptly recommends the current date and time as the optimal choice, given the expectation of immediate device activation. A minimum heap is employed to extract the time when energy expenses are at their lowest, disregarding time contiguity. The algorithm returns N smallest numbers from the predicted list.
  • Regulatable Load: In the case of regulatable loads, which include appliances like water pumps, users have the flexibility to regulate these devices to achieve peak efficiency. Unlike fixed-load appliances, regulatable loads do not require immediate operation. The algorithm considers the due date, ensuring that the required output is achieved within the specified timeframe, thereby guaranteeing user satisfaction.
  • Deferrable Loads: Devices that are characterized by deferrable loads such as washing machines possess the capacity for delayed operation but necessitate continuous operation within a contiguous time frame for optimal performance.
The main algorithm employs the Kadane Algorithm, a dynamic programming technique, to identify the contiguous time slot within the energy price predictions dataset where energy costs are minimized, all while accommodating the appliance’s average usage duration. This optimization process is achieved through a sliding window approach, characterized by the following steps. First, a dynamic window with a width equal to the appliance’s average usage time is systematically shifted across the dataset of energy price predictions. Second, during each iterative step, the algorithm computes the cumulative energy price within the window. Third, upon traversing the entire dataset, the algorithm identifies the group of contiguous time slots that collectively yield the minimum energy cost, thus signifying the optimal window for device operation. Within this framework, the minSubsequent () and Kmin- Heap () functions return a date and time value, representing the most advantageous moment for appliance operation. In the context of fixed-load appliances, the due date can be defined as the current date and time, accounting for the fact that these devices necessitate immediate activation.
The scheduling algorithm is designed to empower users with the ability to make well-informed decisions regarding the timing of appliance usage guided by predictive energy-pricing data. It effectively balances user preferences and cost-efficiency considerations, thereby enhancing overall user satisfaction. Figure 2 furnishes a comprehensive flowchart illustrating the intricate decision-making process and logical steps inherent in our scheduling algorithm’s operation.

3.3. Scheduling Algorithm—Performance Metric

Over the last decade, deep learning has emerged as a prominent and increasingly utilized methodology in academic circles. It operates through deep networks incorporating specialized and more adept unit neurons. Recurrent Neural Networks (RNNs) stand out as a unique neural unit designed to retain and amalgamate information from preceding events [57]. However, in the application of RNNs, one encounters issues related to gradients, such as vanishing or exploding gradients, which hinder effective weight updates [27]. These challenges often result in insufficient learning on the part of the network.
To circumvent these issues and harness the persistence feature effectively, specialized techniques such as Long Short-Term Memory Networks (LSTMs) and Gated Recurrent Units (GRUs) have proven significantly effective. LSTMs have demonstrated their superiority over traditional neural networks and are unique in that they do not suffer from the vanishing gradient problem [58]. They manage and modify memory states by using an activation function to forget specific parameters across the neuron’s path, simulating the process of forgetting. LSTMs effectively avoid gradient issues by utilizing memory cells and gates to retain gradients within the cell. Figure 3 illustrates the architecture of the LSTM network adopted in our algorithm.
Similarly, GRUs, initially conceived as a streamlined version of LSTMs, excel in managing long-term dependencies and evading the issues associated with vanishing gradients through the application of forget units, thereby optimizing time lags in a model.
From a temporal complexity perspective, the analysis of artificial neural networks involves two primary processes: back propagation for updating network weights and biases and forward propagation for generating predictions [59]. Back propagation occurs during the training phase of predictive artificial-neural-network-based models, whereas the forward pass is pivotal for real-time prediction generation during system utilization. Computational complexity predominantly lies in the training process, rendering the forward pass computationally cost-effective and amenable to less-sophisticated hardware.
A comparative evaluation of neural-network-based models and multi-linear regression techniques reveals a pronounced degree of superiority in the performance of neural networks. Within this category of models, the Long Short-Term Memory (LSTM) network demonstrates the most commendable performance, registering a Mean Absolute Error (MAE) of 5.32. This is closely followed by the Gated Recurrent Unit (GRU), which exhibits an MAE of 7.41. In contrast, a standard implementation of a neural network, often referred to as a ‘vanilla’ neural network, records a relatively higher MAE of 8.0. These findings, as delineated in Table 1, clearly highlight the hierarchical performance distinctions among the various neural network architectures in comparison to multi-linear regression methods. Figure 4 presents a comprehensive graphical representation that juxtaposes the predictive outputs of the Transmission Service Operator’s (TSO) model with those derived from our proposed LSTM-based model, set against the backdrop of the actual energy prices [59].
The dataset employed in forecasting energy prices offers valuable insights into the performance metrics of diverse predictive models. A notable parallelism can be observed between the multi-linear regression approach and that of a conventional model, identified as the transmission service operator (TSO), which exhibits MAE errors of 9.57 and 9.68, respectively. This similarity in performance metrics potentially suggests underlying commonalities in the methodologies employed by these two predictive approaches.
To explicate the marked differences in performance between the models, the consideration of a neural network devoid of activation functions and hidden layers, resulting in a collection of an activationless perceptron akin to a linear regression model, is instructive. This simplification helps to highlight the fundamental differences between linear and nonlinear models. The expansive nature of neural networks and their superior adaptability in handling nonlinear fittings elucidates their efficacy in surpassing or at least equaling the performance of linear regression models. Neural networks provide a more nuanced and sophisticated approach to prediction tasks by leveraging their capacity to learn intricate, nonlinear relationships present in a dataset.
In the realm of LSTM networks, an advantage over traditional artificial neural networks can be observed. LSTM networks amalgamate the foundational attributes of their predecessors while concurrently addressing and rectifying prevalent challenges. This rectification is primarily facilitated through the distinctive memory cell structure inherent in LSTMs. This structure is adept at efficiently encapsulating long-term data dependencies, a capability that is particularly instrumental in time-series analysis. The efficacy of LSTM networks in this regard stems from their ability to integrate and interpret historical data contexts, thereby yielding more accurate predictive outcomes in scenarios where temporal continuity and past data relevance are critical.

3.4. Predictive Modeling

In this section, rather than solely assessing the predictive model’s performance, the focus is on employing the root-mean-squared error (RMSE) to gauge the accuracy of a scheduling algorithm. The goal is to define the optimal time objectively by using actual consumption data from the dataset rather than relying solely on the model’s predictions. This involves selecting the actual minimum energy prices, which, in turn, influence the RMSE equation given as follows (1):
R M S E = i = 1 n ( Y i Y ^ I ) 2 n
The RMSE method penalizes significant deviations between predicted and actual values, emphasizing errors without regard to their sign. By quantifying the average squared error and taking its square root, this metric provides a measure of the difference between the real and predicted value vectors [60].
The performance evaluation outlined in Table 2 demonstrates the superiority of the scheduling algorithm over the current standard practice. This algorithm exhibits near-optimal performance as the time offset decreases. This improvement is due to increased possibilities for optimal actions as the offset window diminishes. Consequently, similar forecasting-based methods exhibit poorer performance with larger offsets. This suggests that without accounting for changes in energy prices over time, identifying periods of minimal energy costs becomes challenging. The prevalent behavior that reproduces the most common patterns contributes to observed peaks in energy demand.
In real-life scenarios, this algorithm’s predictive accuracy diminishes as the time difference from the present increases. However, setting a threshold at around 12 h in real-world applications ensures this algorithm’s reliable performance and mitigates potential underperformance caused by extended offsets.

4. Results

To evaluate our approach’s effectiveness, reliability, and accuracy, we employed a simulated environment. This environment allowed us to adjust parameters efficiently and maintain a level of numerical accuracy similar to real-life scenarios while reducing replication time. The central element of our system is an entity tasked with time management, device definition, scheduling appliance operations, and the creation of statistical representations.
Our system automatically generated schedules based on weekly lifestyle data, enabling the creation of realistic, extended schedules from shorter seven-day calendars. Table 3 details the appliances considered during our testing. The World object served as the simulated environment for testing appliances and schedules, mimicking real-world behavior. While the time object synchronized simulation time with real-world data, fixed-load appliances were not extensively modified due to their significant impact on user satisfaction. These appliances are expected to operate without delay, ensuring, for example, immediate TV viewing upon activation.
This project integrates an automated simulation capability with interactive hour-by-hour manual settings, providing users with the ability to actively engage with the system, mimicking real-life interactions for easy implementation. In the setup function, the declaration of appliances involves specific parameters: Appliance Categories, which are crucial for distinct operations based on the appliance category; optional Appliance Labels, enhancing user understanding through appliance identification; optional Appliance Average Runtime, which assistants the system in determining a suitable window size for the minimum value and is automatically updated during device use; and Appliance Average Consumption, which is finely tuned for generating comparative results and accurately representing system performance.
The user is initially prompted to schedule appliances, selecting the device, desired activation date, and scheduling algorithm. The system predicts electricity prices and schedules device operation during the most cost-efficient periods. Users can view various statistics, such as average usage time, number of uses, total and historical consumption, and expenses for each declared appliance.
Control over the simulated world’s time offers two options: users can increment time by an hour or utilize real-time synchronization. The real-time synchronization prompts users to set the scale for time synchronization. For instance, selecting a minute means that the world’s time will advance each minute in real time. To implement this project in real-life scenarios, setting the synchronization scale to match hours ensures the system synchronizes in real time, updating simultaneously at equal rates.
In this section, to better understand the performance of our algorithm, we introduce abbreviations for various appliances (shown in Table 3). The schedules, represented by Figure 5, Figure 6 and Figure 7, correspond to light, medium, and heavy appliance usage, respectively. This differentiation allows for a comprehensive evaluation of the algorithm under diverse real-life conditions. The light schedule represents minimal appliance usage, suitable for smaller households, encompassing basic appliances like lights and occasional kitchen appliances. The medium schedule mirrors average household appliance usage, including regular use of water heaters, washing machines, and kitchen appliances. The heavy schedule caters to larger families with higher energy demands, featuring the extensive use of all major household appliances. By simulating these scenarios, the research can demonstrate the flexibility and effectiveness of the scheduling algorithm in real-world settings, showcasing its potential to reduce energy costs and optimize usage across a spectrum of household demands. This approach is essential in validating the algorithm’s practical applicability and effectiveness in diverse living environments.
Figure 5 outlines a basic schedule, serving as a starting point for our algorithm’s evaluation. It features three primary devices: an oven, employed three times a week during lunch hours; a washing machine, used twice a week; and a dishwasher, operating five times weekly. This stripped-down setup allowed us to gauge the initial performance and efficiency of our algorithm on a small scale.
Moving to Figure 6, we observe a more moderate household routine, providing a broader spectrum of appliance usage:
  • The water heater is operated daily at 9 a.m.;
  • The washing machine is run twice a week, scheduled for 2 p.m. and 10 p.m.;
  • The oven sees use four times a week, primarily during lunch hours on Mondays, Thursdays, and Sundays, with an additional session on Wednesdays in the afternoon;
  • The water pump is utilized daily in the evening;
  • The dishwasher aligns its usage with the oven’s schedule, running five times a week;
  • Lights are scheduled daily, illuminating the household from 7 p.m. until 11 p.m.
Finally, Figure 7 showcases a more extensive appliance utilization scenario, providing insight into our program’s effectiveness in a realistic environment:
  • The water heater is employed twice a day, namely, at 9 a.m. and 5 p.m.;
  • The washing machine is operated every other day, specifically at 2 p.m.;
  • The oven is in use daily at 11 a.m.;
  • The water pump is utilized twice a day—at 9 a.m. and 7 p.m.;
  • The dishwasher operates daily at 9 p.m.;
  • Lights are switched on from 2 p.m. to 4 p.m. and again from 7 p.m. until 11 p.m. daily.
Table 4 presents a comprehensive summary derived from executing the simulation using the medium schedule alongside a 6 h offset period over six months. It offers a comparative analysis of energy costs from January to June 2018, specifically utilizing the medium schedule outlined in Figure 6. Notably, when no scheduling algorithm is employed, the energy costs witness a significant reduction when contrasted with the prevailing conventional practices. However, concerning scenarios involving minimal devices and runtimes, such as in the case of lighting, the algorithm’s optimization capabilities are constrained. Conversely, in the context of a heavier usage schedule, a substantial price decrease of 38.85% occurs, indicating a considerable reduction in energy expenses compared to scenarios with no schedule. It becomes evident that the energy consumption costs are notably lower across all the algorithms implemented, with a direct correlation between the reduction in costs and increased appliance usage. The degree of bill reduction is directly proportional to energy usage, as per the user’s schedule.
Moreover, an influential factor impacting the proposed approach’s performance, compared to that in scenarios lacking scheduling, is the timing of device usage. Closer proximity to peak hours and the temporal distance from the current date and time significantly influence reductions in energy bills and overall load demand. Notably, cost reduction exhibits substantial escalation from one schedule to another, with the proposed approach demonstrating more efficient performance with specific devices, notably electric vehicles. The algorithm’s ability to markedly reduce energy costs is particularly evident for cases like electric vehicles, which offer charging periods as short as 30 min, allowing the algorithm to optimize energy procurement to a significantly greater degree than could be achieved via regular human precision.

5. Conclusions

This study comprehensively explores the multifaceted domain of energy scheduling and optimization within microgrid and residential environments. It addresses the evolution of real-time scheduling systems, challenges in dynamic pricing, and the array of optimization strategies applied. Through methodological insights, this paper showcases the intricacies involved in designing energy-efficient scheduling algorithms that minimize costs and optimize appliance usage.
The findings illustrate the remarkable efficiency of the proposed scheduling algorithm, which uses LSTM-powered artificial neural networks. This algorithm outperforms traditional models across various metrics, exhibiting a notably lower Mean Absolute Error (MAE) of 5.32 compared to that of Neural Networks (8.05) and Multi-Linear Regression (9.57). This heightened predictive accuracy directly correlates with improved energy efficiency and cost savings. This research emphasizes the significance of balancing user satisfaction, cost reduction, and effective scheduling for sustainable energy consumption. The study demonstrates a substantial 38% improvement in optimized schedules, underscoring the algorithm’s practical impact on energy efficiency and substantial cost reduction. Overall, this work presents invaluable insights and methodologies pivotal in advancing energy management and addressing complexities in modern energy-scheduling systems.
The efficacy of this study is closely linked to the integrity and extent of its data sources, with the performance of the model being particularly reliant on the quality and comprehensiveness of the available data. This dependency on data highlights a need for future research to address scenarios characterized by limited or incomplete datasets. Additionally, the complexity of the proposed scheduling algorithms, especially those employing advanced neural network architectures with large quantities of parameters, poses significant challenges in terms of computational demands and scalability, especially in environments with limited resources, such as low-energy machine-learning-enabled microcontrollers (TinyML). The issue of generalizability also arises, as the algorithms and methodologies developed may be highly specific to the datasets and scenarios used in this study. Their applicability across different geographical regions, varying microgrid configurations, or diverse consumer behavior patterns is an area that warrants further exploration.
Future research avenues appear promising, particularly in developing adaptive models that can perform robustly with varying levels of data quality, ensuring effective performance even in the presence of limited or noisy datasets. The scalability of the pro-posed models and their adaptability to different types of microgrids and consumer environments represent a key area for future exploration. The integration of real-time data, such as immediate weather changes or unplanned power outages, into the scheduling algorithm is another potential enhancement that could significantly increase its accuracy and practical utility. Delving deeper into user-centric approaches, future research could explore more sophisticated methods to quantify and incorporate user comfort and preferences into the scheduling algorithms. The role of energy storage solutions and the integration of renewable energy sources in the scheduling algorithms is also a crucial area for future investigation. Improving the transparency and interpretability of complex algorithms like LSTMs could enhance their acceptability and trustworthiness among users. Collaborations with other fields, such as behavioral science and urban planning, could provide new insights into energy consumption patterns and aid in developing more holistic energy management solutions. Finally, understanding and influencing policy and regulatory frameworks to support the implementation of advanced scheduling algorithms in energy management together represent another significant direction for future research.

Author Contributions

Conceptualization, A.K. and M.C.; methodology, H.T.; software, H.T.; validation, H.T., A.K. and M.C.; formal analysis, H.T., A.T. and H.E.H.; investigation, H.T.; resources, H.T.; data curation, H.T.; writing—original draft preparation, H.T.; writing—review and editing, A.T.; visualization, A.K. and M.C.; supervision, H.E.H.; project administration, A.K. and M.C.; funding acquisition, A.K. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the National Center for Scientific and Technical Research (CNRST) in Morocco within the framework of ‘Development of Smart Metering and Energy Management System in Morocco’; the German Academic Exchange Service (DAAD), Grant Number: 57545562; and the Federal Ministry for Economic Cooperation and Development in Germany (BMZ) within the framework of ‘Renewable Energy-based E-Mobility in Higher Education’.

Data Availability Statement

The data presented in this study are available on request from the corresponding authors.

Conflicts of Interest

The authors declare no conflict of interest. The funding source had no involvement in the study design; the collection, analysis, and interpretation of data; or in the decision to submit the article for publication.

References

  1. Kazemi, S.-F.; Motamedi, S.-A.; Sharifian, S. A home energy management system using gray wolf optimizer in smart grids. In Proceedings of the 2017 2nd Conference on Swarm Intelligence and Evolutionary Computation (CSIEC), Kerman, Iran, 7–9 March 2017; IEEE: Piscataway, NJ, USA, 2017; pp. 159–164. [Google Scholar]
  2. Barker, S.; Mishra, A.; Irwin, D.; Shenoy, P.; Albrecht, J. Smartcap: Flattening peak electricity demand in smart homes. In Proceedings of the 2012 IEEE International Conference on Pervasive Computing and Communications, Lugano, Switzerland, 19–23 March 2012; IEEE: Piscataway, NJ, USA, 2012; pp. 67–75. [Google Scholar]
  3. Iqbal, Z.; Javaid, N.; Khan, M.R.; Khan, F.A.; Khan, Z.A.; Qasim, U. A smart home energy management strategy based on demand side management. In Proceedings of the 2016 IEEE 30th International Conference on Advanced Information Networking and Applications (AINA), Crans-Montana, Switzerland, 23–25 March 2016; IEEE: Piscataway, NJ, USA, 2016; pp. 858–862. [Google Scholar]
  4. Blazewicz, J.; Dror, M.; Weglarz, J. Mathematical programming formulations for machine scheduling: A survey. Eur. J. Oper. Res. 1991, 51, 283–300. [Google Scholar] [CrossRef]
  5. Brucker, P. Scheduling algorithms. J.-Oper. Res. Soc. 1999, 50, 774. [Google Scholar]
  6. Neuman, B. The neuman systems model in research and practice. Nurs. Sci. Q. 1996, 9, 67–70. [Google Scholar] [CrossRef] [PubMed]
  7. Yamini, J.; Babu, Y.R. Design and implementation of smart home energy management system. In Proceedings of the 2016 International Conference on Communication and Electronics Systems (ICCES), Coimbatore, India, 21–22 October 2016; IEEE: Piscataway, NJ, USA, 2016; pp. 1–4. [Google Scholar]
  8. Herroelen, W.; De Reyck, B.; Demeulemeester, E. Resource-constrained project scheduling: A survey of recent developments. Comput. Oper. Res. 1998, 25, 279–302. [Google Scholar] [CrossRef]
  9. Deblaere, F.; Demeulemeester, E.; Herroelen, W. Reactive scheduling in the multi-mode rcpsp. Comput. Oper. Res. 2011, 38, 63–74. [Google Scholar] [CrossRef]
  10. Han, J.; Choi, C.-S.; Park, W.-K.; Lee, I.; Kim, S.-H. Smart home energy management system including renewable energy based on zigbee and plc. IEEE Trans. Consum. Electron. 2014, 60, 198–202. [Google Scholar] [CrossRef]
  11. Althaher, S.; Mancarella, P.; Mutale, J. Automated demand response from home energy management system under dynamic pricing and power and comfort constraints. IEEE Trans. Smart Grid 2015, 6, 1874–1883. [Google Scholar] [CrossRef]
  12. El Hafdaoui, H.; Khallaayoun, A.; Ouazzani, K. Activity and efficiency of the building sector in morocco: A review of status and measures in ifrane. AIMS Energy 2023, 11, 454–485. [Google Scholar] [CrossRef]
  13. Nam, Y.; Rho, S.; Lee, B.-G. Intelligent context-aware energy management using the incremental simultaneous method in future wireless sensor networks and computing systems. EURASIP J. Wirel. Commun. Netw. 2013, 2013, 10. [Google Scholar] [CrossRef]
  14. Roh, H.-T.; Lee, J.-W. Residential demand response scheduling with multiclass appliances in the smart grid. IEEE Trans. Smart Grid 2015, 7, 94–104. [Google Scholar] [CrossRef]
  15. Ruelens, F.; Claessens, B.J.; Vandael, S.; Iacovella, S.; Vingerhoets, P.; Belmans, R. Demand response of a heterogeneous cluster of electric water heaters using batch reinforcement learning. In Proceedings of the 2014 Power Systems Computation Conference, Wroclaw, Poland, 18–22 August 2014; IEEE: Piscataway, NJ, USA, 2014; pp. 1–7. [Google Scholar]
  16. Mohsenian-Rad, A.-H.; Wong, V.W.; Jatskevich, J.; Schober, R. Optimal and autonomous incentive-based energy consumption scheduling algorithm for smart grid. In Proceedings of the 2010 Innovative Smart Grid Technologies (ISGT), Gothenburg, Sweden, 11–13 October 2010; IEEE: Piscataway, NJ, USA, 2010; pp. 1–6. [Google Scholar]
  17. El Hafdaoui, H.; Khallaayoun, A. Internet of Energy (IoE) Adoption for a Secure Semi-Decentralized Renewable Energy Distribution. Sustain. Energy Technol. Assess. 2023, 57, 103307. [Google Scholar] [CrossRef]
  18. El Hafdaoui, H.; Khallaayoun, A. Mathematical modeling of social assessment for alternative fuel vehicles. IEEE Access 2023, 11, 59108–59132. [Google Scholar] [CrossRef]
  19. Iksan, N.; Supangkat, S.H.; Nugraha, I.G.B.B. Home energy management system: A framework through context awareness. In Proceedings of the International Conference on ICT for Smart Society, Maui, HI, USA, 7–10 January 2013; IEEE: Piscataway, NJ, USA, 2013; pp. 1–4. [Google Scholar]
  20. Kamienski, C.; Borelli, F.; Biondi, G.; Rosa, W.; Pinheiro, I.; Zyrianoff, I.; Sadok, D.; Pramudianto, F. Context-aware energy efficiency management for smart buildings. In Proceedings of the 2015 IEEE 2nd World Forum on Internet of Things (WF-IoT), Milan, Italy, 14–16 December 2015; IEEE: Piscataway, NJ, USA, 2015; pp. 699–704. [Google Scholar]
  21. Pilloni, V.; Floris, A.; Meloni, A.; Atzori, L. Smart home energy management including renewable sources: A QoE-driven approach. IEEE Trans. Smart Grid 2016, 9, 2006–2018. [Google Scholar] [CrossRef]
  22. Gheydi, M.; Farhadi, P.; Ghafari, R. The effect of demand response on operation of smart home energy system with renewable energy resources. In Proceedings of the 2016 International Symposium on Fundamentals of Electrical Engineering (ISFEE), Bucharest, Romania, 30 June–2 July 2016; IEEE: Piscataway, NJ, USA, 2016; pp. 1–6. [Google Scholar]
  23. Wu, X.; Hu, X.; Yin, X.; Moura, S.J. Stochastic optimal energy management of smart home with pev energy storage. IEEE Trans. Smart Grid 2016, 9, 2065–2075. [Google Scholar] [CrossRef]
  24. Mishra, A.; Irwin, D.; Shenoy, P.; Zhu, T. Scaling distributed energy storage for grid peak reduction. In Proceedings of the Fourth International Conference on Future Energy Systems, Berkeley, CA, USA, 22–24 May 2013; pp. 3–14. [Google Scholar]
  25. El Hafdaoui, H.; Khaldoun, A.; Khallaayoun, A.; Jamil, A.; Ouazzani, K. Performance investigation of dual-source heat pumps in hot steppe climates. In Proceedings of the 2023 3rd International Conference on Innovative Research in Applied Science, Engineering and Technology (IRASET), Mohammedia, Morocco, 18–19 May 2023. [Google Scholar]
  26. De Martini, D.; Benetti, G.; Cipolla, F.; Caprino, D.; Vedova, M.L.D.; Facchinetti, T. Peak load optimization through 2-dimensional packing and multi-processor real-time scheduling. In Proceedings of the Computing Frontiers Conference, Siena, Italy, 15–17 May 2017; pp. 275–278. [Google Scholar]
  27. Floris, A.; Meloni, A.; Pilloni, V.; Atzori, L. A QoE-aware approach for smart home energy management. In Proceedings of the 2015 IEEE Global Communications Conference (GLOBECOM), San Diego, CA, USA, 6–10 December 2015; IEEE: Piscataway, NJ, USA, 2015; pp. 1–6. [Google Scholar]
  28. Lorestani, A.; Ardehali, M.; Gharehpetian, G.B. Optimal resource planning of smart home energy system under dynamic pricing based on invasive weed optimization algorithm. In Proceedings of the 2016 Smart Grids Conference (SGC), Kerman, Iran, 20–21 December 2016; IEEE: Piscataway, NJ, USA, 2016; pp. 1–8. [Google Scholar]
  29. Lorestani, A.; Aghaee, S.S.; Gharehpetian, G.B.; Ardehali, M.M. Energy management in smart home including pv panel, battery, electric heater with integration of plug-in electric vehicle. In Proceedings of the 2017 Smart Grid Conference (SGC), Tehran, Iran, 20–21 December 2017; IEEE: Piscataway, NJ, USA, 2017; pp. 1–7. [Google Scholar]
  30. Mohsenian-Rad, A.-H.; Wong, V.W.; Jatskevich, J.; Schober, R.; Leon-Garcia, A. Autonomous demand-side management based on game-theoretic energy consumption scheduling for the future smart grid. IEEE Trans. Smart Grid 2010, 1, 320–331. [Google Scholar] [CrossRef]
  31. Jiang, Y.; Zhou, K.; Lu, X.; Yang, S. Electricity trading pricing among prosumers with game theory-based model in energy blockchain environment. Appl. Energy 2020, 271, 115239. [Google Scholar] [CrossRef]
  32. Mohamed, F.A.; Koivo, H.N. Multiobjective optimization using modified game theory for online management of microgrid. Eur. Trans. Electr. Power 2011, 21, 839–854. [Google Scholar] [CrossRef]
  33. Wang, S.; Ruan, Y.; Tu, Y.; Wagle, S.; Brinton, C.G.; Joe-Wong, C. Network-aware optimization of distributed learning for fog computing. IEEE/ACM Trans. Netw. 2021, 29, 2019–2032. [Google Scholar] [CrossRef]
  34. Kim, E.G.; Park, S.K.; Lee, Y.-M.; Hyun, M.Y.; Narapareddy, L. Factors associated with maintenance of smoking cessation in adolescents after implementation of tobacco pricing policy in south korea: Evidence from the 11th youth health behavior survey. Res. Nurs. Health 2020, 43, 40–47. [Google Scholar] [CrossRef]
  35. Yaagoubi, N.; Mouftah, H.T. A comfort based game theoretic approach for load management in the smart grid. In Proceedings of the 2013 IEEE Green Technologies Conference (GreenTech), Denver, CO, USA, 4–5 April 2013; IEEE: Piscataway, NJ, USA, 2013; pp. 35–41. [Google Scholar]
  36. Al-Mulali, U.; Ozturk, I. The investigation of environmental kuznets curve hypothesis in the advanced economies: The role of energy prices. Renew. Sustain. Energy Rev. 2016, 54, 1622–1631. [Google Scholar] [CrossRef]
  37. Pedrasa, M.; Spooner, T.; Macgill, I. Coordinated scheduling of residential distributed energy resources to optimize smart home energy services. IEEE Trans. Smart Grid 2010, 1, 134–143. [Google Scholar] [CrossRef]
  38. Sianaki, O.A.; Hussain, O.; Tabesh, A.R. A knapsack problem approach for achieving efficient energy consumption in smart grid for endusers’ life style. In Proceedings of the 2010 IEEE Conference on Innovative Technologies for an Efficient and Reliable Electricity Supply, Waltham, MA, USA, 27–29 September 2010; IEEE: Piscataway, NJ, USA, 2010; pp. 159–164. [Google Scholar]
  39. Medsker, L.R.; Jain, L. Recurrent neural networks. Des. Appl. 2001, 5, 2. [Google Scholar]
  40. Grosse, R. Lecture 15: Exploding and Vanishing Gradients; University of Toronto Computer Science: Toronto, ON, Canada, 2017. [Google Scholar]
  41. Shi, X.; Chen, Z.; Wang, H.; Yeung, D.-Y.; Wong, W.-K.; Woo, W.-C. Convolutional lstm network: A machine learning approach for precipitation nowcasting. Adv. Neural Inf. Process. Syst. 2015, 28, 802–810. [Google Scholar]
  42. Rashid, R.A.; Chin, L.; Sarijari, M.; Sudirman, R.; Ide, T. Machine learning for smart energy monitoring of home appliances using iot. In Proceedings of the 2019 Eleventh International Conference on Ubiquitous and Future Networks (ICUFN), Zagreb, Croatia, 2–5 July 2019; pp. 66–71. [Google Scholar]
  43. Chou, J.-S.; Nguyen, T.-K. Forward forecast of stock price using sliding-window metaheuristic-optimized machine-learning regression. IEEE Trans. Ind. Inform. 2018, 14, 3132–3142. [Google Scholar] [CrossRef]
  44. Moldovan, D.; Slowik, A. Energy consumption prediction of appliances using machine learning and multi-objective binary grey wolf optimization for feature selection. Appl. Soft Comput. 2021, 111, 107745. [Google Scholar] [CrossRef]
  45. Perera, A.; Wickramasinghe, P.; Nik, V.M.; Scartezzini, J.-L. Machine learning methods to assist energy system optimization. Appl. Energy 2019, 243, 191–205. [Google Scholar] [CrossRef]
  46. Bamoumen, H.; Temouden, A.; Benamar, N.; Chtouki, Y. How tinyml can be leveraged to solve environmental problems: A survey. In Proceedings of the 2022 International Conference on Innovation and Intelligence for Informatics, Computing, and Technologies (3ICT), Sakheer, Bahrain, 20–21 November 2022; pp. 338–343. [Google Scholar]
  47. Abadade, Y.; Temouden, A.; Bamoumen, H.; Benamar, N.; Chtouki, Y.; Hafid, A.S. A comprehensive survey on tinyml. IEEE Access 2023, 11, 96892–96922. [Google Scholar] [CrossRef]
  48. Liu, Y.; Zhang, D.; Gooi, H.B. Optimization strategy based on deep reinforcement learning for home energy management. CSEE J. Power Energy Syst. 2020, 6, 572–582. [Google Scholar]
  49. Zadsar, M.; Haghifam, M.; Ghadamyari, M. Decentralized model based on game theory for energy management in smart distribution system under penetration of independent micro-grids. In Proceedings of the 2017 Iranian Conference on Electrical Engineering (ICEE), Tehran, Iran, 2–4 May 2017; IEEE: Piscataway, NJ, USA, 2017; pp. 1015–1020. [Google Scholar]
  50. Chen, C.; Wang, J.; Heo, Y.; Kishore, S. Mpc-based appliance scheduling for residential building energy management controller. IEEE Trans. Smart Grid 2013, 4, 1401–1410. [Google Scholar] [CrossRef]
  51. Lin, Y.-H.; Tsai, M.-S. An advanced home energy management system facilitated by nonintrusive load monitoring with automated multiobjective power scheduling. IEEE Trans. Smart Grid 2015, 6, 1839–1851. [Google Scholar] [CrossRef]
  52. Zhao, Z.; Lee, W.C.; Shin, Y.; Song, K.-B. An optimal power scheduling method for demand response in home energy management system. IEEE Trans. Smart Grid 2013, 4, 1391–1400. [Google Scholar] [CrossRef]
  53. Shaptala, R.; Kyselova, A. Location prediction approach for context-aware energy management system. In Proceedings of the 2016 IEEE 36th International Conference on Electronics and Nanotechnology (ELNANO), Kyiv, Ukraine, 19–21 April 2016; IEEE: Piscataway, NJ, USA, 2016; pp. 333–336. [Google Scholar]
  54. Jung, C.-M.; Ray, P.; Salkuti, S.R. Asset management and maintenance: A smart grid perspective. Int. J. Electr. Comput. Eng. (IJECE) 2019, 9, 3391–3398. [Google Scholar] [CrossRef]
  55. Hamilton, B.; Summy, M. Benefits of the smart grid [in my view]. IEEE Power Energy Mag. 2010, 9, 104-102. [Google Scholar] [CrossRef]
  56. Carvallo, A.; Cooper, J. The Advanced Smart Grid: Edge Power Driving Sustainability; Artech House: Norwood, MA, USA, 2015. [Google Scholar]
  57. Sequeira, H.; Carreira, P.; Goldschmidt, T.; Vorst, P. Energy cloud: Real-time cloud-native energy management system to monitor and analyze energy consumption in multiple industrial sites. In Proceedings of the 2014 IEEE/ACM 7th International Conference on Utility and Cloud Computing, London, UK, 8–11 December 2014; IEEE: Piscataway, NJ, USA, 2014; pp. 529–534. [Google Scholar]
  58. Ghribi, K.; Sevestre, S.; Guessoum, Z.; Gil-Quijano, J.; Malouche, D.; Youssef, A. A survey on multi-agent management approaches in the context of intelligent energy systems. In Proceedings of the 2014 International Conference on Electrical Sciences and Technologies in Maghreb (CISTEM), Tunis, Tunisia, 3–6 November 2014; IEEE: Piscataway, NJ, USA, 2014; pp. 1–8. [Google Scholar]
  59. Hassoun, M.H. Fundamentals of Artificial Neural Networks; MIT Press: Cambridge, MA, USA, 1995. [Google Scholar]
  60. Chai, T.; Draxler, R.R. Root mean square error (rmse) or mean absolute error (mae)?—Arguments against avoiding rmse in the literature. Geosci. Model Dev. 2014, 7, 1247–1250. [Google Scholar] [CrossRef]
Figure 1. Graph of week-based cycles of energy consumption [52].
Figure 1. Graph of week-based cycles of energy consumption [52].
Wevj 15 00001 g001
Figure 2. Flowchart of our proposed algorithm.
Figure 2. Flowchart of our proposed algorithm.
Wevj 15 00001 g002
Figure 3. Summary of the used LSTM model.
Figure 3. Summary of the used LSTM model.
Wevj 15 00001 g003
Figure 4. Comparison of actual energy prices, TSO’s predictions, and the predictions made by our LSTM-based model [59].
Figure 4. Comparison of actual energy prices, TSO’s predictions, and the predictions made by our LSTM-based model [59].
Wevj 15 00001 g004
Figure 5. Light schedule.
Figure 5. Light schedule.
Wevj 15 00001 g005
Figure 6. Medium schedule.
Figure 6. Medium schedule.
Wevj 15 00001 g006
Figure 7. Heavy schedule.
Figure 7. Heavy schedule.
Wevj 15 00001 g007
Table 1. Performance comparison of various predictive models.
Table 1. Performance comparison of various predictive models.
ModelDescriptionMAEMSERMSE
Neural Network3 layers containing neuron quantities of 20, 12, and 1, respectively8.0592.899.63
Multi-Linear RegressionInapplicable9.57130.311.41
GRU15 GRU units, a flattening laying, and 3 layers containing neuron quantities of 15, 8, and 1, respectively7.4180.499.32
LSTM15 LSTM units, a flattening laying, and 3 layers containing neuron quantities of 24, 8, and 1, respectively5.3248.906.99
TSO ModelInapplicable9.68131.111.48
Table 2. Results regarding root mean square error for the scheduling algorithm.
Table 2. Results regarding root mean square error for the scheduling algorithm.
OffsetSchedulesRMSE
With Scheduling
(Paper Approach)
Without Scheduling
2 hLight0.232
Medium0.261.98
Heavy0.321.98
6 hLight1.164.48
Medium1.364.78
Heavy2.895.89
12 hLight2.5610.85
Medium3.1211.98
Heavy3.8911.98
Table 3. Appliances used in the simulation and their respective amounts of energy consumption.
Table 3. Appliances used in the simulation and their respective amounts of energy consumption.
ApplianceTypeConsumption
Washing Machine (M)Deferrable1000 W/h
Dish Washer (D)Deferrable1800 W/h
Oven (O)Deferrable2300 W/h
Electric Vehicle (V)Regulatable5000 W/h
Water Pump (P)Regulatable800 W/h
Water Heater (H)Regulatable1300 W/h
Home Lights (L)Fixed200 W/h
TV (T)Fixed300 W/h
Table 4. Summary of energy cost reductions achieved using various prediction algorithms on increasingly loaded schedules over 6 months.
Table 4. Summary of energy cost reductions achieved using various prediction algorithms on increasingly loaded schedules over 6 months.
Schedules% Cost Reduction
MLRNNGRUTSOLSTM
Light7.8610.0110.387.7711.11
Medium11.2113.8918.2611.0720.09
Heavy30.8731.5834.4230.1538.85
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.

Share and Cite

MDPI and ACS Style

Touhs, H.; Temouden, A.; Khallaayoun, A.; Chraibi, M.; El Hafdaoui, H. A Scheduling Algorithm for Appliance Energy Consumption Optimization in a Dynamic Pricing Environment. World Electr. Veh. J. 2024, 15, 1. https://doi.org/10.3390/wevj15010001

AMA Style

Touhs H, Temouden A, Khallaayoun A, Chraibi M, El Hafdaoui H. A Scheduling Algorithm for Appliance Energy Consumption Optimization in a Dynamic Pricing Environment. World Electric Vehicle Journal. 2024; 15(1):1. https://doi.org/10.3390/wevj15010001

Chicago/Turabian Style

Touhs, Hamza, Anas Temouden, Ahmed Khallaayoun, Mhammed Chraibi, and Hamza El Hafdaoui. 2024. "A Scheduling Algorithm for Appliance Energy Consumption Optimization in a Dynamic Pricing Environment" World Electric Vehicle Journal 15, no. 1: 1. https://doi.org/10.3390/wevj15010001

Article Metrics

Back to TopTop