TrainRuns.jl

TrainRun.jl will take a user-defined train and a path as an input for a train run calculation. It can calculate the train run as a time-efficient or energy-efficient operation mode. The results can then be used within the Julia environment.
Author railtoolkit
Popularity
5 Stars
Updated Last
5 Months Ago
Started In
October 2021

TrainRuns

License: ISC DOI Build Status SQAaaS badge All Contributors


About

TrainRuns.jl is a step towards open science and open data in railway engineering. Its modular design offers the possibility to serve as a basis for future optimization and development. TrainRuns.jl is suitable for qualitative calculations to compare different trains, and it is publicly available, and we invite others to collaborate.


Features

TODO


Installation

Use the package manager provided by julia:

julia> # use the ] key
pkg> add TrainRuns
pkg> # use backspace
julia> using TrainRuns

The required julia packages are

  • YAML.jl
  • JSONSchema.jl
  • DataFrames.jl

Minimal working example

using TrainRuns

train = Train("train.yaml") # load train from file
path  = Path("path.yaml")   # load running path from file

runtime = trainrun(train, path)[end,:t]

println("The train needs $runtime seconds for the running path.")

Further Information

Visit the repository TrainRuns.jl-Tutorials for tutorials in either Jupyther Notebooks or Pluto Notebooks. There you can find, for instance, a basic tutorial.

Please refer to the automated documentation for technical details of the used functions.


Acknowledgement

This work was supervised by South Westphalia University of Applied Sciences and Technical University Braunschweig.


Contributors

Max Kannenberg
Max Kannenberg

๐Ÿ”ฌ ๐Ÿ’ป ๐Ÿค” ๐Ÿšง
Martin Scheidt
Martin Scheidt

๐Ÿง‘โ€๐Ÿซ โœ… ๐Ÿ’ป โš ๏ธ ๐Ÿ”ง ๐Ÿ”ฌ ๐Ÿ”ฃ ๐Ÿšง ๐Ÿค”
Gregor Wehrle
Gregor Wehrle

๐Ÿ’ฌ ๐Ÿค” ๐Ÿ“– ๐Ÿ›

License

Open Source Initiative Approved License logo

ISC License (ISC)

Copyright 2022 Max Kannenberg, Martin Scheidt

Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

Used By Packages

No packages found.