Optimal Demand Response of Smart Home with PV Generators
Demand response (DR) is used mainly to help to schedule a customer’s power utilization based on the electricity price that is announced by the power distribution company so that both demand and supply can optimally benefit. The work proposes a users’ load model and the interior point method for optimal scheduling with elastic power utilization to minimize power price. The interior point method has the advantages of rapid convergence and robustness. Customers can not only use PV generators and battery sets as backup power sources, but also benefit from green energy. As revealed by the results herein, the use of elastic power utilization time intervals enables customers to pay less power price.
With population growth and the continuously increasing demand for energy, international energy prices are rising substantially. Limited resources create a supply-demand imbalance in power systems. Therefore, power rationing in the summer is becoming increasingly possible, causing great inconvenience. Since most traditional industries have already given way to hi-tech industry, the stable supply of power to factories and production lines is important to businesses, and the enormous losses that are caused by power outages must be avoided. Hence, power companies must build more power plants and increase supply capacity, thus leading to increasing environmental pollution. Therefore, power companies are greatly concerned with stable and reliable power supply. The DR framework that is proposed in this study can be utilized to solve such problems.
Demand response (DR) is a method for dynamically adjusting the price of electricity that is used by power suppliers; it enables the power utilization characteristics of customers to be tuned, reducing the total power price and mitigating pressure on the power supply at peak times . Advanced metering infrastructure (AMI) enables both demand and supply sides to transmit power utilization and power price information; the power distribution company (PDC) thus alters the power price according to supply or the priority of power facilities, causing customers to change their power consumption habits from normal power usage habits. Therefore, both the PDC and customers can reach great efficacy from such a framework. For customers, power utilization in the peak loading period can be shifted to other intervals when the price is lower to reduce the total power price [2–4]. Not only can the power utilization in the peak period be reduced, but also customers’ hourly loading requirements can be precisely controlled, and PDC can respond quickly to changes in electricity price.
DR has become a popular issue in recent years, and several researchers have engaged in related research [5–10]. Various DR frameworks have been detailed . To optimize the efficacy of DR, customers’ power utilization curves were proposed to be divided into flat, average, and multiple-peak curves. Any changes (such as power price minimization) should not affect the quality of life of the customers. Dynamic pricing strategy and possible related system installation problems are addressed. Kirschen  proposed the use of electricity pricing flexibility to mitigate problems in the power market, but his method depends on massive active participation by customers to be optimally effective, limiting its implementation. The interruption contract method gives power companies more time to deal with emergent incidents concerning power generators and compensates customers when their power supply is interrupted. Ruiz et al.  proposed the virtual power plant (VPP) concept to schedule thermal appliances (air-conditioning, electric radiators). The proposed algorithm framework has been used in a power system in northern Spain, and simulations have revealed that optimal power utilization scheduling can be achieved in a particular control period, negotiation times between power companies and customers can be reduced, and demand and supply can be balanced. Black and Tyagi  noted that possible problems could arise when various pricing methods are used to perform scheduling for customers with large power utilization. In dynamic electricity pricing, customers reduce power utilization in higher price intervals, shifting it to lower price intervals. As a result, load predictions must be repeated and generators dispatched to cope with the additional power demand. If prices in the urgent peak periods are too great, then instant load transfer may occur, causing the subpeak phenomenon, which leads to instability of the generating system.
Palensky and Dietrich  divided demand management into areas concerned with energy efficiency, energy controllers, demand response, the distributed spinning reserve, demand shifting, and virtual power plants. They described in detail the advantages and features of various management approaches and proposed that DR be combined with other demand end management approaches to optimize efficacy. Chen et al.  proposed that to optimize the efficacy of DR, demand management, electricity price setting, and the prediction of power utilization and renewable energy generation must be properly performed. The main approaches to DR involve a power distribution company’s negotiation of pricing with every customer and the customers’ optimizing their power utilization scheduling according to the pricing that is announced by the power distribution company. However, Mohsenian-Rad et al.  proposed that such a negotiation may not optimize system power utilization, but the power utilization of each customer must be considered to optimize the efficacy of the DR strategy and to reduce the peak-to-average ratio (PAR).
A high-quality, highly reliable power grid system with efficient use of energy-related equipment enables power companies to monitor precisely customers’ real-time power utilization and control power supply/distribution. The establishment of such a system can be begun by promoting the installation of AMIs. AMIs include Smart Meters, communication systems, and a Meter Database Management System (MDMS); they can eliminate the need for traditional manual meter readings, provide information on user energy utilization, promote spontaneous energy saving, and reduce price.
Electricity pricing methods can be divided into Critical-Peak Pricing (CPP), Time-of-Use Pricing (TOU), and Real-Time Pricing (RTP) methods . RTP is more flexible than the other two methods because it allows prices to change hourly and therefore can reflect fuel cost and market pricing . However, customers with high power utilization (such as companies and schools) can be overcome to optimize efficacy.
In recent years, several home appliance manufacturers, such as LG, Panasonic, and Samsung, have been actively promoting smart home appliances, which support the implementation of the DR strategy . Smart home appliances usually receive power pricing information from suppliers in real time through a home energy management system (EMS), which automatically plans optimal hourly power utilization, enabling customers to have their appliances consume power in preferred intervals .
The literature includes several approaches to power utilization scheduling to minimize power price. The matter of metaheuristic algorithm  uses simulated annealing (SA), and the application of the concept of the “third party” to customer power utilization scheduling has been proposed. Since both power companies and customers have their own objectives, which are to minimize the power price and the operating cost of generators, a question arises regarding whether social benefit can be optimized given customers’ optimization of power utilization scheduling and the power companies’ equipment, manpower, and spanning cost. This study achieves these factors indirectly.
Particle swarm optimization (PSO)  is used to solve the scheduling problem for the power distribution system for household users, and the original cooperative particle swarm optimization (CPSO) is improved upon by the development of coevolutionary particle swarm optimization (CPSO). A random particle is added, so the original singular scheduling optimization can be expanded to multiple customers’ scheduling optimization, and the efficacy of distribution end scheduling optimization can be improved. The Hybrid Genetic Algorithm  is adopted to solve the problem of scheduling multiple machines that operate in parallel in a factory. The weighting concept can be applied to reduce the cost to the factory, wasted energy, and polluting emissions.
Samadi et al.  and Li et al.  proposed the gradient concept. When dynamic pricing negotiation is performed, power usage is multiplied by a stepping variable to the negotiated prices to converge. The variable falls gradually as the negotiation time increases, so the problem that the power rate fails to converge stably can be solved.
Owing to the high efficiency of customers’ power utilization, linear programming (LP) has been extensively discussed by researchers. Kurucz and Brandt  described direct loading control planning to reduce the power usage in the system peak period, and they conducted simulations of the usage of power by a lamp company in Florida. Kah-Hoe and Sheblé  noted that after power market control is removed, the loading control strategy that is directly based on benefits becomes more favored. Conejo et al. combined a simple LP algorithm  with EMS to enable customers to negotiate pricing with power distribution companies on an hourly basis, with the goal of optimizing the scheduling of power utilization and pricing. Simulation results demonstrate that the efficacy of customers’ strategy can be optimized and their cost of energy minimized. The application of mixed integer linear programming  (MILP) to customer power utilization scheduling has been proposed. When a home energy controller is used to categorize home appliances, economical efficacy can be improved and PAR reduced.
In recent years, the proportion of power that has been generated from renewable resources has gradually increased. Output stabilization and predictability are serious issues. Increasing energy storage can reduce variations in the amplitude of the generated power, reduce power usage on-peak and off-peak, compensate for uncertainty in renewable power output, and improve the quality of the power supply. Energy storage systems in the grid can be loaded off-peak and power can be acquired from the grid for recharging. During the peak period, the energy storage equipment supplies the power, improving the system’s power supply stability.
The batteries in an energy storage system are small in size, respond rapidly, and provide flexibility in capacity planning; they are therefore widely used. Lithium-iron phosphate (LiFePO4)  batteries have a large power density, a long operating lifetime, and high safety. Hence, in this study, LiFePO4 batteries are used to optimize customers’ power utilization scheduling.
Studies of DR and energy storage equipment have neglected important issues, which are addressed herein, as follows.(1)A power distribution company may announce hourly electricity price, but electricity price information is not sufficient. This study provides a curve of electricity price as a function of total power usage by customers. This curve provides detailed power usage information for power utilization scheduling.(2)The study of power utilization scheduling considers battery sets. Battery sets improve the reliability of the power supply, eliminating concern about power rationing, reducing the power rate, and solving the peak power usage problem.
2. System Model
The system model includes a power distribution company and customers with PV generators and AMI installed. The power distribution company summarizes its customers’ total power usage and then purchases power in the market, which it sells to these customers. The selling price includes the costs of power generation, power transmission, and power distribution. The customers’ hourly total power usage is related to the electricity price and represented as a function of amount of loading. As the customers’ power usage increases, electricity price will increase, and the loading curve is used to approximate the weighted hourly electricity price. Therefore, a curve of total electricity price as a function of power usage for 24 h can be plotted.
Power utilization is divided into inelastic and elastic utilization. For inelastic power utilization, such as refrigerators and electric water heaters, their use time is fixed; elastic power utilization refers to usage time that varies with electricity pricing, such as electric cars or handset batteries. In off-peak periods, batteries are recharged; in peak periods, they supply their own power. Customers can vary their elastic power use and battery charging and recharging times. The mathematical model of this study will be described below. The power distribution company alters electricity pricing in response to customers’ power usage, and customers conduct power utilization scheduling according to the electricity price.
The control variables for optimizing customers’ 24 h power utilization scheduling are elastic power usage and battery charging and recharging amount. Limiting conditions are power usage and battery-related use limits. The objective function is the minimization of customers’ electricity price and cost of battery operating loss as follows: where is the total power usage that is announced by the power distribution company, based on the electricity pricing curve at time . is customers’ inelastic power usage used at time . is customers’ elastic power usage at time . is customers’ battery charge/recharge volume at time . is cost to customers of using battery.
Constraints are as follows.(1) The elastic power utilization limits are given by where is contracted capacity made available to customers by power distribution companies. is customers’ hourly minimum elastic power usage limit. is customers’ hourly maximum elastic power usage limit. is customers’ 24 h total elastic power usage limit.(2)Equation (3) yields the total power usage limit: (3)Equation (4) specifies the limits on the battery charging and discharging: where is the battery discharging limit. is the battery charging limit.(4)Equation (5) presents the limits on the charge of a battery: where is the lower bound on the charge of the battery. is the upper bound on the charge of the battery.(5)Equation (6) provides the initial condition on charge of battery: (6)Equation (7) provides the final change state of the battery: (7)Equation (8) provides the power usage efficiency of the battery: (8)Equation (9) gives the charge state as a function of batteries: (9)Equation (10) gives the cost of battery operation and electricity. The terms , , , and are all constants:
This section investigates the methods including the genetic algorithm and the interior point method. The section also elucidates how these methods are used to solve the customers’ 24 h optimal power utilization scheduling problem.
The procedure for solving the customers’ 24 h power utilization scheduling problem using the genetic algorithm  is shown below.
3.1. Genetic Algorithm
(1)Set parameters.(a)Power distribution company: total power usage corresponding to given power pricing curve and 24 h electricity price weighted coefficient.(b)Customers: the constant of (2) and (3).(c)Customers’ battery constant of (4)–(10).(2)Customers perform power utilization scheduling based on electricity pricing weighted curve announced by power distribution company.(3)Randomly generate initial population. Elastic power usage amount as control variable of customer’s 24-hour power scheduling.(4)Find the fitness function value of (1).(5)Determine whether the termination condition has been reached. If yes, present the customer’s optimal 24-hour power usage schedule. If not, perform the next step.(6)Based on the elitism rule, duplicate the parent chromosomes to the next generation.(7)Based on the crossover rate, use roulette wheel selection to select chromosomes from the parent generation for duplication, crossover, and mutation.(8)Treat the chromosomes that are generated in steps and as the new parent population, and return to step .
3.2. Interior Point Method
In 1984, Karmarkar  presented the primal-dual IPM (PDIPM), which is an algorithm for continued nonlinear planning. The theoretical basis of the interior point method includes three other important methods: the barrier function method of Fiacco & McCormick is used to solve the problem under nonequality limiting conditions; the Lagrange equation is used to solve optimization problem of equality limiting conditions; Newton iterative method is used to solve a set of nonlinear equations without limiting conditions . The application of the PDIPM to the customers’ 24-hour power utilization scheduling problem will be described in detail below.(1)Set parameters.(2)Customers perform power utilization scheduling based on the electricity price weighted curve that is announced by the power distributing company.(3)Determine whether the maximum number of iterations has been reached. If yes, present the customer’s optimal 24-hour power usage schedule and stop. If not, perform step .(4)Calculate the intercompensation gap, given by where : slack variable; : Lagrange multiplier; and : constraint number.(5)Determine whether the intercompensation gap is less than the tolerance. If so, present the customer’s optimal 24-hour power usage schedule and stop. If not, perform step .(6)Calculate the disturbance factor, given by where : central parameter.(7)Use the Lagrange function to infer and combine the objective function and constraints, and use the Newton method to transform to the disturbance Karush-Kuhn-Tucker (KKT) equation (15). The objective function is (1), and the constraints are (2)–(10). Control variables are elastic power usage and battery charge/discharge volume: where where is the residual disturbance KKT equation; is the objective function; is the equality constraint; is the nonequality constraint; is a diagonal matrix; is a Hessian matrix that comprises, or is composed of, or consists of the objective function and the equality and nonequality constraints; is the barrier matrix; is the unit matrix, and is the Lagrange index.(8)Solve (13)–(15) for the slack variable between the Lagrange multiplier and the control variables.(9)Solve the maximum step length among the original and dual space according to the following: (10)Update original and dual variables using (11)Return to step .
4. Case Study
This work includes the simulation of power utilization scheduling for a specific community, given total power usage in one day. The power distribution company announces 24-hour electricity prices and weighted coefficients through AMI to customers. Customers’ power usage is composed of inelastic power, elastic power, PV generator prediction, and LiFePO4 battery.
The battery sets are backup power supply for increasing power supply reliability, rather than for power use scheduling, so the cost of setting up the battery is not considered; only the operating cost of the battery is considered.
The objection function is (1), which is used to compare schedules and electricity rates with and without the DR strategy which involves flexible power use based on electricity pricing. The details of scenarios are as follows.(A)Customers’ power use scheduling does not exploit the DR strategy.(1)Hourly elastic power usages are all equal.(2)Hourly total power usages are all equal.(B)Customers’ power use scheduling exploits the DR strategy.(1)Battery is not installed.(2)Battery is installed; operating cost is considered.
Initial data related to the customers’ power use scheduling problem are presented below.(A)Power distribution company.(1)The curve for total power usage as a function of electricity pricing, plotted in Figure 1, which can be approximated as a cubic equation, given by where is total power usage. is unit power price.(2)24-hour electricity pricing weighted coefficient shown in Figure 2.(B)Customers.(1)Hourly inelastic power usage, PV power generation as shown in Figure 3.(2)Power use scheduling data presented in Table 1.(3)Battery capacity and charging limits given in Table 2.(4)Battery operating loss cost coefficient presented in Table 3.(5)Genetic algorithm parameters presented in Table 4.
5.1. DR Strategy Not Used
The benefit of changing power use habits is related to personal preferences, and to a factor that specifies whether customers will use a DR strategy to perform power use scheduling. If the inducement to change power use habits is not sufficient, then customers will not do so. A possible power use scheduling method of customers who do not use the DR strategy is as follows.
Figure 4 displays identical customers’ hourly flexible power usage schedules. Since the hourly flexible power usages are identical, the total power usage and nonflexible power usage are related by a constant ratio. Figure 5 displays identical customers’ hourly total power usage schedules. The total nonflexible power usage and the flexible power usage have an inverse relationship.
5.2. DR Strategy Adopted
To reduce the cost of electricity, customers may adjust their power usage habits. Power use scheduling is simulated with and without an installed battery, and the battery operating cost is considered.
5.2.1. Battery Set Not Installed
Figures 6 and 7 display the results of using the IPM and GA to simulate customers’ 24-hour power use scheduling without a battery. As shown in the diagram, in the period of a lower power price, 1~9 hours, customers use more flexible power; at times of higher electricity price, such as the 14th hour, customers do not use flexible power. The constraint on flexible power use causes customers to keep their total power use under the contracted capacity even in the period of lower price, such as the fourth hour, to avoid the extra power fee.
5.2.2. Battery Set Installed; Operating Loss Cost Considered
Figures 8 and 9 display results obtained using the interior point method and GA to simulate customers’ 24 h power use scheduling with a battery set installed and operating loss cost considered. As shown in the diagram, in periods of lower electricity price, such as 1~9 hours, customers use more flexible power; in periods of higher electricity price, such in the 14th hour, customers use less or no power. In the 5~8 hours’ period, the batteries are recharging because the power price is low, for later use in supplying power in a period of higher electricity price; at 10~15 hours, customers use batteries to supply power because the price is high. Moreover, since the operating loss cost of the batteries is considered, an excessive battery recharge volume could increase the cost, so the scope for using the battery for the purpose of reducing the cost of power is not large. The constraint on flexible power use may make customers keep their total power usage under the contracted capacity even in periods of low price, such as the fourth hour, to avoid payment of the extra power fee.
Table 5 compares the methods used and the simulated electricity price in various scenarios. The following conclusions are drawn.(A)Customers’ power use scheduling with the DR strategy reduces the electricity price.(B)Both GA and IPM help customers optimally schedule their hourly power use to minimize the cost of electricity.(C)Installing a battery saved about US$34 in GA, and about US$35 in the IPM. The battery charges off-peak as loading and supplies power during the peak period by discharging, which maximizes efficacy.
The work is concerned with optimizing customers’ 24-hour power utilization scheduling. The considered optimization objectives are minimizing the electricity price and the battery cost, under limitation conditions. The interior point method and a genetic algorithm are used to simulate customers’ 24-hour power utilization scheduling.
The work proposes a new DR approach to smart home with PV generators and batteries, in which customers can control their power usage according to the cost of power that is announced by the power distribution company as an hourly electricity pricing curve. The electricity pricing information for power utilization scheduling is more abundant, so the proposed method provides more flexibility than other approaches in the literature, which provide only announced hourly electricity price. Simulation results reveal that the DR strategy for customers’ power utilization scheduling reduces the total electricity price.
Adding batteries and considering the battery cost can reliably reduce electricity price, and the daily use is matched. Most importantly, the reliability of the power supply system can be enhanced, since when the supply and demand are unbalanced, the system can be forced to take power rationing measures, enabling customers to avoid some losses.
Conflict of Interests
The authors declare that there is no conflict of interests regarding the publication of this paper.
This work was supported in part by the National Science Council in Taiwan, under the Project title: Caltech-Taiwan collaboration on energy research—uncertainty mitigation for renewable energy integration, Project no NSC 101-3113-P-008-001.
A. Ipakchi and F. Albuyeh, “Grid of the future,” IEEE Power Energy Magazine, vol. 8, no. 4, pp. 52–62, 2009.View at: Google Scholar
P. Jazayeri, A. Schellenbery, W. D. Rosehart et al., “A survey of load control programs for price and system stability,” IEEE Transactions on Power Systems, vol. 20, no. 3, pp. 1504–1509, 2005.View at: Google Scholar
S. Caron and G. Kesidis, “Incentive-based energy consumption scheduling algorithms for the smart grid,” in Proceedings of the 1st IEEE International Conference on Smart Grid Communications, pp. 391–396, Gaithersburg, Md, USA, October 2010.View at: Google Scholar
M. H. Albadi and E. F. EI-Saadany, “A summary of demand response in electricity markets,” Electric Power System Research, vol. 78, pp. 1989–1996, 2008.View at: Google Scholar
F. Ahmad, “The ethics of dynamic pricing,” Electrical Journal, vol. 23, pp. 13–27, 2010.View at: Google Scholar
N. Ruiz, I. Cobelo, and J. Oyarzabal, “A direct load control model for virtual power plant management,” IEEE Transactions on Power Systems, vol. 24, no. 2, pp. 959–966, 2009.View at: Google Scholar
S. C. Chen, K. M. Tsui, H. C. Wu, Y. Hou, Y. C. Wu, and F. F. Wu, “Load/price forecasting and managing demand response for smart grids: methodologies and challenges,” IEEE Signal Processing Magazine, vol. 29, pp. 68–85, 2012.View at: Google Scholar
Z. Wang and F. Li, “Developing trend of domestic electricity tariffs in Great Britain,” in Proceedings of the 2nd IEEE PES International Conference and Exhibition on Innovative Smart Grid Technologies (ISGT Europe '11), pp. 1–5, Manchester, UK, December 2011.View at: Google Scholar
S. Braithwait, D. Hansen, and M. O'Sheasy, Retail Electricity Pricing and Rate Design in Evolving Markets, Edison Electric Institute, Washington, DC, USA, 2007.
T. Cui, H. Goudarzi, S. Hatami, S. Nazarian, and M. Pedram, “Concurrent optimization of consumer's electrical energy bill and producer's power generation cost under a dynamic pricing model,” in Proceedings of the IEEE PES Innovative Smart Grid Technologies, pp. 1–6, Washington, DC, USA, 2012.View at: Google Scholar
M. Pedrasa, T. Spooner, and I. MacGill, “Coordinated scheduling of residential distributed energy resources to optimize smart home energy services,” IEEE Transactions on Smart Grid, vol. 1, no. 2, pp. 134–142, 2010.View at: Google Scholar
P. Samadi, H. Mohsenian-Rad, R. Schober, V. Wong, and J. Jatskevich, “Optimal real-time pricing algorithm based on utility maximization for smart grid,” in Proceedings of the 1st IEEE International Conference on Smart Grid Communications (SmartGridComm '10), pp. 415–420, Gaithersburg, Md, USA, October 2010.View at: Publisher Site | Google Scholar
F. Fernandes, T. Sousa, M. Silva, H. Morais, Z. Vale, and P. Faria, “Genetic algorithm methodology applied to intelligent house control,” in Proceedings of the IEEE Symposium on Computational Intelligence Applications in Smart Grid (CIASG '11), pp. 1–8, IEEE, Paris, France, April 2011.View at: Publisher Site | Google Scholar
R. Marsten, R. Subramanian, M. Saltzman, I. Lustig, and D. Shanno, “Interior point methods for linear programming: just call Newton, Lagrange, and Fiacco and McCormick,” The Practice of Mathematical Programming, vol. 20, no. 4, pp. 105–116, 1990.View at: Google Scholar