key: cord-0254706-l5wx8h0t authors: Blatiak, Alicia; Bellizio, Federica; Badesa, Luis; Strbac, Goran title: Value of Optimal Trip and Charging Scheduling of Commercial Electric Vehicle Fleets with Vehicle-to-Grid in Future Low Inertia Systems date: 2022-04-25 journal: nan DOI: 10.1016/j.segan.2022.100738 sha: bb6f4c7e26daf00a56c59f054b75b98d6decfb23 doc_id: 254706 cord_uid: l5wx8h0t The electrification of transport is seen as an important step in the global decarbonisation agenda. With such a large expected load on the power system from electric vehicles (EVs), it is important to coordinate charging in order to balance the supply and demand for electricity. Bidirectional charging, enabled through Vehicle-to-Grid (V2G) technology, will unlock significant storage capacity from stationary EVs that are plugged in. To take this concept a step further, this paper quantifies the potential revenues to be gained by a commercial EV fleet operator from simultaneously scheduling its trips on a day-ahead basis, as well as its charging. This allows the fleet to complete its trips (with user defined trip length and distance), while taking advantage of fluctuating energy and ancillary services prices. A mathematical framework for optimal trip scheduling is proposed, formulated as a mixed-integer linear program, and is applied to several relevant scenarios of the present and future British electricity system. It is demonstrated that an optimal journey start time can increase the revenue of commercial fleets by up to 38% in summer and 12% in winter. This means a single EV from the maintenance fleet can make additional annual revenue of up to {pounds}729. Flexible trip schedules are more valuable in the summer because keeping EVs plugged in during peak solar output will benefit the grid and the fleet operators the most. It was also found that a fleet of 5,000 EVs would result in the equivalent $textrm{CO}_2$ of removing one Combined Cycle Gas Turbine from the system. This significant increase in revenue and carbon savings show this approach is worth investigating for potential future application. Auxiliary decision variable y Binary variable 2 With the global agenda to reduce reliance on fossil fuels and reduce pollutants and carbon emissions, the transition from internal combustion engine vehicles to electric vehicles (EVs) is seen as an important one. In 2020, despite the Covid-19 pandemic, a record three million new EVs were registered globally, a 41% increase from the previous year. By 2030, the global EV fleet is projected to reach 145 million, rising to potentially as much as 230 million, if governments accelerate efforts to reach climate goals [1] . The added charging loads associated with an increasing penetration of EVs, could pose a threat to the stability and reliability of the power system [2] . However, there is also an opportunity to better integrate the transport and power systems, with the extra storage capacity offered by the EV fleet to the system operator. Storage is a type of flexibility, or adjustment of generation or consumption, which will be needed to ensure the future low-carbon power system can maintain secure operation. By accessing more flexibility, system operators can operate the system very close to its limits and reduce the safety margins. This would result in an improved utilization of the existing grid assets and in a reduction of the investment costs as no redundant equipment would be anymore needed to maintain the system within adequate security levels. Therefore, carbon emissions targets can be achieved while making significant savings by reducing the need for investment in low-carbon generation, reducing system operating costs and reducing network reinforcement costs [3] . During the Covid-19 pandemic, a glimpse of this future power system was seen, due to the lower demand and high renewable generation seen in May to July, 2020, in Great Britain. Operating costs in the form of ancillary services increased by £200m compared to the same period in 2019. The study in [4] also showed that in the 2030 future power system, these ancillary service costs could reach 35% of total operating costs. Electric vehicles research exists in many fields and from many perspectives. Regarding their interaction with the electricity network, there are two established fields that investigate this issue, power systems and transport studies. The latest developments in these fields will be summarised in this section, describing the state of the art. There is one emerging field where these disciplines are beginning to overlap, and where this paper contributes. It is important that both perspectives, power systems and transport studies (which can be generally summarised as the charging scheduling of the EVs and the travel scheduling of the EVs), are both considered as transport is electrified. This is due to the increasingly relevant and complex interaction between energy and transport systems moving forward. There has been significant research in the field of modern power systems, investigating how to take advantage of the flexibility EVs have to offer. Often, this is from a power system perspective, where EV charging scheduling, i.e. optimising charging or discharging schedules according to either energy arbitrage or balancing service provision, has been a focus. Early work in this area was developed in [5] , which calculated the potential capacity and net revenues for EVs supporting the grid with Vehicle-to-Grid (V2G) technology. The potential for EVs to provide grid services such as peak power, spinning reserves are regulation, was outlined and the societal benefits also discussed. An optimal bidding strategy of EVs participating in electricity markets was formulated in [6] , where an aggregator of EVs bids strategically, considering uncertainties in price and driving behaviour. Another operational tool was developed in [7] , allowing the aggregator to optimise energy and ancillary services scheduling together. This allowed for higher profits for aggregators, as well as lower costs of EV charging for the customers. EV charging is optimised to minimise carbon emissions and wind curtailment in [8] , showing EVs can absorb excess wind generation in GB. More recently, EVs have also been studied as a potential source of synthetic inertia for low inertia power systems [9] and of reactive power [10] . A technical review on approaches for EV demand management is provided in [11] and covers multiple electric power markets. A recent review of progress in utilizing EVs for ancillary services is presented in [12] and is done so from several perspectives, including state of the art technology and control methods. An extensive review of charging and discharging strategies, including various objective functions for optimising EVs in the power system, has been carried out in [13] . A common objective function identified in the literature is maximising revenue for the EV owners, fleet operators or aggregators participating in the energy and balancing service markets. In terms of physical constraints and market participation, the basis of modelling EVs as storage is similar to energy storage systems, for example in [14] . It is worth noting that in most power system related studies, the driving behaviour of the EVs is not a focus, rather a predetermined input and often fits a Gaussian distribution based on trends in driving pattern data (for example, in [6] and [15] ). Balancing (or ancillary) services, including frequency response (FR), have also been of particular interest because of their market value [5] and the minimal stress on EV batteries (i.e. when providing availability for the majority of the time, thereby reducing the charge cycling). Utility fleets, with their ease of aggregation by fleet operators or aggregators, can provide the minimum bidding capacity in order to participate in the frequency response market, currently set to 1MW. These fleets are also highly predictable, allowing for a greater certainty that the capacity offered will be met, compared to, for example, aggregating private vehicle fleets [16] . A limitation of these studies of EV charging and discharging schedules is that most do not consider vehicle trip timings or routes as decision variables in their approaches (i.e. driving patterns are either fixed inputs or the uncertainty in plug-in times is accounted for and modelled). There is another field that focuses on these issues but without the power system dimension. The Vehicle Routing Problem (VRP), specific to EVs (E-VRP), approaches the optimal operation of EVs from the driving pattern and infrastructure perspective. Here, the objective function is often to plan the optimal route, as opposed to the optimal charging schedule, as often seen in power systems research. This optimal route takes into account traffic, charging needs and other constraints [17] . A limitation of these works is that although the prices of the use of charge-points are considered, these are not clearly linked to ancillary service market price. The prices are described as being related to electricity 'cost', service and parking fees [18] . Recent work in [19] has integrated the optimal charging schedule with a vehicle routing problem, to produce maximum revenues for various agents, while also solving which route EVs should take. In [20] , a mixed integer linear program was formulated to create charging schedules for EVs, as well as an optimal route, which considered distribution network constraints. The approach taken in [21] also involved charging schedule optimisation and routing the EVs under time delay tolerance. Time delay tolerance is related to how long an EV is willing to wait in a queue to charge. A limitation of these works is that they do not consider the perspective of commercial fleet operation, nor do they account for ancillary service participation or prices. So in other words, the element of tapping into the flexibility EVs have to offer the power system is not fully explored in combination with the optimisation of the trip itself. In order to effectively integrate EVs, making them useful to the system operator, as well as maximise their own revenues, it is important that the ancillary service market is considered. The provision of ancillary services, which is significantly higher with bi-directional charging (i.e. V2G technology), has not been identified in the E-VRP literature, nor is the provision of energy arbitrage. This means that optimising EV operations is either done from the power system operation perspective, as per the power system research field, or from the EV operation perspective, as seen in the Transport Studies field. Clearly, with the electrification of transport, the power and transport systems will be much more interconnected and inter-dependent and there is currently a significant gap in this area of research. It is this precise limitation in the current literature that the present work seeks to address. There is an emerging area of research that investigates how to coordinate charging EVs considering their transport services, too. To date, the use case for this approach is a shared EV fleet or an EV taxi fleet, no work has been done on the commercial maintenance or delivery fleet use case. In [22] , historical taxi travel data and electricity prices were used to demonstrate how to maximise profits for the EV fleet owner. It was found that there was a higher demand for passenger taxi trips in the afternoon, when electricity prices were low. During the evening peak electricity prices, it was profitable for EVs to be plugged in as they could maximise profits by discharging and selling their energy. Although the work highlights the synergies between transport demand and electricity price, ancillary service provision is not considered. Also, energy arbitrage increases battery cycling and hence degradation more than ancillary service provision. In a future low-inertia system, frequency response will become increasingly important. Ancillary service provision from EVs could reduce system costs in a future GB electricity grid by up to £12,000 a year and reduce CO 2 emissions by 60 tonnes per year [23] . The authors in [24] designed a central controller for an EV taxi fleet that does include scheduling charging and discharging for ancillary service provision. The work does not schedule trips themselves, though, as this is determined by the taxi passengers. In the present work, scheduling is carried out both for trips and for charging to provide ancillary services, considering transport energy requirements and trip lengths. In summary, the main novelty of this paper compared to previous approaches is the co-optimisation 5 of trip schedules alongside energy and ancillary services for commercial EV fleets. The motivation of this work is to further explore and evidence the opportunities to integrate the energy and transport systems, in order to quantify the benefits to the future power system and to EV fleet operators. It is clear that there is value in optimising charging EVs to access the flexibility, in terms of energy, they have to offer. There also exists a body of work evidencing the value in the optimising the journeys of EVs, considering the changes to the transport system (including driving behaviour) that shifting to battery powered vehicles will have and mitigating this effect. In this work, the authors seek to quantify the value of combining these approaches and to answer the question, what will the value of simultaneously scheduling both EV charging and trips be in the future power system? This is particularly interesting considering the increased penetration of renewable energy in the future and the effect on ancillary service and energy prices. Frequency response is the ancillary service modelled here, as it is of major concern for a low-inertia grid with a high penetration of renewable generation. The generation mix will radically change the time of day that ancillary services, and hence EV flexibility and availability, will be useful. As a result, the possibility of scheduling trips, in addition to charging, to account for this is what motivates this work. As far as the authors are aware, no work has sought to quantify the value of optimal trip and charging schedules of commercial EV fleets participating in ancillary service markets. This is important given the projected uptake of EVs and the opportunity they present to provide significant flexibility and reduce power system operational costs, along with other distributed energy resources [3] . This paper seeks to consider both the fleet operation and the provision of ancillary services to the grid by optimising revenue for the commercial fleet owner considering energy and ancillary service prices. It does this by extending current approaches in optimising EV charging schedules to assess the value in scheduling trips, as well as incorporating both future prices / scenarios. This is valuable because this approach allows the fleet owners to benefit by increasing their revenue, as well as the power system benefiting from an increased capacity in ancillary services. As discussed in [4] , the operational costs from ancillary services is likely to increase in future power system scenarios, where more sources of renewable energy generation are present. This is an opportunity to utilise the new sources of flexibility the EVs present, while fulfilling the requirements of the EV fleet to perform its operations. Specifically, this paper considers the operations of the commercial fleet, where trips lengths and distances (i.e. energy required for travel) are known, day-ahead user inputs. This work is different to existing work in that it focuses on commercial (e.g. delivery and maintenance) fleets with known transportation needs and it considers the current and future power system scenarios to demonstrate the business case for commercial EV adoption. The real world commercial data obtained has not been seen elsewhere in the literature, and given its limited volume, data was synthetically generated for the case studies, based on distributions. The key contributions of this work can be summarised 6 as follows: • Novel scheduling approach for EV fleet operators that includes both charging and trip times, generating additional revenues and exploiting synergies between the power system and transport system • Quantification of the value of scheduling optimal journey times accounting for frequency response prices, limiting battery degradation and accurately capturing provision both from reducing charging and increasing discharging • First time accurate characterisation of flexibility of commercial EV fleets participating in ancillary service markets, inferred from real world data from a V2G demonstration project in the UK • Comprehensive assessment of revenues of commercial V2G fleets considering present and future GB scenarios with various sensitivities, including societal benefits in terms of carbon emissions avoided It should be noted that in this work, the EVs do not perform energy arbitrage, due to the adverse impacts on the battery by increased cycle [25] . It has been found that EVs are only competitive on the electricity market, performing energy arbitrage, when the peak prices are unusually high [5] . So although the fleet will optimise its charging schedule in order to charge when the price is cheapest, it will not discharge at peak price in order to generate more revenues by selling energy. This is achieved by assuming a zero sell price for energy. The remainder of this this paper is structured as follows; Section 2 provides the mathematical formulation of the problem, including the charging optimisation in Section 2.1, as well as the trip optimisation in Section 2.2. Case studies are described in Section 3, with the fleet data used detailed in Section 3.1, scenarios and prices in Section 2.3 and the results and discussion in Section 3.2. Finally, conclusions and further work are discussed in Section 4. The schedule -including charging and trips -for a commercial EV fleet is optimised over a day-ahead 24-hour horizon of time steps t in total time period T . The EV can charge (C t ) and discharge (D t ), acquiring energy needed for travel (E tr ), as well as providing an upward balancing service by reducing charging (BSup c t ) or increasing discharging (BSup d t ) in the form of availability. The charging / discharging power of an EV can be continuously regulated between 0 and a maximum power level allowed by the charger (P max ), and they need to fulfill a predetermined energy requirement for the scheduled journey within the interval T . The trips that the EVs of the commercial fleet need to take, including the length of the trip in hours and the energy required (i.e. the distance) is known ahead of time. This ensures the user experience is not affected, i.e. the fleet operator will input the trip distance and length for the EV, according to the work schedule, and the optimal start time for this trip as well as the charging schedule will be determined. The energy prices and the balancing service prices are also known ahead of the one-day time horizon, which is in line with the current wholesale energy and balancing service market arrangements. The objective function maximises revenues from balancing services considering charging costs, while meeting the EV trip requirement for energy for travel, over the time periods that the EV is connected to the grid (T grid ). Smart charging takes into account the hourly import energy (buy) price π b t and export (sell) price π s t . Revenues from balancing services are from the availability of upward balancing service (BSup c t and BSup d t ) multiplied by the price (π BSup ), as shown in (1). The operating model of the EV includes several constraints. Constraint (2) corresponds to the EV battery's energy balance, taking into account the energy needed for travel purposes as well as the losses caused by charging and discharging efficiencies. Each EV is assumed to depart from its grid connection point up to once within the time horizon and subsequently arrive back to its grid connection point only once during the same horizon. This is in line with the trend clearly seen in the real world data, whereby the commercial vehicles follow a schedule of one extended trip from the depot in one day. Outside of this single trip, the EVs are otherwise assumed to be connected to the grid, the hours of which constitute the time period T grid . When the EVs are not connected to the grid, the charging, discharging and balancing services is zero, as per constraint (3). Constraint (4) expresses the lower (E min ) and upper (E max ) bounds of the battery's energy content, assumed to be the same for each EV. Constraint (5) ensures that the energy level of the EV at the start of the trip (E tstart ) is at the required level (E req ) set by the fleet operator, in order to ensure the EV can carry out its work trip. Constraints (6) and (7) represent the limits of the battery's charging / discharging power, which depend on its power capacity P max and on the availability of the EV to be 8 scheduled (i.e. time period connected to the grid, T grid ). The binary variable y ensures that charging and discharging do not happen simultaneously. Constraints (8 -10) ensure that the balancing service availability committed takes into account the maximum power of the charger and whether the EV is charging or discharging. When committing balancing service availability, it is important to ensure that the energy is available for the service to be sustained for the minimum required time (t s ) if this service was called on. This applies to the balancing service from discharging (BSup d t ) in particular, due to this being an upward balancing service. This is captured in constraints (12) -(14) by considering the state of charge of the battery at the beginning and at the end of the time step. The balancing service provision from EVs only considers availability, rather than utilisation, which is assumed to occur infrequently [26] . The above constraint can be linearised by introducing an auxiliary decision variable 'x 1 ' and two additional constraints: The optimal trip start time (t * start ) is found by maximising the revenue from the EV, according to the optimal charging schedule in Section 2.1, across different feasible start times t start in which the EV could make the trip required. The variable t start informs when the EV is connected to the grid (T grid in (1)) and able to charge, discharge or provide frequency response. Therefore, a different optimal revenue corresponds to each t start . To make the notation easier, the objective function in Eq. (1) is defined as β(t start ). The time that the trip is able to start is constrained by how long the trip is (T trip ), as well as the permissible travel window (T window ). For instance, if the 24-hour period starts at 7am with a trip required lasting five hours and a window of 15 hours (i.e. the EV can be away from the charger between 7am and 9pm), the start time could be any hour from 7am to 4pm. The trip schedule optimisation problem is formulated as follows: maximise It is important to note that although the assumption is the trip length will remain the same regardless of the time of day it is taken, there is a level of uncertainty related to external factors, such as road blockages and traffic levels. Although in practice the fleet operator needs to create a schedule for the next day (hence the decision to formulate the scheduling problem here as such), there may be some flexibility by one or two hours on the day, to account for these uncertainties. For example, if there is a road blockage and the trip could be delayed by one or two hours. To investigate the effects of these external factors, a sensitivity analysis has been performed in Section 3.5. Figure 1 shows an overview of the workflow of the above methodology, producing a quantification of the value from the optimal trip and scheduling approach. Table 1 lists the input and decision variables used, including from the fleet operator and from the market. Fleet Operator E tr , E req , T trip t start , C t , D t Market Information π BSup t , π b t , π s t BSup c t , BSup d t In order to assess the value of the approach presented in this paper, different scenarios representing different modes of operation are modelled. This allows for insights into the various business cases for commercial EV adoption. EVs can operate in various modes, including dumb charging, smart charging and V2G. Here, the scenarios applied are described, along with a description of the state of pricing and price assumptions. In all scenarios, a zero sell price for energy is assumed, so although the EVs can discharge to the grid, energy arbitrage is not profitable. This is because the focus of this paper is the provision of upward balancing services from commercial EV fleets and energy arbitrage will potential degrade the battery by increasing the number of charge cycles [25] . The first scenario, which is the baseline, is the 'dumb charging' scenario. Here, EVs plug in and charge back up to their desired value (in this case 95% SOC) immediately, regardless of the price of energy on return. Also, the scenario specific constraints include (16) and (17), shown below. This modification to original constraints (7), (8) and (9) allows a comparison to the current uni-directional charger costs as these new constraints stop the EVs from being able to discharge and provide upward balancing services (i.e. frequency response services). For this scenario, introducing a flexible trip start time is comparable to moving the charging event itself. The only difference is the window of travel (i.e. when the EVs may perform journeys) is more limited than the full 24 hours or available plug in times. The prices used for summer and winter months are based on July 2019 and February 2020 wholesale electricity market prices in GB, respectively, in order to remove the distortion brought about by the Covid-19 pandemic. The timing of these prices was chosen to align with the months from which the travel data was collected, as described in Section 3.1. The second scenario is the smart charging scenario, where EVs charge at times where the cost of energy is lowest. The effect of moving the trip times in this case would only improve revenue if the original trips occurred when the price of energy is at the lowest point in the day. The modification of the original constraints is the same as for dumb charging, as shown in (16) and (17) . The third scenario is the newest frequency response product on the GB market at the time of writing, Dynamic Containment [27] , which represents the current state of the market. The prices reflect the value of frequency response at present, in markets which are constantly changing and being updated. When the newest frequency product was launched, it was the first day-ahead procured response product but had a constant price throughout each day. The prices of this product in this scenario are therefore assumed to be constant [28] , something that does not reflect the value of balancing the system and the time-varying requirement for frequency response products. This is because when system inertia is low, i.e. renewable energy on the system is high and therefore net demand is low, the value of frequency response is significantly higher than in high-inertia conditions [29] . Nonetheless, the prices seen in the Dynamic Containment market so far are higher than for previous fast frequency response products, such as Enhanced Frequency Response, which was procured through years-long contracts [30] . Trends show that the prices of frequency response have increased over time. The fourth and final scenario is the future frequency response scenario. Here, the price of frequency response is a reflection of the value of this service to a future system. The methodology by which these prices were generated is described in Section 2.4 below. A view of future prices for the fast frequency response service in GB (referred to as Dynamic Containment, DC) is produced here to estimate the potential revenue from EVs with V2G capability. To produce this view, a frequency-constrained model is used, which outputs the projected price for DC for a given hour, based on the need for this service under each system condition (i.e. level of demand and generation mix). A demand curve with seasonal and daily trends was used, consistent with National Grid's projections for 2030 [31] , ranging from 20 GW to 60 GW of instantaneous hourly demand. A total of 45 GW of onshore and offshore wind combined was assumed, along with 35 GW of solar PV. A nuclear capacity of 5 GW was assumed, also in line with [31] . Given these system characteristics, the frequency response price for each hour of the future frequency response scenario / product is computed as follows: 1. Net-demand is obtained by subtracting RES generation from national demand. The level of inertia in the system is estimated by considering that net-demand is covered by nuclear units (5GW with a 5s inertia constants) and Combined-Cycle Gas Turbines with an inertia constant of 5s. Step 1 is below the minimum acceptable value for this magnitude, inertia is fixed at this minimum. This 'floor' for inertia is determined by the Rate-of-Change-of-Frequency (RoCoF) limit, as defined by the expression below. Please refer to [29] for full details on the impact of inertia on RoCoF. H floor = P infeed · f 0 2 · RoCoF limit (18) In (18) H floor is the floor for inertia, P infeed is the largest power infeed in the national system (considered to be 1.8GW), f 0 is the nominal frequency of the grid (50Hz in GB) and RoCoF limit is the RoCoF limit (of 1Hz/s in the future GB system). 3. Given the level of inertia obtained from Steps 1 and 2, the necessary volume of Primary Frequency Response (PFR) for this system condition is computed. Note that PFR refers to the slower frequency response provided by electromechanical devices, such as synchronous generators. To compute this necessary volume of PFR, the system condition for respecting that the frequency nadir will not cause the activation of Under-Frequency Load Shedding is used [32] : where H is the level of inertia, DC is the volume of Dynamic Containment (required to be fully delivered in 1 second after a large contingency), ∆f max is the lowest nadir admissible to avoid Under-Frequency Load Shedding (of 0.8Hz in GB), and PFR is the volume of PFR (delivered in 10 seconds by synchronous generators). The above condition guarantees that frequency stability will be maintained in the system, and therefore defines the requirement for ancillary services: it defines the required balance between volumes of inertia, size of the largest power infeed, and the two frequency response services, in order to avoid Under-Frequency Load Shedding. The interested reader is referred to [32] for full details on how this constraint is deduced. 4. Given that the value of all magnitudes in eq. (19) is defined, except that of PFR, this unknown can be directly solved. The volume of DC is considered to be of 1 GW (as per current plans in Great Britain [4] ) and the size of the largest power infeed is of 1.8 GW (driven by a nuclear station expected to be commissioned in GB in coming years). 5. Finally, the price of DC is computed from the volume of PFR that an additional MW of DC could replace, obtained from the balance described by eq. (19) . A price of £10/MW/h for PFR was considered, in line with average prices seen for this service in GB in recent years [33] . A sensitivity on these projected prices is considered in Section 3.4, to provide a comprehensive view on V2G revenues under different scenarios for future prices for Dynamic Containment. In this section, we present the inputs and the results for several case studies chosen in a way as to be closest to real world future scenario and to demonstrate the value of the approach. Section 3.1 describes the input fleet data, including trends of driving patterns of two fleet types. The approach to generate synthetic data based on these trends is also included. Section 3.2 presents the results from the various operational scenarios described in Section 2.3. Then, the technique applied to reduce battery cycling in the modelling is described in Section 3.3. Results of sensitivity analysis, key to understanding how susceptible the revenues derived are to changes in frequency response price and traffic conditions, are shown in Section 3.4 and Section 3.5, respectively. Finally, the consequence of the given approach on CO 2 emissions is quantified in Section 3.6. Derived from the Innovate UK funded project E-Flex [34] , the driving patterns from two commercial fleets participating in the trial were analysed and synthetic data was generated. Two types of commercial fleets were considered: i) a delivery fleet with 10 EVs, ii) a maintenance fleet with 5 EVs. The reason that these fleets were chosen in that commercial fleets have regular, defined trips that are scheduled during weekdays. Compared to private vehicles, commercial fleets are well suited to balancing service provision with V2G due to their coordination by fleet operators, making them easier to aggregate. The main differences between the two fleets are summarised in Table 2 for winter and summer months. For the delivery fleet, although the mean travel duration and trip length range increase in the summer compared to the winter, the mean travel energy decreases. The opposite is true for the maintenance fleet, which has a higher mean travel energy in the summer compared to winter, but a shorter mean travel duration. The difference between winter and summer for the maintenance fleet and its implications is discussed in Section 3.2.1. The differences between the fleet types are examined in Section 3.2.2. The 24-hour driving patterns x(t) of the commercial fleets showed x(t) = −1 for time steps t when the EV was connected to the grid, x(t) = 0 for time steps t when the EV was on a trip and the energy needed for the travel at the first time step t return the EV was connected again to the grid following the travel. Values of x(t) < 0 do not indicate any energy exchanges, e.g. energy feeding into the grid, but only that the EV is not on a trip. Two months were chosen to be representative of winter and summer months, i.e. February and July respectively. For each of these two months, the driving patterns for each of the two commercial fleets were fitted with the Gaussian function defined in Equation (20) [6] , [15] . In Equation (20) a is the height of the curve's peak, b is the position of the center of the peak, and c is the Gaussian width. These parameters were then optimised to improve the fitness of the function to the real patterns using non-linear least squares analysis, resulting in residual standard deviations less than one. The fitting function for the month of July of the maintenance fleet is shown in Figure 2 . The height of the curve's peak is relatively low as most of the hours the EVs were connected to the grid or on a trip. Once the optimal fitting curve was obtained, the parameters a ∈ [0, max{x(t)}] and b ∈ {t|f (x(t)) > 0} were randomly sampled to generate synthetic driving patterns. The parameter c was not varied as it defines the length of the trip that is distinctive for each fleet. The 24-hour driving patterns of 100 EVs for each of the two fleets were finally generated for the months of February and July. Following the details of the case studies set out in Section 3, the results from the case studies are presented and findings are discussed here. . The results make a comparison between both the summer and winter seasons, showing the effects of renewable generation on ancillary services prices and hence revenue. The revenues for the inflexible (i.e. original) trips and the flexible trips across the summer and winter seasons were first compared using the maintenance fleet to model the four scenarios outlined in Section 2.3. Then, the difference between the maintenance and delivery fleets was investigated to show how driving patterns affect revenue in this approach. Lastly, some extreme weather days were analysed to show examples of potential maximum benefit from flexible trips. This is a way to demonstrate the major differences between fleets and seasons in an extreme case. The optimisation problem defined in Section 2 was modelled in Python using the Gurobi Python Environment, with a MIP gap of 0.1%. It was run on a machine with a 3.6GHz Intel Core i7-7820X 8-Core processor and 64 GB of RAM. The average computing time was 20 minutes. Using the fleet data described in Section 3.1, the four scenarios were simulated for both the summer and winter months with the original start time of the trips, then with optimal trips. The maintenance fleet results are shown in Figure 3 . The dumb charging scenario of the maintenance fleet shows that the charging costs (i.e. energy costs for travel) are higher in the summer, due to further distances travelled (see Table 2 ) and higher electricity prices (as described in Section 2.3). By making the timing of the journeys flexible, there is a maximum cost saving of 38% in the winter month for this scenario, relative to the original travel pattern, compared to the cost saving of 12% in the summer. This means when charging on arrival in the winter, there is relatively more benefit in moving this plug in time (by moving the trip) in order to capture lower energy prices and reduce costs. Averaging this benefit over a whole year, a single EV from the maintenance fleet can make an additional annual revenue of up to £729 by incorporating flexible journeys into its operations. Changing the trip times in the smart charging scenario does not save on costs because the charging will occur at night in either case, when the prices are lowest and when the EVs are connected. By adding bidirectional (V2G) charging, the EVs are now able to participate in the frequency response market, resulting in positive net revenues for the third and fourth scenarios. In the third scenario, having flexible start times does not generate a significant increase in revenue, due to the fact that current frequency response prices used are constant for every hour in the day. By avoiding traveling in times of high future frequency response prices, optimal trip scheduling allows for more revenue from this service in both months of the fourth scenario. The energy costs also reduce with optimal trips, due to the flexibility of the start time, where batteries must be charged to the required level. An assumption is made that when scheduling flexible trips, the 24-hour period begins with a 50% state of charge (or the maximum state of charge in order for the EV to depart with the 95% requirement). It is also worth noting that the energy costs increase in the fourth scenario due to the fact that it is beneficial to charge at time periods of high frequency response prices. When charging, the EV will get paid for offering availability to reduce its charging and increase its discharging, i.e. as per objective function (1) . As the EVs are plugged in when frequency response are higher, they will charge at these times and although they will be charged for the energy, it still results in a net revenue that is higher than the original trip times. In the future frequency response scenario, fleet revenues are expected to rise by 156% in the winter and 190% in the summer with original trips or driving patterns, as compared to the current frequency response scenario. When trip start times are optimised in this scenario, the revenues increase by 18% in the winter and 31% in the summer, as compared to the same scenario with original trip times. As described in Section 2.4, the frequency response prices depend on net demand, which in turn depends on renewable energy generation. The reason why introducing optimal start times results in a larger improvement in the summer month is that solar output occurs during the day, driving up the price of frequency response. The maintenance fleets are able to use this to their benefit and schedule their trips for later in the day, in order to maximise revenue by remaining plugged in at these times in order to provide frequency response services. In the winter, the dominant renewable generation is wind, which is usually strongest at night, when fleets are not typically operational. An example of this Figure 4 , where two days of frequency response prices show a regular pattern in the summer month. The original trip times occur during peak frequency response prices and benefit from being moved to later in the day, when frequency response prices are lower. In the winter, however, wind and hence prices do not follow such a regular pattern. Although during the first day of winter in this example, it is beneficial to move the trip to later in the day, for the second winter day it is best to travel as originally scheduled. In Figure 5 , the delivery fleet data is introduced in comparison to the maintenance fleet in the summer month, in order to understand the effect of fleet type on revenues. As shown in Table 2 , the mean travel duration is the same for these fleets, but the delivery fleet will travel further, using more energy. Also, the maintenance fleet makes more consistent journeys, all between five and eight hours long, whereas the delivery fleet has a much shorter minimum journey length and a longer maximum journey length. In addition to a different travel pattern, the windows in which the fleets are assumed to travel within are different. With flexible start times, the maintenance fleet is able to travel in a 22 hour window, so from 7am to 5am, allowing time to return to base and charge before the next day. When planning fleet logistics, the delivery fleet will likely have more limitations in when its trips can be made, and so the travel window is set to In the current frequency response scenario, revenues from optimising trip times are similar compared to the original trips, as frequency response prices are static throughout the 24-hour period. The maintenance fleet has slightly more revenue, as the trips have a lower mean travel energy. However, in the future frequency response scenario, the maintenance fleet has a higher increase in revenue from flexible journeys of 31% compared to the delivery fleet of 28%. This is because the original trips made by the maintenance fleet were consistently longer than the delivery fleet, so a greater percentage of the trips would benefit from having a flexible start time, capturing revenues from providing frequency response by shifting the journey later in the day. Delivery Fleets Assuming that in the future, prices of frequency response products will reflect net demand and hence system inertia, some extreme weather days (i.e. days with the most favourable weather conditions for increasing revenues through flexible journeys) have been simulated to investigate the maximum potential benefit of flexible trip scheduling. In Figure 6 , revenues during an extreme winter and summer day are shown for both fleets. The summer scenario demonstrates more benefit from optimal trip scheduling, with the maintenance fleet and delivery fleet increasing their revenues by 135% and 140%, respectively, compared to original trip schedules. This is due to how valuable frequency response will be during daylight hours on days where solar generation is high and net demand is low. Figure 7 shows an example original trip schedule over a 24-hour period for a maintenance fleet vehicle on an extreme summer day. As the vehicle is on a trip from 7am to 1pm, it is not able to offer frequency response when the prices are high. In Figure 8 , the trip has been optimised and starts in the afternoon, when frequency response prices are lowest. This way, the EV can provide maximum frequency response earlier in the day by staying plugged in and delaying its journey. When prices for frequency response are high, the optimal charging behaviour of the EVs involves 'cycling' (i.e. charging then discharging) in order to increase revenues, as shown in Figure 9 . This is profitable for the EV if charging and discharging efficiencies are considered, otherwise providing two time periods of charging fully and then discharging would be equal to two time periods of neither charging or discharging. Due to losses associated with efficiencies, energy is dissipated, allowing for the EV battery to commit to more in availability than it acquired in energy. This effect leads to repeated cycles of battery charging-discharging to increase frequency response revenues. As this unintended effect has a detrimental impact on battery health [25] , a penalty term (δ) was applied to the discharging term (D t ) as per equation (21). By applying a penalty to discharging, this minimises battery cycling, while only minimally affecting revenues from providing frequency response availability. This is shown in Figure 10 for the same summer scenario. This reduces revenues in this case by 3%. The appropriate value for the penalty 'δ' depends on the maximum frequency response prices than may be captured by the EV: the penalty must be sufficiently high as to avoid the revenue gains from cycling. In this paper, the value used was δ = 0.5. In order to demonstrate how sensitive the revenues for these fleets were to future frequency response prices (see Section 2.4), sensitivity analysis was performed for three scenarios, as shown in Figure 11 . The way this analysis was performed was to run the original optimisation, bench-marked against the same prices but no optimal trips (as in Section 3.2, first with the full future frequency response price (100%). The frequency response price was then reduced to 75% and then 50%, in order to see the impact on revenues that a reduced price would have. This is a way to investigate the uncertainty of these prices. Based on the results of the sensitivity analysis, the value of flexible trips compared to original trip schedules is consistently around 23%. Meaning, the additional revenue gained from scheduling trips is proportionally the same, regardless of the frequency response prices. In other words, the price does not change how much added value the approach brings. A 25% reduction in frequency response price led to a similar subsequent reduction in revenue (for both original and optimal trip schedules) of 25%. However, a reduction of the frequency response price by another %25 led to a greater reduction in revenues of 33% -34%, relative to the 75% case. It is recognised that there is a degree of uncertainty around trip length. It could be that trip length is affected by external factors including road blockages and traffic conditions. This uncertainty in trip length is explored by performing a sensitivity analysis to understand the impact of such factors on the revenue and hence the usefulness of the approach, particularly in areas where external factors are likely to impact trip length. These include cities, for example, where commercial fleets are likely to operate. As shown in Figure 12 , it was found that for the maintenance fleet, maximum revenues attainable with optimal trips in the summer were reduced by 7% by extending the trip length by one hour and by 11% by extending the trip length by two hours. For the same fleet, in the winter, maximum revenues were reduced by 8% by extending the trip length by one hour and by 13% by extending the trip length by two hours. The reason the EV fleet loses more revenue as a result of a longer trip delay in the winter is similar to the reasons less revenue was added by flexible trip times in Section 3.2.1. During winter, there is more price variability and less regular daily weather patterns dominated by solar generation (as in the summer). If the trip were to be delayed to the evening on some days where wind was increasing as the day went on and FR prices were increasingly, then the EV fleet revenue will be more susceptible to being impacted by longer trips (i.e. trip delays). By providing frequency response, the fleets of EVs can avoid resorting to Combined Cycle Gas Turbines (CCGT's) standing by to respond to grid contingencies, therefore emitting greenhouse gases. Here we compute the system savings in terms of carbon emissions due to the frequency response provided by EVs, assuming an emission rate of 368 gCO 2 equivalent/kWh for CCGTs. The results are presented in Table 3 for a larger fleet of 5,000 EVs with the same characteristics as the ones used in Section 3. The number of CCGTs avoided was calculated using the nadir constraint (19) described in Section 2.4, solving for x as per equation (22) . The variables in the nadir constraint (19) are H, PFR and DC. As H and PFR are both provided simultaneously by synchronous generators (e.g. CCGTs), it is possible to input the contribution in DC from the EVs (i.e. DC EVs ) and see what the subsequent reduction in provision of H and PFR is from the CCGTs (where x is the number of CCGTs avoided). It is assumed that each CCGT is a 500MW plant with a 5s inertia constant, operating at a minimum stable generation of 250MW. The CCGTs are able to provide 75MW (i.e. 15% of their capacity) for PFR. As the equation is non-linear, the calculation was solved hour by hour and then averaged for the month to produce the results in Table 3 . This work has shown the significant potential benefits of EVs providing frequency response services in the current and future GB system scenarios, where flexibility is projected to be more valuable. Real-world data was used to accurately characterise the flexibility of commercial fleets using a methodology for scheduling optimal journey times according to frequency response prices. It was shown that such fleets with flexible journeys participating in these markets would increase their revenues by up to 38% in the summer and 12% in the winter. Fleets of an increased volume of 5,000 EVs with the same characteristics will be able to replace at least one CCGT plant for frequency control purposes, and the equivalent of at least 62,500 kg of CO 2 per month. Given the demonstrated value of optimal trip scheduling for EV fleets, future work could develop this value quantification into an operational tool for fleet operators, considering uncertainties in driving patterns due to external factors such as traffic conditions, as well as renewable energy output. This will allow for minor adjustments to the schedule in real-time and considering changing conditions. Also, a wider range of fleet types and use cases, such as electric taxis or car-sharing fleets, could be considered. Certain fleets will prove more suited for this scheduling approach, and it will be important to identify them. Assumptions around fleet operations (e.g. travel windows) could be further investigated and refined, to test whether a wide range of commercial fleets could benefit. Other ancillary services could be considered, including synthetic inertia provision and reactive power provision, which could potentially enhance the business case for flexible EV fleets as well as for other demand-side response assets. We would also aim to investigate techniques to incorporate a larger number of vehicles without compromising on the speed of reaching an optimal solution for trip scheduling. Furthermore, integrating non-commercial vehicles into the formulation, such as domestic EVs that are unlikely to change travel times but could provide frequency services when plugged in, would provide a comprehensive view of the potential system benefits of an electrified transportation sector. This work was partially supported by the UK Engineering and Physical Sciences Research Council (EP/L015471/1) and by the Innovate UK project 'E-Flex' (104249). Global EV Outlook Impact of electric-drive vehicles on power system reliability Roadmap for flexibility services to 2030: A report to the Committee on Climate Change Ancillary services in Great Britain during the COVID-19 lockdown: A glimpse of the carbon-free future Vehicle-to-grid power fundamentals: Calculating capacity and net revenue Optimal bidding strategy for electric vehicle aggregators in electricity markets Optimal scheduling of vehicle-to-grid energy and ancillary services Scheduling electric vehicle charging to minimise carbon emissions and wind curtailment A new synthetic inertia system based on electric vehicles to support the frequency stability of low-inertia modern power grids Technical and economical evaluation of reactive power service from aggregated EVs Technical Review on Advanced Approaches for Electric Vehicle Charging Demand Management, Part I: Applications in Electric Power Market and Renewable Energy Integration Utilization of Electric Vehicles for Vehicle-to-Grid Services: Progress and Perspectives Charging and Discharging Strategies of Electric Vehicles : A Survey Risk-averse bidding of energy and spinning reserve by wind farms with on-site energy storage Risk-Averse Optimal Bidding Strategy for Demand-Side Resource Aggregators in Day-Ahead Electricity Markets under Uncertainty Electric vehicles: Battery capacity, charger power, access to charging and the impacts on distribution networks A Survey on the Electric Vehicle Routing Problem: Variants and Solution Approaches Optimising route choices for the travelling and charging of battery electric vehicles by considering multiple objectives A comprehensive dayahead scheduling strategy for electric vehicles operation Joint routing and scheduling for electric vehicles in smart grids with V2G Joint Route Selection and Charging Discharging Scheduling of EVs in V2G Energy Network EV Fleet Management in Transportation and Power Systems Value of Fleet Vehicle to Grid in Providing Transmission System Operator Services Adaptive Optimal Management of EV Battery Distributed Energy for Concurrent Services to Transportation and Power Grid under Dynamic Service Pricing Evaluating the impact of V2G services on the degradation of batteries in PHEV and EV Whole-system Benefits of Vehicle-to-Grid Services from Electric Vehicle Fleets Markets Roadmap to 2025 Towards a Cost-Effective Operation of Low-Inertia Power Systems Enhanced Frequency Response: Frequently Asked Questions Simultaneous Scheduling of Multiple Frequency Services in Stochastic Unit Commitment Firm Frequency Response (FFR) Market Information Report for