Skip to content

Commit 1408dce

Browse files
committed
design-docs: add timetable v2 diagram
1 parent a0ea662 commit 1408dce

File tree

2 files changed

+20
-3
lines changed

2 files changed

+20
-3
lines changed

content/docs/reference/design-docs/timetable.en.md content/docs/reference/design-docs/timetable/index.en.md

+16-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,23 @@
11
---
2-
title: "Train schedule v2"
3-
linkTitle: "Train schedule v2"
2+
title: "Timetable v2"
3+
linkTitle: "Timetable v2"
44
weight: 60
5-
description: "Describes evolutions to the train schedule model"
5+
description: "Describes evolutions to the new **timetable** and **train schedule** models"
66
---
77

8+
![Test](timetable.svg)
9+
10+
## Design decisions
11+
12+
Some major changes were made between our first version of the timetable and the new one:
13+
14+
- Isolate the timetable table. It can be used in a scenario or in other contexts
15+
- Have a soft reference from train schedule to rolling stock (to be able to create a train schedule with unknown rolling stock)
16+
- Consider path and simulation output as cache (that don't require to be stored in DB)
17+
- We can compute pathfinding without having to store data
18+
- All input needed to compute a path is stored in the train schedule (we can recompute it if needed)
19+
- All input needed to run a simulation is stored in the train schedule (we can recompute it if needed)
20+
821
# Train schedule v2
922

1023
## Requirements

0 commit comments

Comments
 (0)