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

Allow for different behaviors at begin and end of Path() #51

Open kaat0 opened 5 months ago

kaat0 commented 5 months ago

Remove assumption of begin and end for run along the path.

Introduce offset for:

This allows for a train formation to start not on with the head of the train at a path. It could be used to place a train formation on a track with a resistance, not before it, and stop the train formation somewhere on the track.

Introduce preconditions for:

kaat0 commented 4 months ago

Use DrivingPolicy() #45 for above mentioned items