crrt-route-finder

Algorithm to find promising options for combined road-rail transportation in a logistics network

https://github.com/mul-chair-of-industrial-logistics/crrt-route-finder

Science Score: 65.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 2 DOI reference(s) in README
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
    Organization mul-chair-of-industrial-logistics has institutional domain (industrielogistik.unileoben.ac.at)
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.1%) to scientific vocabulary

Keywords

combined-transport greenlogistics logistics python railway transportation transportation-network transportation-planning
Last synced: 6 months ago · JSON representation ·

Repository

Algorithm to find promising options for combined road-rail transportation in a logistics network

Basic Info
  • Host: GitHub
  • Owner: MUL-Chair-of-Industrial-Logistics
  • License: bsd-3-clause
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 29.3 KB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 1
  • Releases: 0
Topics
combined-transport greenlogistics logistics python railway transportation transportation-network transportation-planning
Created over 2 years ago · Last pushed over 2 years ago
Metadata Files
Readme License Citation

README.md

Route finder for combined road-rail transportation

This repository contains an algorithm to find promising consolidation options for combined road-rail transportation in a logistics network

For methodological details please refer to the corresponding publication:

  • Miklautsch, P., Woschank, M. (2023). Decarbonizing Industrial Logistics Through a GIS-Based Approach for Identifying Pareto-Optimal Combined Road-Rail Transport Routes. In: Borgianni, Y., Matt, D.T., Molinaro, M., Orzes, G. (eds) Towards a Smart, Resilient and Sustainable Industry. ISIEA 2023. Lecture Notes in Networks and Systems, vol 745. Springer, Cham. https://doi.org/10.1007/978-3-031-38274-1_31

Link between the code and the methodology

  • dfrelations equals to VR in the paper
  • dfintersectionpoints equals to V_I in the paper
  • dfsections equals to VS in the paper
  • dfcontiguoussectioncombinations equals to VC in the paper

How to use

  1. Install the requirements with pip install -r requirements.txt
  2. Create a file called utils/api_keys.py and insert the following lines:
  • GOOGLEAPIKEY = 'your google api key'
  • ORSAPIKEY = 'your openrouteservice api key'

You can get the Google API key from https://developers.google.com/maps/documentation/javascript/get-api-key and the ORS API key from https://openrouteservice.org/dev/#/home

  1. Change STEP 1 in main.py according to your input data. In the example, the input data is an Excel file having the specified columns. Anyways, the DataFrame needs to have the columns 'fromaddress', 'toaddress', 'weightintons', and 'date'
  2. Run the code with python main.py
  3. The plot then shows the evaluated possible combinations. For details (from, to, geometry), see the generated file temp/contiguoussectioncombinations.json
  4. Shift your freight to rail and save the world!

Created with the help of GitHub Copilot and OpenAI's ChatGPT

Owner

  • Name: Chair of Industrial Logistics
  • Login: MUL-Chair-of-Industrial-Logistics
  • Kind: organization
  • Email: logistik@unileoben.ac.at
  • Location: Austria

Github Account of the Chair of Industrial Logistics, Montanuniversitaet Leoben, Austria

Citation (CITATION.cff)

# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!

cff-version: 1.2.0
title: CRRT Route Finder
message: >-
  If you use this software, please cite it using the
  metadata from this file.
type: software
authors:
  - given-names: Philipp
    family-names: Miklautsch
    email: philipp@miklautsch.eu
    affiliation: >-
      Chair of Industrial Logistics, Montanuniversitaet
      Leoben
    orcid: 'https://orcid.org/0000-0001-7004-1236'
identifiers:
  - type: doi
    value: 10.1007/978-3-031-38274-1_31
    description: The article describing the algorithm
abstract: >-
  This repository contains an algorithm to find promising
  consolidation options for combined road-rail
  transportation in a logistics network.
keywords:
  - green logistics
  - combined transport
license: BSD-3-Clause
date-released: '2023-09-01'

GitHub Events

Total
Last Year

Committers

Last synced: about 2 years ago

All Time
  • Total Commits: 12
  • Total Committers: 2
  • Avg Commits per committer: 6.0
  • Development Distribution Score (DDS): 0.167
Past Year
  • Commits: 12
  • Committers: 2
  • Avg Commits per committer: 6.0
  • Development Distribution Score (DDS): 0.167
Top Committers
Name Email Commits
Philipp Miklautsch p****4 10
pmikla14 p****l@y****e 2
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: about 2 years ago

All Time
  • Total issues: 1
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 1
  • Total pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 1
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 1
  • Pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • pmikla14 (1)
Pull Request Authors
Top Labels
Issue Labels
enhancement (1)
Pull Request Labels

Dependencies

requirements.txt pypi
  • folium *
  • googlemaps *
  • matplotlib *
  • numpy *
  • openpyxl *
  • openrouteservice *
  • pandas *
  • shapely ==1.8.5.post1