Scheduling Flexible Non-Preemptive Loads in Smart-Grid Networks
Abstract
A market consisting of a generator with thermal and renewable generation capability, a set of non-preemptive loads (i.e., loads which cannot be interrupted once started), and an independent system operator (ISO) is considered. Loads are characterized by durations, power demand rates and utility for receiving service, as well as disutility functions giving preferences for time slots in which service is preferred. Given this information, along with the generator’s thermal generation cost function and forecast renewable generation, the social planner solves a mixed integer program to determine a load activation schedule which maximizes social welfare. Assuming price taking behavior, we develop a competitive equilibrium concept based on a relaxed version of the social planner’s problem which includes prices for consumption and incentives for flexibility, and allows for probabilistic allocation of power to loads. Considering each load as representative of a population of identical loads with scaled characteristics, we demonstrate that the relaxed social planner’s problem gives an exact solution to the original mixed integer problem in the large population limit, and give a market mechanism for implementing the competitive equilibrium. Finally, we evaluate via case study the benefit of incorporating load flexibility information into power consumption and generation scheduling in terms of proportion of loads served and overall social welfare.
Index Terms:
Power systems economics, power system planning, electric vehiclesI Introduction
Over the roughly century long history of the electrical power grid, the situation facing both grid managers and end users has remained largely the same: electricity available on demand. In the case of the latter, operation of lightbulbs, television sets and other appliances has been just the flip of a switch away, while for the former, the set of available controls and actions was over supply, i.e., which generators to activate - how much to generate and when [21]? Managers have consistently succeeded in providing an adequate supply to meet the demand of end users from second to second largely due to the fact that over the past century, demand forecasting has reached day ahead accuracy within 5% [14].
Recently, circumstances have changed on both the supply and demand sides of the grid. Increased adoption of renewables means that the available power supply is becoming less controllable. Thus, even in the presence of relatively predictable aggregate load, forecasting errors in excess load can be significant. Meanwhile, the rise of networked appliances, homes and buildings is now facilitating synchronization and coordination of consumption to the extent that the demand side flexibility stands to become one of the most important assets available to grid operators [20]. Water heaters and electric vehicles (EV) typify loads characterized by such flexibility. A newly published report from the Brattle Group estimates that load flexibility could be expanded to satisfy nearly 20 percent of US peak demand, and avoid nearly $18 billion in annual generation capacity, energy, transmission and ancillary service costs [13].
Currently, aggregate flexibility is leveraged through demand response programs. Typically these programs are used to reduce peaks in demand, either by indirect load control via real-time pricing or direct control, where utilities have the ability to turn devices on or off. Moving forward, much of the additional benefit is expected to come from expanding the use of demand response to applications such as load shifting and building, e.g., to track a time varying supply of renewable energy, and services such as frequency regulation and voltage control [13].
This work considers a population of non-preemptive loads, i.e., loads which must be served continuously for a predetermined amount of time without interruption once service has started. Examples of such loads are household appliances like dishwashers, and EV charging with tight deadlines [10]. Users report their level of discomfort for being served at each time slot of a finite time horizon. The social planner is tasked with serving these loads has access to a thermal generator with convex generation cost, as well as a renewable generator with zero marginal cost. Given the users’ preferences, thermal generator’s cost function, and knowledge of the renewable generator’s output, the scheduler determines an efficient schedule for cost minimization. We seek to answer the following questions: How can these flexible loads be scheduled over the available time slots? Once a schedule has been determined, how should users be compensated for their flexibility? What is the “price of inflexibility” in this setting? In particular, the problem of monetizing flexibility has proven quite challenging thus far due to a lack of suitable optimization formulations [20].
While the problem of scheduling processor time for service of both preemptive and non-preemptive tasks has long been studied in the computer science literature [7], load scheduling in the context of demand response in energy systems has received considerable attention over the past several years. Model predictive control (MPC) [8], successive binary optimization [25] and greedy algorithms [19] have been applied to the particular objective of tracking a target aggregate load profile at minimum cost, without considering pricing.
Beyond costs associated directly with generation, several works incorporate exogenous energy pricing schemes as parameters of their respective formulations. Fixed uniform rates [24], tiered rates based upon given affine per unit pricing functions [9], and peak/off-peak pricing schemes [11] modeling programs implemented by utilities have been considered in concert with earliest deadline first (EDF), least laxity first (LLF) and MPC scheduling policies.
Of the works that derive flexibility pricing schemes endogenously alongside optimal schedules, relatively few consider non-preemptive loads. This is primarily due to the binary start time decision variables necessary when introducing non-preemptive loads, which precludes direct use of traditional convex optimization or marginal pricing based schemes [20]. Without explicit inclusion of non-preemptive consumption profiles, the scheduling and pricing of a continuum of deadline differentiated loads is studied in [2], wherein the longer a consumer is willing to defer, the lower their energy price.
Targeting non-preemptive loads with hard constraints on acceptable service windows, both [4] and [18] adopt a bilevel programming approach in which an energy provider optimizes a pricing schedule in the upper level, and consumers react by scheduling their loads in order to minimize costs and discomfort. Genetic algorithm [18], and evolutionary and particle-swarm [4] based scheduling heuristics are used to handle the non-preemptive related integer constraints.
More recently, [20] details a power exchange platform allowing for flexible suppliers, as well as consumers with non-preemptive consumption patterns. A fluid relaxation on demand profile shapes, along with a projection method for deriving a feasible schedule is given, and the resulting solution is shown to be asymptotically optimal in the infinite load limit. Marginal pricing, given a schedule of the flexible loads is shown to be inadmissable with respect to incoming offers.
Closest to this work, in [7], a setting similar to the one presented here in continuous time is examined. Prices for load consumption and inflexibility are derived as dual variables to the scheduler’s convex optimization problem, and a competitive equilibrium with respect to reported loads reported consumption level and duration is studied. Under time discretization, approximately optimal scheduling and pricing heuristics are developed. In contrast to this work, user disutility is not modeled, and flexibility incentives do not arise from the optimization formulation. Further, the optimality of the associated heuristics cannot be proven.
I-A Statement of Contributions
In this paper, we propose a tractable optimization formulation for scheduling and pricing non-preemptive load service. Inclusion of such loads necessitates specification of constraints and variables capturing their non-interruptible nature, and in general results in NP hard optimization problems [20]. In summary, the key steps and contributions of this paper are as follows.
-
•
We propose a novel specification of load flexibility and decentralized optimization formulation for the scheduling of non-preemptive loads.
-
•
We formulate a corresponding centralized welfare maximization problem, and prove the existence of a competitive equilibrium in the relaxed version of this setting with finitely many loads, i.e., we show that there exist prices for per unit energy consumption and inflexibility such that the thermal generator produces efficient levels at each time step, and a social planner schedules loads such that demand equals supply while respecting the loads’ flexibility preferences
-
•
We prove that the competitive equilibrium determined for the finite population setting is also a competitive equilibrium in the original mixed binary problem, when each load is interpreted as representing an infinite population of loads with appropriately scaled demand. Thus, the prices derived via convex relaxation are suitable for use in the binary constrained setting. Such a result is currently absent in the related literature.
-
•
We specify a market mechanism for implementing the competitive equilibrium.
-
•
We present a case study demonstrating the utility of our formulation, based on real world electric vehicle charging data drawn from the Adaptive Charging Network (ACN) project [15].
II Problem Formulation
The market consists of non-preemptive loads (or consumers) and a single thermal generator. Additionally, an ISO (independent system operator) ensures safe grid operation. Let denote the discrete time horizon over which loads are scheduled and served. For simplicity, we assume a single bus network model. We assume throughout that all entities are price taking, i.e., their actions do not affect market prices.
II-A Market Entity Problems
II-A1 Loads
Each load is characterized by a tuple , where gives the duration in time slots, gives the consumption level, and and give the disutility functions of consumer due to service starting prior to or after a desired service window, respectively. Consumer demands MW of electricity for consecutive time slots, and derives utility as their load is fulfilled. Figure 1 plots an example pair of disutility functions vectors. If consumer is allowed to be served in time slot , it suffers disutility . For example, an EV commuter may prefer that their vehicle be charged for a five hour period at 5 kW/h between 9AM and 5PM - while they work - rather than arrive early or stay late in order to charge their vehicle. Thus, the consumer’s overall utility is a function of the flexibility that it allows for in the scheduling of its load.

Denote . We will similarly define vector and matrix valued quantities throughout. Given flexibility incentives and , consumer solves the following optimization problem:
s.t. | (1) | |||
(2) |
In the context of EV charging, if , then consumer chooses to begin charging their vehicle at time slot and pay activation price . The inner sums on the left hand side in constraints (1) and (2) give the charging/idle status of load at each time slot . That is, the sums will be equal to 1 if consumer ’s vehicle started charging in any time slot and 0 otherwise. The term when consumer ’s EV has started charging prior to or at time slot . In such a case, consumer incurs disutility for having started by time , but is compensated at early start rate . Similarly, indicates that consumer ’s EV will be charging at or after time slot , with and late charge ending rate analogous to and .
II-A2 Thermal Generator
The generator is characterized by its thermal generation cost function , which is assumed to be strictly convex, increasing and twice differentiable on . In addition to the generator’s thermal plant, we assume that it also owns a renewable generator which produces energy at zero marginal cost. The output of the renewable generator, is assumed to be known to all market participants at time . Given prices , the generator chooses generation levels to solve the following profit maximization problem
II-A3 ISO
Finally, the ISO collects all load profiles and determines the set of admissible load and generation schedules by solving
where . Note that the ISO incurs positive cost at any time slot where thermal generation exceeds residual demand (aggregate demand less renewable generation), and thus will find those schedules which balance thermal generation and residual demand optimal.
II-B The Social Planner’s Problem
In order to study the welfare properties of the competitive equilibrium given later, we introduce a social planning problem. The social planner is concerned with maximizing the combined welfare of all market participants, while ensuring safe operation of the power grid. Specifically, the social planner collects the profiles of each load , and schedules them so that each is served without interruption for their entire duration. In practice, either the ISO or equivalent market participant, or a government organization often assumes responsibility for these tasks [6]. Here we introduce the social planner as a distinct entity for clarity as we investigate properties of our market formulation. Let denote the social planner’s decision as to whether load will begin service in time slot , where denotes that load will start at time slot . A schedule is then defined as . The social planner selects a schedule, auxiliary load status variables and , and corresponding generation levels in order to solve the following problem:
(3) | ||||
s.t. | (4) | |||
(5) | ||||
(6) |
III Convex Relaxation and Pricing
In order to develop prices for electricity consumption and load inflexibility, as well as a competitive equilibrium concept, we relax the binary constraints on matrices , and , and consider the following problem:
(7) | ||||
s.t. | (8) | |||
(9) | ||||
(10) |
where , and denote the dual variables corresponding to constraints (8-10). It can be shown that constraints (9) and (10) ensure that all entries of , and are less than 1, and also that
(11) |
Under the relaxation, since in addition to (11), each schedule decision variable satisfies , may be interpreted as a matrix specifying the probability that a given load of type will be scheduled at time slot for all and . That is, for each , the planner will choose equal to , the th standard basis vector, with probability . Therefore, in (SPP-R) gives a probabilistic schedule for the loads and if, for a given , (11) holds with equality, then load is certain to be activated at some time slot . Otherwise, the load only has a chance of ever being activated. Fixing a matrix of probabilities , and give probabilities that load has been activated up to time , and will be active from time slot onward, respectively, for all and . Consequently, the (SPP-R) objective may be viewed as the expectation of overall social welfare, and the constraints as being met in expectation. This interpretation is key to the competitive equilibrium definition and properties we detail in later sections.
Note that due to the nonnegativity of and for all , for any fixed , it is always optimal to choose each entry of matrices and as small as possible, where denotes the matrix of size with each entry equal to 1. Therefore, constraints (9) and (10) may be replaced with equalities, and matrices and are completely determined given a particular .
Having relaxed the binary constraints on matrices , and , we may employ Lagrangian analysis in order to arrive at a solution to (SPP-R). Problem (SPP-R)’s Lagrangian is given by
Let
(12) |
(13) |
(See Appendix A for the derivation of and ). Then, the (SPP-R) Lagrangian can be rearranged as
(14) |
and in addition to feasibility, the KKT optimality conditions for are
(15) | ||||
(16) | ||||
(17) | ||||
(18) |
(19) | ||||
(20) | ||||
(21) | ||||
(22) | ||||
(23) | ||||
(24) | ||||
(25) | ||||
(26) |
Note that due to condition (18), load may only be activated with nonzero probability during time slots when the sum is equal to the constant marginal utility term . Additionally, condition (16) implies that for time slots in which it is optimal to produce a positive quantity of electricity, we have that , the marginal cost of production. In turn, condition (25) implies that generated quantities of electricity in such time slots will be equal to demand less forecast renewable generation.
In view of our interpretation of the (SPP-R) objective as the expected value of social welfare, and the constraints as being met in expectation, the solution to (SPP-R) yields a set of admissible load activation schedules which may be randomly selected by the social planner in a single shot of the original, binary constrained problem. We will further examine this correspondence in later sections. Fixing such an activation schedule and taking into account renewable generation output , the optimal generation schedule follows from constraints (4) and (8), and condition (24).
III-A Consumer’s Problem
The second (SPP-R) Lagrangian expression (14) suggests the following decomposition of the relaxed social planner’s problem into relaxed versions of the individual entity problems presented above. See [5] for the optimality conditions corresponding to each of these problems. Starting with the consumer problems, we have
(27) | ||||
s.t. | (28) | |||
(29) |
Again, under the relaxation on the binary constraints on , and , we may interpret the consumer’s problem as selecting probabilities of activation for each time slot , in the interest of maximizing their expected net utility (here written in minimization form).
III-B Generator and ISO Problems
The generator’s problem remains the same as before
(30) |
Finally, the relaxed ISO problem is given by
s.t. |
See Appendix B for the optimality conditions for each of the individual entity optimization problems.
IV Competitive Equilibrium and Theorems of Welfare Economics
The competitive or Walrasian equilibrium is a standard reference point in economic analysis for assessing market outcomes. A competitive equilibrium is specified by an allocation of goods and prices, with the defining characteristic that taking the equilibrium prices as given, every market participant finds it optimal to select the corresponding equilibrium allocation [16]. At equilibrium prices, the quantity of goods demanded by consumers is equal to the quantity produced by suppliers., i.e., the market clears. Therefore, equilibrium prices provide a coordinating signal for markets to operate in a decentralized fashion.
Assuming that competitive equilibrium exists for a particular market setting, it is natural to compare the equilibrium allocation to allocations which directly maximize the aggregate welfare of all market participants. The latter allocations are called efficient, and in our setting are given by solutions to (SPP-R).
We now give the competitive equilibrium definition for our setting, and explore existence, as well as welfare properties of such an equilibrium. As related above, competitive equilibria are typically specified in two-sided settings involving consumers and producers maximizing their individual well being and profits, respectively. Similar to the analysis found in [22] and [26], we augment the standard definition to include a nonprofit entity, i.e., the ISO.
Definition 1
(Competitive Equilibrium). A tuple with is said to be a competitive equilibrium if, given , solves for each , solves , given , solves , and given , solves .
As noted in the previous section since solutions to will, in general, give values of , the quantities in the competitive equilibrium in Definition 1 have probabilistic interpretations: consumers select probabilities of being scheduled at each time slot , in order to maximize their expected net utility.
Our first result addresses the existence of the competitive equilibrium defined above.
Theorem 1
There exists a competitive equilibrium, given by an optimal solution to , and the following prices derived from an optimal dual solution to
(31) |
for all and .
Proof
See Appendix C.
The two fundamental theorems of welfare economics describe the relationship between competitive equilibria and efficient allocations. The first fundamental theorem states that competitive equilibria lead to, or support efficient allocations [16]. The second fundamental theorem states that the converse also holds, and in our settings corresponds to Theorem 1. We now state and prove the first fundamental theorem for our setting, given by Theorem 2. Whereas proofs of the efficiency of competitive equilibria often require that the balance of supply and demand be included in the definition of such equilibria, in our development this equality arises from the given formulation of the ISO’s problem (ISO-R). That is, facing equilibrium prices, the ISO will act to balance supply and demand as it optimizes (ISO-R).
Theorem 2
Any competitive equilibrium forms an optimal solution for .
Proof
By definition, the competitive equilibrium satisfies
(32) | ||||
(33) | ||||
(34) | ||||
(35) | ||||
(36) | ||||
(37) | ||||
(38) | ||||
(39) | ||||
(40) | ||||
(41) | ||||
(42) | ||||
(43) | ||||
(44) | ||||
(45) | ||||
(46) | ||||
(47) |
for some , and , as well as the feasibility conditions for each of the individual entity problems. Therefore, observing that for any the form of the objective in ensures that complementary slackness condition (25) will be satisfied at the competitive equilibrium, selecting as the primal variables, and dual variables and for all , forms optimal primal and dual solutions to .
V Replicated and Large Economies
In general a competitive equilibrium is not guaranteed to exist when the social planner’s problem is a mixed integer programming problem. Nevertheless, our competitive equilibrium definition allows for probabilistic allocation to consumers, and thus the existence of a competitive equilibrium is related to the existence of a primal and dual solution to the (relaxed) (SPP-R) problem. In this section we justify the study of this relaxed problem by demonstrating its equivalence to the original, binary constrained (SPP) when each load is interpreted as representing an infinite population of identical loads, with scaled demand.
Thus far, our development has crucially relied on the assumption that market participants are price taking, i.e., presented with market prices, they make decisions in view of their own preferences and constraints, revealing their true demand without consideration of how their choices might influence these prices. But why should they act in this manner? In economic theory, the notion of large economies provides one justification for adoption of this assumption. The essence of the argument is as follows. As the number of market participants increases, any influence that an individual participant might have on market prices diminishes. When when that number grows to infinite, that influence vanishes entirely, and the price taking assumption becomes reasonable [1].
Following this intuitive argument, the question of how to add individuals to the market still remains. A special method, known as replication, is to introduce participants with preferences and constraints identical to existing types, in the same proportion as existing ones [12]. In the context of electric vehicle charging, this could mean scaling up the number of drivers with the same model vehicle and desired charging schedule, with demand scaled down so as to avoid infeasible aggregate demands as the population of each type grows. In general it can be shown that as participants are added in this way, those of the same type will receive the same allocation.
Suppose that each load is replicated times, and that the resulting loads have demand, utility and disutility scaled by . Indexing the replicas of each type with the index , the binary constrained SPP with replication is
s.t. | ||||
(48) | ||||
(49) |
We refer to the problem with replication which relaxes the binary constraint on as SPP()-R (instead of SPP(1)-R, we will still refer to the original relaxed problem as SPP-R). When we wish to emphasize the dependence of decision variables on the replication factor , we will append , e.g., .
Proposition 3
Let denote an optimal solution to SPP-R. Then for any , an optimal solution to SPP()-R can be formed by setting , , , for all , for all , and and for all and .
Proof
SPP()-R has the following KKT conditions. For all
(50) | ||||
(51) |
for all , and
(52) | ||||
(53) |
for all , , and
(54) | ||||
(55) |
for all , , and
(56) | ||||
(57) | ||||
(58) | ||||
(59) |
and for all
(60) | ||||
(61) |
The proof of the theorem follows from making the selections specified in the theorem statement, substituting into (50)-(61), and comparing with (15)-(26).
Proposition 3 states that an optimal probabilistic schedule in the problem with replication can be derived from an optimal probabilistic schedule for (SPP-R) and specifies how to do so. In the limit as we can use to generate an optimal deterministic, binary constrained schedule if we interpret as the proportion of the population of type to be activated at time . This is stated formally in the following theorem.
Theorem 4
An optimal solution to SPP() is given by activating proportion of type population at time for each and , where is an optimal solution to SPP-R.
Proof
Note that constraints (48) and (49) may be rewritten
(62) |
so that overall SPP() can be written as
s.t. | (63) |
Now, if is considered as a Bernoulli random variable with and is chosen as for all , then by the Law of Large Numbers, constraint (63) converges to
Similarly, the objective function converges to
Since the optimal objective of the relaxed problem provides a lower bound for the binary constrained problem, and the power balance constraint is satisfied in the limit as , the solution produced by randomly activating loads according to converges to an optimal binary constrained solution as .
VI Market Mechanism for Large Population Economy
Market mechanism design is an approach in economic theory which, rather than taking economic institutions as fixed and predicting the outcomes generated by such institutions, starts with an outcome identified as desirable and attempts to construct a mechanism by which it may be delivered [17]. In this section we consider the competitive equilibrium concept discussed in prior sections as the target outcome for our market, and specify a mechanism by which it can be achieved. Mechanism design plays a crucial role for market in which participants may misreport preferences, costs or other information when it is in their individual best interest to do so. Therefore, the mechanism presented in this section may be viewed as a starting point for future work in which market participants are allowed to behave strategically.
The competitive equilibrium definition given in the previous section allows for non-binary activation schedule . As mentioned, since , and , each may be interpreted as giving the portion of load activated at time under relaxation of the binary constraints on the activation schedule orthe probability that an individual load of type in the infinite replication setting is fully activated at time .
Let us explore the infinitely replicated setting from the perspective of an individual load of type . First, note that for finite , (SPP()-R) has Lagrangian
Thus, under replication and relaxation, the optimization problem for consumer of type is given by
s.t. | (64) | |||
(65) |
Multiplying by , the objective function can be written as
(66) |
As in Theorem 1, set
and as in Proposition 3, choose
Then letting gives
This implies that
Therefore, posing the prices described in Proposition 3 in the limit as , the objective functions for each converge to
Thus, the pricing facing each load of type is identical, and in fact the problem facing each is the same as the single load of type in the decomposition with relaxation but not replication. Further, each will select the same , where gives the probability that the load will be scheduled at time . Therefore the equal allocation for individuals of the same type mentioned earlier holds in our setting.
The following mechanism (FLEX-SCHED()) uses the probability values selected by the continuum of consumers to generate a binary constrained schedule in the setting with replication. Note that since the generator’s problem does not involve consumer utility and disutility functions, nor consumer scheduling variables, its problem is not affected by replication (or relaxation). Therefore is the same as for all , including .
-
1.
Each consumer submits and , and the generator submits to the social planner (i.e. the entity taking on this role, such as the government or ISO).
-
2.
The social planner solves (SPP-R), and announces as specified in Theorem 1.
-
3.
Each consumer solves , the generator solves , and for all , as well as are submitted to the social planner.
-
4.
The social planner randomly assigns proportion of loads of type to start at time , for each and . The generator produces over the finite horizon. Combined with the renewable generation output , this generated power is allocated to the consumers according to and demands for each .
In the large population context, individual rationality is achieved if the optimal objective values to , and for all and with , i.e., the individual entity problems under infinite replication but without relaxation, are positive under the (FLEX-SCHED()) solutions are nonnegative. Budget balance is achieved if
(67) |
Given these definitions, the following result regarding (FLEX-SCHED()) holds.
Theorem 5
The mechanism (FLEX-SCHED()) is ex-post individually rational, budget balanced and efficient.
Proof
See Appendix D.
VII Multi-bus Extension
Thus far, we have set aside the network model in order to focus on the scheduling and pricing aspects of this problem. As posed above, our formulation above could be interpreted as modeling the cases where either a single network point (e.g., EV charging station or smart building) is equipped with renewable generation, such as a solar panel array, as well as a backup generator [23]. More broadly, our single bus model could represent the operation of a microgrid, with abstracted, aggregated renewable and backup generation, while neglecting distribution network features in serving the flexible loads.
While we leave generalization to a full distribution network setting to future work, as a first step in this direction, we here consider an extension to a two bus model, in which the renewable generation and flexible loads are co-located at one bus, and the conventional generator is located at the other.
We designate the bus where the loads and renewable generation are located as bus 1, and the bus where the conventional generator is located as bus 2. Selecting bus 1 as the slack bus, i.e., choosing from solutions with for all gives the following relaxation of the two-bus, centralized social planner’s problem:
s.t. | (68) | |||
(69) | ||||
(70) | ||||
(71) |
Note that given the slack bus choice, , so that for all , i.e., constraint (70) is always loose and . See Appendix E for the optimality conditions for this problem.
Employing the traditional locational marginal pricing scheme yields the following nodal prices:
It can be shown that at optimality, we have
(72) |
so that the per unit energy price at bus 2, i.e., the rate paid to the conventional generator, is upper bounded by the per unit energy price paid by the collection of flexible loads.
The two bus network model affects the individual entity problems only in terms of the generator and ISO objectives, as given below:
s.t. | |||
The consumer problem formulation does not change, as the energy consumption component of now includes a term derived from the nodal price at bus 1, rather than the dual variables to the single power balance constraint from our initial formulation. See Appendix E for the aggregated individual entity problem optimality conditions.
The definition and proof of existence of a competitive equilibrium does not change in the two bus model, save for the addition of nodal prices, rather than the single per time slot energy consumption/production price taken as the dual variable to the power balance constraints over each time step. Nor do the proofs of the relationship between competitive equilibria from the original relaxed setting, and the relaxed settings featuring replication.
Given the shift from a single per time slot energy consumption/production price to a pair of prices, one for consumption at node 1, and one for production at node 2, the only remaining question is whether Theorem 5 continues to hold, in particular the budget balance component. Essentially due to inequality (72), instead of budget balance, we now have budget adequacy, i.e., under the proposed scheduling and pricing schemes, our market mechanism either is either budget balanced, or incurs a surplus in the form of congestion revenue.
To see this, the inequality which we would like to show is the following :
Note that if for a time slot
then we have that , i.e., the generator is not dispatched at time . For all other time slots, due to the power flow constraints, we have that
(73) |
However, again due to the two-node relaxed social planner’s problem KKT conditions,
(74) |
Together, (73) and (74) show that in problem instances where the line connecting the generator and load nodes becomes congested at any time slot, the summed load payments will in general exceed payments to the generator :
In such cases the system operator will collect nonzero congestion revenue. Alternatively, this surplus could be interpreted as a penalty assigned to loads operating at the time of congestion. Therefore, the mechanism is either budget balanced or runs a surplus for the system operator. The congestion revenue may be handled via a separate market, e.g. a financial transmission rights market.
VIII Case Study: EV Charging
Electric vehicle charging constitutes one of the most important and challenging applications of load scheduling optimization currently facing power grid operators. Today, the transportation sector accounts for approximately 64% of global consumption of oil, a resource which has been linked to increasing CO2 emissions, and further is expected to expire in about 50 years. In contrast, transportation sector operations comprise just 1.5% of worldwide electricity usage [6]. Reliance on electricity is more amenable to a shift towards renewable sources of energy such as solar and wind, which in total are expected to make up approximately one third of all power generation by 2040. From a market perspective, demand for electric vehicles increase each year. According to the International Energy Agency, 740,000 vehicles were produced in total in 2014, and that figure is expected to reach 20 million by 2020 [6]. Charging process scheduling is now recognized as one of the key technologies for integration of electricity based mobility into existing power grids.
In order to demonstrate the utility of our flexible scheduling problem formulation, we simulated its performance on real world load and renewable generation data in the context of electric vehicle (EV) charging. The input load parameters are derived from data included in the ACN-Data dataset, a dynamic dataset of workplace EV charging [15]. In particular, we take as our base set of loads the recorded vehicle arrivals for May 28, 2018. For each vehicle charging session, the ACN dataset includes vehicle connection and disconnection times, as well as a charging completion time. In these simulations each time index represents a 15 minute period. We take as the difference between charging completion time and the first time period where the EV drew a positive amount of current. We then divide the total kWh delivered to the vehicle by to arrive at .
We design disutility functions for each load in the following manner. Let denote the vehicle’s recorded connection time, and denote its recorded disconnection time. Then for each load , we let
(75) |
where is a scaling parameter.Thus for , and elsewhere increases quadratically away from this desired service window. The sample disutility curves pictured in Figure 1 are generated according to this quadratic form.
We set for some nonnegative scalar . We take our renewable generation profile from data generated by NREL’s SAM tool [3]. Specifically, we draw on solar power generation time series estimated for downtown Los Angeles, also for May 28, 2018.
In our simulations we compare the performance of our flexible load scheduling approach to a schedule which naively begins charging loads as soon as they arrive. We implemented the latter approach by setting
i.e., loads are essentially inflexible, with 0 disutility at time and the maximum disutility in (75) for all other time periods . We consider the social welfare objective value achieved, as well as the percentage of loads served.
We adjusted , , and a scale on the quadratic cost in order to ensure that both scheduling approaches successfully scheduled all loads. In particular we let , and scaled the cost by factor . As shown in Figures 2 and 3, when users report disutility functions, the scheduler shifts loads such that that overall demand moves towards the mid day period of high renewable generation, thus relying less on the generator and therefore incurring less cost and higher social welfare overall. For the base load case examined in Figure 4, the peak generation falls from 4.67 kW to 3.46 kW, a reduction of roughly 29%, while the peak demand falls from 7.23 kW to 5.46 kW, a reduction of roughly 24%.


To demonstrate the robustness of the disutility function approach to a surge in demand, we randomly sample loads served during the other weekdays of May 2018 in order to increase overall power demand. Specifically, we study demand scaled up in increments of 25% of the base load up to a 100% increase in load in terms of overall demand. Loads are randomly added to the base until the total power demand exceeds the desired level of increase, and the same random sets of loads are added in the cases with and without flexibility. The performance of both approaches are shown in Figures 4 and 5. The flexibility enabled schedule which makes use of the disutility functions continues to offer increased social welfare over on demand scheduling. Additionally, while disutility based scheduling still includes all loads, the on demand based scheduler finds it optimal to exclude between 25% and 33% of loads as the number of loads increases to double the base.


IX Conclusion
In this work, we study how to schedule and price service for a population of flexible, but non-preemptive loads, in the presence of renewable generation, as well as a dispatchable thermal generator. Formulating a collection of mixed integer optimization programs for the consumers, and generator, we then study a centralized version of our setting with relaxed integer constraints, allowing for use of Lagrangian analysis and derivation of prices. A solution of this centralized problem yields a competitive equilibrium, and conversely a competitive equilibrium yields an efficient solution. Finally, we present a case study involving electric car charging data to demonstrate the efficacy of our approach.
There are several directions for future work in this area. First, in terms of the scheduling aspect, it is desirable to determine a method for deriving at least an approximately optimal solution to the original integer constrained setting, given an efficient solution to the relaxed social planner’s problem presented here. In terms of pricing, properties such as fairness should be examined. For example, assuming that the disutility functions of each user can be at least partially ordered from less to more restrictive, is the compensation offered to more flexible users more than to those which are not as flexible? It will also be of interest to explore other types of loads, such as those which may be interrupted, as well as those which might accept less than an upper bound of total energy delivered. Strategic behavior amongst market participants should also be taken into account, as well as more detailed network modeling and constraints.
References
- [1] Robert J Aumann. Markets with a continuum of traders. Econometrica: Journal of the Econometric Society, pages 39–50, 1964.
- [2] Eilyan Bitar and Yunjian Xu. Deadline differentiated pricing of deferrable electric loads. IEEE Transactions on Smart Grid, 8(1):13–25, 2016.
- [3] Nate Blair, Aron P Dobos, Janine Freeman, Ty Neises, Michael Wagner, Tom Ferguson, Paul Gilman, and Steven Janzou. System advisor model, sam 2014.1. 14: General description. Technical report, National Renewable Energy Lab.(NREL), Golden, CO (United States), 2014.
- [4] Pedro Carrasqueira, Maria João Alves, and Carlos Henggeler Antunes. Bi-level particle swarm optimization and evolutionary algorithm approaches for residential demand response with different user profiles. Information Sciences, 418:405–420, 2017.
- [5] Nathan Dahlin and Rahul Jain. Scheduling of flexible non-preemptive loads. arXiv preprint arXiv:2003.13220, 2020.
- [6] Claude Ziad El-Bayeh. A review on charging strategies of plug-in electric vehicles.
- [7] Abhishek Gupta, Rahul Jain, and Ram Rajagopal. Scheduling, pricing, and efficiency of non-preemptive flexible loads under direct load control. In 2015 53rd Annual Allerton Conference on Communication, Control, and Computing (Allerton), pages 1008–1015. IEEE, 2015.
- [8] Abdulelah H Habib, Jan Kleissl, and Raymond A de Callafon. Model predictive load scheduling using solar power forecasting. In 2016 American Control Conference (ACC), pages 3200–3205. IEEE, 2016.
- [9] Jinil Han, Jongyoon Park, and Kyungsik Lee. Optimal scheduling for electric vehicle charging under variable maximum charging power. Energies, 10(7):933, 2017.
- [10] Md Umar Hashmi. Load flexibility for price based demand response. 2018.
- [11] Mohammed Hijjo and Georg Frey. Scheduling smart loads in modern buildings based on metaheuristic optimization. In ICINCO (1), pages 129–136, 2018.
- [12] Werner Hildenbrand. On economies with many agents. Journal of economic theory, 2(2):161–188, 1970.
- [13] Ryan Hledik, Ahmad Faruqui, Tony Lee, and John Higham. The National Potential for Load Flexibility. Technical report, The Brattle Group, 06 2019.
- [14] Sarah Hoff. Electricity grid operators forecast load shapes to plan electricity supply, July 2016. [Online; posted 22-July-2016].
- [15] Zachary J Lee, Tongxin Li, and Steven H Low. Acn-data: Analysis and applications of an open ev charging dataset. In Proceedings of the Tenth ACM International Conference on Future Energy Systems, pages 139–149, 2019.
- [16] Andreu Mas-Colell, Michael Dennis Whinston, Jerry R Green, et al. Microeconomic theory, volume 1. Oxford university press New York, 1995.
- [17] Eric Maskin. Introduction to mechanism design and implementation, 2019.
- [18] Fan-Lin Meng and Xiao-Jun Zeng. 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), pages 1703–1710. IEEE, 2014.
- [19] Gearóid O’Brien and Ram Rajagopal. Scheduling non-preemptive deferrable loads. IEEE Transactions on Power Systems, 31(2):835–845, 2015.
- [20] Junjie Qin, Jonathan Mether, Jhi-Young Joo, Ram Rajagopal, Kameshwar Poolla, and Pravin Varaiya. Automatic power exchange for distributed energy resource networks: Flexibility scheduling and pricing. In 2018 IEEE Conference on Decision and Control (CDC), pages 1572–1579. IEEE, 2018.
- [21] David Roberts. Using electricity at different times of day could save us billions of dollars, October 2019. [Online; posted 24-October-2019].
- [22] Federico Rossi, Ramon Iglesias, Mahnoosh Alizadeh, and Marco Pavone. On the interaction between autonomous mobility-on-demand systems and the power network: Models and coordination algorithms. IEEE Transactions on Control of Network Systems, 7(1):384–397, 2019.
- [23] Ken Silverstein. Solar-Powered Electric Vehicle Charging Stations Are Just Around The Corner, February 2020. [Online; posted 10-February-2020].
- [24] Anand Subramanian, Manuel J Garcia, Duncan S Callaway, Kameshwar Poolla, and Pravin Varaiya. Real-time scheduling of distributed resources. IEEE Transactions on Smart Grid, 4(4):2122–2130, 2013.
- [25] Bo Sun, Zhe Huang, Xiaoqi Tan, and Danny HK Tsang. Optimal scheduling for electric vehicle charging with discrete charging levels in distribution grid. IEEE Transactions on Smart Grid, 9(2):624–634, 2016.
- [26] G. Wang, M. Negrete-Pincetic, A. Kowli, E. Shafieepoorfard, S. Meyn, and U. Shanbhag. Dynamic competitive equilibria in electricity markets. In A. Chakrabortty and M. Illic, editors, Control and Optimization Theory for Electric Smart Grids. Springer, 2011.
Appendix A and Derivation
Start with and the double sum
Rearranging the first double sum, and breaking the second double sum on the right into separate sums based upon whether the value appears in the upper and/or lower argument of the inner sum:
Therefore, we define
Now, we can rewrite the double sum
Then, to develop the definition of , start with:
Therefore, each has the additional coefficient
Finally, considering the double sum
Then
Therefore, the coefficient for each contains the term
and thus we define:
Appendix B Individual Entity Relaxed Problem Optimality Conditions
The optimality conditions for are
where is defined analogously to in (12). The optimality conditions for (GEN-R) are
The optimality conditions for (ISO-R) are
(76) | ||||
(77) | ||||
(78) | ||||
(79) | ||||
(80) | ||||
(81) |
where and are defined analogously to in (12). Note that (76)-(79) can always be satisfied by choosing for all . Therefore, only constraints (80) and (81), along with feasibility need be considered assuming for all .
Appendix C Proof of Theorem 1
Proof
Given price selections according to (31), and selecting , for all , and for all makes the collected optimality conditions (aside from feasibility) for for each , (GEN-R) and (ISO-R)
(82) | ||||
(83) | ||||
(84) | ||||
(85) |
(86) | ||||
(87) | ||||
(88) | ||||
(89) | ||||
(90) | ||||
(91) | ||||
(92) | ||||
(93) |
Further selecting for all and gives
(94) | ||||
(95) | ||||
(96) | ||||
(97) | ||||
(98) | ||||
(99) | ||||
(100) | ||||
(101) | ||||
(102) | ||||
(103) | ||||
(104) | ||||
(105) |
These expressions are identical to the (SPP-R) KKT conditions, and therefore satisfied by optimal solutions to (SPP-R). As a primal solution to (SPP-R), also satisfies the collected constraints from for each , (GEN-R) and (ISO-R).
Appendix D Proof of Theorem 5
Proof
Let us denote realizations of the randomized scheduled specified by as , and similarly for other variables.
Starting with ex-post individual rationality, suppose that for some we have that , so that a portion of population will not be activated. Then for all , and for all , so that the objective of , i.e., the realized net utility of load of type is equal to 0.
In all other cases, load of type is scheduled, so that for some where (SPP-R) KKT conditions (17) and (18) are satisfied, . Due to constraints (64) and (65), in , we have that
(106) |
Substituting , and and the equilibrium prices from step 2 of (FLEX-SCHED) into expression (66) gives
(107) |
The term is equal to 0 due to (SPP-R) KKT conditions (17) and (18) and the fact that is a time index where . The terms in the sums are nonpositive due to (SPP-R) KKT conditions (21) and (23). Thus, each user will incur nonnegative net utility when participating in the mechanism, regardless of whether or not they are scheduled.
Selecting for all , and
(108) |
the right hand side of (67) is equal to
(109) |
From the definition of and the power balance constraint (8) in (SPP-R), the left term in (109) is equal to
(110) |
From the definition of and the flexibility constraints (9) and (10), the right term in (109) is equal to
(111) |
Summing the last expressions in (LABEL:budget_bal_proof2) and (111) gives the left hand side of (67), showing that budget balance holds at the competitive equilibrium. Finally, the mechanism is efficient by Theorem 4, as it randomly activates loads of type according to .
Appendix E Two-Bus Model Optimality Conditions
In addition to feasibility, the KKT conditions for the two-bus, centralized social planner’s problem are
(112) | ||||
(113) | ||||
(114) | ||||
(115) | ||||
(116) | ||||
(117) | ||||
(118) | ||||
(119) | ||||
(120) | ||||
(121) | ||||
(122) | ||||
(123) |
(124) |
The aggregated constraints from all individual problems can now be written as :
(125) | ||||
(126) | ||||
(127) | ||||
(128) |
(129) | ||||
(130) | ||||
(131) | ||||
(132) | ||||
(133) | ||||
(134) | ||||
(135) | ||||
(136) | ||||
(137) | ||||
(138) | ||||
(139) | ||||
(140) | ||||
(141) |
Comparison of these optimality conditions yields adapted versions of the proofs for Theorems 1 and 2.