Go to file
Martin Scheidt a7f07283a1 updated minimal working example in README.md 2022-06-05 18:14:25 +02:00
.github/workflows added cff validation 2022-06-05 18:01:41 +02:00
docs Refactor the DataFrame output 2022-06-03 12:26:58 +02:00
src remove automated jl doc testing 2022-06-05 17:57:48 +02:00
test Refactor the DataFrame output 2022-06-03 12:26:58 +02:00
.gitignore master thesis submission 2021-10-13 16:49:42 +02:00
CHANGELOG.md prepared release 2022-06-05 17:41:12 +02:00
CITATION.cff renamed "TrainRun" into "TrainRuns" 2022-05-04 16:53:58 +02:00
CODE_OF_CONDUCT.md added mail address 2022-05-06 00:05:48 +02:00
CONTRIBUTING.md separate file for constructors 2022-05-08 21:43:21 +02:00
LICENSE Update LICENSE 2022-05-17 11:16:45 +02:00
Project.toml bumped version 2022-05-30 10:20:48 +02:00
README.md updated minimal working example in README.md 2022-06-05 18:14:25 +02:00

README.md

TrainRuns

License: ISC DOI Build Status


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.


Installation

Use the package manager provided by julia:

julia> # use the ] key
(@v1.x) pkg> add TrainRuns
(@v1.x) 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.")

Acknowledgement

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


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.