Servicios
Descargas
Buscar
Idiomas
P. Completa
Optimization Model for Collective Energy Demand Management in Smart Homes
Nelson Mauricio Bejarano; Francisco David Moya Chaves; Óscar Danilo Montoya
Nelson Mauricio Bejarano; Francisco David Moya Chaves; Óscar Danilo Montoya
Optimization Model for Collective Energy Demand Management in Smart Homes
Modelo de optimización para la gestión colectiva de la demanda de energía en hogares inteligentes
TecnoLógicas, vol. 27, no. 60, pp. 1-34, 2024
Instituto Tecnológico Metropolitano
resúmenes
secciones
referencias
imágenes

Abstract: Power systems are gradually evolving towards smart grids to improve their efficiency and reliability through demand response and management strategies. This study presents the Multi-User Model of Controllable Electric Loads (MUMCEL), an optimization model developed to collectively manage the residential demand of multiple users, through Controllable Electric Load Scheduling (CELS). The objective of the model was to minimize the cost of energy and achieve a more uniform distribution of the electric load, taking into account dynamic pricing rates and specific constraints. The methodology was based on classical optimization techniques in two stages. The first stage focused on the single user level using the exhaustive search method to select solutions that minimize the cost of each user's bill. The second stage employed the local search method for multi-user optimization to find a flatter demand curve. For this purpose, an algorithm was designed in MATLAB® that simulated a scenario with 60 users for 24 hours, scheduling the most appropriate on/off periods of controllable loads. Two scenarios were compared: one where users manage their loads at their convenience and the other where the proposed model was applied. The results indicated a decrease in peak demand, with an average savings of 4.94 % on the electricity bill for all users and up to 12.34 % individually. The simulation achieved this optimal solution in 25 minutes, despite the computational complexity involved in managing the demand of 60 users. Therefore, the model used simple methods to optimize multiple variables, providing better performance compared to processing that would require a more complex algorithm.

Keywords: Demand management, response to energy demand, electric load scheduling, energy consumption profile, mathematical optimization methods.

Resumen: Los sistemas eléctricos están evolucionando hacia redes inteligentes para mejorar su eficiencia y confiabilidad mediante estrategias de gestión y respuesta a la demanda. Este estudio presenta el Modelo Multiusuario de Cargas Eléctricas Controlables (MMCEC), un modelo de optimización desarrollado para gestionar colectivamente la demanda residencial de múltiples usuarios mediante la Programación de Cargas Eléctricas Controlables (PCEC). El objetivo del modelo fue minimizar el costo de la energía y lograr una distribución más uniforme de la carga eléctrica, teniendo en cuenta tarifas dinámicas de precios y restricciones específicas. La metodología se basó en técnicas clásicas de optimización en dos etapas. La primera se enfocó a nivel de único usuario utilizando el método de búsqueda exhaustiva para seleccionar soluciones que minimicen el costo de la factura de cada usuario. La segunda etapa empleó el método de búsqueda local para la optimización multiusuario, para encontrar una curva de demanda más plana. Para ello, se diseñó un algoritmo en MATLAB® que simuló un escenario con 60 usuarios durante 24 horas, programando los periodos más adecuados de encendido/apagado de las cargas controlables. Se compararon dos escenarios: uno donde los usuarios administran sus cargas a su conveniencia y otro donde se aplicó el modelo propuesto. Los resultados indicaron una disminución de los picos de demanda, con un ahorro promedio del 4.94 % en la factura eléctrica para el conjunto de usuarios y hasta el 12.34 % individualmente. La simulación logró esta solución óptima en 25 minutos a pesar de la complejidad computacional que implica gestionar la demanda de 60 usuarios. Por tal motivo, el modelo planteado utilizó métodos simples para optimizar múltiples variables, proporcionando un mejor rendimiento en comparación con el procesamiento requerido por algoritmos más complejos.

Palabras clave: Gestión de la demanda, respuesta a la demanda energética, programación de cargas eléctricas, perfil de consumo energético, métodos de optimización matemática.

Carátula del artículo

Investigación

Optimization Model for Collective Energy Demand Management in Smart Homes

Modelo de optimización para la gestión colectiva de la demanda de energía en hogares inteligentes

Nelson Mauricio Bejarano
Universidad Distrital Francisco José de Caldas, Colombia
Francisco David Moya Chaves
Universidad Distrital Francisco José de Caldas, Colombia
Óscar Danilo Montoya
Universidad Distrital Francisco José de Caldas, Colombia
TecnoLógicas, vol. 27, no. 60, pp. 1-34, 2024
Instituto Tecnológico Metropolitano

Received: 16 February 2024

Accepted: 12 July 2024

Published: 20 August 2024

Highlights

  1. • The MMCEC manages residential demand to minimize users' operating costs.

    • The proposed methodology evaluates 24 hours with 60 users by defining the turning loads on or off.

    • The MMCEC performs an exhaustive search to minimize costs and a local search to flatten demand.

    • The MMCEC model is flexible on connection or disconnection timing for controllable loads.

Highlights

  1. • El MMCEC gestiona la demanda residencial para minimizar los costos operativos de los usuarios.

    • La metodología propuesta evalúa 24 h con 60 usuarios definiendo el encendido o apagado de cargas.

    • El MMCEC realiza búsqueda exhaustiva para minimizar costos y búsqueda local para aplanar demanda.

    • El modelo MMCEC es flexible en los horarios de conexión o desconexión para cargas controlables.

1. INTRODUCTION

In recent decades, electrical systems have increasingly struggled with overexertion due to factors such as the continuous rise in energy demand, frequent line interruptions during peak hours, aging infrastructure, and the integration of distributed generation resources. These challenges have led to significant reliability issues, decreased efficiency, energy losses, and escalating electrical costs [1]-[5]. Moreover, the heavy reliance on fossil fuels has exacerbated environmental concerns, particularly due to the substantial greenhouse gas emissions associated with their use [6], [7].

To address these challenges, power grids are being transformed into smart grids [8], [9]. This evolution entails technological, financial, and social changes aimed at enhancing the quality, sustainability, safety, and reliability of electricity supply. Smart grids facilitate a bidirectional flow of electricity and data between distributors and end users by integrating information and communication technologies with automation techniques for the control, monitoring, and maintenance of electrical systems [10]-[12]. The transition toward smart grids, nonetheless, requires adopting Home Energy Management Systems (HEMSs), especially since residential installations account for more than one-third of total electricity consumption [2], [9], [11], [13], [14].

Smart grids encompass several fundamental concepts, including Demand Side Management (DSM) and Demand Response (DR). DSM involves planning and implementing strategies to modify electricity consumption patterns, with the primary objectives of reducing peak demand and CO. emissions [15]-[17]. This is achieved through the automatic switching on/off of loads in residential settings using home automation technologies and optimization models [18]. The primary goal is to minimize electricity costs and stabilize the demand curve [11], [19]. DR, another critical aspect of smart grids, refers to the use of dynamic pricing to incentivize users to reduce electricity consumption during specific tariff periods [6], [8], [9], [17]. Prices are adjusted based on demand, with higher rates applied during peak hours and lower rates during off-peak periods.

In the 1980s and 1990s, various DSM methods, such as peak shaving, strategic conservation, valley filling, strategic load growth, load shifting, and load flexibilization, were developed. However, it was not until the 2000s that distributed generation technologies were implemented, focusing on the control, monitoring, and metering of electrical systems using intelligent electronic devices [20]. DSM strategies are typically categorized into two approaches: indirect and direct control. Indirect control leverages price incentives and social interactions to influence consumption behavior through the use of optimization algorithms. Common tariff schemes under this approach include time-of-use, critical peak pricing, peak load pricing, and dynamic or real-time pricing [5]. Conversely, direct control implies marketers directly managing loads, thereby imposing stricter restrictions on users’ ability to independently control their electricity usage [21].

End users often face challenges in manually programming the on/off schedules of electrical appliances due to limited technical knowledge, time constraints, and a lack of motivation to engage in DR activities at home [1], [22]. As a result, Controllable Electrical Load Scheduling (CELS) emerges as a crucial component of HEMSs. CELS is responsible for monitoring and controlling loads according to user preferences and specifications [23]. Furthermore, external variables, including electricity prices, environmental concerns, personal well-being, energy efficiency education, and users’ sense of responsibility as active participants in DSM, influence the habits and behaviors of residential consumers when using their appliances. These factors, in turn, play a key role in developing HEMSs [9].

Importantly, scheduling household appliances at times convenient for users does not necessarily lead to a flattened load curve in distribution grids. The key challenge lies in effectively coordinating the timing of appliance use across different households. By staggering these loads throughout the day, it becomes possible to achieve a more balanced and optimized electricity consumption. In light of this, this study aims to develop a CELS strategy in the context of collective demand management in distribution grids. Specifically, it proposes a mathematical model to flatten the consumption curve and reduce electricity costs.

Several optimization algorithms have been developed to address challenges associated with demand management. These algorithms serve as critical mathematical tools for efficiently solving complex engineering and scientific problems within reduced processing times [24]. The techniques employed include heuristic and metaheuristic approaches, alongside exact methods based on gradient and interior point strategies. Additionally, when combined with branching and probing techniques, these algorithms are capable of addressing a wide variety of problems, ranging from linear programming to Mixed-Integer Nonlinear Programming (MINLP) models [22].

In the field of CELS, numerous algorithms have been designed and are well-documented in the literature. These solutions employ linear, nonlinear, heuristic, and metaheuristic methods, which consider parameters like user requirements, comfort constraints, and environmental and social factors. For instance, the authors of [1] presented an algorithm that focuses on home energy management by ensuring that household consumption remains below a specified demand limit while also taking into account user preferences and enhancing load flexibility. Similarly, in [10], a cooperative control scheme for a smart grid of residential buildings was proposed. This scheme utilizes a predictive control model to coordinate energy usage among buildings, optimizing the use of renewable resources and leveraging the flexibility of thermal loads.

In [23], a heuristic approach using the Greedy Randomized Adaptive Search Procedure (GRASP) was applied to maximize energy utilization from distributed resources in a smart home while minimizing reliance on the distribution grid. The authors highlighted that the primary advantage of this approach is its simplified model for CELS. However, they also acknowledged a drawback: the increased computation time required.

In [18] and [22], a mathematical model for CELS in smart buildings and homes, referred to as the Model for Controllable Electrical Load Scheduling (MCELS), was introduced. This model employs a classical linear optimization method, and its simplicity allows for better performance compared to the heuristic approach presented in [23], as it achieves greater cost reductions and lower dependence on the power grid. Furthermore, in the case of smart buildings, MCELS not only reduces electricity costs for individual users but also facilitates fair payment calculations among different users.

Other approaches include Mixed-Integer Nonlinear Programming (MINLP) and Mixed Integer Linear Programming (MILP). In [8], for example, the authors developed a multi-objective MINLP model that considers both electricity costs and user comfort. The results indicate that although improvements in user comfort can be achieved, they often result in higher electricity costs. In [25], a HEMS was evaluated under three different scenarios: normal, economic, and smart. This model, which uses a multi-objective MINLP framework, considers energy costs, user comfort, and the Peak to Average Ratio (PAR). According to the findings, in the smart scenario, the model significantly reduced energy costs with only minimal effects on user comfort and PAR. However, it requires users to manually adjust multiple parameters and lacks real-time adaptability to external changes.

Studies such as [2], [3], [6], and [7] emphasize the use of MILP. In particular, [3] and [6] employed a MILP model to reduce peak load and flatten the load curve in electrical grids. Nonetheless, the authors of [3] note that while increasing constraints can prevent new peaks after load adjustments, the model tends to prioritize cost-effectiveness, which is identified as a drawback. The authors of [2] also used MILP to minimize total production costs and reduce individual electricity costs. Nevertheless, unlike [3] and [6], this study takes into account the preferences of participating households, reaching a conclusion similar to that of [8]. Finally, the authors of [7] combined MILP with an exact solution method to lower electricity costs in a smart home and found that the exact method is more efficient than MILP.

Stochastic algorithms, such as those discussed in [9], [26], and [27], have also gained increasing attention. In [9], a prototype system was introduced that enables comprehensive energy measurement and management at homes, facilitating supervision, monitoring, and control through decision-making algorithms. Furthermore, the authors of [26] proposed an algorithm aimed at reducing the cost of each charging cycle for residential electric vehicle chargers while also flattening users’ charging curve. To validate the model, the algorithm was embedded on a charger hardware. In [27], a bi-objective stochastic optimization approach was presented for scheduling controllable appliances in smart homes. This model, formulated as a mixed-integer programming problem, aims to minimize electricity costs while maximizing user satisfaction. To achieve these objectives, the authors employed both a simulation-optimization approach and a greedy heuristic. The findings suggest that although the simulation-optimization method produces better solutions, the heuristic technique is faster. Additionally, it is noted that scenarios involving multiple users are more difficult to solve than single-user cases. This is because of the increased complexity of coordinating appliance usage among different users, which ultimately results in longer processing times.

In the specialized literature, there are also software tools that incorporate optimization algorithms to improve demand management. For example, in [28], a mathematical model was developed for scheduling flexible loads and energy storage systems, specifically considering the changes in demand curves due to the COVID-19 pandemic. This model has been implemented in Python using the Gurobi optimizer.

Moreover, genetic and evolutionary algorithms are commonly used in the scientific community for demand management. These programming techniques, inspired by biological evolution, are employed to solve complex optimization problems. Table 1 provides an overview of several studies that have applied these algorithms for effective demand management.

Table 1
Studies that have employed particle swarm optimization for demand management

Source: own elaboration.

Particle Swarm Optimization (PSO) is another widely recognized heuristic algorithm designed to find global minima or maxima. This method is inspired by the behavior of animals that move in groups, such as flocks or herds. Table 2 highlights several studies that have employed this optimization technique. Notably, references [15], [19], and [29] report superior performance results when compared to [13].

Table 2
Studies that have employed bilevel optimization algorithms for demand management

Source: own elaboration.

Bi-level optimization algorithms, for their part, are used to solve optimization problems that involve two hierarchical levels: a leader and . followers. In these problems, the decisions made at one level directly impact those at the other, and vice versa [36]. Table 3 provides an overview of various studies that have employed these algorithms.

Table 3
Studies that have employed bilevel optimization algorithms for demand management

Source: own elaboration.

Building on the above literature review, this study aims to optimize electricity consumption in households by developing a mathematical model that manages collective demand among multiple residential users. The primary goals are to reduce electricity costs and flatten the energy demand curve, as compared to a baseline scenario where customers do not optimize the switching on/off of their loads. To achieve these goals, two methodologies—exhaustive search and local search—are employed. These two approaches produce models that are simpler than those typically found in the literature, which often involve complex techniques and focus on optimizing a single household. The proposed mathematical model will be simulated and tested using MATLAB® and considering a group of users, allowing the effectiveness of the algorithm to be validated in a practical and realistic setting.

The rest of this paper is organized as follows: Section 2 outlines the mathematical models for both single- and multi-user optimization, detailing the relevant sets, parameters, and variables. Section 3 describes the solution methodology employed in the simulations. Section 4 presents and discusses the results. Finally, Section 5 provides the main conclusions of the study and suggests potential directions for future work to develop more efficient and effective models.

2. MATHEMATICAL MODEL

The primary purpose of this study is to reduce the collective cost of electricity for multiple households while minimizing consumption peaks during specific hours, all without significantly impacting user comfort. To achieve this, CELS is used to enable automatic switching on/off of loads based on schedules set by both end users and the grid operator and thus efficiently manage demand across households. The proposed Multi-User Model of Controllable Electrical Loads (MUMCEL) is implemented in two stages: the first stage focuses on the single-user (individual) level, while the second stage addresses the multi-user (collective) level. Table 4 presents the nomenclature employed in the mathematical model, and Tables 5, 6, and 7 provide details on the sets, parameters, and variables included in the model.

Table 4.
Nomenclature used in the mathematical model.

Source: own elaboration.

Table 5.
Sets included in the mathematical.

Source: own elaboration.

Table 6.
Parameters included in the mathematical model.

Source: own elaboration.

Table 7.
Variables included in the mathematical model.

Source: own elaboration.

2.1 Single-user optimization model

At the single-user level, the MUMCEL aims to determine an optimal schedule for switching on/off loads to minimize each user’s total daily electricity costs. This model, detailed in (1) to (21), provides a comprehensive framework for optimizing load scheduling.

Equation (4) defines the total power consumption during each period t, as the sum of the powers of the NCELs and the CELs for each optimal alternative i of the CELS, represented by (𝑋𝑗𝑡𝑖 ). Building on this, (1) y (2) outline the objective function of the model. Specifically, (2) calculates the total electricity cost for option i, where i, denotes each alternative available to user for CEL optimization. Such cost is computed as the sum of the product of the energy price Pt and the total power consumed in each period t Finally, (1) aims to minimize function fi(𝑋𝑗𝑡𝑖) selecting the alternative(s) that yield the lowest cost for user n, considering all possible CELs for that user.

(1)

(2)

(3)

(4)

To ensure the proper functioning of the model, several constraints are imposed, including constraints on installed capacity, allowable power, number of loads, time of use, and load operation.

2.2 Constraint on installed capacity

To prevent overloads and potential electrical safety risks, (5) ensures that the total power consumption, as determined by load scheduling decisions, does not exceed the maximum capacity of the household’s electrical installation. To maintain a safety margin and prevent potential electrical issues, a Consumption Factor (CF), expressed as a percentage of the Installed Capacity (IC), should be established.

(5)

2.3 Constraint on allowable power during period t

Following an approach similar to that outlined in [18] and [22], a strategy is implemented to mitigate the impact of demand peaks occurring at specific times of the day. To this end, a constraint is imposed to limit the total power consumption for each hour, represented by variable CPower and detailed in (6). This variable contains vector φt, whose elements represent the demand factor of the loads per hour, which are then multiplied by the daily demand of user n, The proposed constraint takes into account both the power of NCELs and that of CELs, offering a comprehensive view of the household’s total energy demand and enabling more precise and efficient energy management.

(6)

Equation (7), for its part, ensures that the total power calculated for each alternative i remains below CPower across all periods t. This regulation is crucial for managing energy consumption and optimizing load distribution in residential settings.

(7)

2.4 Constraint on the number of loads allowed during period t

To reduce demand peaks when multiple CELs are operating simultaneously, variable Cloads is introduced to represent the maximum number of loads that can be active during period t. This is formulated in (8), where vector θt accounts for the factor of CELs operating per hour, which is used to limit the total number of controllable electrical loads (numCELs) for user n.

(8)

Equation (9) further restricts the total number of CELs that can be active during period to the value determined by Cloads.

(9)

2.5 Constraint on time-of-use

This constraint requires that the sum of the powers of the CELs be greater than zero during the interval between TiCEL and TfCEL, while outside this interval, the sum must be zero. As expressed in (10), this ensures that CELs operate exclusively within the specified time frame.

(10)

2.6 Type of loads and their constraints

This subsection presents the CELS model, a system developed to optimize the switching on/off of CELs to minimize total electricity costs and mitigate demand peaks. The constraints established in this model enable the effective configuration and management of loads within the HEMS using mathematical modeling, as discussed in [5], [18], and [22]. In this study, loads are classified into two categories based on their consumption characteristics: controllable loads and non-controllable loads.

2.6.1 Controllable electrical loads

The CEL model aims to determine the optimal timing for switching appliances on/off in a smart home, considering both demand management and user comfort requirements. This entails finding a balance between direct and indirect control within DSM objectives. The proposed MUMCEL introduces a decision variable x for each CEL at time t. Specifically, xjt, indicates the state of load j at time t; si xjt = 1, CEL j is on; if xjt= 0, load j is off. Using binary data, a result matrix xjt—detailed in (11)—is constructed to represent the states of all loads j across different time intervals t for user n.

(11)

Equations (12) through (15) outline the constraints for CELs. Equations (12) and (13) ensure that the operational intervals of the loads fall within the scheduling horizon and that the operating time (Hload) of each appliance does not exceed its usage interval. Equation (14) stipulates that the sum of the binary states for the CEL must equal the number of hours the load is in operation. Equation (15), for its part, guarantees that the value of the state variable is zero outside the scheduled interval (TiCEL to TfCEL). Thus, if TiCEL<t<TfCEL, variable xjt, can be either 0 or 1; otherwise, it is 0. The application of (14) and (15) is analogous to that of (10), ensuring that CELS remains consistent, efficient, and optimal within the allowed time limits.

(12)

(13)

(14)

(15)

CELs are categorized into three main types: Uninterruptible Flexible Electrical Loads (UFELs), Interruptible Flexible Electrical Loads (IFELs), and Subsequent Electrical Loads (SELs). UFELs must operate continuously without interruption until their operating cycle is complete. The model for this type of loads is provided in (12) to (15) along with (16), which ensures that the load remains uninterrupted during the scheduled hours. Equation (16) considers both the previous and current states of x to verify uninterrupted operation. A load that operates continuously is classified as a UFEL; otherwise, it is categorized differently.

(16)

IFELs, for their part, can be controlled and may be temporarily switched off during their operating cycle, allowing them to operate intermittently within the predefined time interval. The model for this type of loads is given by (17), which specifies that within the interval between TiCEL and TfCEL, variable xjt can be 0 or 1. This equation, in conjunction with the constraints outlined in (12) through (15), ensures proper management of IFELs throughout the entire time range.

(17)

Finally, SELs are activated only after certain UFELs have completed their operation. For instance, a clothes dryer may start only after a washing machine has finished its cycle. SELs must operate as uninterruptible appliances. Their start times are dependent on the completion of UFELs’ cycles, either immediately or later, and their end times are constrained by their operating time (HSEL), with the last possible switch-off occurring at the end of the day. Equations (18) and (19) define the start (TiSEL) and end (TiSEL) times of SELs. Moreover, (20) guarantees that the operating cycle of a SEL aligns with its start and end times.

(18)

(19)

(20)

Importantly, the number of loads of any type cannot be negative, as this would contradict the principles of the mathematical model (21).

(21)

2.6.2 Non-controllable electrical loads

NCELs operate based on pre-defined usage patterns and cannot be adjusted or managed during the optimization process. These loads are crucial, as they represent essential services that must be provided immediately upon user request to ensure the residents’ well-being [8]. Refrigerators, for example, fall under this category, as do low-power devices such as household lighting. In the proposed mathematical model, no specific equations are formulated for NCELs; instead, hourly consumption data for these loads are obtained from established theoretical frameworks found in the literature.

2.7 Multi-user optimization model

At the multi-user level, the proposed MUMCEL evaluates the set of solutions generated in the single-user optimization, assessing various combinations to identify the optimal configuration. The goal is to achieve a flatter consumption curve, ensuring a more stable load distribution and reduced electricity costs for all users. Ideally, energy consumption across multiple users would produce a completely flat demand curve, thereby avoiding periods of over-demand or underutilization of the electrical system at specific times of the day.

To approximate this ideal scenario, the first step is to calculate the average power consumption of the households over a given time interval. The standard deviation is then used as a metric to evaluate how closely the actual consumption curve aligns with this average. This approach makes it possible to find a solution that is both optimal for individual users and stable and consistent across multiple users. Finally, the combination of alternatives that yields the lowest standard deviation is selected, resulting in a consumption curve that is closer to the ideal average and a more balanced load distribution for all customers.

Equations (22) through (26) below define the MUMCEL at the multi-user level. Equation (22) introduces variable Cb,n,t, which represents the total power consumed by each user as a function of combination in optimal option i. Here, b denotes the various possible combinations in the model. Importantly, if multiple optimal solutions exist for a user, Cb,n,t, will have multiple values corresponding to these different combinations.

(22)

Equation (23) calculates the average of the data stored in variable Cb,n,t, taking into account both the number of users and the time horizon. Equation (24) then determines the standard deviation of users’ consumption for each possible combination b Following this, (25) aggregates all the standard deviations from these combinations. Finally, (26) defines the objective function: to minimize the standard deviation across all possible combinations, thereby identifying the combination b with the lowest variability in power consumption. This ultimately results in the flattest demand curve for the group of users.

(23)

(24)

(25)

(26)

3. SOLUTION METHODOLOGY

This section details the implementation of the proposed MUMCEL, which focuses on CELS in smart homes to efficiently manage the energy demand of multiple residential users under a dynamic hourly pricing scheme. The model will be executed in MATLAB®, and additional procedures and considerations beyond those outlined in Section 2 will be incorporated to achieve optimal load management across multiple users. Additionally, Subsection 3.3 will provide further details on the initial simulation parameters, including load behavior, hourly energy prices, household installed capacity, the number of users, and the types of loads.

The methodology employed in this study involves two interconnected stages: single-user optimization and multi-user optimization. Single-user optimization employs exhaustive search, while multi-user optimization utilizes local search. The exhaustive search method, a brute-force approach, systematically evaluates all possible solutions within a defined search space to find the optimal global solution. The local search method, for its part, is an iterative heuristic technique that starts with an initial solution and then explores and compares alternatives within a local environment. If an improved solution is identified, it replaces the current one, and the search continues until no further improvement is found [18], [36], [42].

3.1 Single-user optimization

To implement the proposed MUMCEL at the single-user level, the exhaustive search method is here used, which systematically explores all potential solutions for each user to find the optimal configuration. This process is divided into two distinct phases to effectively minimize electricity costs for the evaluated user.

In the first phase, the method examines all possible scenarios for switching loads on/off within the search space. Binary matrices are employed to represent the state (on or off) of each load per hour. Then, the method verifies that each load is in operation within its specified time intervals (TiCEL to TfCEL) and adheres to its total operating time (Hload). Subsequently, all feasible schedule combinations are generated and assessed based on the types of CELs, discarding those failing to meet the constraints outlined in Subsection 2.6.1.

In the second phase, the simulation code evaluates all viable schedule combinations identified in the first phase against the constraints detailed in Subsections 2.2 to 2.5. Combinations that do not satisfy these criteria are discarded. The remaining combinations are then validated, and those that successfully minimize electricity costs for the evaluated user are selected.

3.1.1 Considerations for the first phase of exhaustive search

In this phase, the scheduling horizon (T) is set to 24 hours and divided into one-hour periods (each denoted as t), where t ∈ T. In addition, parameters TiCEL, TfCEL, an Hload are defined for each user based on their preferred schedule for switching loads on/off, allowing for some comfort. Then, as outlined in Subsection 2.6.1, decision variable x is employed to generate various combinations of load states (on or off) using binary matrices. Once the input variables and matrices are initialized, these combinations are processed to determine possible load states and organize the state matrices according to the constraints defined in (12) through (15). Importantly, these equations are applied to all types of CELs to make sure that loads are not switched on outside the schedule defined by users.

Next, combinations that do not satisfy constraints (16) to (21)—which correspond to the criteria for UFELs, IFELs, and SELs—are discarded. During the simulations of switching IFELs on/off, it is crucial to exclude options that show uninterruptible behaviors. Similarly, SELs require special considerations: last switch-off must occur precisely at 23:59, and switch-on schedules may occur before or overlap with IFELs’ operation. Equations (27) through (29) are used to address this and eliminate invalid options.

(27)

(28)

To validate SELs’ switch-on times, the start time of the SEL (p1) is compared with the last activity time of the corresponding UFEL (plast). If p1minus plast is positive, the switch-on time is considered valid; otherwise, it is deemed invalid (see (29)).

(29)

Finally, valid state options that meet the scheduling criteria for switch-on and switch-off are selected for the evaluated user. The resulting state matrices are then forwarded to the next scheduling phase.

3.1.2 Considerations for the second phase of exhaustive search

In the second phase, the exhaustive search method is employed to find the optimal configuration that minimizes electricity costs across multiple options. The process begins by determining the number of CELs (numCELs) to be evaluated for a given user, which establishes the Cload limit for each time period. The total daily demand of the household is then calculated by summing the power of both CELs and NCELs, as will be detailed in Subsection 3.3. This calculation defines the CPower matrix for the hourly power limits (see (6)). To ensure a safety margin and prevent potential electrical issues, the consumption limit at any given time 𝑡 must not exceed 90 % of the Installed Capacity (IC).

The next step involves incorporating all state matrices of the CELs (xjt) from the previous phase into the search space for user n, as described in (30).

(30)

In this equation, superscript i denotes each individual alternative of xjt, and k represents the total number of alternatives for user n. For each alternative k of xjtn for the CELs, the hourly energy consumption is calculated by summing the power of the CELs and NCELs, as outlined in (4) of the proposed MUMCEL.

The exhaustive search then evaluates each alternative k for user n using constraints (5), (7), (9), and (10). Alternatives that do not meet these constraints are discarded. The goal is to find the optimal configuration(s) that minimize electricity costs by applying (1) through (3).

Finally, the configuration(s) that minimize daily electricity costs are selected, ensuring that the final solution aligns with the system’s capabilities and constraints. The implementation of (1) through (21) and (27) through (30), combined with the exhaustive search method, defines the behavior of the proposed MUMCEL at the single-user level. This process yields one or more optimal solutions that effectively reduce electricity costs. The simulation results in MATLAB® include the total power for each period t (PowerTotalt (Xjti)) and the scheduling of controllable loads (Xjti) of each valid solution, which are then used as inputs for the multi-user optimization model.

3.2 Multi-user optimization

At the multi-user level, the MUMCEL employs the local search method, building on the options selected in the single-user optimization, while adhering to the design criteria and simulation specifications. This heuristic approach sequentially combines the potential solutions for each user, following a local path to identify the most favorable configuration.

The simulation process starts by selecting and combining the demand curves of the first two users (Users 1 and 2). Importantly, each user may have multiple alternatives with low electricity costs, which may result in various possible combinations. The best combination is determined by calculating the standard deviation (which serves as an evaluation metric), while the remaining options are discarded. Subsequently, the demand curve(s) for User 3 are added to the optimal combination of Users 1 and 2, and the standard deviation is recalculated to identify the best configuration for all three users. This iterative process continues, adding users one at a time and always selecting the combination with the lowest standard deviation until the final user is incorporated.

The model identifies a local solution by processing users sequentially, rather than exploring all possible combinations across the entire search space of n users to find a global optimum. As a result, the final outcome depends on the starting point, and varying the order in which user solutions are combined may lead to different local solutions. Although this approach does not guarantee a globally optimal solution, it provides satisfactory results, as will be discussed in Section 4. This methodology was chosen taking into account the processing time required to solve the problem, as well as the number of variables and combinations that would arise from considering all possible user solutions.

Given these considerations, the implementation of the MUMCEL at the multi-user level is structured into three distinct phases. In Phase 1, variables such as PowerTotalt (Xjti), and the electricity costs for the first user, obtained in the single-user optimization, are stored. The same variables are then selected and stored for the second user. In Phase 2, an independent vector a is created for each user to represent the number of solutions. Possible combinations are then determined using this vector and stored in variable bk. Subsequently, variable Cb,n,t, is defined, which contains the hourly consumption behavior of each option according to bi In Phase 3, during the cycle of bi and the creation of Cn,t, the standard deviation across iterations is calculated, and the smallest value is selected as the metric for choosing the best combination. Following this, variables PowerTotalt(Xjti), Xjti, and the electricity costs for the two users in the selected combination are stored. This process is then repeated by combining the variables generated in the previous phase with the solutions for the third user. The three-phase process is executed again for each additional user until the final result is achieved.

In (31), the third phase is defined as the search for the optimal combination bi that minimizes the standard deviation. This is accomplished by iterating over neighboring options and evaluating a combination where the current standard deviation (xstdcurrent) is lower than the minimum standard deviation (xstdmin) per cycle, as outlined in (24) through (26).

(31)

In summary, the consumption behavior of residential users often leads to demand peaks at certain times of the day due to their load usage decisions and preferences. The proposed MUMCEL addresses this by coordinating and scheduling the switching on/off of appliances for multiple users, resulting in a flatter load profile and reduced daily electricity costs. The standard deviation serves as a key metric for evaluating the quality of power consumption combinations, enabling a stable and uniform distribution in the scheduling of loads within a defined time interval. This, in turn, promotes more efficient resource management and contributes to enhanced stability in the power supply.

3.3 Initial parameters

This subsection outlines the input parameters necessary for simulating the proposed MUMCEL, which include energy prices, load characteristics, the number of users, and household installed capacity. Importantly, the simulation is scheduled to run over a full 24-hour period, i.e., from 00:00 to 23:59.

3.3.1 Energy prices across different periods (Pt)

In residential electricity markets like those in Colombia, a flat-rate pricing system is commonly used. Under this system, a uniform energy cost is applied throughout the day, regardless of the time. Although straightforward, this tariff structure does not encourage users to adjust or optimize their energy consumption, thereby limiting the potential benefits of effective demand management [16]. In contrast, countries such as Spain, Brazil, and Uruguay have adopted dynamic pricing schemes, where energy costs vary according to peak, flat, and off-peak hours. The effectiveness of these tariff systems, however, depends on each country’s specific conditions and energy infrastructure [43].

In Colombia, the electricity market is gradually evolving, facing key challenges such as adapting the tariff structure for regulated users, integrating new market participants, and progressively incorporating smart grid infrastructure [16]. To address these challenges, strategies have been proposed for implementing dynamic pricing schemes for end users in the country [16]. Based on these strategies, tariffs will be here determined for each time interval considered in the simulation of the proposed mathematical model (see Table 8). Furthermore, (3) introduces the dynamic tariff system by defining vector Pt, which contains energy prices for specific time intervals.

Table 8
Hourly rates

Source: data obtained from the analysis of tariffs for end users in demand response programs in Colombia [43]. COP: Colombian peso (2020).

3.3.2 Parameters for controllable electrical loads

Tables 9 and 10 present the parameters that users can configure for the proposed MUMCEL, such as the operation intervals of the CELs (TiCEL, to TfCEL) and the characteristics of the loads (Hloadj, HSEL, PowerCELi). The set of appliances includes 14 UFELs, 2 SELs, and 4 IFELs, each offering multiple options for switching on/off based on user preferences. In the developed model, these appliances are considered to have various operational configurations. Consequently, the programmable devices provide a total of 67 possible configurations, including 41 UFELs, 15 IFELs, and 11 SELs.

Table 9
Parameters for UFELs and IFELs

Source: own elaboration. Note: Data presented in this table were taken from different sources, including [44]–[50], and were organized by the authors.

As observed, Tables 9 and 10 also present the nominal power values, which include both the power indicated on the appliance nameplates and the average effective power consumed during real-world operation [44]–[51]. The latter value will be used for load scheduling.

Table 10
Parameters for SELs

Source: own elaboration. Note: Data presented in this table were taken from different sources, including [44]–[50], and were organized by the authors.

3.3.3 Consumption of non-controllable loads (Power_CELs)

As previously discussed, NCELs exhibit a fixed consumption pattern throughout the day. For the proposed scenario, the studies reported in [20], [51], and [52] serve as reference points, providing load profile curves for five residential users (PowerCLt) These curves offer a realistic approximation of consumption patterns for the mathematical model. Moreover, the consumption profiles for all users are constructed based on these curves, with the relevant parameters presented in Table 11.

Table 11
Power of the NCELS

Source: own elaboration.

3.3.4 Installed capacity

The next parameter to consider is the installed capacity (IC) per user. For this study, values were selected within the average range for single-family and two-family dwellings in Colombia [53], establishing an interval between 6 kW and 12 kW.

3.3.5 Number of users

Finally, it is essential to define the number of end users participating in the simulation process (Num). In this study, the simulation includes a total of 60 residential users.

The choice of initial parameters and optimization strategies can significantly influence the simulation results. Therefore, sensitivity analyses should be performed to assess how changes in these parameters affect the outcomes. The computational methodology provides valuable insights for enhancing the efficiency and sustainability of energy demand management, particularly in the context of developing electricity markets that incorporate dynamic tariff schemes, such as those in Colombia.

3.4 Flow diagram of the proposed multi-user model of controllable electrical loads

The proposed MUMCEL aims to optimize both the demand curve and electricity costs for 60 residential users, while also considering their comfort levels. To achieve this, CELS will be applied using a series of initial parameters (see Section 3.3), in which each user has a specific behavior for various types of loads (see section 3.3.2), adjusted to a dynamic tariff, and considering a base power per user (non-controllable power).

The employed methodology, as outlined in Sections 3.1 and 3.2, involves a computational simulation carried out in MATLAB®, version R2022b. This software is widely recognized by the scientific community for its ability to handle and calculate matrix operations. The simulation was run on a computer equipped with an Intel(R) Core (TM) i5-8250U CPU @ 1.60 GHz - 1.80 GHz processor and 12 GB of RAM. The simulation algorithm comprises four stages, each of which is described in detail in Table 12.

Table 12
Stages of the MUMCEL simulation

Source: own elaboration.

Figure 1 shows the flow diagram of the implemented optimization algorithm, providing a visual representation of the key stages and decisions. The diagram begins with importing the number of users and initializing the iteration variable, n. For each user, the corresponding parameters are imported, state matrices for the loads are created, and the exhaustive search process is initiated. During this process, options that do not meet the specified constraints are eliminated, and the next option is evaluated. The optimal solutions identified at the single-user level are then stored, and an initial combination is generated to perform the local search, which iteratively evaluates different combinations. The standard deviation of power is subsequently calculated, and the best combinations are updated accordingly. This process is repeated by incrementing n until all users have been evaluated. Finally, the results are exported, including the optimal solution and its details.


Figure 1.
Flow diagram of the proposed optimization process.
Source: own elaboration.

4. RESULTS AND DISCUSSION

This section presents a comparative analysis between two case studies: one without optimization, where each of the 60 users has a set of appliances with a fixed daily electricity consumption pattern, and another where demand is optimized using a CELS model.

Figure 2 illustrates this comparison for one of the 60 users, referred to as User (a). The bar chart depicts the operation times of the CELs and NCELs over the time horizon T, highlighting the loads activated during each time period t when optimization is applied. In addition, the green line graph represents the unoptimized load profile for this user.


Figure 2.
Unoptimized load profile and CEL schedule for User (a).
Source: own work.

To analyze the specific consumption patterns following the implementation of the CELS model, the demand curves for four additional users are presented in Figure 3. The base scenario, depicted by a blue line graph, shows when the user operates the CELs at their discretion, while the optimized scenario is illustrated by an orange-filled area graph.


Figure 3.
Unoptimized load profile vs. optimized load profile for four users.
Source: own work.

Before discussing the results further, it is important to define the concept of Peak-to-Average Ratio (PAR), which is the ratio between the maximum (peak) value of a curve and its average value. For the four users analyzed, a reduction in peak demand during periods of higher energy prices is observed when implementing the CELS model. Table 13 presents the results for the peak power and PAR for both the optimized and unoptimized scenarios.

Table 13
Peak active power analysis results for five users

Source: own elaboration.

Figures 2 and 3 show that the five users employ different strategies to manage their demand. Additionally, Table 14 provides the electricity costs for each user, revealing savings ranging between 1 % and 8 % for the day evaluated in the simulation. A common strategy employed by all five users is load shifting, where consumption is shifted to periods with lower energy costs.

Table 14
Electricity costs for the five users

Source: own elaboration.

Particularly, the optimization algorithm for User (b) implements a peak shaving strategy with slight valley filling at certain times of the day. Similarly, User (a) adopts a combined approach that includes peak shaving and strategic conservation, allowing them to maintain peak demand periods while adjusting the magnitude of these peaks as necessary. Although Users (a) and (b) achieve significant reductions in peak demand, their bill savings are lower than those of other users. This outcome is likely due to their focus on reducing consumption peaks rather than shifting loads to lower-cost periods.

In the case of User (c), the algorithm shifts one demand peak to a lower-cost period while shaving the other two peaks and filling the valleys. For User (d), consumption is more evenly distributed throughout the day compared to the base case, where peaks are concentrated during expensive energy periods. Users (c) and (d), for their part, achieve better savings, with reductions of 5.74 % and 8.12 %, respectively.

However, while the peak values for Users (a), (b), (c), and (d) decrease by 21 % to 42 %, User (e) experiences a 23 % increase in peak demand after optimization. This increase results from the model accumulating loads during lower-cost periods and allowing user autonomy in load scheduling, which could be disadvantageous if there are no power limits or caps on the number of loads in operation. Despite this, User (e) still achieves a 3.01 % reduction in their electricity bill.

The strategies or actions described above can be observed in the optimization applied to the load profiles of all 60 users, leading to a reduction in their electricity bills. It is also important to note that the model performs cost optimization at the individual level and then coordinates a group of users to flatten the overall demand curve. This is done while ensuring user comfort and providing flexibility in scheduling loads.

In the preceding paragraphs, an individual analysis was provided to show how the model optimizes various aspects for each user. From this point onward, the results will be presented collectively for all evaluated users.

Figure 4 illustrates the load profile for the 60 users, with the green dotted line representing the proposed price in COP/kWh (see Table 8), and the orange and blue bars indicating the cases with and without optimization, respectively. The figure reveals that, in the optimized scenario, loads are shifted from the peak hours of the unoptimized scenario to periods with lower prices. In the base scenario, energy consumption occurs without any constraints or specific load scheduling, preventing users from benefiting from dynamic pricing and leading them to operate appliances during periods of highest energy prices. Conversely, the optimized scenario exhibits a load profile that takes advantage of the lowest prices while ensuring user comfort and avoiding significant demand peaks during other time intervals.


Figure 4.
Load profile of the 60 users.
Source: own work.

To prevent excessively high peaks during any period, constraints are applied to the mathematical models. Particularly, this study considers constraints associated with active power, such as installed capacity, to prevent overloads and potential electrical safety risks, as well as hourly power limits to minimize the impact of demand peaks at other times of the day. These two constraints depend on the household’s electrical characteristics and consumption habits (see Section 2). However, adding more constraints, such as setting a low demand limit, could compromise user comfort and cause new demand peaks during off-peak periods, which could damage the household’s electrical infrastructure or the grid. Therefore, the implemented model also includes a sensitivity analysis for these two constraints, prioritizing user preferences and flexibility in load scheduling.

An example of this approach is when users set the TiCEL and TfCEL times, granting them a degree of autonomy through indirect control over energy consumption, thus reducing costs. Conversely, if users aim for more significant cost reductions, they may need to sacrifice some level of comfort.

The analysis of peak demand yielded the following results: 35 users exhibited higher peak demand in the optimized scenario, 6 users experienced no change in peak demand between the two scenarios, and 19 users had lower peak demand in the optimized scenario. These outcomes were evaluated over the time horizon T and were based on the level of flexibility available to each user. As is typical in real households, not all users share the same consumption habits. Moreover, to avoid negatively impacting user comfort, there are days when the optimized scenario displays higher demand peaks, as seen with User (e), who shifts loads to lower-cost periods, causing them to cluster within a specific time frame. However, appropriate constraints are also imposed to prevent significant demand peaks from being generated and causing problems at the multi-user level.

As illustrated in Figure 4, the involvement of the 60 users in CELS results in a 11.49 % reduction in maximum power, lowering peak power to 88.11 kW and the PAR to 1.63, compared to the 99.55 kW peak power and 1.84 PAR observed in the unoptimized scenario. These results demonstrate that CELS enables a more uniform load distribution among users and reduces peak consumption during high-price periods. This improvement is achieved using (24) through (26), where the standard deviation serves as a metric to evaluate data dispersion. The outcome is a solution characterized by less variability in each user’s load scheduling, ultimately producing a flatter demand curve (PAR) compared to the unoptimized scenario.

Another objective of the implemented optimization model is to minimize electricity costs for a certain number of users. Figure 5 compares electricity costs between the unoptimized (blue bars) and optimized (orange bars) scenarios for the 60 users. The graph indicates that electricity costs are lower for all users when the methodology designed in this study is applied. This is because the demand profile flattens the curve during peak hours, when energy prices are at their highest. However, the extent of cost reduction varies depending on the characteristics of each user’s loads, their consumption habits, and their individual needs. Consequently, some users may realize substantial savings, while others may experience more modest reductions. Figure 6 illustrates this variation, showing the highest reduction at 12.34 % and the lowest at 0.54 %. On average, the group of users achieves approximately 4.94 % savings on their electricity bills for the simulation day.


Figure 5.
Comparison of electricity costs per user.
Source: own work.


Figure 6.
Percentage of electricity cost savings for the 60 users.
Source: own elaboration.

Table 15 presents the results for maximum power, PAR, and electricity costs, comparing the base case with the proposed optimized model. The optimized model shows a 11.49 % reduction in maximum active power, a decrease in PAR from 1.84 to 1.63 (flattening of the curve), and average savings of 4.94 % for the 60 users. In addition to the benefits for end users, demand management through curve flattening leads to significant savings in the costs associated with constructing new generation and transmission infrastructure to meet demand peaks. It also reduces the cost of purchasing electricity in the market during peak demand periods, thereby easing the burden on grid operators by enhancing system reliability and efficiency. This improvement is achieved by avoiding high consumption peaks, which in turn reduces the likelihood of forced generation outages and failures in transmission and distribution infrastructure. Furthermore, this approach mitigates the risk of blackouts due to sudden demand fluctuations, allowing more time for the integration of new plants to respond to natural demand growth. Additionally, the carbon footprint can be reduced by avoiding the construction and use of fossil fuel-fired power plants, which typically serve as reserves when demand exceeds current generation capacity.

Table 15.
General results for the evaluated users.

Source: own elaboration.

Just as end users may face challenges in scheduling their loads—either due to a lack of proactive participation in demand management or technical ignorance—distributors must take on the challenge of implementing technologies that support DSM programs. These technologies can monitor energy consumption more effectively, provide real-time information, and automate consumption processes, thereby contributing to a robust smart grid infrastructure. Consequently, DSM requires strategic planning and operation of electricity systems, as well as programs that encourage users to manage their demand at home and use infrastructure such as smart meters, HEMS, and distributed generation resources.

Considering the results from other studies, the authors of [6] proposed an optimization strategy for a single residential user with two CELs and an Electric Vehicle (EV) charging point. This strategy achieved a 43 % reduction in peak demand and a 6 % decrease in electricity costs. In comparison, the best case in this study achieved a 42 % decrease in peak demand and a 1.55 % reduction in electricity costs. This difference is attributed to the EV load shifting implemented in [6], which optimized the consumption schedule for lower energy prices, leading to a more substantial overall cost reduction.

Similarly, in [7] and [18], higher savings were achieved through load scheduling—36 % and 16.98 %, respectively—thanks to the integration of renewable energies and energy storage batteries. Although the present study did not focus on such technologies, significant benefits were still realized, including maximum savings of 12.34 % by considering multiple users and CELs, despite the complexity of managing numerous variables in the implementation of the proposed MUMCEL.

In the multi-user scenario described in [5], which simulates ten users with three CELs each, a peak reduction of 16 % and savings of 17.68 % were achieved through a so-called technical approach, which included optimization of distributor prices. In contrast, the present study involves a greater number of loads per user, resulting in a peak reduction of 11.49 % and average savings of 4.94 % among all users. The difference in these results can be attributed to the model addressed in this study considering energy price as a fixed parameter rather than a variable for optimization.

Moreover, in [21], two residential users with a single CEL each achieved savings of 1.51 %. This figure is lower than that obtained in this study, where the model optimized between nine and twelve CELs per user. This highlights the complexity of this model and its realistic consideration of consumer habits.

Furthermore, the study in [22] reported savings ranging from 18.53 % to 26 % for seven residential users, employing renewable energy sources, energy storage devices, and EVs. While the present model does not incorporate these technologies, it does manage a larger number of CELs per user.

Finally, the authors of [34] proposed an optimization for 200 users, with the number of CELs ranging from one to fourteen based on customer preference. They reported savings of up to 20 % and a peak reduction of 22.23 %. In a sample of five users, they reported savings between 9 % and 14 %, whereas the present model achieves individual savings of up to 12 % and an overall peak reduction of 11.94 %. This underlines the importance of using a robust algorithm, like that in [34], for managing multiple users, which could serve as a reference for future work, taking into account the characteristics of the present study and the contributions of the studies mentioned above.

The implementation of the model developed in this study has yielded positive results in terms of both cost reduction and demand curve management for all users. However, it is important to acknowledge the limitations of the proposed methodology. One limitation is the data processing requirement inherent in the exhaustive search approach, which arises from using a considerable number of IFELs over an extensive time range and the need to evaluate a large number of possibilities to reach the optimal solution. To address this, it is key that the number of CELs per user in the simulation does not exceed the specified limit. Despite this, satisfactory performance is achieved by assigning between nine and twelve CELs, considering the UFELs, SELs, and IFELs per user.

Another limitation lies in the variation of the local search approach implemented, which does not guarantee a global solution to the problem but instead focuses on finding a local optimal solution. However, for multi-user modeling, this methodology is usually more efficient in terms of time and computational resources compared to exhaustive search.

Finally, the use of straightforward methods or techniques has demonstrated greater efficiency in solving problems with multiple constraints. This is reflected in this study, where the simulation was conducted on a computer with an Intel(R) Core (TM) i5-8250U CPU @ 1.60 GHz - 1.80 GHz processor, 12GB of RAM, and the Microsoft Windows 11 Home Single Language operating system. The problem was solved for 60 users in approximately 25 minutes, despite the large number of variables, achieving adequate solutions for the defined objectives. It is worth noting that the time required to solve the problem may vary depending on the capacity of the computer used.

5. CONCLUSIONS

This study focused on modeling high-consumption residential loads, specifically CELs, which encompass UFELs, IFELs, and SELs. The model introduced here assigned a significantly higher number of CEL types compared to the studies referenced in Section 1. It also considered a wide variety of time intervals for each CEL, as shown in Tables 9 and 10. The methodology developed in this paper is based on classical optimization techniques and is divided into two stages. In the first stage, the exhaustive search method was implemented to select the most cost-efficient load scheduling options for each user. In the second stage, the local search method was employed to combine the solutions obtained in the first stage and find a joint solution with a flatter consumption curve and the lowest electricity cost.

Two scenarios were evaluated: the base case, where users manage their loads at their convenience without considering dynamic energy prices, and the optimized case, which uses an algorithm to reduce both peak demand and costs for users. By comparing the demand curves of the two scenarios, several response strategies were identified, such as peak shaving, valley filling, strategic conservation, and load shifting from higher-priced to lower-priced hours. It was also observed that, due to the autonomy given to users in selecting hourly ranges for their daily load schedules and the shifting of these loads to lower-priced hours, peak demand increased for 58.33 % of users in the optimized case compared to the base case. However, the model’s constraints ensured that this increase did not cause issues at either the individual or collective level, leading to a moderate flattening of the load curve according to the PAR indicator, all without exceeding the established limits.

In addition, the proposed MUMCEL demonstrated optimal results, effectively reducing electricity costs and peak demand during higher-priced periods both at the individual and collective levels, which translates into a positive overall impact. The model successfully found a solution within 25 minutes, considering nine to twelve CELs for 60 users—a significantly large number of variables that has not been addressed in other studies. This performance underscores the importance of using a straightforward model like the one developed in this study, as it effectively manages multiple users and variables with lower computational effort compared to more complex algorithms.

It is also noteworthy that if users seek further cost minimization or if the implemented model exceeds the specified constraints, this could require a higher level of sacrifice in terms of customer comfort or potentially damage the home’s electrical infrastructure. However, as emphasized in this paper, the model is designed to avoid negatively impacting these aspects, instead aiming to provide flexibility in load scheduling, allowing users to adjust their preferences according to their needs and comfort levels.

Nevertheless, some limitations were identified in the model, such as the restricted number of CELs per household and the selection of IFELs with extended usage times. These factors lead to an excess of data in the exhaustive search, which in turn reduces the speed of information processing during simulation. Consequently, in the multi-user stage, the local search method is employed instead of the exhaustive search, as it is more efficient, albeit at the expense of finding only local solutions.

In conclusion, this study demonstrated that the proposed MUMCEL, through CELS, can optimally manage power demand in smart homes. It successfully flattened the demand curve, reduced peak power by 11.49 %, and achieved average savings of 4.94 %, all without significantly affecting customers’ habits. These results pave the way for further research in the field of residential energy management and highlight the importance of engaging users as active participants in demand optimization.

For future work in this field, the following considerations are suggested: (i) Incorporating a larger number of users (e.g., a neighborhood) while maintaining a balance between reducing electricity costs, flattening the load curve, and preserving customer comfort. This also includes adding other types of loads with different characteristics and variables and exploring the possibility of including industrial and commercial sectors in the CELS model. (ii) Integrating EV charging points, energy storage devices, and non-conventional energy sources into the algorithm. (iii) Investigating the application of other optimization algorithms for CELS in a multi-user context. (iv) Extending load scheduling to longer time periods (e.g., weeks, months) while taking the above considerations into account. Additionally, it is recommended to explore the Colombian regulatory framework related to the use of non-conventional energy sources, the benefits of selling surplus energy, and the adoption of smart grid technologies.

Supplementary material
Additional information

How to cite / Cómo citar: N. M. Bejarano, F. D. Moya Chaves, and O. D. Montoya, “Optimization Model for Collective Energy Demand Management in Smart Homes,” TecnoLógicas, vol. 27, no. 60, e3014, 2024. https://doi.org/10.22430/22565337.3014

REFERENCES
[1] M. Pipattanasomporn, M. Kuzlu, and S. Rahman, “An Algorithm for Intelligent Home Energy Management and Demand Response Analysis,” IEEE Trans Smart Grid, vol. 3, no. 4, pp. 2166–2173, Jun. 2012. https://doi.org/10.1109/TSG.2012.2201182
[2] R. Jovanovic, A. Bousselham, and I. S. Bayram, “Residential Demand Response Scheduling with Consideration of Consumer Preferences,” Applied Sciences, vol. 6, no. 1, p. 16, Jan. 2016. https://doi.org/10.3390/app6010016
[3] S. Janocha B., S. S. Baum, and I. Stadler, “Cost minimization by optimization of electricity generation and demand side management,” in 2016 International Energy and Sustainability Conference (IESC), Cologne, Germany, 2016, pp. 1-7. https://doi.org/10.1109/IESC.2016.7569489
[4] A. R. Jordehi, “Optimisation of demand response in electric power systems, a review,” Renewable and Sustainable Energy Reviews, vol. 103, pp. 308–319, Apr. 2019. https://doi.org/10.1016/J.RSER.2018.12.054
[5] S. N. Bragagnolo, J. C. Vaschetti, and F. Magnago, “A Technical and Economic Criteria Comparison on Demand Side Management with Multi-Level Optimization Model,” IEEE Latin America Transactions, vol. 19, no. 9, pp. 1494–1501, Jun. 2021. https://doi.org/10.1109/TLA.2021.9468442
[6] A. C. Duman, Ö. Güler, K. Deveci, and Ö. Gönül, “Residential load scheduling optimization for demand-side management under time-of-use rate,” in 2018 6th International Istanbul Smart Grids and Cities Congress and Fair (ICSG), Istanbul, Turkey, 2018, pp. 193-196. https://doi.org/10.1109/SGCF.2018.8408971
[7] F. Y. Melhem, O. Grunder, Z. Hammoudan, and N. Moubayed, “Energy Management in Electrical Smart Grid Environment Using Robust Optimization Algorithm,” IEEE Trans Ind Appl, vol. 54, no. 3, pp. 2714–2726, Feb. 2018. https://doi.org/10.1109/TIA.2018.2803728
[8] G. Huang, J. Yang, and C. Wei, “Cost-Effective and Comfort-Aware Electricity Scheduling for Home Energy Management System,” in 2016 IEEE International Conferences on Big Data and Cloud Computing (BDCloud), Social Computing and Networking (SocialCom), Sustainable Computing and Communications (SustainCom) (BDCloud-SocialCom-SustainCom), Atlanta, GA, USA, 2016, pp. 453-460. https://doi.org/10.1109/BDCloud-SocialCom-SustainCom.2016.73
[9] A. M. Vega Escobar, “Gestión de la energía eléctrica domiciliaria con base en la gestión activa de la demanda,” Ph.D. tesis, Universidad Distrital Francisco José de Caldas, Bogotá, Colombia, 2018. [Online]. Available: http://hdl.handle.net/11349/7587
[10] A. Ouammi, “Optimal Power Scheduling for a Cooperative Network of Smart Residential Buildings,” IEEE Trans Sustain Energy, vol. 7, no. 3, pp. 1317–1326, Mar. 2016. https://doi.org/10.1109/TSTE.2016.2525728
[11] A. R. S. Vidal, L. A. A. Jacobs, and L. S. Batista, “An evolutionary approach for the demand side management optimization in smart grid,” in 2014 IEEE Symposium on Computational Intelligence Applications in Smart Grid (CIASG), Orlando, FL, USA, 2014, pp. 1-7. https://doi.org/10.1109/CIASG.2014.7011561
[12] Á. R. Restrepo, S. E. Nope, and D. E. Enríquez, “Beneficios Económicos de la Gestión de la Demanda y la Energía Autogenerada en el Contexto de la Regulación Colombiana,” CIT Información tecnológica, vol. 29, no. 1, pp. 105–116, Feb. 2018. https://doi.org/10.4067/S0718-07642018000100105
[13] D. H. Ruiz Amaya, “Optimización de recursos energéticos a partir de la utilización de un der y de la integración de equipos de automatización,” M.S. tesis, Pontificia Universidad Javeriana, Bogotá, Colombia, 2015. [Online]. Available: https://doi.org/10.11144/Javeriana.10554.16812
[14] M. Amer, A. Naaman, N. K. M'Sirdi, and A. M. El-Zonkoly, “Smart home energy management systems survey,” in International Conference on Renewable Energies for Developing Countries 2014, Beirut, Lebanon, 2014, pp. 167-173. https://doi.org/10.1109/REDEC.2014.7038551
[15] I. Gupta, G. N. Anandini, and M. Gupta, “An hour wise device scheduling approach for demand side management in smart grid using particle swarm optimization,” in 2016 National Power Systems Conference (NPSC), Bhubaneswar, India, 2016, pp. 1-6. https://doi.org/10.1109/NPSC.2016.7858965
[16] J. S. Gómez Marín, S. X. Carvajal, and A. Arango Manrique, “Programas de gestión de demanda de electricidad para el sector residencial en Colombia: Enfoque Sistémico,” Energética, Jul. 2015. https://repositorio.unal.edu.co/handle/unal/64269
[17] L. Sheng-Kai, and C. Chao-Rong, “Optimal energy consumption scheduling in home energy management system,” in 2016 International Conference on Machine Learning and Cybernetics (ICMLC), Jeju, Korea (South), 2016, pp. 638-643. https://doi.org/10.1109/ICMLC.2016.7872962
[18] F. D. Moya Chavez, L. C. P. Da Silva, and J. C. Lopez A., “A Mathematical Model for the Optimal Scheduling of Smart Home Electrical Loads,” WSEASTransactions on Power Systems, Jan. 2018. https://repositorio.usc.edu.co/items/cf5777b3-948e-4561-98a0-d01b30d47592
[19] Y. Wang, C. Hao, and T. Yoshimura, “A particle swarm optimization and branch and bound based algorithm for economical smart home scheduling,” in 2017 IEEE 60th International Midwest Symposium on Circuits and Systems (MWSCAS), Boston, MA, USA, 2017, pp. 213-216. https://doi.org/10.1109/MWSCAS.2017.8052898
[20] E. Moreno Soto, “Análisis de la flexibilidad de la demanda en usuarios residenciales,” M.S. tesis, Universidad Nacional de Colombia, Bogotá, Colombia, 2021. [Online]. Available: https://repositorio.unal.edu.co/handle/unal/80431
[21] S. N. Bragagnolo, J. C. Vaschetti, F. Magnago, and J. C. Gomez-Targarona, “Gestión de la demanda en las redes inteligentes. Perspectiva y control desde el usuario y la distribuidora,” CIT Información tecnológica, vol. 31, no. 3, pp. 159–170, Jun. 2020. https://doi.org/10.4067/S0718-07642020000300159
[22] F. D. Moya Ch., J. C. Lopez A., and L. C. P. da Silva, “Model for smart building electrical loads scheduling,” in 2016 IEEE 16th International Conference on Environment and Electrical Engineering (EEEIC), Florence, Italy, 2016, pp. 1-6. https://doi.org/10.1109/EEEIC.2016.7555639
[23] F. D. Moya, Ch., L. C. P. da Silva, J. C. Lopez A., and P. Vergara B., “GRASP model for smart home electrical loads scheduling,” in 2015 International Energy and Sustainability Conference (IESC), Farmingdale, NY, USA, 2015, pp. 1-6. https://doi.org/10.1109/IESC.2015.7384384
[24] M. J. Kochenderfer, and T. A. Wheeler, “Linear Constrained Optimization” in Algorithms for Optimization. London, England: The MIT Press, 2019, pp 189-206. https://mitpress.mit.edu/9780262039420/algorithms-for-optimization/
[25] H. T. Dinh, and D. Kim, “An Optimal Energy-Saving Home Energy Management Supporting User Comfort and Electricity Selling with Different Prices,” IEEE Access, vol. 9, pp. 9235–9249, Jan. 2021. https://doi.org/10.1109/ACCESS.2021.3050757
[26] M. Á. Dávila, “Desarrollo de un algoritmo de gestión de la demanda energética de un cargador residencial de baterías para vehículos eléctricos en un escenario de tarificación en tiempo real,” M.S. tesis, Universidad Distrital Francisco José de Caldas, Bogotá, Colombia, 2021. [Online]. Available: http://hdl.handle.net/11349/29308
[27] D. G. Rossit, S. Nesmachnow, J. Toutouh, and F. Luna, “Scheduling deferrable electric appliances in smart homes: a bi-objective stochastic optimization approach,” Mathematical Biosciences and Engineering, vol. 19, no. 1, pp. 34–65, 2022. https://doi.org/10.3934/mbe.2022002
[28] S. Montaña, and C. A. Correa-Florez, “Programación óptima de cargas eléctricas flexibles a nivel residencial en tiempos de Covid-19,” INGE CUC, vol. 17, no. 1, pp. 49–68, 2021. https://hdl.handle.net/11323/10286
[29] N. D. Rahate, and N. Kinhekar, “Demand side management for household equipment's,” in 2017 International Conference on Information, Communication, Instrumentation and Control (ICICIC), Indore, India, 2017, pp. 1-5. https://doi.org/10.1109/ICOMICON.2017.8279108
[30] O. Oladeji, and O. O. Olakanmi, “A genetic algorithm approach to energy consumption scheduling under demand response,” 2014 IEEE 6th International Conference on Adaptive Science & Technology (ICAST), Ota, Nigeria, 2014, pp. 1-6. https://doi.org/10.1109/ICASTECH.2014.7068096
[31] D. Borges Vasconcellos, P. Puch González, and G. Frías González, “Control de demanda eléctrica aplicando algoritmos genéticos,” Ingeniare, Revista chilena de ingeniería, vol. 25, no. 3, pp. 389–398, sep. 2017. https://doi.org/10.4067/S0718-33052017000300389
[32] N. Pavithra, and B. P. Esther, “Residential demand response using genetic algorithm,” in 2017 Innovations in Power and Advanced Computing Technologies (i-PACT), Vellore, India, 2017, pp. 1-4. https://doi.org/10.1109/IPACT.2017.8245143
[33] I. O. Essiet, Y. Sun, and Z. Wang, “Optimized energy consumption model for smart home using improved differential evolution algorithm,” Energy, vol. 172, pp. 354–365, Apr. 2019. https://doi.org/10.1016/j.energy.2019.01.137
[34] V. J. Gutierrez-Martinez, C. A. Moreno-Bautista, J. M. Lozano-Garcia, A. Pizano-Martinez, E. A. Zamora-Cardenas, and M. A. Gomez-Martinez, “A Heuristic Home Electric Energy Management System Considering Renewable Energy Availability,” Energies, vol. 12, no. 4, p. 671, Feb. 2019. https://doi.org/10.3390/en12040671
[35] W. Guzman, S. Osorio, and S. Rivera, “Modelado de cargas controlables en el despacho de sistemas con fuentes renovables y vehículos eléctricos,” Ingeniería y Región, vol. 17, p. 49, Jun. 2017. https://doi.org/10.25054/22161325.1535
[36] R. A. Hincapié Isaza, “Optimización binivel aplicada al problema de la planeación de redes eléctricas de media y baja tensión,” Ph.D. tesis, Universidad Tecnológica de Pereira, Pereira, Colombia, 2017. [Online]. Available: https://repositorio.utp.edu.co/handle/11059/8479
[37] C. Henggeler Antunes, M. J. Alves, and B. Ecer, “Bilevel optimization to deal with demand response in power grids: models, methods and challenges,” TOP, vol. 28, no. 3, pp. 814–842, Oct. 2020. https://doi.org/10.1007/s11750-020-00573-y
[38] P. Carrasqueira, M. J. Alves, and C. H. Antunes, “Bi-level particle swarm optimization and evolutionary algorithm approaches for residential demand response with different user profiles,” Information Sciences, vol. 418–419, pp. 405–420, Dec. 2017. https://doi.org/10.1016/j.ins.2017.08.019
[39] M. Fan-Lin, and Z. Xiao-Jun, “An optimal real-time pricing for demand-side management: A Stackelberg game and genetic algorithm approach,” in 2014 International Joint Conference on Neural Networks (IJCNN), Beijing, China, 2014, pp. 1703-1710. https://doi.org/10.1109/IJCNN.2014.6889608
[40] M. Fan-Lin, and Z. Xiao-Jun, “A bilevel optimization approach to demand response management for the smart grid,” in 2016 IEEE Congress on Evolutionary Computation (CEC), Vancouver, BC, Canada, 2016, pp. 287-294. https://doi.org/10.1109/CEC.2016.7743807
[41] F. Wang et al., “Multi-Objective Optimization Model of Source–Load–Storage Synergetic Dispatch for a Building Energy Management System Based on TOU Price Demand Response,” IEEE Trans Ind Appl, vol. 54, no. 2, pp. 1017–1028, Dec. 2017. https://doi.org/10.1109/TIA.2017.2781639
[42] D. Ferrer Valencia, “Desarrollo de un algoritmo de optimización basado en búsqueda local guiada para el problema de minimización en la huella de carbono en el ruteo de vehículos heterogéneos,” M.S. tesis, Universidad Nacional de Colombia, Bogotá, Colombia, 2023. [Online]. Available: https://repositorio.unal.edu.co/handle/unal/84862
[43] Comisión de Regulación de Energía y Gas (CREG), “Estrategias para la implementación de esquemas de señales de precios y cargos horarios a los usuarios finales en el SIN, para ser utilizados en programas de respuesta de la demanda,” creg.gov.co Accessed: Feb. 28, 2024. [Online]. Available: https://creg.gov.co/publicaciones/15313/estrategias-para-la-implementacion-de-esquemas-de-senales-de-precios-y-cargos-horarios-a-los-usuarios-finales-en-el-sin-para-ser-utilizados-en-programas-de-respuesta-de-la-demanda/
[44] A. Gargallo Tatay, “Medición y análisis del consumo de energía eléctrica en los receptores domésticos en condiciones reales de funcionamiento: Aplicación a una vivienda unifamiliar,” Tesis de grado, Universitat Politécnica de Valencia, Valencia, España, 2018. [Online]. Available: https://riunet.upv.es:443/handle/10251/106520
[45] Lucera. “Eficiencia Energética.” lucera.es. Accessed: Feb. 28, 2024. [Online]. Available: https://lucera.es/blog/cuanto-consumen-electrodomesticos
[46] COPELCO. “CONOCÉ, AHORRÁ, CUIDÁ - Recomendaciones para el buen uso de energía eléctrica.” copelco.coop. Accessed: Feb. 28, 2024. [Online]. Available: https://www.copelnet.com.ar/informacion-de-interes/energia/consumo-de-artefactos-electricos
[47] Endesa. “Cuánta energía consume un termo eléctrico.” endesa.com. Accessed: Feb. 28, 2024. [Online]. Available: https://www.endesa.com/es/blog/blog-de-endesa/consejos-de-ahorro/cuanta-energia-consume-termo-electrico
[48] Ministerio de Economía. “Consumo básico de electrodomésticos.” argentina.gob.ar. Accessed: Feb. 28, 2024. [Online]. Available: https://www.argentina.gob.ar/enre/uso-eficiente-y-seguro/consumo-basico-electrodomesticos
[49] A. Daza Urrego, and L. M. Nieto Gutiérrez “Manual práctico de condiciones para instalaciones de sistemas solares fotovoltaicos para suplir cargas demandadas de estrato 3 a 6 en viviendas unifamiliares de Bogotá,” Tesis de grado, Universidad Distrital Francisco José de Caldas, Bogotá, Colombia, 2019. [Online]. Available: http://hdl.handle.net/11349/15575
[50] CIME Power Systems. “Tablas de consumo eléctrico.” cimepowersystems.com.mx. Accessed: Feb. 28, 2024. [Online]. Available: http://www.cimepowersystems.com.mx/wp-content/uploads/2011/10/Tabla-de-consumos.pdf
[51] K. A. Hernández Hernández, and J. S. Carrillo Cruz, “Análisis de la curva de demanda eléctrica para usuarios residenciales estrato 4 en la ciudad de Bogotá ante diferentes escenarios de los hábitos de consumo,” Tesis de grado, Universidad Distrital Francisco José de Caldas, Bogotá, Colombia, 2017. [Online]. Available: http://hdl.handle.net/11349/5838
[52] E. D. Romero Villamil, and S. A. Osorio Huertas, “Curva de demanda de energía eléctrica en sector residencial estrato tres de Bogotá D.C. mediante caracterización por redes neuronales artificiales,” Tesis de grado, Universidad Distrital Francisco José de Caldas, Bogotá, Colombia, 2021. [Online]. Available: http://hdl.handle.net/11349/26755
[53] Reglamento Técnico de Instalaciones Eléctricas – RETIE, Resolución 9-0708 de 2013, Ministerio de Minas y Energía, Colombia, 2013. [Online]. Available: https://www.minenergia.gov.co/documents/3809/Anexo_General_del_RETIE_vigente_actualizado_a_2015-1.pdf
Notes
Notes
6. ACKNOWLEDGEMENTS AND FUNDING:

This study did not receive funding from any public or private institution. The authors would like to thank the Universidad Distrital Francisco José de Caldas for their support in providing access to bibliographic material and the MATLAB® license.

CONFLICTS OF INTEREST The authors declare that they have no financial, professional, or personal conflicts of interest related to the publication of this article.
AUTHOR CONTRIBUTIONS Nelson Mauricio Bejarano-Bejarano: Research, methodology, design and programming of the optimization algorithms, writing, revision, and editing.

Francisco David Moya Chaves: Conceptualization, methodology, revision, writing, suggestions, and editing.

Óscar Danilo Montoya Giraldo: Conceptualization, writing, suggestions, editing, and final revision of the paper.

STATEMENT ON IA ASSISTANCE During the preparation of this manuscript, the authors used ChatGPT to assist with the writing process, including spelling, grammar, and style improvements. After employing this tool, the authors carefully reviewed and edited the content as necessary and take full responsibility for the final content of the publication.
Author notes

nmbejaranob@udistrital.edu.co

Table 1
Studies that have employed particle swarm optimization for demand management

Source: own elaboration.
Table 2
Studies that have employed bilevel optimization algorithms for demand management

Source: own elaboration.
Table 3
Studies that have employed bilevel optimization algorithms for demand management

Source: own elaboration.
Table 4.
Nomenclature used in the mathematical model.

Source: own elaboration.
Table 5.
Sets included in the mathematical.

Source: own elaboration.
Table 6.
Parameters included in the mathematical model.

Source: own elaboration.
Table 7.
Variables included in the mathematical model.

Source: own elaboration.
Table 8
Hourly rates

Source: data obtained from the analysis of tariffs for end users in demand response programs in Colombia [43]. COP: Colombian peso (2020).
Table 9
Parameters for UFELs and IFELs

Source: own elaboration. Note: Data presented in this table were taken from different sources, including [44]–[50], and were organized by the authors.
Table 10
Parameters for SELs

Source: own elaboration. Note: Data presented in this table were taken from different sources, including [44]–[50], and were organized by the authors.
Table 11
Power of the NCELS

Source: own elaboration.
Table 12
Stages of the MUMCEL simulation

Source: own elaboration.

Figure 1.
Flow diagram of the proposed optimization process.
Source: own elaboration.

Figure 2.
Unoptimized load profile and CEL schedule for User (a).
Source: own work.

Figure 3.
Unoptimized load profile vs. optimized load profile for four users.
Source: own work.
Table 13
Peak active power analysis results for five users

Source: own elaboration.
Table 14
Electricity costs for the five users

Source: own elaboration.

Figure 4.
Load profile of the 60 users.
Source: own work.

Figure 5.
Comparison of electricity costs per user.
Source: own work.

Figure 6.
Percentage of electricity cost savings for the 60 users.
Source: own elaboration.
Table 15.
General results for the evaluated users.

Source: own elaboration.
Buscar:
Contexto
Descargar
Todas
Imágenes
Scientific article viewer generated from XML JATS by Redalyc