dev:proposals:timetable_plan
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| dev:proposals:timetable_plan [2022-06-26 16:07] – ↷ Page moved from dev:lines:timetable_plan to dev:proposals:timetable_plan 56independent | dev:proposals:timetable_plan [2026-01-22 20:00] (current) – orwell | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| The overall plan with the '' | The overall plan with the '' | ||
| - | This is currently a draft, and subject to discussion before I will start implementing it. **Please bring in your ideas, suggestions or critics.** Just add them under the relevant headline and sign them with your name (use the " | + | This is currently a draft, and subject to discussion before I will start implementing it. **Please bring in your ideas, suggestions or criticisms.** Just add them under the relevant headline and sign them with your name (use the " |
| ===== Constraints ===== | ===== Constraints ===== | ||
| Line 32: | Line 32: | ||
| * some flags (such as " | * some flags (such as " | ||
| - | //* The stop modes should get better names// --- // | + | //* The stop modes should get better names// --- //[[dev:lines:orwell]] 2021/04/19 22:11// |
| All arrival and departure times in the timetable are **relative** to the initial departure time of any given train. That means, the timetable only defines after how many minutes/ | All arrival and departure times in the timetable are **relative** to the initial departure time of any given train. That means, the timetable only defines after how many minutes/ | ||
| Line 61: | Line 61: | ||
| ==== Timetable entry ==== | ==== Timetable entry ==== | ||
| - | //This could use a better name// --- // | + | //This could use a better name// --- //[[dev:lines:orwell]] 2021/04/19 22:11// |
| At the first station in the timetable, trains " | At the first station in the timetable, trains " | ||
| Line 161: | Line 161: | ||
| It would be nice to have a tabbed interface for the timetable UI: this way you could open multiple editors/ | It would be nice to have a tabbed interface for the timetable UI: this way you could open multiple editors/ | ||
| - | **... to be continued | + | |
| + | ===== Updates 2025/2026 ===== | ||
| + | |||
| + | In the meantime I have merged the timetable system from Singularis/ | ||
| + | |||
| + | The stop rail distinguishes the " | ||
| + | |||
| + | Things NOT implemented by Singularis' | ||
| + | | ||
| + | | ||
| + | * Initial Departure Time should support intervals like 3/3/4. | ||
| + | |||
| + | Things | ||
| + | * Initial departure time / interval should | ||
| + | * It should keep track of the existing slots and their trains, to support multiple starting tracks. | ||
| + | * Make departure times absolute in the timetable display (based on the initial departure time) | ||
| + | |||
| + | Long-term wishlist: | ||
| + | * Joining and Splitting support | ||
| + | * Connecting trains | ||
| + | |||
| + | ==== Plans for a Signalling Simulator like game ==== | ||
| + | |||
| + | I plan to evolve advtrains into kind of an " | ||
| + | |||
| + | This would warrant a separate proposal to be written later, [[dev: | ||
| + | |||
| + | For a Train Simulator/ | ||
| + | |||
| + | At the same time currently with RWT we have the problem that the cycle number (then hour number) becomes quite large, which is not pretty. | ||
| + | |||
| + | Proposed changes on Railway Time: | ||
| + | | ||
| + | | ||
| + | * Need to disambiguate between an absolute time and a time interval (relative time) | ||
| + | * Absolute time can be in string form e.g. 1;30;00 or in table form. It is not allowed in number form, only for backwards compatibility maybe. It is always between 0 and cycleTime | ||
| + | * Relative time can be in string, number or table form. it can be negative or positive. If it is in string form it must always include a + or a - at the beginning to make it clear that it is a relative time, e.g. +00;10;00, -00;03;30 | ||
| + | * The RWT functions must be aware of this wrapping and calculate accordingly | ||
| + | * Repeating times are hard-capped at the cycle interval. | ||
| + | |||
| + | For a short-lived simulator game a timetable can be written for a normal day (24 hours). For a long-lived server the same daily timetable repeats endlessly. For the server usecase we can use the per-timetable intervals to have regular train service as usual in intervals (e.g. every 10 minutes) | ||
| + | |||
| + | Note: It may still be necessary to introduce some kind of "super cycle counter" | ||
| + | |||
| + | **Now implemented as follows: | ||
| + | 1 cycle == 1 day (24 hours). Repeating times hard-clip at day boundary. | ||
| + | RWT wraps after 7 days (cycles) | ||
| + | |||
| + | //It is very important to reiterate: to manipulate railway times one should always use the rwt functions.// | ||
| + | |||
| + | The only guarantee made is that time intervals (not absolute times) may be safely treated as a number as long as they don't exceed 3 days worth of seconds | ||
dev/proposals/timetable_plan.1656259678.txt.gz · Last modified: by 56independent
