Changes for page Basic design

Last modified by nfl on 2025/01/30 12:05

From version 19.1
edited by sna
on 2014/08/20 23:21
Change comment: There is no comment for this version
To version 20.4
edited by nfl
on 2023/07/19 11:50
Change comment: Update document after refactoring.

Summary

Details

Page properties
Parent
... ... @@ -1,0 +1,1 @@
1 +Projects.Railway Project (summer term 2014).Documentation.SCChart Controller.WebHome
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.sna
1 +XWiki.nfl
Content
... ... @@ -734,3 +734,11 @@
734 734   final state done;
735 735  }
736 736  {{/code}}
737 +
738 +=== Dynamic Scheduling ===
739 +
740 +Each train has the same dynamic scheduling. The basic idea are 4 station-states (KH, KHr, IC, OC). Each time a train is one of these states, the next target station is looked up. Depending on the current station there are 4 different travel paths available each leading into in of the 4 station-states. This way the dynamic scheduling can handle every possible schedule for each train.
741 +
742 +In addition to the travel paths each station-state has a cleanup-transition. A train can only enter cleanup mode, when he arrived at his target station. Each train has a homestation and a hometrack, which he travels to once cleanup is started. Upon arriving at their hometrack, the train shuts down. Once every train is shut down, cleanup finished and every train is back at his starting position. Every station has one track, which does not allow the train, who wants to travel to that track, to shut down. These are KH_ST_5, IC_ST_1 and OC_ST_3. The trains traveling to these stations have to drive circles at KH_LN, IC_LN or OC_LN. Once these are the only trains driving, they are allowed to shut down too. This way a station can not block trains to drive through this station by shutting down all trains in that station.
743 +
744 +[[image:attach:DynamicScheduling.png]]
DynamicScheduling.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiGuest
Size
... ... @@ -1,0 +1,1 @@
1 +2.1 MB
Content
ICIC.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiGuest
Size
... ... @@ -1,0 +1,1 @@
1 +824.1 KB
Content
Mutex.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiGuest
Size
... ... @@ -1,0 +1,1 @@
1 +24.9 KB
Content
Mutex_KH.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiGuest
Size
... ... @@ -1,0 +1,1 @@
1 +398.9 KB
Content
T2A3.sct
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiGuest
Size
... ... @@ -1,0 +1,1 @@
1 +518 bytes
Content
... ... @@ -1,0 +1,19 @@
1 +scchart rail {
2 + input bool second;
3 + input bool contact0,contact1;
4 + output int track;
5 +
6 + initial state stat "station controller" {
7 + region "go" : A;
8 +
9 + initial state init --> running immediate with /track=60;
10 + state running;
11 +
12 + region "platform" : B;
13 +
14 + initial state waiting --> slowdown immediate with contact0 / track = 20;
15 + state slowdown --> stop immediate with contact1 / track = 0;
16 + state stop --> waiting with 5 second / track = 60;
17 +
18 + };
19 +}
Confluence.Code.ConfluencePageClass[0]
Id
... ... @@ -1,1 +1,1 @@
1 -9471750
1 +9471005
URL
... ... @@ -1,1 +1,1 @@
1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/SS14Railway/pages/9471750/Basic design
1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/SS14Railway/pages/9471005/Basic design