This topic is for discussions related to Transit System by Emily Short
As of version 6, the code includes:
A train-car has a time called the waiting duration.
Rule for stopping at station a functional train-car (called relevant car) (this is the stopping cars rule):
move the relevant car to the next stop of the relevant car;
now the next-departure of the relevant car is the time of day plus the waiting duration of the relevant car;
increase the next-departure of the relevant car by 1 minute.
but I think this causes an issue for absolutely-scheduled train-cars when no waiting duration is set. It appears that the waiting duration property defaults to the default value of a time (i.e. 9:00 AM, unless modified?), and that this is interpreted as a duration of 540 minutes (i.e. the number of minutes past midnight), which is what gets added to the time of day to determine next-departure.