Introduction

Leveraging the decarbonization of the electricity grid, electrification is a key strategy to reduce emissions from transportation, heating, industry, and other sectors1. Once these sectors are electrified, their operating carbon dioxide (CO2) emissions depend on the electricity used, which in turn depends on the type of electricity generation used to meet this demand2,3,4.

In grids powered by different high- and low-emitting types of electricity generation throughout the day, shifting demand to times with lower-emitting generators could reduce these operating CO2 emissions5. Organizations such as community choice aggregators, datacenter managers, and electric vehicle (EV) aggregators are increasingly aiming to provide completely carbon-free power to meet their demand6,7,8. However, this requires intelligent, grid-aware charging management methods since emissions impacts of demand shifting strategies are difficult to implement in practice. In the United States, generators are dispatched in order of least-cost9, which may not match the order of least-emissions4,10, and the emissions rates of the generators that respond to shifts in demand vary substantially by location, time of year, and time of day11,12.

EVs, thanks to the widespread availability of managed charging, offer a large-scale test of such methods to shift demand13. Dynamic managed charging, also called smart or controlled charging, can target shifts to precise times to reduce costs, avoid peaks, or reduce emissions by improving alignment with the generator dispatch4,14,15,16. Managed charging can include shifting the charging session’s start or end time, modulating the charging rate throughout the session, or changing the location and duration of the session altogether17,18,19.

Emissions impacts from all three of these objectives depend on many factors, including EV charging behavior assumptions and the regional grid mix3,20. Following some common cost minimization approaches can even result in emissions increases21,22. Consequently, it is important for stakeholders aiming for 100% carbon-free power to optimize for emissions directly, not cost.

There is not a consensus on which direct emissions-minimizing managed charging method is best and guaranteed to reduce emissions. Grid operators and EV aggregators can use either a centralized or decentralized approach. In a centralized case, grid operators schedule and dispatch EV charging directly with other grid resources23,24,25,26,27,28,29. However, since the United States market is cost-focused and policies do not allow for carbon-based dispatch, stakeholders who want to use demand response to reduce emissions cannot rely on centralized charging management or supply-side policies.

Many EV aggregators must turn instead to decentralized charging management, dispatching EVs to follow simple signals and acting independently from the central dispatch to achieve their objectives17. The simple shifting of EV demand to off-peak times or to the middle of the day can reduce emissions in some regions through better utilization of renewables15,30,31,32,33 but can increase emissions in others if coal generators are among the next-in-line in the dispatch at those times3,21,22,34,35,36. Furthermore, this type of charging management faces additional challenges because EV demand is constrained by individual drivers’ mobility needs, charging options, and behaviors20,37,38,39. Aggregators must then decide how to incorporate any unpredictable driving and charging behavior and balance managed charging granularity with increased computational complexity.

A potential solution is the use of a time-varying emissions signal, which changes frequently (for example, hourly) in response to the current grid mix. Hourly marginal prices are the most efficient signal to minimize costs, but that approach does not simply translate to emissions, and there is no agreement on the best time-varying emissions signal to use. Existing approaches use average or marginal emissions factors (EFs) to represent the real-time emissions intensity of electricity generation32,34,35,40,41,42,43,44. Average emissions factors (AEFs) capture the average carbon intensity of all generation at a given time, dividing total emissions by total generation, while short-run marginal emissions factors (MEFs) capture the marginal increase in emissions that would be caused by a marginal increase in demand45,46. The short-run MEF can be given by the emissions rate of the marginal generator, which is the most recent generator dispatched from the merit order45. Other applications that measure emissions impacts over multiple years use medium- and long-run MEFs4,47,48 or even life cycle analysis techniques3,49; here we focus only on short-term impacts and short-run MEFs.

The AEF32,50,51,52,53 and MEF5,16,41,43,54 signals have both been used as objectives for managed charging30,35,42, but their success depends on two central assumptions. For the AEF to accurately capture the emissions impact of managed charging, the generators that respond to a change in demand must match the average overall generation mix at that time. That assumption will fail with a least-cost dispatch where generators of diverse types have different costs. For the MEF to accurately capture the emissions impact of managed charging, either the change in demand must be sufficiently small such that only the marginal generator responds, or all generators responding to the demand increase must have the same emissions rate45. That assumption will fail at some level of EV adoption when large amounts of demand all shift to the same hours, overshooting the margin and negating any initial benefits. The overshooting problem has been solved for cost minimization signals but not for emissions14,55. We have found an example where the MEF method was sequentially adjusted for higher demand, dividing the set of EVs into 100 smaller groups41, but the effects were not thoroughly tested. There is still not an agreement about when exactly existing methods will fail, whether we have already passed that point with current levels of EV adoption, nor how these methods can be made future-proof to increasing demand.

In this study, we demonstrate the limits and failures of existing EF-based methods given growing levels of EV adoption, and we chart a path for emissions-minimizing managed charging. We focus on the challenging case of emissions minimization in a least-cost dispatch system without carbon pricing or other supply-side carbon reduction policies. We choose the Western U.S. Interconnection (WECC) as a case study for its high EV adoption, complex mix of generators, and ambitious plans for grid decarbonization. We extend an open-source, single-node, reduced-order economic dispatch model proposed by Deetjen and Azevedo to simulate grid emissions and EF signals in 2020 and 203010. We couple this with a detailed model of private, passenger EV demand based on real charging and driving data collected from over 700 California EV drivers in 2020, carefully considering driving patterns, charger availability, and charger power. Our results show that following existing MEF methods fails to meaningfully decrease emissions beyond 500,000 managed EVs, equal to about 30% of the EV fleet or less than 0.1% of the total vehicle fleet in WECC as of 202332,56, and can inadvertently increase emissions beyond 1.5 million EVs. The success of following the AEF method varies by year and season, at times decreasing and at other times increasing emissions for the same number of EVs. Instead, we present an alternative method with Cascading MEF signals that can deliver emissions reductions robust to even larger numbers of EVs. This method uses knowledge of the critical point where demand exceeds the margin to divide drivers into small-enough, marginal groups and send managed charging signals to these groups in sequence. Following the Cascading MEF method is successful across scenarios, decreasing added emissions by 10.6–28.3% and always either matching or outperforming the traditional MEF. Our research reveals the danger of carrying forward early-transition solutions to large-scale demand response for EVs and other newly electrified flexible loads. Schemes like the Cascading MEF method should be deployed instead to ensure demand flexibility will reduce emissions and support the grid’s transition.

Results

Managed charging with existing emissions factors

In regions with a variety of generators and renewable power sources, there is potential to reduce emissions by shifting EV demand away from high-emitting coal generators toward low- or non-emitting generation options. WECC is an example of such a region: it has a mix of different types of fossil fuel generators, hydro, nuclear, and substantial amounts of renewables. Fig. 1a shows the WECC merit order for the first week in 2020 (plots for additional weeks appear in Supplementary Fig. 1). The generators are ordered neatly for dispatch by their generation cost, yet their corresponding emissions do not show a clear increasing or decreasing trend.

Fig. 1: Rationale and results for failure of marginal emissions factor (MEF) managed charging at high electric vehicle (EV) adoption.
figure 1

a Renewable energy capacity and generator merit order for the Western Interconnection (WECC) during the first week of January 2020. The top plot shows the generator operating cost while the bottom plot shows the associated emissions, which are noisy and not correlated with cost. b Hourly MEFs and average emissions factors (AEFs) for the first week in January 2020. MEFs are noisier and larger in magnitude than AEFs. c Normalized added CO2 emissions for charging in WECC for the month of January 2020, averaged over 15 runs with error bars for +/− two standard deviations. The results show that the MEF method is not scalable to large numbers of added EVs.

The disorder of generator emissions rates is reflected in the hourly MEF signal. Fig. 1b shows a comparison between the noisy MEF signal, representing the emissions of the generator responding to a marginal increase in demand, and the smoother AEF signal, representing the total emissions divided by the total demand at each timestep. While the AEF has a consistent shape day-to-day, the MEF appears almost random, as the smallest change in demand can cause it to double when the marginal generator switches from gas to coal.

It is difficult to test the effect of managed charging without a full model of grid dispatch45. Previous implementations of the MEF and AEF have used the same factors to both guide and evaluate the method, biasing the results. Here, instead, we use the economic dispatch model to evaluate emissions impacts by comparing the dispatch of generators under managed and baseline, or uncontrolled, demand45. We calculate this baseline demand from the driver behavior dataset, assuming that charging begins immediately upon plug-in and no charging timers are used (see Methods for details).

Fig. 1c shows the normalized added CO2 emissions for EV charging demand with 100,000 to 2 million added EVs. We find that following the AEF method yields a slight emissions reduction in the grid of January 2020, but the success of following the MEF method depends heavily on the number of added EVs. We find that the MEF method is not scalable, and implementing it with 2 million vehicles actually increases emissions relative to baseline charging. This occurs because the demand is no longer marginal when too many vehicles follow the same signal.

As renewables and other non-emitting generators are never on the margin in 2020, the MEF targets times when only natural gas plants will ramp up to meet the shifted EV demand. When demand overshoots the margin, additional coal plants must be used, adding more emissions than in the scenario with no managed charging at all. This result motivates the need for an alternative effective and scalable managed charging method.

Cascading marginal emissions factors

The MEF method can be successful if the change in EV demand is marginal or is small enough to only rarely change the marginal generator. Fig. 1c shows that a group of 100,000 EVs is small enough on average to reduce emissions in this grid. We apply this insight to implement a managed charging strategy, the Cascading MEF method, that ensures this threshold of 100,000 EVs is not crossed, even for higher levels of adoption.

Fig. 2 illustrates the Cascading MEF method. Instead of sending one signal to all EVs, the fleet of EVs is divided into a number of separate groups, and each group receives a different signal. We manage the first group using the MEF signal calculated from the baseline demand grid dispatch, which includes the baseline demand of that group as a placeholder. Then, we replace the first group’s baseline demand with its managed demand and re-run the dispatch to find a signal for the second group. This process repeats sequentially for all groups. Similar grouping strategies have been used in other applications to reduce peak charging demand but not emissions14,32.

Fig. 2: Flowchart for Cascading marginal emissions factor (MEF) method.
figure 2

The full set of electric vehicles is divided into n smaller groups; each group is then managed in sequence with its own MEF signal. The baseline demand for each group is used as a placeholder to improve the calculation of the MEF signal, then replaced by the newly managed demand profile in the calculations for later groups.

Comparing emissions impacts of AEF, MEF, and Cascading MEF methods

We evaluate the emissions impact of implementing the Cascading MEF method across multiple months and years to test its performance across various grid conditions, comparing against AEF and MEF method implementations and baseline charging. The 2020 simulations leverage historical grid and demand data while the 2030 simulations assume increased renewables, the addition of stationary storage, increased baseline grid demand, and specific generator additions and retirements, all scaled according to WECC projections (see Methods for details).

We show results for varying numbers of EVs between 1000 and 2 million added to the historical baseline demand to illustrate the range of demand levels where these traditional methods fail. We divide the EVs into 20 groups for the Cascading MEF method such that the largest group size is 100,000 EVs.

Fig. 3 displays added emissions for grid models of January and July in 2020 and 2030 for all managed charging methods. These months were chosen to limit impacts of the COVID-19 pandemic as California’s electricity demand had largely recovered from COVID-19 restrictions by July 202057. Table 1 shows the emissions reductions relative to the emissions from baseline charging. Supplementary Table 1 shows the absolute values in kg CO2.

Fig. 3: Normalized added CO2 emissions vs. electric vehicles (EVs) added to the grid comparing marginal emissions factor (MEF), average emissions factor (AEF), and 20 group Cascading MEF managed charging with availability only in existing charging sessions.
figure 3

Results are shown using the grid for a January 2020, b January 2030, c July 2020, and d July 2030. The shaded area around each line indicates two standard deviations above and below the average value of 15 simulation runs. In each case, managing charging with the simple MEF is not effective beyond 500,000 vehicles while implementing the Cascading MEF method consistently reduces emissions for up to 2,000,000 vehicles.

Table 1 Emissions reductions comparison for different managed charging methods

Following the Cascading MEF method yields at least a 10% reduction in added emissions in all four simulation months and for every number of added EVs tested and is the only method tested here that reduces emissions in all cases. While charging decisions following the MEF method reduce emissions for small numbers of EVs, after 500,000 EVs these decisions have little impact and can even lead to increased emissions.

On the other hand, following the AEF method reduces emissions in some cases, especially in July both for 2020 and 2030, but increases emissions in others. In January 2030, following the AEF method increases added emissions by up to 3.7%. These dynamics are driven by the availability of renewable generation and fossil fuel prices. Specifically, AEF managed charging concentrates charging during the daytime due to high solar generation. Unless there is excess renewable or non-emitting generation, demand shifted to that time is not met with solar. In January 2030, higher-emitting generators on the margin around midday lead to an increase in emissions with this strategy. Conversely, in July 2030, lower-emitting generators on the margin around midday due to lower natural gas fuel prices lead to a reduction in emissions. For all scenarios, the standard deviation of added emissions between trials is small, driven by the large number of vehicles sampled and by the similar charging availability windows of vehicles in the dataset.

We also observe baseline differences between the 2020 and 2030 grid scenarios. Although there are increased renewables in 2030 (specifically, 176% more solar and 50% more wind capacity in WECC), this additional non-carbon-emitting capacity does not outpace increased electrification enough to ever be on the margin. Given the planned retirement of many high-emitting coal and natural gas generators, baseline charging in WECC has lower added emissions in 2030 than in 2020. Thus, in the WECC region, emissions reductions from managed charging are most important in the short- and medium-term with increasing EV demand and more high-emitting generators to avoid.

Lastly, although following the Cascading MEF signal leads to the greatest emissions reduction among the methods we tested, the reduction is not constant with increasing EV adoption. Specifically, in January 2020, implementing Cascading MEF with 1000 vehicles reduces emissions by 26% compared to the baseline but only yields a 14.8% reduction with 2 million added vehicles. This trend is due to increasing group sizes. Our implementation with 20 groups means a group size of 50 vehicles in the first data point and a group size of 100,000 vehicles in the last data point. It is almost certain that a group of 50 EVs is small enough to be on the margin, but a group of 100,000 will sometimes cause a change in the marginal generator. Group size is an important implementation trade-off: limiting the number of groups limits the complexity of the program for the grid operator but also limits the emissions reductions.

Cascading MEF implementation considerations

EV aggregators using the Cascading MEF method may encounter a variety of challenges with real-world implementation. They must make decisions about the number of EVs in each group and understand how effective their managed charging will be if drivers do not perfectly respond to their dispatched signal. To inform best implementation practices, we test the Cascading MEF method in scenarios with different group sizes and imperfect response to EF signals.

Fig. 4a illustrates the effect of group size on emissions as we vary the number of groups from one, equivalent to the traditional MEF method, to 40. There are diminishing returns for using smaller and smaller EV groups: increasing the number of groups beyond 10 yields only minimal further emissions reductions. For implementation, this means that group size need not be exceedingly small; a group size below 200,000 EVs (corresponding to 10 groups in 2 million vehicles) is sufficient for this system, and running managed charging with smaller groups could introduce unnecessary additional computation costs.

Fig. 4: Sensitivity analysis to group size and uncertainty for electric vehicles (EVs) following managed charging signals in January 2020.
figure 4

a Cascading marginal emissions factor (MEF) method sensitivity to group size. Further emissions reductions from increasing the number of groups are minimal beyond 10 groups. b Comparison of Cascading MEF method with perfect vs. uncertain charging forecasts and driver responsiveness to managed charging. The shaded area around each line indicates two standard deviations above and below the average value of 15 simulation runs. When not all vehicles follow the signal as expected, the Cascading MEF method is less effective but still provides emissions reductions over traditional MEF managed charging.

Since the MEF signal for each group assumes that each prior group follows its signal perfectly, any deviations from this schedule affect each subsequent group. Aggregators may have limited information about EV drivers’ behavior, both when travel patterns change and drivers refuse to follow a signal. Both of these changes could lead to an altered aggregate managed demand profile and therefore a different resulting MEF signal58.

We test a scenario in which only 75% of EVs follow the EF signal perfectly and the remaining 25% of drivers do not follow the EF signal and are instead assumed to have baseline charging demand. Fig. 4b compares the Cascading MEF method with perfect responsiveness to the EF signal against this case with uncertain responsiveness. Exact percentage values of decrease in emissions are shown in Supplementary Table 2. Adding uncertainty renders the method less effective than perfect responsiveness, but this more realistic implementation still outperforms traditional MEF and AEF methods. Even when only 75% of drivers’ demand is as forecast, following the Cascading MEF method yields over a 7% emissions decrease with 2 million vehicles, while following the traditional MEF method increases emissions.

Cost and peak demand impacts of the Cascading MEF method

Although the Cascading MEF method is enacted in a decentralized manner, to achieve widespread implementation, the scheme still must avoid negative impacts to the grid system as a whole. Two other common objectives in grid operation are reducing total costs and peak demand. Emissions-minimizing charging could help reach emission targets, but it should not substantially increase costs nor cause demand spikes that strain grid infrastructure.

Table 2 shows the average cost reduction across all simulation months and years from each managed charging method compared to the cost from baseline charging. Following the AEF method leads to the most substantial cost decrease, while following the MEF and Cascading MEF methods has minimal effects on the total cost (less than 2.5% increase or decrease). Data for each individual month are presented in Supplementary Table 3. The results indicate that implementing the Cascading MEF method does not compromise on cost and can in some cases decrease costs compared to baseline charging.

Table 2 Dispatch cost reductions comparison for different managed charging methods

To analyze the impact of managed charging on peak demand, Fig. 5 compares baseline and managed EV charging demand profiles. The total energy delivered is constant across managed charging methods over the course of the week (shown in Supplementary Fig. 3); this plot displays a segment of the week-long optimization. During this 24 hour snapshot, demand is shifted away from peak evening hours and is pushed toward daytime with the AEF method and toward late night with the MEF and Cascading MEF methods. Flexibility creates large demand spikes when following the MEF method during times with low MEFs and when many of the EVs are plugged in, like hour 3. The demand peak is much smaller when following the Cascading MEF method than the MEF since separate groups of EVs are encouraged to charge at separate times. This shows that following the Cascading MEF method can achieve substantial emissions reductions without compromising on other grid impacts.

Fig. 5: Electric vehicle (EV) charging demand for 1 million EVs for a sample 24 hour period between January 10-11, 2020 showing baseline and the three managed charging demand profiles: marginal emissions factor (MEF), average emissions factor (AEF), and Cascading MEF methods.
figure 5

High charging availability can lead to spikes following the MEF method; this effect is mitigated by following the Cascading MEF method.

Sensitivity of managed charging to other design parameters

The time-varying, grid-aware signals of the Cascading MEF method are effective for emissions reduction, but implementing this type of managed charging relies on certain assumptions about EV baseline charging and aggregator capability. Specifically, the baseline tested in this work assumes that EV drivers do not use charging timers, and the Cascading MEF method assumes that aggregators can dispatch signals hourly with knowledge of existing charging session locations. To analyze scenarios without these assumptions, we test a scenario with a charging timer implemented in the baseline profile and a simple daytime managed charging method. We also test a case with increased charging availability where we make more generous assumptions about the aggregator’s ability to control charging.

Although aggregators may not have perfect foresight about exact charging session times, they may have knowledge about when the EV is parked at home with access to a charger. Supplementary Fig. 4 and Supplementary Tables 4 and 5 display emissions reductions resulting from increasing EV plug-in availability in managed charging. The scenarios presented thus far use only existing sessions, limiting charging power shifts and modulation to only charging sessions calculated directly from the dataset. Here we examine a maximum sessions scenario with increased availability. This is achieved by allowing charging to occur whenever the EV is parked near a charger, even if a charging session did not occur at that time in the historical data.

Surprisingly, adding availability does not automatically lead to a decrease in emissions, and the overall conclusions of this paper are unchanged by these additional charging sessions. Following the MEF and AEF methods still does not yield consistent emission reductions while following the Cascading MEF method reduces emissions in all cases by at least 10% for at least 2 million EVs. This result occurs because the added sessions in the maximum sessions scenario allow for higher peaks in demand, as more EVs can be shifted to the times when the emissions signal is lowest. These high peaks lead more easily to overshoot and push smaller groups of EVs off the margin, suggesting that, for the same number of EVs, the aggregator should dispatch signals in smaller groups if they have knowledge about the maximum sessions possible.

When drivers enable a charging timer, it alters the baseline added emissions, since baseline charging becomes concentrated around the timer start. To examine the effect of timers on our results, we implement a case with a midnight charging timer59. This entails shifting overnight charging sessions to begin at midnight in the baseline. Supplementary Fig. 2 compares the baseline charging with and without the charging timer, and Supplementary Fig. 5 and Supplementary Table 6 show the added emissions from following each emissions-minimizing method compared to the timer baseline. In January 2020, following the Cascading MEF method is between 0.1– 3.1% less effective in reducing emissions relative to the baseline with the timer than relative to the baseline without the timer, depending on the number of EVs added.

Finally, to model a scheme where EVs are simply incentivized to charge during the daytime hours, we use a simple charging signal that only changes twice per day instead of varying the signal every hour. The results for this simple daytime charging analysis are presented in Supplementary Fig. 6 and Supplementary Table 7. We find that following this simple signal performs similarly or worse than following the AEF method, reflecting the value of more dynamic signals, the absence of excess renewable generation in our test months in 2020 and 2030, and the relatively high natural gas prices in these grid scenarios.

Discussion

Our research shows that existing approaches to reduce emissions from EV charging with AEF- or MEF-based methods may be less effective with today’s grid and demand conditions. In the Western U.S. today, there are already over 1.6 million registered EVs56, and distributed energy resource aggregators, such as OhmConnect and EnergyHub, are already operating with gigawatt scale capacity60,61. With over 500,000 EVs under the same managed charging method, the key assumption behind the widely used MEF method could fail and lead to an increase in emissions from following this method. We show that the proposed Cascading MEF method is effective for this many vehicles across seasons. In our simulation, following the Cascading MEF method reduces emissions by 13–28% in 2020 and 10–21% in 2030 for up to 2 million vehicles. With small enough groups, the method design supports implementation for millions more EVs and is robust to the region’s plans for full electrification.

Based on these findings, we make several recommendations for policymakers looking to reduce short-term emissions from EV charging. First, consider avoiding MEF or AEF managed charging signals at large scale or in systems where high-emitting generators are commonly on the margin when there is low net demand. Beyond 500,000 vehicles (equivalent to another type of aggregated flexible load drawing approximately 750 MW of demand, calculated from Fig. 5), consider using the Cascading MEF method to manage charging.

Next, to implement the Cascading MEF method, grid operators should develop a program to pass signals to aggregators. The program should contain the following steps: (1) determine the number of EV groups, (2) assign the EVs to different groups, either randomly or (if possible) ensuring EVs with similar demand profiles are distributed across different groups, (3) use simulations to calculate the MEF signal for each group, and (4) communicate a different signal to the aggregators for each group. Lastly, we recommend measuring and reporting the emissions impact of the Cascading MEF method and refining the group size as needed.

Implementing a successful Cascading MEF program requires the consideration of many technological, behavioral, and financial factors. One challenge is coordinating signal dissemination: the vehicles all need a platform to receive the managed charging signal. EV aggregators can serve this role, but they must make decisions about how to account for uncertainty in driver behavior, how frequently a signal changes, and, if they manage more EVs than fit in one group (in the Cascading MEF method), which signals to communicate to which EVs. All of these factors affect computational complexity and efficacy of the managed charging. We find that when aggregating large numbers of EVs, there are only marginal improvements from using group sizes smaller than 200,000 vehicles.

Running the simulation with our dataset requires about one core-hour of computation time per Cascading MEF group per week of simulation time horizon, so with 20 groups or fewer, the simulation will run in less than a day. To implement this method, grid operators and EV aggregators would need to combine their knowledge of the day-ahead generator dispatch bid stack, projected non-EV baseline demand, and projected baseline EV demand. Operators could then calculate the Cascading MEF signals on a daily or weekly basis and pass them to an EV aggregator to dispatch to drivers.

In terms of driver acceptance of managed charging signals, we did not assume changes in driver plug-in behavior in the main analysis, only automated charging management within and across existing plug-in sessions. Nevertheless, drivers may choose to opt out of this managed charging method or change their plug-in and travel patterns. While that makes this method less effective, the uncertainty analysis in Fig. 4b shows that it still delivers an improvement over traditional MEF methods. Regardless of behavior forecasting, aggregators should use time-varying signals for managed charging instead of simple charging shifts.

For many stakeholders, it is important that minimizing for emissions does not lead to large increases in cost. While a small aggregator or datacenter may be less inhibited by cost and able to focus solely on emissions-minimizing managed charging, not all organizations have that opportunity. They may instead implement a mixed cost and emissions objective. We find that the total system generation costs are similar between the baseline and managed charging scenarios; if wholesale prices reflect these generation costs, then aggregators should not experience financial challenges from implementing the Cascading MEF method.

When modeling charging specifically, different assumptions about the profile of baseline charging or the power rating of public chargers could affect the results. While implementing a charging timer does not substantially change baseline added emissions, using a different dataset where users make charging decisions based on other rate structures could alter these baseline emissions. Lastly, if extreme fast charging becomes ubiquitous, it could increase charging demand spikes substantially. Different charging patterns from outside California or the widespread availability of vehicle-to-grid chargers could also change the optimal group size. Future work should include a comparison to different types of baseline charging, such as convenience-focused or cost-focused, and sensitivity analyses to fast charging and vehicle-to-grid availability.

Our analysis assumes the distribution grid can support changes in charging demand, but distribution grid equipment limits may be violated when all homes in a neighborhood install Level 2 chargers62,63. Our model also reduces the region to a single transmission node, but emissions factors may vary across the region64. Future work should investigate both the distribution network and transmission congestion impacts on the Cascading MEF method, including how EV grouping for this method may be affected.

When implementing the Cascading MEF method in other regions, different generation mixes or technologies may also affect the results. We select the entirety of WECC to study the Cascading MEF method for a grid dispatch model with detailed MEF data and a region with a noisy generator emissions bid stack. Furthermore, we assume nonfossil generation is dispatched first and find it is never big enough to be on the margin in our WECC simulation scenarios. As a result, there are no highly desirable charging times when the MEF is zero or when the MEF and AEF align. Comparing the Cascading MEF method to the MEF and AEF methods in other regions where renewables are either dispatched last or are commonly on the margin is an important area of future research.

In other interconnections or even subregions of WECC, seasonality and regional differences can also affect the grid mix. Where the average generator capacity is smaller, the maximum EV group size must be smaller too, and the algorithm may be sensitive to EV group assignment. The AEF method may perform better in other systems with renewables curtailment or where low-emitting generators are consistently on the margin during periods of low net demand. The MEF method may perform better if the merit order is smoother, namely, if it is better ordered by emissions rate. Then, overshooting the margin and changing the marginal generator should introduce only a small error in the expected emissions impact. Alternatively, in a region where generator capacities are larger, overshooting the margin requires larger spikes in demand and may happen less frequently. However, in our simulations, the Cascading MEF method delivers more consistent reductions than the MEF method in a system with a noisy MEF signal and dispatch order.

Another area of future research is the development of a modified MEF signal that encompasses multiple marginal generators deeper down the dispatch bid stack. While charging decisions made via the Cascading MEF method must be calculated sequentially by group, a modified MEF signal could allow one-shot managed charging schedule optimization. However, this signal would require developing new methods to accurately predict each group’s managed charging demand to determine the second, third, or later marginal generators that should be included in the signal.

A successful emissions-minimizing charging algorithm should also be future-proof in the face of a changing grid and future policies. If policymakers or regulators place a carbon price on fossil generation, the generator merit order will shift and with a very high carbon price could be ordered solely by emissions rate. This will reduce the noisiness of the MEF signal and increase the efficacy of both the MEF and Cascading MEF signals.

The Cascading MEF method can be applied to any type of flexible load. The deployment of widespread distributed battery storage and the electrification of heating and other transport segments like medium- or heavy-duty fleets will all introduce new loads controllable by this method. Commercial EVs in these fleets specifically may be even more price sensitive and better suited for this type of managed charging than private, light-duty EVs.

With a complex mix of generators, using existing managed charging methods with the MEF or AEF signals can fail to reduce emissions. The Cascading MEF method provides EV charging aggregators and other flexible demand with a cleaner alternative to ensure emissions reductions even as electrification increases and the amount of flexible demand grows beyond the margin.

Methods

EV charging data and availability

We use a dataset of historical EV charging and driving events from 748 Audi e-tron vehicles located in California. While the dataset covers the period between April 2019 and July 2021, we focus specifically on the months of January and July 2020 to capture charging patterns in two different seasons and avoid the main effects of COVID-19 pandemic restrictions. The data entries for January include 680 drivers with 7110 charging sessions in total. Each data entry is specific to one vehicle and contains the date and time and the vehicle’s mileage, battery state of charge (SOC), location, and charging status (either plugged or unplugged). The vehicles each have a battery capacity of 83.6 kWh.

We identify each vehicle’s stops based on plateaus in the mileage value, and we use the change in SOC to reconstruct the vehicles’ energy use and baseline charging profiles. If the SOC increases by more than 2% during a stop, we assume a charging session occurred. Smaller changes in SOC are very common during mileage plateaus; we assume these reflect re-calibration adjustments of the SOC estimation algorithm.

As the SOC is recorded only at the beginning and end of each charging session and the exact charging power profile is unknown, we assume a constant charging rate for baseline charging. We test two scenarios, one without and one with a charging timer.

Without a charging timer, we assume that charging begins immediately at the maximum rate after the vehicle is plugged in, and we do not make any inferences about start or end times of charging behavior based on any electricity price structure.

With a charging timer, we make the same assumption for all sessions except for overnight charging sessions that have enough flexibility to shift the session to accommodate a charging timer. For those sessions, we assume charging begins at midnight and is constant at the maximum rate until the battery reaches the final SOC. The midnight timer start reflects the beginning of the off-peak time-of-use rate for Pacific Gas & Electric’s EV2 rate effective from January– February 202059.

We estimate the baseline charging rate of a particular charging location by assigning a charging level based on previous charging sessions at that location. We round charging rates from those previous sessions down to the nearest charging level; for example, if the average charging rate for an observed session is below the Level 3 rate but above the Level 2 rate, we bin it to the Level 2 rate. These charging levels are U.S. standards, upper bounded by 1.3 kW for Level 1, 6.6 kW for Level 2, 50 kW for Level 3, and 150 kW for Level 465.

By tabulating all charging sessions, we create a baseline charging demand profile for each vehicle. To run a simulation containing more vehicles than present in the dataset, we randomly sample vehicle profiles from the dataset with replacement until we reach the desired total number of vehicles. A sample baseline charging profile with a breakdown of charging levels for 1000 vehicles is depicted in Supplementary Fig. 2.

To identify where charging is available to each vehicle, we first cluster the GPS coordinate data of each vehicle’s stops. We use Agglomerative Clustering with complete linkage and a distance threshold of about 50 meters66. This method allows a different number of location clusters for each driver and ensures each location is well defined within a 50-meter radius67. We assume the driver has access to charging at each location for which at least one charging session is recorded. We estimate the maximum charging power for each charger based on all observed sessions for each location, binning as described above. Since fewer than 12% of California public and shared private chargers are Level 3 or above, we assume managed charging is limited to 25 kW to eliminate unrealistic frequent access to fast Level 3 and Level 4 charging and mimic aggregator strategies to protect grid infrastructure from control-induced peaks in demand68.

We implement two charging availability strategies based on each driver’s existing and potential charging sessions. In the main analysis, the existing sessions scenario, we assume charging can only shift within and across existing sessions, namely, times when the vehicle was plugged in. In a sensitivity analysis, the maximum sessions scenario, we assume charging can shift within and across existing and potential sessions, namely, all times when the vehicle was parked where we know it has access to a charger, as identified from the location clustering. Supplementary Fig. 7a depicts the difference between available charging times in both scenarios.

EV charging optimization

We run three separate grid dispatches to optimize each EV’s charging profile and calculate added emissions, as shown in Supplementary Fig. 7b. First, we obtain a baseline dispatch with historical demand data with no added EVs. Next, we sample EVs from the dataset with replacement, add their baseline charging demand to the historical demand, and run a second dispatch. Utilizing this prior knowledge of baseline charging demand allows for a better approximation of total demand to feed into the dispatch model and generate an accurate EF signal. The AEF or MEF signal resulting from this dispatch is the input to the optimization problem for managed charging; once we obtain this managed charging profile, we use it for the third grid dispatch to evaluate the impact on emissions.

To simulate managed charging with the AEF or MEF signal, we assume an aggregator solves a convex optimization problem for each EV: minimizing emissions while maintaining minimum battery SOC levels necessary for their driving behavior and respecting constraints on charging access. We assume vehicle-to-grid is not possible. The problem formulation is as follows:

$${\min }_{{{\bf{p}}},{{{\bf{z}}}}_{l},{{{\bf{z}}}}_{u}}.\qquad \quad {{{\bf{e}}}}^{T}{{\bf{p}}}+\lambda \left({{{\bf{1}}}}^{T}{{{\bf{z}}}}_{l}+{{{\bf{1}}}}^{T}{{{\bf{z}}}}_{u}\right)$$
(1)
$$\,{{\mbox{subject}}} \, {{\mbox{to}}}\,\qquad \quad {{\bf{s}}}(t+1)={{\bf{s}}}(t)+\frac{{\Delta }_{t}}{Q}\left(\eta {{\bf{p}}}(t)-\frac{{{\bf{d}}}(t)}{\eta }\right),\quad t=1\ldots N-1$$
(2)
$$0\le {{\bf{s}}}(t)\le 1,\quad t=1\ldots N$$
(3)
$${{\bf{s}}}(0)=SO{C}_{0}$$
(4)
$${{\bf{s}}}(N)=SO{C}_{N}$$
(5)
$$0\le {{\bf{p}}}(t)\le {{{\bf{p}}}}_{max}(t),\quad t=1\ldots N$$
(6)
$${{\bf{p}}}(t)=0,\quad t\notin I$$
(7)
$$-{{\bf{s}}}(t)-{{{\bf{z}}}}_{l}(t)\le 0.2,\quad t=1\ldots N$$
(8)
$$-{{{\bf{z}}}}_{l}(t)\le 0,\quad t=1\ldots N$$
(9)
$${{\bf{s}}}(t)-{{{\bf{z}}}}_{u}(t)\le -0.8,\quad t=1\ldots N$$
(10)
$$-{{{\bf{z}}}}_{u}(t)\le 0,\quad t=1\ldots N,$$
(11)

where e is the MEF or AEF signal, p is the charging power, zl and zu are the SOC penalty variables, λ = 1 is the SOC penalty weight, s is the SOC, Q is the EV battery capacity, Δt is the timestep, d is the power used while driving, and η = 0.91 is the charging efficiency. The objective, Eq. (1), includes a linear term to schedule charging during periods of low MEFs or AEFs, as well as a penalty to lessen the impact of charging on battery health. This penalty, which also includes the constraints in Eqs. (8)–(11), regulates the state of charge by limiting the time spent outside the bounds of 20% and 80% SOC.

Equation (2) governs the SOC evolution, while Eq. (3) sets a strict SOC bound. The driving power time series, d, is a fixed input derived from the dataset that is positive when the vehicle is driving and 0 at all other times. We fix the SOC at the beginning and end of each week to allow concatenation of multiple weeks of managed charging (Eqs. (4) and (5)). For the charging constraints, we first limit the charging power to be positive and less than the maximum allowed power at each location (Eq. (6)). Finally, in Eq. (7), we ensure that the vehicle can only charge when parked at a location where charging is available, indicated by set I. p(t) = 0 during all other periods, including while driving and while parked in a place without charging. We solve the optimization problem for one week at a time with 15-minute time intervals to reduce the computation time, resulting in Δt = 0.25 hours and N = 672 data points each week.

Cascading MEF algorithm

The Cascading MEF algorithm uses the same charging optimization problem presented above, but the major difference between this method and the traditional AEF and MEF methods is the signal that each vehicle receives for optimization. As shown in Fig. 2, EVs are managed sequentially in smaller, equal-sized groups. Each group receives a MEF signal for optimization, then its managed demand is used in conjunction with the next group’s baseline demand to re-run the grid dispatch and output the next MEF signal. The signal for each group is calculated using its baseline demand as a proxy, then the proxy is subtracted and replaced with the group’s managed demand using the signal. Supplementary Fig. 8 shows an example of how the Cascading MEF signal is mapped from the generator merit order.

Uncertainty in driver responsiveness to the managed charging signal

We run an additional case with uncertainty in the drivers’ managed charging response as part of a sensitivity analysis. Let \({D}_{i}^{u}\) be the baseline demand of group i and let \({D}_{i}^{c}\) be the managed demand of group i. In the standard Cascading MEF algorithm, the EV demand for group n dispatch is

$${D}_{EVs}(t)={\sum }_{i=0}^{n-1}{D}_{i}^{c}(t)+{D}_{n}^{u}(t).$$
(12)

Therefore, the dispatched demand assumes that all drivers perfectly follow their emissions-minimizing charging signal. To test the Cascading MEF algorithm under uncertainty, we assume that only 75% of vehicles follow this signal, which is modeled as follows.

When calculating subsequent signals, we substitute 25% of the prior groups’ managed demand with baseline demand. This represents a case where those 25% of the drivers ignore the emissions-minimizing charging signal. To model additional uncertainty, we define Duncert by sampling from a normal distribution centered around zero with a standard deviation of the maximum value of 25% of the current group’s baseline demand and add this to the managed demand used in subsequent signal calculations. Lastly, to ensure the new total dispatch demand in kWh is equivalent to the old value, even though the power timeseries values are different, we scale and add Ddisplace. Together, the dispatch demand is

$${D}_{EVs}(t)={\sum }_{i=0}^{n-1}0.75{D}_{i}^{c}(t)+0.25{D}_{i}^{u}+{D}_{n}^{u}(t)+{D}^{uncert}(t)+{D}^{displace}(t).$$
(13)

Grid dispatch model

We use an open-source, reduced-order economic dispatch model to simulate the emissions produced at each hour under each demand scenario. The model was first proposed by Deetjen and Azevedo10 and updated by Powell et al.4,32 to represent the years 2020 and 2030. It models the 11 main states in the U.S. portion of the Western Interconnection (WECC) grid, a region with approximately 75 million residents and 48 million personal vehicles32.

The model represents each fossil fuel generating unit in this region, using historical data provided to the U.S. Environmental Protection Agency (EPA) through its Continuous Emissions Monitoring Systems (CEMS) to extract each generator’s hourly capacity and emissions rate69. We use information from the EPA’s Emissions and Generation Integrated Resource Database (eGRID) and from the U.S. Energy Information Administration (EIA) Form 923 to capture each generator’s construction date, fuel type, location, and fuel prices70,71. Nonfossil generation sources are dispatched first and assumed to have zero cost. Next, fossil generating units are dispatched in order of lowest cost to serve the demand at each hour. We do not represent transmission or trading across grid interconnections. The model does not consider ramping constraints nor, in this implementation, minimum downtime events for coal plants.

Nonfossil fuel generation, including wind, solar, nuclear, and hydropower, is dispatched first. Where Gnonfossil(t) is the total nonfossil fuel generation at time t, we define net electricity demand as

$${D}_{net}(t)={D}_{total}(t)-{G}_{nonfossil}(t).$$
(14)

Nonfossil fuel generation never exceeds demand in our simulations for these months and years, so it is never on the margin. To simulate emissions, we dispatch

$${D}_{net}(t)+{D}_{EVs}(t)$$
(15)

to the fleet of fossil fuel generators, where DEVs(t) is the EV charging demand.

At hour t, the MEF is defined by the emissions rate of the marginal generator that would ramp up or ramp down production to respond to a small change in demand. The AEF is calculated by dividing the total electricity demand during that hour by the total CO2 emitted during that hour. Both the MEF and AEF have units \(\frac{kg\,{{{\rm{CO}}}}_{2}}{MWh}\).

To model changes to the grid in 2030, we rely on WECC’s announcements and forecasts to incorporate planned fossil fuel generator retirements and additions. For added renewables, we linearly interpolate the new renewable capacity between the 2020 capacity and WECC’s 2035 predictions for solar, wind, and hydropower72. This leads to solar increasing by 176%, wind by 50%, and hydropower by 2%. Nuclear capacity is held constant between 2020 and 2030. We omit storage in our model of the 2020 dispatch as its capacity was only about 500 MW, or approximately 0.01% of total dispatchable capacity73. In 2030, we model storage with a capacity of 16.6 GW72. Lastly, we increase electricity demand by 12.5% compared to 2020 to account for load growth and electrification72. We assume all storage is four-hour storage, meaning it can charge or discharge its full capacity in four hours at a constant rate. We assume it charges during hours of peak solar (11 am–3 pm) and discharges during the four hours of highest net demand each day in a noon–noon time frame. In the 2030 simulations, the storage-adjusted net demand,

$${D}_{net}(t)+{D}_{EVs}(t)+{D}_{storage}(t)$$
(16)

is then dispatched to the fossil fuel generators as described above.

Reporting summary

Further information on research design is available in the Nature Portfolio Reporting Summary linked to this article.