Giter Site home page Giter Site logo

ecoridescheduler's Introduction

A Reward-Based, Scalable Charging Scheduling Algorithm for Community-Based Ride-Sharing Services

Overview

This repository contains the code implementation for the paper "A Reward-Based, Scalable Charging Scheduling Algorithm for Community-Based Ride-Sharing Services". The algorithm integrates multiple constraints including energy usage, vehicle distribution, route planning, passenger-to-vehicle matching, and charging station availability to optimise the number of trips served and improve energy efficiency.

Table of Contents

  1. Introduction
  2. Installation
  3. Usage
  4. Datasets
  5. License
  6. Contact

Introduction

The SmartMobility algorithm operates on a proactive, community-based, carbon-neutral ride-sharing model. It leverages reward-based mechanisms and integrates a vehicle routing algorithm with a vehicle charging algorithm. The system is designed to be highly scalable and efficient, handling large volumes of trip petitions and electric vehicles (EVs) in urban environments.

Installation

Prerequisites

  • Python 3.7 or higher

Setup

  1. Clone the repository:

    git clone https://github.com/Nasheor/EcoRideScheduler.git
    cd ride_sharing_framework/3_Code
  2. Create a virtual environment:

    python3 -m venv venv
    source venv/bin/activate  # On Windows use `venv\Scripts\activate`

Usage

Running the Simulation

  1. Execute the Ride-Sharing Algorithm: Run the ride-sharing algorithm to generate initial EV schedules and the charging scheduling algorithm to optimise EV routes with strategic charging decisions:
    python run_experiments.py

Output

  • The simulation results, including the initial and optimised schedules, will be saved in the output directory.
  • Detailed logs and performance metrics will be available in the logs directory.

Datasets

The repository includes scripts to preprocess and adapt public datasets for the simulation:

  1. Google Hashcode Dataset:

    • 10,000 trip petitions
    • 400 EVs
  2. NYC Taxi Dataset:

    • 50,000 trip petitions
    • 1,000 EVs

The datasets are parameterised to fit the community-based ride-sharing context and can be accessed or generated through the data_preprocessing.py script.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contact

For questions, issues, or contributions, please contact the project maintainers:

We appreciate your feedback and contributions to improve this project.

ecoridescheduler's People

Contributors

nasheor avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.