netrainsim

An open-source network train simulator.

https://github.com/vtti-csm/netrainsim

Science Score: 67.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 12 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.9%) to scientific vocabulary

Keywords

freight-simulation linux macos railway windows
Last synced: 6 months ago · JSON representation ·

Repository

An open-source network train simulator.

Basic Info
Statistics
  • Stars: 12
  • Watchers: 3
  • Forks: 3
  • Open Issues: 15
  • Releases: 12
Topics
freight-simulation linux macos railway windows
Created almost 3 years ago · Last pushed 8 months ago
Metadata Files
Readme Contributing License Code of conduct Citation

README.md

NeTrainSim
NeTrainSim [Network Trains Simulator]

DOI License: GNU GPL v3 GitHub tag (latest by date) GitHub All Releases CLA Required CLA assistant

[![All Contributors](https://img.shields.io/badge/all_contributors-2-orange.svg?style=flat-square)](#contributors-)

Download NeTrainSim | How to Install and Quick Overview | Documentation | Slack

Network Train Simulator (NeTrainSim)

NeTrainSim is an open-source train simulation software that allows users to simulate and analyse train operations on a large rail network. It is designed to be flexible, modular, and easy to use. It is built using Qt6 under the GNU General Public License (GPL) version 3.

How to Cite

bibtex @article{aredah2024netrainsim, title={NeTrainSim: a network-level simulator for modeling freight train longitudinal motion and energy consumption}, author={Aredah, Ahmed S and Fadhloun, Karim and Rakha, Hesham A}, journal={Railway Engineering Science}, pages={1--19}, year={2024}, publisher={Springer}, doi={https://doi.org/10.1007/s40534-024-00331-x} }

Features

  • Accessible and affordable: NeTrainSim is freely accessible to anyone with internet and laptop access, without the need for costly commercial licenses.

  • Open-source development: NeTrainSim is an open-source project, allowing researchers to modify the code and collaborate easily.

  • Advanced network modeling: NeTrainSim can model entire rail networks, including country-scale simulations.

  • Versatile and adaptable: NeTrainSim can be adapted to various rail network types and configurations, providing flexibility in simulations.

  • Energy-efficient: NeTrainSim's Energy Consumption module supports a wide range of train technologies, accommodating future advancements.

  • Second-by-second data tracking: NeTrainSim provides detailed data, including energy consumption, on a second-by-second basis for each train.

  • Advanced train dynamics: NeTrainSim uses advanced train dynamics models, including operator aggressiveness, for accurate energy consumption representation.

  • Energy optimization: NeTrainSim includes an energy optimization module for optimizing individual or grouped trains (under development).

main NeTrainSim window

Getting Started

To get started with NeTrainSim, you will need to download and install the software on your computer. You can do this by downloading the latest release version on the releases page.

Prerequisites

There is no prerequisite required to run NeTrainSim as the installer has all the required 3rd party packages.

Installing

Once the file is downloaded on your hard drive. Double click the downloaded file and follow the instruction to install the application. The default installation folder is C:\Program Files\NeTrainSim; however, you can alter this installation path as you wish during the installation process.

Follow this video if you need a quick installation guidance: https://youtu.be/bbvnPn9zMsQ

Running

Using GUI interface

  1. Please initiate the 'NeTrainSimGUI' application, which can be located either in the Windows Start menu or on your desktop.
  2. Presented below is the primary user interface for the NeTrainSim application.

main NeTrainSim window

  1. For a comprehensive understanding of the application and its functionalities, please refer to the relevant documentation available within the 'Help' section of the menu.

Using shell interface

  1. Open a shell/command line window,

  2. Navigate to the installation path using

shell cd "C:\Program Files\NeTrainSim"

if you changed the default installation path, make sure to replace C:\Program Files\NeTrainSim with your installation path.

  1. To request help from NeTrainSim, type the following in the shell

shell NeTrainSim -h

  1. NeTrainSim allows the following command flags. Flags with required values are necessary to run the simulator.

html -h, --help, -? Display this help message. -v, --version Displays version information. -n, --nodes <nodesFile> [Required] the nodes filename. -l, --links <linksFile> [Required] the links filename. -t, --trains <trainsFile> [Required] the trains filename. -o, --output <outputLocation> [Optional] the output folder address. Default is 'C:\Users\<USERNAME>\Documents\NeTrain Sim\'. -s, --summary <summaryFilename> [Optional] the summary filename. Default is 'trainSummary_timeStamp.txt'. -a, --all <summarizeAllTrains> [Optional] bool to show summary of all trains in the summary file. Default is 'false'. -e, --export <exportTrajectoryOptions> [Optional] bool to export instantaneous trajectory. Default is 'false'. -i, --insta <instaTrajectoryFile> [Optional] the instantaneous trajectory filename. Default is 'trainTrajectory_timeStamp.csv'. -p, --timeStep <simulatorTimeStep> [Optional] the simulator time step. Default is '1.0'.

Example of a minimum-flag command

shell NeTrainSim.exe -n "path\to\nodes\file" -l "path\to\links\file" -t "path\to\trains\file"

In this case, the default output Location is C:\Users\<USERNAME>\Documents\NeTrainSim where <USERNAME> should be replaced with the current session user name.

Collaborators

The development of NeTrainSim has been a collaborative effort. The following individuals have contributed to the development and maintenance of the simulator:

  • Ahmed Aredah, M.Sc.:

    • Ph.D. student, Dept. of Civil and Environmental Engineering, Virginia Tech
    • M.Sc. Student, Dept. of Computer Science | Engineering, Virginia Tech
    • Graduate Research Assistant at Virginia Tech Transportation Institute
  • Karim Fadhloun, Ph.D.:

    • Research Associate at Virginia Tech Transportation Institute
  • Hesham A. Rakha, Ph.D. P.Eng., F.IEEE:

    • Samuel Reynolds Pritchard Professor of Engineering, Charles E. Via, Jr. Dept. of Civil and Environmental Engineering
    • Courtesy Professor, Bradley Department of Electrical and Computer Engineering
    • Director, Center for Sustainable Mobility at the Virginia Tech Transportation Institute
    • Fellow of Asia Pacific Artificial Intelligence Association
    • Fellow of the American Society of Civil Engineers
    • Fellow of the Canadian Academy of Engineering
    • Fellow of IEEE

Contributors

Hesham Rakha
Hesham Rakha

📆
Ahmed Aredah
Ahmed Aredah

💻

Contributing

If you are interested in contributing to NeTrainSim, please read the CONTRIBUTING.md file for more information on how to get started.

License

This program is distributed under the terms of the GNU General Public License (GPL) version 3. Please see the LICENSE file for more information.

Publications

Aredah, A.S., Fadhloun, K. & Rakha, H.A. (2024) NeTrainSim: a network-level simulator for modeling freight train longitudinal motion and energy consumption. Railw. Eng. Sci. https://doi.org/10.1007/s40534-024-00331-x

Aredah, A., Fadhloun, K., & Rakha, H. A. (2024). Energy optimization in freight train operations: Algorithmic development and testing. Applied Energy, 364, 123111. https://doi.org/10.1016/j.apenergy.2024.123111

Aredah, A., Du, J., Hegazi, M., List, G., & Rakha, H. A. (2024). Comparative analysis of alternative powertrain technologies in freight trains: A numerical examination towards sustainable rail transport. Applied Energy, 356, 122411. https://doi.org/10.1016/j.apenergy.2023.122411

Owner

  • Name: Center for Sustainable Mobility (CSM) at Virginia Tech
  • Login: VTTI-CSM
  • Kind: organization
  • Email: hrakha@vt.edu
  • Location: United States of America

Citation (CITATION)

To cite NeTrainSim in publications use:

Aredah, A.S., Fadhloun, K. & Rakha, H.A. NeTrainSim: a network-level simulator for modeling freight train longitudinal motion and energy consumption. Railw. Eng. Sci. (2024). https://doi.org/10.1007/s40534-024-00331-x

A BibTeX entry for LaTeX users is

@article{aredah2024netrainsim,
  title={NeTrainSim: a network-level simulator for modeling freight train longitudinal motion and energy consumption},
  author={Aredah, Ahmed S and Fadhloun, Karim and Rakha, Hesham A},
  journal={Railway Engineering Science},
  pages={1--19},
  year={2024},
  publisher={Springer},
  doi = {https://doi.org/10.1007/s40534-024-00331-x}
}

GitHub Events

Total
  • Issues event: 3
  • Watch event: 4
  • Delete event: 2
  • Issue comment event: 8
  • Push event: 24
  • Pull request review comment event: 1
  • Pull request review event: 2
  • Pull request event: 16
  • Fork event: 3
  • Create event: 2
Last Year
  • Issues event: 3
  • Watch event: 4
  • Delete event: 2
  • Issue comment event: 8
  • Push event: 24
  • Pull request review comment event: 1
  • Pull request review event: 2
  • Pull request event: 16
  • Fork event: 3
  • Create event: 2

Dependencies

.github/workflows/static.yml actions
  • actions/checkout v3 composite
  • actions/configure-pages v3 composite
  • actions/deploy-pages v2 composite
  • actions/upload-pages-artifact v1 composite