Closed thejosmeister closed 3 years ago
Developing the design:
Deal with trains that have times both sides of midnight. (Poss just send them in for now and manually edit)
Apply custom entry logic first: potential_entry = x
list_to_delete_if_before: TIPLOC/Readable
Then apply general entry logic: if potential entry is 1st location then capture dep time as entry time and delete location. if potential entry is not 1st location (implicitly no custom) then assume train starts on sim. if potential entry does not match to any locations then assume at start and take nominal entry time from 1st location if no potential entry then assume starts on sim.
Then have other location rules: if_x_y_concurrent: path_x:asda, path_y:dfsdf ... if_x_location_then_split_train: if_x_y_z_then_delete_y: x: y: z:
Generic entry logic and 1st custom entry rule has implementation.
Todo:
Todos coming out of testing
Entry:
Locations:
[x] if_x_y_concurrent
[ ]
More progress made will close this as barebones implementtations are working
Idea is to use a yaml config for each sim. Can have the following options: