For implementing crew time in the CTC simulator, I believe this forum is a good platform to discuss potential features. While I've already conceptualized some aspects of this feature, I welcome feedback and fresh ideas to refine the implementation.
Here are my preliminary ideas on how to introduce crew times in the CTC simulator:
1. TrainTypeOperator Class: The CTC will introduce the 'TrainTypeOperator' class. This represents a category or grouping of train types that a crew is qualified to operate. For example, different freight trains may possess unique acceleration, braking, and speed limit characteristics. These can be grouped under a 'Freight Train' category within the TrainTypeOperator class. Another use-case can be train types specific to urban passenger lines which, based on their destination, could potentially be used for automatic routing in future CTC versions.
2. Limited Train Crews: The number of train crews is finite, with a set limit for each train type operator. For example, there might be 20 crews designated for freight trains and another 5 for passenger trains. Each crew must adhere to regulations on working hours (e.g., a maximum of 12 hours on duty followed by a minimum of 10 hours of rest). At any given time, a crew could be running a train, waiting at an office for their next assignment, or resting at home.
3. Crew Offices: Multiple offices will be strategically located across the simulated territory. These offices serve as waiting zones for crews or are conveniently placed near homes or hotels for resting crews. When a new crew is needed to operate a train, you would contact the nearest office to the designated crew change block. If a more distant office is contacted, expect longer wait times for crew readiness.
4. Crew Change Blocks: Specific blocks or stations can be earmarked for crew changes. These are represented in train schedules as stops, primarily for crew changes. If a crew change occurs earlier due to the train's delay or crew time expiration, the train can bypass this stop, unless other reasons mandate a halt.
5. Handling Incoming Trains: Trains from outside the simulated territory will be staffed by the office responsible for the entry point of your territory. An indicator is used to show the remaining crew time. CTC will automatically assign an appropriate crew from the assigned office, if available.
6. Train Splitting and Merging: In situations where trains split, one section can continue with the original crew. Conversely, during train merging, the driver from one segment may persist in their role while others enter a standby mode.
I invite members to share their thoughts, concerns, and ideas to enhance this proposed system. Your feedback is invaluable as we aim to create a comprehensive and realistic simulator experience.