Skip to main content
QUICK REVIEW

[Paper Review] FleetPy: A Modular Open-Source Simulation Tool for Mobility On-Demand Services

Roman Engelhardt, Florian Dandl|arXiv (Cornell University)|Jul 28, 2022
Transportation and Mobility InnovationsEngineering9 citations
TL;DR

FleetPy is an open-source, modular, agent-based simulation framework in Python designed for detailed modeling of mobility-on-demand (MoD) services, with a focus on realistic customer-operator interactions, multi-operator integration, and flexible fleet control. It enables high-fidelity simulation of ride-pooling, dynamic pricing, and fleet optimization, demonstrating significant impacts on service efficiency and vehicle kilometers traveled (VKM) across different simulation configurations in a Manhattan case study.

ABSTRACT

The market share of mobility on-demand (MoD) services strongly increased in recent years and is expected to rise even higher once vehicle automation is fully available. These services might reduce space consumption in cities as fewer parking spaces are required if private vehicle trips are replaced. If rides are shared additionally, occupancy related traffic efficiency is increased. Simulations help to identify the actual impact of MoD on a traffic system, evaluate new control algorithms for improved service efficiency and develop guidelines for regulatory measures. This paper presents the open-source agent-based simulation framework FleetPy. FleetPy (written in the programming language "Python") is explicitly developed to model MoD services in a high level of detail. It specially focuses on the modeling of interactions of users with operators while its flexibility allows the integration and embedding of multiple operators in the overall transportation system. Its modular structure ensures the transferabillity of previously developed elements and the selection of an appropriate level of modeling detail. This paper compares existing simulation frameworks for MoD services and highlights exclusive features of FleetPy. The upper level simulation flows are presented, followed by required input data for the simulation and the output data FleetPy produces. Additionally, the modules within FleetPy and high-level descriptions of current implementations are provided. Finally, an example showcase for Manhattan, NYC provides insights into the impacts of different modules for simulation flow, fleet optimization, traveler behavior and network representation.

Motivation & Objective

  • To address the growing need for high-fidelity simulation tools to evaluate the impact of mobility-on-demand (MoD) services on urban traffic systems.
  • To support the development and testing of advanced fleet control algorithms for MoD services, including dynamic pricing, repositioning, and ride-pooling.
  • To enable multi-operator simulation with broker or regulatory mechanisms to study systemic effects on mobility efficiency and urban congestion.
  • To provide a flexible, modular, and reusable framework that supports varying levels of modeling detail for researchers and practitioners.
  • To support evidence-based policy and operational decision-making by simulating real-world MoD dynamics, including traveler behavior and operator response under real-time information.

Proposed method

  • FleetPy employs an agent-based simulation architecture with a modular design, separating core simulation logic from specialized modules for network, demand, fleet control, and routing.
  • The framework supports two distinct simulation flows: Immediate Decision System (IDS), where customers receive instant responses to requests, and Batched Optimization System (BOS), where requests are processed in batches.
  • Customer behavior is modeled through a request-offer-decision process based on real-time information, capturing dynamic mode choice and response behavior.
  • Fleet control is implemented through dedicated sub-modules handling vehicle assignment, repositioning, charging, dynamic fleet sizing, and dynamic pricing.
  • The framework supports integration with external tools like MATSim and AIMSUN for enhanced traffic flow representation and validation.
  • High-performance routing is enabled through customizable contraction hierarchies and mesoscopic traffic dynamics, improving computational efficiency and realism.

Experimental results

Research questions

  • RQ1How do different simulation flows (IDS vs. BOS) affect customer service levels and fleet efficiency in MoD systems?
  • RQ2To what extent does ride-pooling reduce vehicle kilometers traveled (VKM) and improve traffic efficiency in urban networks?
  • RQ3How do variations in network representation and routing algorithms impact simulation performance and computational load?
  • RQ4What is the influence of operator control strategies—such as dynamic pricing and repositioning—on fleet utilization and customer satisfaction?
  • RQ5How can a modular simulation framework support the integration and evaluation of multiple MoD operators and regulatory interventions?

Key findings

  • The simulation flow (IDS vs. BOS) significantly affects both the number of served customers and the total vehicle kilometers traveled (VKM), with BOS showing higher efficiency in batch-processed scenarios.
  • Ride-pooling strategies substantially reduce VKM and improve fleet utilization, demonstrating potential for congestion mitigation in urban areas.
  • The choice of network model and routing algorithm has a measurable impact on computation time, with more detailed models increasing simulation overhead.
  • Modular design enables reuse of components such as fleet control algorithms and routing modules, enhancing transferability and reducing development time.
  • The framework successfully simulates complex customer decision-making under real-time information, capturing dynamic behavior beyond static mode choice models.
  • FleetPy supports integration with high-fidelity traffic simulators like MATSim and AIMSUN, enabling validation and enhanced realism in traffic flow representation.

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.