Skip to content

Implement Configurable Parking Coordinator Batch Formation Strategies #279

@jhw-db

Description

@jhw-db

Summary

The current parking coordinator uses a simple "grab and go" approach that may be inefficient for large scenarios. There's no way to configure batching behavior or prevent retrofitted track overflow. "Grab and go" is opportunistic. If a loco is idle it will grab the loco and get as much wagons from the track if there is space on the chosen parking track. In many cases this leedds to small rakes and in the end to a lot of coupling and decvoupling time.

Acceptance criteria

Implement two configurable strategies:

  • "Opportunistic" as default behaviour. This is the current behaviour
  • "Accumulation:. Rakes from the workshops get accumulated on the retrofitted track(s). If a certain threshold (fill level) of the track is reached than the parking process gets scheduled. At a crititical fill level it is tried to force the loco to first move wagons from the track(s).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions