Abstract
Governments, regulatory bodies, and manufacturers are proposing plans to accelerate the adoption of electric vehicles (EVs), with the goal of reducing the impact of greenhouse gases and pollutants from internal combustion engines on human health and climate change. In this context, the paper considers a scenario where ridesharing enterprises utilize a 100%electrified fleet of vehicles, and seeks responses to the following key question: How can renewablebased EV charging be maximized without disrupting the quality of the ridesharing services? We propose a new mechanism to promote EV charging during hours of high renewable generation, and we introduce the concept of charge request, which is issued by a power utility company. Our mechanism is inspired by a gametheoretic approach where the power utility company proposes incentives and the ridesharing platform assigns vehicles to both ride and charge requests; the bargaining mechanism leads to prices and EV assignments that are aligned with the notion of Nash equilibria. Numerical results show that it is possible to shift the EV charging during periods of high renewable generation and adapt to intermittent generation while minimizing the impact on the quality of service. The paper also investigates how the users’ willingness to rideshare affects the charging strategy and the quality of service.
Introduction
An increasing portion of the world population is expected to live in urban and suburban areas, posing formidable challenges^{1}. The current urban mobility system is obsolete and it requires drastic changes in order to cope with its main flaws such as congestion, inefficiency, and high carbon footprint. Fossilfuel vehicles are a major contributor to greenhouse gases and pollutants, which in turn are interlinked with climate change and to more than 8 million deaths each year globally^{2}. Vehicle electrification is key towards a radically more sustainable mobility system^{3}, promising a significant reduction in the environmental impact of the transportation sector. Several ridesharing and ridehailing alternatives are emerging in the urban mobility sector, driven by these pressing climate and healthrelated issues, by increasing traffic congestion, and given the trend of younger generations favoring ridehailing options over car ownership. Indeed, cities worldwide are already experiencing this transformation, observing the rise in popularity of ondemand ridehailing options in companies such as Uber and Lyft^{4,5}. Ridehailing platforms have started advertising greener options, such as shared rides and electric vehicle (EV) rides, increasing their appeal. Future mobility trends will also include fleets of autonomous EVs for ridesharing services to improve both the quality of service (QoS) and sustainability^{6,7,8}.
However, a 100%electrification of the urban mobility sector – and, in particular, of the ridesharing services – may come at a cost: with the current modus operandi of the power infrastructure, large numbers of EVs may increase the loading of distribution systems, potentially surpassing the loading capacity in portions of the grid^{9,10}; this, in turn, would compromise the reliability and increase the fragility of the power infrastructure^{3}. Moreover, large swings in the power demand from EVs may impact electricity prices and energy markets. It is therefore of paramount importance to uncover coordination mechanisms between the power network operators and transportation system operators to enable a reliable and effective integration of EVs into the grid at large scale^{11,12}.
In this context, we consider a scenario where ridehailing enterprises utilize a 100%electrified fleet of vehicles, and seek responses to the following key questions: given the potential effect of EV charging on the power infrastructure, how can power utility companies and ridehailing companies interact to promote vehicle charging in areas with high renewable generation? How can one maximize the utilization of renewables for charging purposes without disrupting the quality of the ridehailing services? Answering the first question would allow one to systematically integrate EVs at scale with minimal effect on the power grid reliability, and without requiring structural upgrades of distribution feeders and substations to handle the additional power demand. A positive response to the second question would provide evidence for a successful transition away from internal combustion engines in the urban mobility sector. In this paper, we provide answers to the questions above by investigating new means for power utility companies to interact with ridehailing companies in order to promote renewablebased charging directly at locations where renewables are available. Beyond maximizing the use of renewable generation, the aim is also to satisfy the largest number of ride requests and to keep the unoccupied fleet size as small as possible.
Before describing the proposed methodology, we provide a brief overview of existing approaches in the context of mobilityasaservice (MaaS) and for the coordination between transportation and power systems. Various approaches to tackle problems related to the dispatch of ridehailing fleets can be found in the literature, including microscopic (possibly stochastic) combinatorial problems^{13,14,15,16,17,18} and macroscopic networkflowbased formulations^{19}. A common topic of research is the interaction between a large fleet of (autonomous) EVs and the power infrastructure in densely populated areas, taking into account factors such as EV charging requirements^{20}, fluctuating customer demand, battery degradation, and power system constraints^{12,19,21,22,23}. It is also well acknowledged that EVs have the potential to benefit the grid by providing^{24,25,26}: (i) energy storage, serving as distributed power storage unit storing excess energy generated by renewable resources; (ii) load balancing, scheduling the EV charging during offpeak hours; and (iii) ancillary services, such frequency support.
The coupled problem arising from a transportation network together with a power network load balancing has been analyzed via singlelevel optimization formulations^{22}, exploiting the benefits of EV charging with renewable energy. Some works have explored hierarchical models such as Nash–Stackelberg–Nash game framework in a networkflow based formulation^{27,28,29,30,31,32}. Traditional gametheoretic frameworks have analyzed the interaction between EVs and the grid through the regulation of energy prices and EV charging schedules, where the grid acts as a player that sets the cost of the energy, and EVs respond with a charging schedule that optimizes their operation, usually assuming traffic flow models^{33}. Other lines of work model the problem of coordinating the charging needs of an EV fleet as a game, seeking a Nash equilibrium ^{34}. In the case where the EV charging management problem is affected by the volatile nature of renewable generation, Generalized Nash Equilibrium (GNE) approaches have been used to coordinate the EV charging plans with realtime generation profiles^{35,36}.
In this paper, we propose a new mechanism to enable interactions between power utility companies and ridehailing companies. We also consider the case where rides may be shared, namely, multiple ride requests can be served by the same vehicle. The proposed process requires minimal modifications of existing vehicleride assignment frameworks for ridehailing services – where rides are assigned to vehicles based on an assignment problem – and with a little computational and operational burden on the power utility side. The proposed mechanism enables a power utility company to issue charge requests that model a financial incentive (tied to specific renewable generation profiles and locations) offered to the ridehailing company to promote the use of the available renewable energy. This mechanism is qualitatively illustrated in Fig. 1a. Drawing from gametheoretic approaches, our strategy involves a bargaining procedure where the power company proposes incentives, and the ridehailing platform, after receiving charging incentives and ride requests from customers, assigns vehicles to both ride requests and charge requests. Mathematically, the interaction is in the form of a GaussSeidel method where, at each iteration, the power utility company proposes new incentives associated with the charge requests by solving a given optimization problem, and based on the current potential vehicle assignment; subsequently, the rideservice provider issues a new potential assignment based on the new incentives. The performance cost used in the vehiclerequest assignment problem involves the minimization of the overall operational cost for the rideservice provider. The cost used by the utility company quantifies the need for the selfconsumption of renewable energy resources. With this mechanism, the power utility company and the rideservice provider eventually lead to prices and EV assignments that are aligned with the notion of Nash equilibria. We point out that, while this work stresses the renewable generation profile, the same bargaining procedure can be utilized by the utility for general desirable power demand profiles; this opens the door to setups where the ridehailing company acts as a virtual power plant (VPP) providing services to the grid at convenient financial conditions.
Our approach retains the microscopic feature of existing assignment problems in the context of MaaS platforms^{37,38,39}; moreover, following the traditional workflow with limited information sharing, it can be integrated seamlessly into MaaS orchestration services (indeed, as shown in Fig. 1a, the utility company can be understood just as an additional “entity” into a vehicle assignment task). At the same time, it naturally models and enables an interaction between power systems operations and EVdominated rideservice providers without resorting to macroscopic (or averaged) flow models, which would be difficult to integrate into existing fleet assignment frameworks. Another important feature of our approach is that it does not rely upon combinatorial problems (therefore, it does not require dedicated software), and can leverage simple optimization algorithms. We test the proposed mechanism and show that it is indeed possible to shift the EV charging during periods of high renewable generation and adapt to intermittent generation. Our approach does not cause a degradation of the QoS for the rideservice provider with respect to ad hoc EV charging strategy.
Results
The following results stem from the mathematical algorithms described in the "Methods" section. The experiments consider a fleet of 100 EVs and use the data recorded by the Taxi and Limousine Commission (TLC)^{40} on Tuesday, March 1, 2022, between 6:00 and 24:00. In terms of renewable generation, we consider the photovoltaic (PV) power generation profiles extracted from the renewable historical data of New York Independent System Operator^{41}, as explained in the "Data sources" section. To clarify, we use the term ridehailing below to indicate the case where each vehicle carries only one passenger, as in a taxi service. On the other hand, we use the term ridesharing to refer to the case where several riders can be picked up along a route by the same vehicle. In line with this terminology, even shared/pooled ridehailing services are included in this category. Note that both ridesharing and ridehailing platforms are more generically referred to as rideservice providers. The complete description of the simulation setup is provided in the "Methods" section. To present the results we define three study cases:

Businessasusual: the ridehailing platform assigns ride requests to an EV fleet. The EVs are exclusively charging when their batteries are empty. The EV charging does not exploit renewable energy resources.

Case 1: the ridehailing platform receives and assigns both ride and charge requests, based on the outcome of the process described in Methods, in which the EV fleet and the power utility company engage in an incentiveassignment process.

Case 2: this extends case 1 enabling the ridesharing option: here, EVs are allowed to pick up more passengers during the trip provided they are willing to rideshare and have a common destination. Each additional passenger can cause a delay of up to 4 minutes.
Case 1 and case 2 are evaluated under three different weather conditions, named sunny day, cloudy morning, and cloudy afternoon, that correspond to different PV generation profiles. To assess the performance of the proposed strategy in the cases defined above, we introduce two metrics. These are: the Quality of Service (QoS), defined as the percentage of attended ride requests out of the total number of received ride requests, and the Power Loss (PL), defined as the percentage of unexploited renewable power out of the total PV power generated. A summary of the results is presented in Table 1. Notice how the QoS always improves with the sharing acceptance, e.g., going from 94.8 to 99.9% on a sunny day, indicating that ridesharing is critical to enforce high levels of QoS. On the other hand, the amount of unexploited renewable power increases as the willingness to rideshare improves. In this case, the EVs need to charge less often since their total driving time is overall reduced, given the same (or larger) number of accepted ride requests.
To provide some context, we start by considering a fleet consisting of regular fossilfuel vehicles. Figure 2 shows the availability of vehicles over the simulation window, where if an EV is attending a ride request it is labeled as “riding”, otherwise, if it is unoccupied it is labeled as “idling”. In the Discussion, we will compare the performance of a fossilfuel fleet against a 100% EV fleet, given the same amount of received ride requests.
Effects of businessasusual EV charging on the power infrastructure
Initially, we consider a vehiclerequest assignment where the rideservice provider has to handle ride requests only. This case, which disregards the presence of renewable energy resources, will serve as a benchmark for later comparison, and represent the businessasusual case. The assignment is performed as described in, e.g.,^{13}, for the available EVs. We assume that the EVs will start charging when their State Of Charge (SOC) is low (<10% of the battery capacity), regardless of their location and the time of the day. Figure 3 shows the availability of EVs, the SOC trend during the day, and the EV charging profile (i.e., the amount of power used to charge \(v_{\textrm{ch}}\) EVs, at a charging rate \(p_{\textrm{ch}}\)), with the number of missed ride requests. For convenience, we consider three levels of SOC: high (>60%), mid (between 10% and 60%), and low (<10%). We explore two different initial SOC conditions: random and fully charged. For random SOC, we present averaged results over 100 iterations. In this case, without charge requests, the EVs connect to the power grid whenever they are out of battery, generating a peak of power consumption. We show the availability of EVs over the day for both cases in Fig. 3, where if an EV is busy charging it is labeled as “charging”. In Fig. 3a, where the initial SOC of EVs are randomly generated, the peak of the EV charging profile occurs between 13:00 and 17:00, while in Fig. 3b, where all the EVs start fully charged at 6:00, the peak is shifted, starting at 20:00. In both cases, we observe that the majority of missed ride requests occurs in the time interval between 18:00 and 20:00.
Renewablebased charging and bargaining strategy
We focus now on case 1, where the rideservice provider handles both ride and charge requests. In this case, the ridehailing company, the power utility company, and the EVs interact as described in the "Methods" section and as illustrated in Fig. 1a. We recall that charge requests are issued by the power utility company. EVs are assigned to feasible requests, depending on their distance to the customers’ pickup point or to the charging facilities. The shortest path is assumed to correspond to the lower cost and therefore preferred by the ridehailing company. Moreover, a crucial aspect of our approach is to rely on a bargaining mechanism, in the form of financial incentives, that influences the preferences of the ridehailing platform concerning the assignment of EVs to ride or charge requests. In the bargaining mechanism (a rigorous formulation of the problem can be found in the "Methods" section), we augment a linear assignment problem with additional constrained optimization problems, whose objective is to assign a financial incentive to the cost of the ride or charge requests based on the bids from the users and the losses affecting the power utility company. We present averaged results over 100 Monte Carlo simulations, where each EV is initially assigned a random SOC between 10% and 100% of the full battery capacity. In Fig. 4, the top row shows the availability of EVs through the simulation window; the second row displays how the SOC of the EV fleet varies during the day under different weather conditions; the third row shows the total PV generation profile in the lower Manhattan area, compared to the power distributed to charging EVs; and the fourth row presents the incentives for ride and charge requests. Notice how the EV charging schedule now follows the PV generation profile and it is impacted by the weather conditions. Figure 5 shows the individual PV generation profiles and the amount of power dispatched in each of the four areas equipped with charging facilities. Then, our method successfully can shift the charging profiles to periods of the day characterized by high renewable generation and avoid the negative impacts on the grid that the wider charging schedule showed in Fig. 3 can induce.
Regarding the effects of the variability of renewable energy resources on our formulation, we can see in Figs. 4e,f the impact on the SOC for two different PV profiles, both affected by significant cloud coverage. In the case of a cloudy morning, EVs cannot fully charge between 9:00 and 13:00, resulting in a larger amount of missed ride requests during the rest of the day (see Fig. 4h), and many more EVs with low SOC by midnight, as compared to the sunny day case. In contrast, the cloudy afternoon profile still allows many EVs to fully charge in the morning, substantially limiting the need for charging in the afternoon and therefore affecting less the final SOC of the EVs. Still, more ride requests are missed with respect to the sunny day, as shown in Fig. 4i. Note that Fig. 4k shows fewer charge request incentives from 8:00 to 12:00, due to a drop in the PV generation in the morning. In the cloudy afternoon scenario, however, during the same period, the charge request incentives are higher, and therefore, the EV charging is favored over attending ride requests as shown in Fig. 4l. The charge request financial incentives depend on the PV profile scenario considered, i.e., sunny days are characterized by a considerable amount of incentives during the day following the consistent PVpower generation, while cloudy days experience a drop in the amount of charge request incentives during the morning and afternoon, respectively (Fig. 5).
The benefits of ridesharing
We explore the impact of ridesharing in case 2, by allowing EVs to pick up more passengers provided that they share a common destination. Passengers can be picked up along the journey, i.e., they do not need to start from the same pickup area. It is important to stress that we are still dealing with a onetoone vehiclerequest assignment, while we keep track of the number of passengers on board which can be at most 4. Passengers express their willingness to rideshare whenever they submit a request, in exchange for a discounted price and a greater chance to get a ride.
We introduce a new parameter, the customers’ willingness to rideshare, and analyze how it impacts the results in four different scenarios where 100%, 75%, 50% or 25% of the customers are willing to rideshare. Figure 6 is the counterpart of Fig. 4, this time taking also ridesharing (75%) into account. Figure 7a shows how the number of missed ride requests is affected by the customers’ willingness to rideshare. For example, assuming that 50% of the passengers would be willing to share rides on a sunny day, the total number of missed ride requests reduces to 59 and to only 2 in the case where all passengers would agree to share rides. This is a substantial improvement, roughly sixty times less than the case that does not take ridesharing into consideration. Figure 7b also reports how many EVs would have a low or high final SOC at the end of the day, depending on the customers’ willingness to rideshare. Here, we can see that when the willingness to rideshare increases also the number of EVs with high SOC at the end of the simulation is larger, confirming that an improved QoS can be achieved even if the need for charging is less, as shown in Table 1.
Discussion
Ondemand ridesharing helps to reduce traffic congestion and emissions, and especially in densely populated areas it is paving the way for more sustainable mobility. However, it is still facing a significant amount of skepticism due to many heterogeneous factors, ranging from users’ preferences to seamless integration into the transportation system^{42}. In particular, if EVs are adopted as the main way of transportation, the interaction between the rideservice providers and the distribution power system plays a crucial role in determining the successful operation of the EV fleet.
In this work, we investigate the interaction between a rideservice provider that manages a 100% EV fleet, and a power utility company that operates renewable energy resources at some charging locations. We show that through the proposed bargaining mechanism we achieved an EV charging schedule that maximizes the use of renewable generation and reduces the potential negative effects of the EV charging on the power infrastructure. Moreover, we are able to preserve the QoS of the businessesasusual case while improving the impact of the EV charging on the grid. The latter is achieved by scheduling EVs to charge via charge requests issued by the power utility company so that the peak of renewable generation is covered, reducing losses for the power utility company and improving the power grid load balance. The advantages of our method are multifold: exploit renewable energy resources when available, reduce the need for renewable generation storage at a grid level, and charge a large number of EVs before evening rush hours.
Assuming an increasingly widespread adoption of ridesharing in the coming years, several implementation strategies have been proposed. To name a few examples representing different perspectives, the design of price mechanisms for ridesharing^{42}, a dynamic vehiclerequest assignment strategy for autonomous ridesharing services^{15}, a linear vehiclerequest assignment within a federated optimization architecture^{13}. Other approaches design price mechanisms where the charging facilities set prices to control the resource utilization^{43}, or where the EV charging schedules are influenced by varying energy prices^{22}. Here, we propose a novel approach based on a gametheoretic framework that balances the objectives of a rideservice provider, an EV fleet, and a power utility company through a bargaining mechanism. The EV charging strategy influences the charging pattern by controlling a financial incentive sent to the rideservice provider, which in turn solves a linear assignment problem to determine how to best meet both ride and charge requests. The coordination of centralized and decentralized strategies for the EV charging is studied in the context of noncooperative games in works such as^{34}, where a large EV population is coupled through a common price signal. However, those approaches do not deal with a rideservice provider trying to serve ride requests and respond to utility needs simultaneously.
In this work, we show how to integrate the needs of a power utility company, in the form of maximizing the use of renewable generation, with the users’ need to complete trips from an origin to a destination point. The aim is to find an equilibrium between the objectives of different entities. The reason for establishing a charging schedule can be found in the businessasusual case presented in Fig. 3, where no charge requests are submitted and the EVs connect to the power grid whenever their SOC is below a certain threshold. Note that in this case the charging profile is wider and shifted towards the evening hours with respect to Fig. 4, implying worsened grid loading during an already critical moment of the day, according to the data dashboard of New York ISO for the Manhattan area^{41}. With our method, case 1 in the "Results" section, the charging profile follows the renewable generation profile instead; this contributes to alleviating the socalled “duck curve” by promoting charging during high renewable generation periods. We use 63.3% of the available renewable power to schedule the EV charging (see Fig. 4) while slightly improving the QoS with respect to the businessasusual case. Additionally, when we introduce the ridesharing option, as presented in case 2, we further improve the QoS while still relying on renewable resources for the EV charging, as presented in Fig. 6 and 7 and Table 1. Our findings indicate that ridesharing is a must in order to fully benefit from an EV fleet powered by renewables. Improved QoS, a larger number of EVs with high SOC, and less traffic congestion are just some of the multiple advantages of ridesharing.
Note that in this work the power utility company generates only positive incentives since a charge request can only be sent if renewable power is available. The negative incentives (disincentives) with respect to the ride requests seen in Figs. 4, 5 and 6 correspond to the scenario where the users did not submit a bid (tip) and/or some EVs sent a negative incentive to the rideservice provider to indicate that they were far away from the user’s dropoff point.
For completeness, we repeat the simulation for a fleet of regular fossilfuel vehicles, as shown in Fig. 2. The number of missed ride requests, in this case that does not include the ridesharing option, reduces to 4. In order to achieve the same result with EVs, a larger fleet with 35 additional EVs would be needed, or alternatively, the customers’ willingness to rideshare should be above 90%. On the other hand, our mobility model is significantly more sustainable since it is entirely powered by renewable energy resources. We emphasize that we can make the EV charging schedule match the renewable generation profile at each charging facility through our bargaining mechanism, as shown in Fig. 5. Moreover, we note that our results may further improve in a scenario where fastcharging is adopted. In this work, we take a conservative approach and consider level 2 chargers only, but if we consider level 3 EV chargers, also called DC fast chargers^{44}, we could achieve a considerable improvement in the QoS. For example, if we assume a charging rate of 1.15 kWh per minute then the time needed to recharge a depleted battery would reduce to 45 minutes, and the performance metrics for case 1 on a sunny day would improve, resulting in a QoS of 99.8% and a PL of 37.4%.
To provide a more comprehensive set of results, we examine how our method performs over a longer simulation period. Figure 8 and 9 show the results over 42 hours for case 1 and case 2, respectively. Moreover, we consider an additional case in the right column, where we assume that the EVs are allowed to charge at night, during offpeak hours, by connecting to the grid regardless of where they are located. For comparison, the total number of ride requests is now 5156, out of which 2676 were received on the second day. As a benchmark metric, the total number of missed ride request for the businessasusual case is 450. We notice a significant improvement in the QoS when allowing grid charging at night, in order to restore higher SOC levels while EVs are less busy driving.
We acknowledge that our formulation comes with limitations. First, we consider charge requests as an input that depends on the surplus of renewable generation in areas where the charging facilities are located. With coordinated efforts between the rideservice provider and the power utility company, it would be feasible to displace the EV charging peak to a time period with minimal arrival of ride requests, mitigating the adverse effects of charging on the QoS, as currently can be seen in Fig. 4. However, we note that the proposed approach can be extended to consider the case where the power utility company incentivizes the EVs to provide other services, such as ramping services and load balancing; this is performed by replacing the renewable generation with a different power profile in the proposed method. Second, the performance of our algorithm relies on the tuning of multiple parameters that affect the outcome for the rideservice provider, by improving the QoS, or for the power utility company, by increasing the consumption of renewable generation; then, the balance between the objectives of both companies is not a trivial task. Our algorithm setup depends on external variables such as the user bid, energy prices, initial SOC of EVs, and arrival time of ride and charge requests, thus, the results can differ considerably from one case to another. In particular, we recognize the importance of setting the value for the maximum bid allowed to users, denoted by \(h_{\max }\). If users can bid high enough to request a trip, ride requests will be prioritized over charge requests increasing the PL for the power utility company. Otherwise, if users do not offer bids at all, and the financial incentives associated with the charge requests are large enough, the QoS can deteriorate due to the preference of the rideservice provider to prioritize charging.
As a final remark, we note that the proposed assignment strategy does not plan rides and charging profiles ahead based on predictions of demand and power generation. In line with other existing works such as^{12,13,14,15}, we seek an assignment problem that involves a computationally light solution and can be solved at the minute or subminute time scale. Extending the framework to a rolling horizon optimization setup (as in, for example, model predictive control frameworks) to include the planning of rides and charging profiles ahead would significantly increase the computational complexity of our method; this is mainly because the relaxation of the binary variables may not be exact. It is also important to note that, when planning ahead, one should consider errors in the predictions of demand and power generation. Exploring robust or stochastic problems for multiperiod problem formulations along with computationally affordable solution approaches goes beyond the scope of the present paper and will be the subject of future research endeavors.
Methods
In this section, we outline the main mathematical framework utilized to develop the proposed bargaining mechanism, and we explain the main implementation. The proposed mechanism involves three entities: a rideservice provider, a fleet of EVs (either with a driver or autonomous), and a power utility company; they are shown in Fig. 1a. These three entities interact each time a new assignment has to be made.
In the proposed framework, the power utility company aims to maximize the use of renewable generation at specific portions of the grid, where charging facilities powered by renewable resources are located. The rideservice provider manages the EV fleet to serve ride requests from customers and respond to the power utility company requests while minimizing its overall operational costs. The goal of the EV drivers is to get ride requests assigned to their EVs.
The proposed mechanism is repeated at given intervals (e.g., 1, 5, 10, ... minutes, depending on specific settings) to assign available vehicles to new ride and charge requests. Accordingly, time is discretized as \(t \in \{0, 1, 2, \ldots \}\) (normalized to integer units). At each given time t, the scheme involves three main steps, illustrated in Fig. 1a:
Step 1. Customers send ride requests to the rideservice provider, accompanied by a possible additional tip they are willing to offer in order to compete against other customers that are also requesting rides; in parallel, the power utility company sends to the rideservice provider a number of charge requests.
Step 2. The EVs, the rideservice provider, and the power utility company start the bargaining procedure, mathematically explained in Algorithm 1 (outlined shortly). This step involves an iterative procedure where the rideservice provider computes potential EVrequest assignments, and communicates them to the EVs and power utility company, which in turn provide new incentives to possibly influence the assignment; the interaction then repeats with the rideservice provider recomputing the potential EVrequest assignments.
Step 3. Once Step 2 ends, the rideservice provider issues the final assignments.
In the following, we describe the mathematical problem formulation and pertinent algorithms associated with Steps 1–3.
A new vehicle assignment method based on renewable and ride incentives
We model the transportation network topology as exemplified in Fig. 1b. Movements of EVs between geographical areas are described by an undirected graph; the nodes \({\mathscr {N}}= \{1, 2, \ldots , n\}\) of the graph represent n geographical areas (neighborhoods, groups of city blocks, or towns depending on the geographical granularity); two areas are connected through an edge if they can be reached within a given traveling time. Assume that the rideservice provider receives p requests, as illustrated in Fig. 1a, and these are indexed in by set \({\mathscr {R}}= \{1, 2, \ldots , p\}\); each ride request includes an origin and destination. The set \({\mathscr {C}}= \{1,2, \ldots , q\}\) represents the charge requests issued by the utility company; each request is associated with a charging facility (located in one of the areas \({\mathscr {N}}\)). We define \({\mathscr {E}}= {\mathscr {R}}\cup {\mathscr {C}}\) to be the set of all requests (ride and charge), and we let the set of EVs be \({\mathscr {V}}= \{1, 2, \ldots , m\}\), where m is the numbers of EVs. At every time slot t, the sets \({\mathscr {V}}, {\mathscr {R}}, {\mathscr {C}}\) are updated based on the current availability of vehicles and the most updated ride and charge requests. For notational readability, in what follows we will drop the dependence of these sets on the variable t.
In the optimization problems described in the following, we have three sets of optimization variables: (i) the variables \(x_{ij} \in \{ 0,1 \}\) are used to describe whether the EV i is assigned or not to the ride or charge request j (with \(i \in {\mathscr {V}}\) and \(j \in {\mathscr {E}}\)); these are decision variables of the rideservice provider. (ii) The variables \(\{y_{ij}, i\in {\mathscr {V}}, j \in {\mathscr {C}}\}\) are decision variables of the power utility company, and represent financial incentives offered to the rideservice provider in order to incentivize the assignment of EVs to issued charge requests. (iii) The set of variables \(\{y_{ij}, j \in {\mathscr {R}}\}\) represents financial incentives computed by each EV i and sent to the rideservice provider in order to obtain the ride request j. In other words, any available EV i has the task to determine the size of the incentive \(\{y_{ij}, j \in {\mathscr {R}}\}\) based on the user’s bid for request j, and on the cost of the potential trip, from the current position of EV i to the users’ dropoff location. The complete list of parameters and variables is provided in Table 2.
With these three groups of variables, the optimization problems associated with the rideservice provider, the EVs, and the power utility company are explained next. We will first outline the three optimization problems, and then explain how these three problems are integral parts of the proposed bargaining mechanism in Step 2.
Linear assignment at the rideservice provider
We begin by formalizing the optimization problem that is solved at the rideservice provider to assign requests to available vehicles. We recall that we use binary variables \(x_{ij} \in \{0, 1\}\) to describe whether EV i is assigned or not to the request j; i.e., if \(x_{ij}=1\), then EV i is assigned to serve the ride/charge request j, otherwise, \(x_{ij}=0\). These are referred to as assignment variables. Let \(c_{ij}\), for \(i \in {\mathscr {V}}\) and \(j \in {\mathscr {R}}\), be the fixed cost (in USD, EUR, etc.) for the rideservice provider to attend the ride request j using the EV i. On the other hand, \(d_{ij}\) is the cost for the rideservice provider to attend the charge request j via EV i in a given charging facility s. The variables \(y_{ij}\) can be seen as a discount price (respectively, a price increase) to induce the EV i to be assigned to (respectively, not to be assigned to) the ride or charge request j.
When the incentives \({\textbf{y}}:=\{y_{ij}, i \in {\mathscr {V}}, j\in {\mathscr {E}}\}\) are given, the operational cost of the rideservice provider can be minimized through the following linear assignment problem:
where the label “RSP(\({\textbf{y}}\))” emphasizes that this problem is solved by the rideservice provider once the incentives \(\{y_{ij}, i \in {\mathscr {V}}, j\in {\mathscr {E}}\}\) are given (they are inputs to the problem). Constraints (1b) guarantee that each ride/charge request is assigned to one EV, and constraints (1c) ensure that each EV can be assigned to at most one request at time t. The solution to the optimization problem (1) minimizes the operational costs of the fleet by optimally assigning the available EVs to ride and charge requests. As in existing linear assignment problems, for the ride requests we consider the cost \(c_{ij}\) as the cost of the shortest path between the position of EV i and the pickup point corresponding to the ride request j; similar arguments apply to \(d_{ij}\) for the charge request j corresponding to a charging facility.
We note that (1) is a mixedinteger linear program (MILP), which may become computationally burdensome with the increasing of number of vehicles, ride requests, and charge requests. However, we will show later in the paper that one can take advantage of the totally unimodular constraint matrix property of the linear assignment problem (1), and show that a continuous relaxation (i.e., substitute \(x_{ij} \in \{0, 1\}\) with \(x_{ij} \in [0, 1]\)) is exact^{13}. This, in turn, allows one to leverage standard solvers for linear programs to find an optimal assignment.
Charge incentives at the power utility company
We consider an optimization problem solved by the utility company to minimize the economic loss due to the unused renewable generation at specific charging facilities. To this end, let \({\mathscr {S}}\) be the set of charging facilities (located within the neighborhoods or areas \({\mathscr {N}}\)). We let \(\{y_{i{j}}\}_{i\in {\mathscr {V}}, j \in {\mathscr {C}}} \mapsto U_s(x_{i {j}}, y_{i{j}}, \theta _s)\) be a function modeling a financial or operational cost incurred by the power utility company at the charging facility \(s\in {\mathscr {S}}\) for not using power from renewable sources of energy; this function is parametrized by the assignments \(\{x_{ij}\}_{i\in {\mathscr {V}}, j \in {\mathscr {C}}}\) and by additional parameters \(\theta _s \in \mathbb {R}^\theta\) that are of interest to the utility company (examples are given shortly in the section "Experimental setup"). Moreover, we let \(\{y_{i{j}}\}_{i\in {\mathscr {V}}, j \in {\mathscr {C}}} \mapsto \rho _s (x_{i {j}}, y_{i{j}})\) be a function that keeps track of the total incentives assigned at a charging facility s. With this notation, and for a given (potential) vehiclerequest assignment \({\textbf{x}}_{\mathscr {C}}:= \{x_{ij}, \,i\in {\mathscr {V}}, j \in {\mathscr {C}}\}\), the power utility company solves the following problem to compute the financial incentives associated with its charge requests:
where \({\mathscr {Y}}_{\mathscr {C}}\) is a convex set. The label “PUC(\({\textbf{x}}_{\mathscr {C}}\))” once again stresses that this is a problem solved by the power utility company, for a given assignment \({\textbf{x}}_{\mathscr {C}}\). Throughout this work, we assume that the function \(U_s\) is convex for any fixed \(x_{ij}\) and \(\theta _s\), while the function \(\rho _s\) is linear or affine; consequently, (2) is a convex problem.
Ride incentives at the EV fleet
We include in our framework an optimization problem associated with each EV, utilized by the EV owner to incentivize the rideservice provider to assign their preferred rides. To this end, let \({\textbf{x}}_{\mathscr {R}}:= \{x_{ij}, \,i\in {\mathscr {V}}, j \in {\mathscr {R}}\}\) denote the riderequests assignment, and \(\{y_{ij}\}_{j \in {\mathscr {R}}} \mapsto D_{ij}(y_{i{j}}; {\textbf{x}}_{\mathscr {R}}, w_{ij})\) be a function modeling a financial cost incurred by the ith EV when serving the ride assignment described by \({\textbf{x}}_{\mathscr {R}}\), where \(w_{ij} \in \mathbb {R}\) parametrizes the cost. Then, each EV i solves the following “best bid problem:”
Here, \({\mathscr {Y}}_{\mathscr {R}}\) describes a convex set of operational constraints, and \(D_{ij}\) is assumed to be a convex function for each fixed \(x_{ij}, w_{ij}\). More precisely, in this context, \(y_{ij}\) represents the (dis)incentive that the rideservice provider will receive from the EV owner if the EV i is assigned to the ride request j.
The cost in (3) can also be decoupled as \(D_{ij}(y_{ij}, w_{ij}) = D^\prime _{ij}(y_{ij}, w_{ij}) + D^{\prime \prime }_{ij}(y_{ij}, b_{ij})\), where \(D^\prime _{ij}(y_{ij}, w_{ij})\) is a term related to the potential financial gain of the driver when taking a ride, and \(D^{\prime \prime }_{ij}(y_{ij}, b_{ij})\) is related to the SOC level or the (un)willingness of the driver to take a ride request j. Of course, these costs can be engineered based on specific implementations of the algorithms, market setups, and models for the preferences of the drivers. As an example for the first term, the parameter \(w_{ij} \in \mathbb {R}\) may represent a fixed (dis)incentive defined as \(w_{ij} = h_{j}  \alpha _{ij} a_{ij}\), where \(h_{j}\) is the bid (or tip) offered by the customer that sent the ride request j (satisfying \(0 \le h_{j} \le h_{\textrm{max}}\)), \(a_{ij}\) is the cost of reaching the dropoff location of the ride request j starting from the current position of EV i, and \(\alpha _{ij} \in [0, 1]\) is a scaling factor decided by the EV owner; the cost can be set to, as an example, \(D^\prime _{ij}(y_{ij}, w_{ij}) = (y_{ij}  w_{ij})^2\). As an additional example, in the ridesharing context, \(w_{ij}\) can be given by \(w_{ij} = h_{j}  \alpha _{ij} a_{ij} + \beta b_i\), where \(\beta \in [0,1]\), and \(b_i\) represents an additional incentive that depends on the number of currently available seats on EV i. As an example for the second term, one may consider the cost \(D^{\prime \prime }_{ij}(y_{ij}, b_{ij}) = y_{ij} b_{ij}\), where the parameter \(b_{ij}\) can be inversely proportional to the SOC; moreover, the term \(b_{ij}\) may take high values for rides that lead to a low SOC upon completion of the trip. We would like to point out that (3) is no longer necessary when considering a fleet of autonomous vehicles.
How do power utility company, rideservice provider, and EVs interact?
The optimization problems (1)–(3) are utilized to compute potential assignments (for given incentives) and incentives (for given potential assignments). We consider a gametheoretic approach where potential assignments and incentives are sequentially updated until they converge; we will comment later in the paper on the properties of the assignments and incentives at convergence (and their alignment with the concept of Nash equilibrium). Considering an iterative approach, where \(k \in \mathbb {N} \cup \{0\}\) is the iteration index, let \({\textbf{y}}^{(k)}\) and \({\textbf{x}}^{(k)}\) the assignments and incentives at iteration k; then, our mechanism involves updates of the form \(\text {RSP}({\textbf{y}}^{(0)}) \rightarrow {\textbf{x}}^{(1)} \rightarrow \text {PUC}({\textbf{x}}_{\mathscr {C}}^{(1)}),\text {EV}i({\textbf{x}}_{\mathscr {R}}^{(1)}) \rightarrow {\textbf{y}}^{(1)} \rightarrow \text {RSP}({\textbf{y}}^{(1)}) \rightarrow {\textbf{x}}^{(2)} \rightarrow \text {PUC}({\textbf{x}}_{\mathscr {C}}^{(2)}),\text {EV}i({\textbf{x}}_{\mathscr {R}}^{(2)}) \rightarrow {\textbf{y}}^{(2)} \rightarrow \ldots\) until convergence; the assignments at convergence are then dispatched to the EVs. The notation \(\text {RSP}({\textbf{y}}^{(k)})\) means that the problem (1) is solved by the rideservice provider to issue a new potential assignment \({\textbf{x}}^{(k+1)}\), based on the current incentives \({\textbf{y}}^{(k)}\) received from the power utility company and the EVs. Similarly, \(\text {PUC}({\textbf{x}}_{\mathscr {C}}^{(k)})\) means that the power utility company computes new incentives \({\textbf{y}}_{\mathscr {C}}^{(k+1)}\) by solving (2) based on the current potential assignment \({\textbf{x}}_{\mathscr {C}}^{(k)}\), and each EV updates its own incentives by solving (3). At each round, the rideservice provider sends to the power utility company and EVs new potential assignments and receives from them new incentives. This mechanism, which is in the form of a GaussSeidel method^{45} and is repeated at every time slot t, is tabulated as Algorithm 1.
Note that in step [S3a] the binary variables \(x_{ij} \in \{0,1\}\) have been relaxed to \(x_{ij} \in [0,1]\); accordingly, the relaxed assignment problem in step [S3a] is a continuous convex linear problem, which can be solved efficiently. Moreover, in the section "Theoretical foundations", we will show that the relaxation is exact. The steps of the GaussSeidel algorithm are repeated until convergence (i.e., when \({\textbf{x}}^{(k+1)} = {\textbf{x}}^{(k)}\) and \({\textbf{y}}^{(k+1)} = {\textbf{y}}^{(k)}\)) or a maximum number of iterations is reached.
Experimental setup
Data sources
Our case study is based on ride requests from the lower Manhattan area, in New York City, NY. We use real data recorded by the Taxi and Limousine Commission (TLC)^{40} on Tuesday, March 1, 2022, between 6:00 and 24:00. The total number of ride requests collected during this time window is 19935, from which we keep a random sample of 2480 to have a number of ride requests that can be handled by a fleet of 100 EVs. The ride requests have been categorized according to their submission time, and grouped into oneminute time slots. Note that the ride requests subsampling is due to the fact that we require to keep the simulation of several experiments manageable on a 2.4 GHz QuadCore Intel Core i5 laptop with 8 GB RAM memory. The proposed algorithm on average converges in 2 iterations and takes 2.6 seconds per iteration. We obtain approximated power generation profiles for PV systems from the renewable historical data of New York Independent System Operator^{41}. As a point of reference, we extracted the PV shape from the renewable energy generated within New York State on a sunny day, and modify it accordingly to represent also a cloudy day. To test our model, we consider three scenarios, corresponding to different weather conditions: sunny day (i.e., maximum PV generation), and cloudy day, which presents two alternatives: cloudy morning and cloudy afternoon. According to NYC OpenData^{46}, we estimate that about 5 MW of PV peak power will be generated in the part of Manhattan that we are considering, distributed among a total of 39 charging stations. Assuming all PV systems have equal capacity, each station is estimated to produce about 125 kW during peak hours. Since most likely only a fraction of the generated power will be designated to EV charging, and given the smaller fleet size considered in this work, we assume that each charging station can produce 25 kW as peak power. The charging stations are grouped within the 4 regions they belong to by adding their PV capacity. In our graph, this translates to 4 nodes hosting charging facilities, as depicted in Fig. 1b. Since the number of charging stations at each of these facilities varies, the maximum PV generation will be different in each region, as one can see in Fig. 5.
Problem and algorithm setup
Next, we describe the parameters and functions used in the case study. We consider a fleet of 100 EVs, each with a 50 kWh battery capacity. We assume that each EV consumes 0.1 kWh per minute traveled, and recharges 0.2 kWh per minute spent at any charging station equipped with level 2 EV chargers, i.e., it takes approximately 4 hours to fully charge an empty EV battery. Based on our data subsample, it is reasonable to start our simulations with a fleet of idling EVs at 6:00, since there are very few ride requests and no renewable generation at night. However, the results do not change significantly even if we randomly set an initial state (idling, charging, driving) for each vehicle as long as the EVs become available in the next hour and a half. To make our model more realistic, we implement some constraints summarized in the following. EVs whose battery status is up to 2/3 of the full battery capacity cannot attend a charge request. EVs are expected to charge fully once they have accepted a charge request and will therefore not be considered for other assignments in the meanwhile. When they are available, EVs can only accept charge requests coming from the region where they are idling or from neighboring areas located at most one edge distance. EVs must have enough battery to complete the planned trip to be considered as candidates for a request. Ride requests can be attended by EVs located in the near neighborhood, i.e., no further than two edges distance. The travel time to move from one neighboring area to another is 10 minutes. The EV assignment is performed every 1 minute.
The functions for the optimization problems are defined as follows:

For the EV: \(D_{ij}(y_{ij}, w_{ij}) = (y_{ij}w_{ij})^2\), \({\mathscr {Y}}_{\mathscr {R}}= [r_{\min }, r_{\max }], \, \forall i \in {\mathscr {V}}, \, j \in {\mathscr {R}}.\)

For the power utility company: \(U_s(x_{ij}, y_{ij}, \theta _s) = (L(P_{\textrm{ref,s}})  \rho _s(x_{ij}, y_{ij}))^2, \, {\mathscr {Y}}_{\mathscr {C}}= [l_{\min }, l_{\max }], \, \forall s \in {\mathscr {S}}\), where \(L(P_{\textrm{ref,s}}) = c_{\textrm{RER}} \left( P_{\textrm{ref},s}  v_{\textrm{ch},s} p_{\textrm{ch} } \right)\), and \(\rho _s(x_{ij}, y_{ij}) = \sum _{i \in {\mathscr {V}}} \sum _{i \in {\mathscr {C}}_s} x_{ij} y_{ij}, \, \forall s \in {\mathscr {S}}\).
The function L accounts for the loss incurred due to excess of renewables, where \(P_{\textrm{ref},s}\) is the power generated at specific areas where the charging facility s is located, \(v_{\textrm{ch}}\) is the number of EVs currently charging at facility s, and \(p_{\textrm{ch}}\) is the power delivered to each charging EV. The timevarying price of the generated PV power is given by \(c_{\textrm{RER}}\).
Numerically, if the EV i cannot accommodate the ride request \(j \in {\mathscr {R}}\) or the charge request \(j \in {\mathscr {C}}\), we set \(c_{ij} = 10^6\) or \(d_{ij} = 10^6\), respectively; this means that the assignment is infeasible^{13}. We remark that an alternative way to impose that the EV i cannot accommodate the ride request j is to set \(y_{ij} = 10^6\). In a practical implementation of the algorithm, this represents the case where the EV driver i cannot take the ride j because the SOC is not sufficient (in this case, the rideservice provider has no knowledge of the SOC level of the EV).
We remark that our numerical results consider the case where EVs charge until full once they accept a charging request. However, our mechanism can allow EVs to interrupt charging in order to accept a ride assignment; this is possible by including the EVs that are charging in our Algorithm 1 and, in particular, in the steps [S2]–[S3]. However, in a realistic implementation, the ability to interrupt charging will be regulated by contractual agreements associated with the charge request (for example, the power utility company may require a minimum charging time once the EV starts the charging session).
In terms of implementation of the Algorithm 1, it is important to remark that, although the assignment is performed in step [S3] by the rideservice provider, Algorithm 1 is specifically designed for the EV drivers and the power utility company to influence the assignment process. As explained in the section "Theoretical foundations", Algorithm 1 reaches a Nash equilibrium, where EV drivers have no incentive to deviate from the final assignment. For this reason, the numerical simulations considers a case where the EV drivers are fully compliant and serve the assigned ride or charge requests. Having said that, our algorithm is still applicable to a case where drivers are not fully compliant, and may decide to decline ride or charge requests that are assigned to them. These ride and charge requests are redispatched in the next step or just missed.
Theoretical foundations
In this section, we present two key concepts to analyze our vehicle assignment method based on renewable and ride incentives.
Symmetric linear assignment problem
The problem in (1) is an asymmetric linear assignment problem^{47,48}. By taking advantage of the totally unimodular constraint matrix property of the linear assignment problems in (1), it is well known that their continuous relaxation (i.e., when one substitutes \(x_{ij} \in \{0, 1\}\) with \(x_{ij} \in [0, 1]\)) is exact^{13}. Therefore, we can reformulate the problem (1) by following a similar procedure as^{13}. First, we add virtual requests \({\mathscr {M}}_{E}\) or virtual EVs \({\mathscr {M}}_{V}\) such that \({\mathscr {E}}' = {\mathscr {E}}\cup {\mathscr {M}}_{E}\) and \({\mathscr {V}}' = {\mathscr {V}}\cup {\mathscr {M}}_{V}\) have the same cardinality, and define \(h~=~\max \{m, p+q\}\). Second, the assignment cost \(c_{ij}\) (or \(d_{ij}\)) of the virtual EVs in \({\mathscr {M}}_{V}\) for all requests in \({\mathscr {M}}_{E}\) is set to \(\infty\). The incentives for the virtual EVs are set to 0. Thus, the problem (1) is equivalent to the following symmetric linear assignment problem:
We then have the following result.
Lemma 1
Problem (4) is an exact continuous relaxation of the binary Problem (1).
The proof of the result follows from the totally unimodularity of the constraints, or equivalently from the fact that the solutions are vertices of the Birkhoff’s polytope. This is a standard result in linear programming. The interested reader is referred to^{13,49}.
Existence of the Nash equilibrium
The proposed method is aligned with gametheoretic frameworks^{45,50,51,52}; in particular, it can be modeled as a noncooperative game, where three groups of agents (rideservice provider, power utility company, and EVs) interact to optimize their costs. To analyze our method, we first consider the case where no constraints are present for the power utility company. To streamline the exposition, we define as \(g_1({\textbf{x}}_{\mathscr {R}}; {\textbf{y}}_{\mathscr {R}})\) and \(g_2({\textbf{x}}_{\mathscr {C}}; {\textbf{y}}_{\mathscr {C}})\) the cost functions in (2) and (3), respectively, where the notation is provided in Table 2.
Definition 1
(from^{45}) A Nash Equilibrium (NE) is a tuple \(({\textbf{x}}^*, {\textbf{y}}^*)\) such that
Definition 1 implies that when each agent chooses its strategy, \({\textbf{x}}^*\), \({\textbf{y}}^*_{\mathscr {R}}\) and \({\textbf{y}}^*_{\mathscr {C}}\), no one has any incentive to change its strategy unilaterally. Now, we reformulate the Nash Equilibrium problem (NEP) as a variational inequality (VI)^{45}. First, we define the vectorvalued function \(F: {\mathbb {R}}^{2m(p+q)} \rightarrow {\mathbb {R}}^{2m(p+q)}\) and the pointtoset mapping \(S: {\mathbb {R}}^{2m(p+q)} \rightrightarrows {\mathbb {R}}^{2m(p+q)}\) by
Therefore, we can define the VI problem as follows.
Definition 2
(from^{45}) Given a closed and convex set \(S \subseteq {\mathbb {R}}^{2m(p+q)}\) and a mapping \(F: S \rightarrow {\mathbb {R}}^{2m(p+q)}\), the VI problem, denote by VI(S, F), consists in finding a vector \({\textbf{z}}^* := [{\textbf{x}}^*, {\textbf{y}}^*]^\top\), such that: \(({\textbf{h}} {\textbf{z}}^*)^\top F({\textbf{z}}^*) \ge 0, \forall ~{\textbf{h}}\in S\).
In^{45}, the relation between NEP and VI is established. In particular, suppose that: 1) The set S is convex and closed. 2a) The cost functions \(f({\textbf{x}}, {\textbf{y}})\) is continuously differentiable in \(({\textbf{x}}, {\textbf{y}})\) and convex in \({\textbf{x}}\) for every fixed \({\textbf{y}}\), and 2b) The cost functions \(g({\textbf{x}}, {\textbf{y}})\) is continuously differentiable in \(({\textbf{x}},{\textbf{y}})\) and convex in \({\textbf{y}}\) for every fixed \({\textbf{x}}\). Then, the NEP is equivalent to the VI(S, F). The conditions that guarantee the existence of a NE follow directly from the existence of a solution of the VI. To show the existence, in addition to conditions 1) and 2), we have that, in our case, the set S is compact; consequently, the NEP has a nonempty and compact solution set^{45}.
When one considers the constraints in problem (2), we need to resort to the concept of Generalized Nash Equilibrium. Based on the problems (1)–(3), define \({\hat{S}}_x = {\mathscr {X}}, \; {\hat{S}}_y({\textbf{x}}) = \{ {\textbf{y}}\in {\mathscr {Y}}\,  \, {b}_{\min } \le \rho _s({\textbf{x}}, {\textbf{y}}) \le {b}_{\max }, \, \forall s \in {\mathscr {S}}\}\) and \({\hat{S}} = {\hat{S}}_x \times {\hat{S}}_y({\textbf{x}})\). Then, the NEP becomes a Generalized NEP (GNEP) where the set \({\hat{S}} \subseteq {\mathbb {R}}^{2m(p+q)}\) depends on the other agents’ strategies. Assume \({\textbf{H}}\) is a given symmetric positive definite matrix, and let \({\textbf{z}}\) be temporarily fixed. Consider the following problem^{50,51}:
and the solution of the problem (5) is given by \(h({\textbf{z}}) = \textrm{proj}_{{\hat{S}}, {\textbf{H}}} \{{\textbf{z}} {\textbf{H}}^{1} F({\textbf{z}})\}\), where the mapping \(h: {\mathbb {R}}^{2m(p+q)} \rightarrow {\mathbb {R}}^{2m(p+q)}\) yields a fixed point characterization of the solution of the quasivariational inequality (QVI) problem, defined as \(({\textbf{h}} {\textbf{z}}^*)^\top F({\textbf{z}}^*) \ge 0, \, \forall {\textbf{h}}\in {\hat{S}}\). We can define the merit function of the GNEP as the function \(u({\textbf{z}})\) defined as^{50} \(u({\textbf{z}}) =  \langle F({\textbf{z}}), \, h({\textbf{z}}){\textbf{z}} \rangle + \frac{1}{2} \langle h({\textbf{z}}){\textbf{z}}, \, {\textbf{H}}(h({\textbf{z}}) {\textbf{z}}) \rangle\), and consider the problem \(\min _{{\textbf{z}}} \; u({\textbf{z}}), s.t.~{\textbf{z}}\in {\hat{S}}\).
From^{50}, it follows that for each \({\textbf{z}}\in {\hat{S}}\), we have \(u({\textbf{z}}) \ge 0\); moreover, \({\textbf{z}}\) solves the QVI problem if and only if \(u({\textbf{z}}) = 0\) and \({\textbf{z}}\in {\hat{S}}\). This result gives a tool to corroborate numerically the performance of Algorithm 1. In particular, if the assignment and the incentives at convergence are such that the merit function is 0, then the proposed GaussSeidel method identified a GNE.
Data availability
Data for the ride requests was obtained from the Taxi and Limousine Commission (TLC), publicly available on the website: https://www.nyc.gov/site/tlc/about/tlctriprecorddata.page. All analyses were performed using Python software that was custom developed as part of our methods. It is available in the repository: https://github.com/Elispe/renewableEV. Here we deploy the open source CVXPY^{53} package for convex optimization problems and PuLP^{54} for the linear assignment problem, with the COIN_CMD solver.
References
United Nations, Department of Economic and Social Affairs, Population Division. World Urbanization Prospects: The 2018 revision. (ST/ESA/SER.A/420) New York (2019).
Vohra, K. et al. Global mortality from outdoor fine particle pollution generated by fossil fuel combustion: Results from GEOSChem. Environ. Res. 195, 110754 (2021).
BricenoGarmendia, C., Wenxin, Q. & Vivien, F. The economics of electric vehicles for passenger transportation. Sustain. Infrastruct. Ser. (2023).
Ward, J. W., Michalek, J. J. & Samaras, C. Air pollution, greenhouse gas, and traffic externality benefits and costs of shifting private vehicle travel to ridesourcing services. Environ. Sci. Technol. 55, 13174–13185 (2021).
Gurumurthy, K. M. & Kockelman, K. M. Modeling Americans’ autonomous vehicle preferences: A focus on dynamic ridesharing, privacy & longdistance mode choices. Technol. Forecast Soc Change 150, 119792 (2020).
Spieser, K. et al. Toward a systematic approach to the design and evaluation of automated mobilityondemand systems: A case study in Singapore. Road Veh. Autom. 58, 229–245 (2014).
Bösch, P. M., Becker, F., Becker, H. & Axhausen, K. W. Costbased analysis of autonomous mobility services. Transp. Pol. 64, 76–91 (2018).
Hong, J. H. & Liu, X. The optimal pricing for green ride services in the ridesharing economy. Transp. Res. Part D Transp. Environ. 104, 103205 (2022).
Paudyal, P., Ghosh, S., Veda, S., Tiwari, D. & Desai, J. EV hosting capacity analysis on distribution grids. In 2021 IEEE Power Energy Society General Meeting (PESGM), pp. 1–5 (2021).
Panossian, N. et al. Challenges and opportunities of integrating electric vehicles in electricity distribution systems. Curr. Sustain. Renew. Energy Rep. 9, 27–40 (2022).
Gan, L., Topcu, U. & Low, S. H. Optimal decentralized protocol for electric vehicle charging. IEEE Trans. Power Syst. 28, 940–951 (2013).
Rossi, F., Iglesias, R., Alizadeh, M. & Pavone, M. On the interaction between autonomous mobilityondemand systems and the power network: Models and coordination algorithms. IEEE Trans. Control Netw. Syst. 7, 384–397 (2020).
Simonetto, A., Monteil, J. & Gambella, C. Realtime cityscale ridesharing via linear assignment problems. Transp. Res. Part C 101, 208–232 (2019).
Dafermos, S. C. & Sparrow, F. T. The traffic assignment problem for a general network. J. Res. Natl. Bur. Stand. B. Math. Sci. 73, 156 (1969).
AlonsoMora, J., Samaranayake, S., Wallar, A., Frazzoli, E. & Rus, D. Ondemand highcapacity ridesharing via dynamic tripvehicle assignment. Proc. Natl. Acad. Sci. 114, 462–467 (2017).
Beirigo, B. A., Negenborn, R. R., AlonsoMora, J. & Schulte, F. A business class for autonomous mobilityondemand: Modeling service quality contracts in dynamic ridesharing systems. Transp. Res. Part C Emerg. Technol. 136, 103520 (2022).
Bongiovanni, C., Kaspi, M., Cordeau, J.F. & Geroliminis, N. A machine learningdriven twophase metaheuristic for autonomous ridesharing operations. Transp. Res. Part E Logist. Transp. Rev. 165, 102835 (2022).
Fielbaum, A., Kronmueller, M. & AlonsoMora, J. Anticipatory routing methods for an ondemand ridepooling mobility system. Transportation 49, 1921–1962 (2022).
Turan, B. & Alizadeh, M. Competition in electric autonomous mobility on demand systems. Trans. Control Netw. Syst. 9, 295–307 (2022).
Zhang, H., Sheppard, C. J., Lipman, T. E., Zeng, T. & Moura, S. J. Charging infrastructure demands of shareduse autonomous electric vehicles in urban areas. Transp. Res. Part D Transp. Environ. 78, 102210 (2020).
Brandstätter, G. et al. Overview of optimization problems in electric carsharing system design and management. Dynamic perspectives on managerial decision making: Essays in honor of Richard F. Hartl 441–471 (2016).
Alizadeh, M. et al. Optimal pricing to manage electric vehicles in coupled power and transportation networks. IEEE Trans. Control Netw. Syst. 4, 863–875 (2017).
Spieser, K., Samaranayake, S. & Frazzoli, E. Vehicle routing for sharedmobility systems with timevarying demand. In 2016 American Control Conf. (ACC), 796–802 (2016).
Chandra Mouli, G. R., Kefayati, M., Baldick, R. & Bauer, P. Integrated PV charging of EV fleet based on energy prices, V2G, and offer of reserves. IEEE Trans. Smart Grid 10, 1313–1325 (2019).
Liu, L., Kong, F., Liu, X., Peng, Y. & Wang, Q. A review on electric vehicles interacting with renewable energy in smart grid. Renew. Sustain. Energy Rev. 51, 648–661 (2015).
You, P., Pang, J. Z. F. & Low, S. H. Online station assignment for electric vehicle battery swapping. IEEE Trans. Intell. Transp. Syst. 23, 3256–3267 (2022).
Lv, S., Chen, S. & Wei, Z. Coordinating urban powertraffic networks: A subsidybased NashStackelbergNash game model. IEEE Trans. Indust. Inform. 19, 1778–1790 (2023).
Qiao, W., Han, Y., Zhao, Q., Si, F. & Wang, J. A distributed coordination method for coupled trafficpower network equilibrium incorporating behavioral theory. IEEE Trans. Veh. Technol. 71, 12588–12601 (2022).
Gao, S., Chau, K. T., Liu, C., Wu, D. & Chan, C. C. Integrated energy management of plugin electric vehicles in power grid with renewables. IEEE Trans. Veh. Technol. 63, 3019–3027 (2014).
Chen, S., Feng, S., Guo, Z. & Yang, Z. Trilevel optimization model for competitive pricing of electric vehicle charging station considering distribution locational marginal price. IEEE Trans. Smart Grid 13, 4716–4729 (2022).
González, S. et al. Routing and charging facility location for EVs under nodal pricing of electricity: A bilevel model solved using special ordered set. IEEE Trans. Smart Grid 13, 3059–3068 (2022).
Yang, J. et al. A fully decentralized hierarchical transactive energy framework for charging EVs with local DERs in power distribution systems. IEEE Trans. Transp. Electrif. 8, 3041–3055 (2022).
Yoshihara, M., Namerikawa, T. & Qu, Z. Noncooperative optimization of charging scheduling of electric vehicle via Stackelberg game. In 2018 57th Annual Conf. of the Society of Instrument and Control Engineers of Japan (SICE), 1658–1663 (2018).
Ma, Z., Callaway, D. S. & Hiskens, I. A. Decentralized charging control of large populations of plugin electric vehicles. IEEE Trans. Control Syst. Technol. 21, 67–78 (2013).
Wei, W., Liu, F. & Mei, S. Charging strategies of EV aggregator under renewable generation and congestion: A normalized Nash equilibrium approach. IEEE Trans. Smart Grid 7, 1630–1641 (2016).
Chen, S., Guo, Z., Yang, Z., Xu, Y. & Cheng, R. S. A game theoretic approach to phase balancing by plugin electric vehicles in the smart grid. IEEE Trans. Power Syst. 35, 2232–2244 (2020).
Li, Y. & Voege, T. Mobility as a service (MaaS): Challenges of implementation and policy required. J. Transp. Technol. 7, 95–106 (2017).
Butler, L., Yigitcanlar, T. & Paz, A. Barriers and risks of mobilityasaservice (MaaS) adoption in cities: A systematic review of the literature. J. Transp. Technol. 109, 103036 (2021).
Hensher, D. A. et al. Understanding Mobility as a Service (MaaS): Past, present and future (Elsevier, 2020).
TLC Trip Record Data. https://www.nyc.gov/site/tlc/about/tlctriprecorddata.page. Accessed: 2023037.
Operator, N. Y. I. I. S. RealTime Dashboard, markets. https://www.nyiso.com/realtimedashboard. Accessed: 20230317.
Storch, D., Timme, M. & Schröder, M. Incentivedriven transition to high ridesharing adoption. Nat. Commun. 12, 455623 (2021).
Santoyo, C., Nilsson, G. & Coogan, S. Resource aware pricing for electric vehicle charging. Automatica 148, 110733 (2023).
Tu, H., Feng, H., Srdic, S. & Lukic, S. Extreme fast charging of electric vehicles: A technology overview. IEEE Trans. Transp. Electr. 5, 861–878 (2019).
Facchinei, F. & Pang, J.S. Nash equilibria: The variational approach. Convex Optim. Signal Process. Commun. 12, 443 (2010).
NYC OpenData. https://data.cityofnewyork.us/HousingDevelopment/Solar/wq4553zs. Accessed: 2023037.
Papadimitriou, C. H. & Steiglitz, K. Combinatorial optimization: Algorithms and complexity, 1–496 (Prentice Hall, Mineola (N.Y.) : Dover, 1998).
Bijsterbosch, J. & Volgenant, A. Solving the rectangular assignment problem and applications. Ann. Oper. Res. 5, 443–462 (2010).
Burkard, R. E. & Çela, E. Linear Assignment Problems and Extensions 75–149 (Springer, 1999).
Fukushima, M. Equivalent differentiable optimization problems and descent methods for asymmetric variational inequality problems. Dept. Appl. Math. Phys. Fac. Eng. 53, 99–110 (1992).
Kubota, K. & Fukushima, M. Gap function approach to the generalized Nash equilibrium problem. J. Optim. Theory Appl. 144, 511–531 (2010).
Scutari, G., Palomar, D. P., Facchinei, F. & Pang, J.S. Convex optimization, game theory, and variational inequality theory. IEEE Signal Process. Mag. 27, 35–49 (2010).
Diamond, S. & Boyd, S. CVXPY: A Pythonembedded modeling language for convex optimization. J. Mach. Learn. Res. 17, 1–5 (2016).
Mitchell, S., OSullivan, M. & Dunning, I. PuLP: A Linear Programming Toolkit for Python. (2011) http://www.optimizationonline.org/DB_FILE/2011/09/3178.pdf.
Acknowledgements
The work of E. Perotti was supported by Schmidt Science Fellows, in partnership with the Rhodes Trust. The work of A. Ospina and E. Dall’Anese was supported in part by the National Science Foundation (NSF) award 1941896 and by the NSF ERC ASPIRE.
Author information
Authors and Affiliations
Contributions
E.D. and G.B. conceived the research, all authors contributed to the methods, A.O. and E.P. conducted the experiments, A.S. supervised the technical developments. All authors analyzed the results and reviewed the manuscript.
Corresponding author
Ethics declarations
Competing interest
The authors declare no competing interests.
Additional information
Publisher's note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Perotti, E., Ospina, A.M., Bianchin, G. et al. Renewablebased charging in green ridesharing. Sci Rep 13, 15425 (2023). https://doi.org/10.1038/s4159802342042z
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s4159802342042z
Comments
By submitting a comment you agree to abide by our Terms and Community Guidelines. If you find something abusive or that does not comply with our terms or guidelines please flag it as inappropriate.