-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcontrol.glm
52 lines (48 loc) · 925 Bytes
/
control.glm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
// IEEE 123 switch configuration control
// Copyright (C) 2016, Stanford University
// Author: [email protected]
//
//
// Line sensors
//
#include using(PHASE=A) "sensors.glm"
#include using(PHASE=B) "sensors.glm"
#include using(PHASE=C) "sensors.glm"
//
// Switch coordinator
//
#ifdef HISTORY
module tape;
#endif
object switch_coordinator {
name scheme_1;
connect sw13to152;
connect sw18to135;
connect sw54to94;
connect sw60to160;
connect sw61to6101;
connect sw97to197;
connect sw151to300;
connect sw15001to149;
connect sw250to251;
connect sw300to350;
connect sw450to451;
connect sw95to195;
object recorder {
connection scada;
table control;
property "armed,status";
interval -1;
header_fieldnames "name";
};
#ifdef HISTORY
object tape.player {
file coordination_armed.csv;
property armed;
};
object tape.player {
file coordination_status.csv;
property status;
};
#endif
}