Skip to main content
QUICK REVIEW

[Paper Review] Increasing performance of electric vehicles in ride-hailing services using deep reinforcement learning

Jacob F. Pettit, Ruben Glatt|arXiv (Cornell University)|Dec 7, 2019
Transportation and Mobility InnovationsEngineering13 references7 citations
TL;DR

This paper proposes a deep reinforcement learning (DRL) approach using Trust Region Policy Optimization (TRPO) to optimize driving and charging policies for ride-hailing electric vehicles (EVs), reducing energy costs and emissions. The DRL agent outperforms heuristic policies by learning to charge during off-peak hours when energy prices and congestion are low, achieving higher revenue and lower cost per mile.

ABSTRACT

New forms of on-demand transportation such as ride-hailing and connected autonomous vehicles are proliferating, yet are a challenging use case for electric vehicles (EV). This paper explores the feasibility of using deep reinforcement learning (DRL) to optimize a driving and charging policy for a ride-hailing EV agent, with the goal of reducing costs and emissions while increasing transportation service provided. We introduce a data-driven simulation of a ride-hailing EV agent that provides transportation service and charges energy at congested charging infrastructure. We then formulate a test case for the sequential driving and charging decision making problem of the agent and apply DRL to optimize the agent's decision making policy. We evaluate the performance against hand-written policies and show that our agent learns to act competitively without any prior knowledge.

Motivation & Objective

  • To address the operational challenges of ride-hailing EVs, including limited range, long charging times, and variable energy prices and demand.
  • To develop a data-driven simulation environment that models real-world factors like dynamic energy pricing, emissions, surge pricing, and charging station queues.
  • To train a DRL agent to learn an optimal driving and charging policy without prior knowledge, improving cost efficiency and service performance.
  • To compare the DRL agent’s performance against handcrafted threshold-based policies to evaluate its superiority in real-world-like conditions.
  • To demonstrate the feasibility of using DRL for optimizing individual EV agents in ride-hailing services, paving the way for scalable fleet-level applications.

Proposed method

  • The study formulates the EV’s decision-making process as a Markov Decision Process (MDP), with state observations including battery level, time of day, expected charging cost, emissions, and queue wait times.
  • A custom simulation environment is built using OpenAI Gym, simulating a Manhattan-based ride-hailing service with 120 spatial zones, 100kWh battery capacity, and 100kW charging stations.
  • The environment models time-varying electric grid data from California, including hourly energy prices and CO₂ emissions, and uses real NYC taxi trip data for trip generation.
  • The agent’s action space is discrete: choose to charge or accept a ride at each time step, with a reward function that penalizes insufficient battery use and rewards successful rides.
  • The Trust Region Policy Optimization (TRPO) algorithm is used to train the policy, with a two-layer neural network and hyperbolic tangent activation functions.
  • The training uses a discount factor of 0.8 and a batch size of 4096, with each episode simulating one week of continuous service.

Experimental results

Research questions

  • RQ1Can a DRL agent learn an optimal driving and charging policy for a ride-hailing EV without prior knowledge, outperforming simple heuristic rules?
  • RQ2Does the DRL agent learn to exploit temporal and spatial arbitrage opportunities, such as charging during low-energy-price and low-queue periods?
  • RQ3How does the DRL agent’s performance compare to handcrafted policies that charge based on fixed battery thresholds?
  • RQ4Can the agent reduce energy costs and emissions while maintaining high service availability and revenue?
  • RQ5What are the patterns in the agent’s charging behavior, and do they align with optimal economic and environmental conditions?

Key findings

  • The DRL agent achieved a higher average reward than all tested heuristic policies, demonstrating superior performance in cost and revenue optimization.
  • The agent learned to charge predominantly during the middle of the night and around noon—times of low energy prices and minimal charging station congestion.
  • The agent avoided charging during peak commute hours, when surge pricing and high demand for rides and charging stations make it economically suboptimal.
  • The agent’s cost per mile was significantly lower than that of heuristic policies, as shown in Figure 1(b), indicating improved economic efficiency.
  • The training process showed stable learning, with the average episodic reward increasing over 2,500 episodes and a consistent moving average with low variance.
  • The agent’s behavior was consistent with economic and environmental optimization, avoiding high-cost and high-emission charging periods.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.