railtoolkit / 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.
https://railtoolkit.org/projects/trainruns.jl
ISC License
5 stars 2 forks source link

`:running_time` setting could be replaced by a new function. #59

Open kaat0 opened 5 months ago

kaat0 commented 5 months ago

:running_time setting could be replaced by a new function.

running_time(drivingCourse) # return the running time as a _number_

Originally posted by @apriljunge in https://github.com/railtoolkit/TrainRuns.jl/discussions/57#discussioncomment-9327524