@@ -20,6 +20,7 @@ public class DdExportConfig {
20
20
private static final boolean DEFAULT_AUTOMATON_A11 = false ;
21
21
private static final boolean DEFAULT_AUTOMATON_A12 = false ;
22
22
private static final boolean DEFAULT_AUTOMATON_A14 = false ;
23
+ private static final boolean DEFAULT_AUTOMATON_A17 = false ;
23
24
private static final boolean DEFAULT_RST = false ;
24
25
private static final boolean DEFAULT_ACMC = false ;
25
26
private static final boolean DEFAULT_LV_LOAD_MODELING = false ;
@@ -33,10 +34,15 @@ public class DdExportConfig {
33
34
private static final boolean DEFAULT_GENPQFILTER = false ;
34
35
private static final boolean DEFAULT_EXPORT_MAIN_CC_ONLY = false ;
35
36
private static final boolean DEFAULT_NOSWITCH = false ;
37
+ private static final String DEFAULT_AUTOMATON_A17_REFERENCE_GENERATOR = null ;
38
+ private static final double DEFAULT_AUTOMATON_A17_MINIMUM_PHASE_DIFFERENCE_THRESHOLD = -240.0 ;
39
+ private static final double DEFAULT_AUTOMATON_A17_MAXIMUM_PHASE_DIFFERENCE_THRESHOLD = 240.0 ;
40
+ private static final double DEFAULT_AUTOMATON_A17_OBSERVATION_DURATION = 15.0 ;
36
41
37
42
private boolean automatonA11 ;
38
43
private boolean automatonA12 ;
39
44
private boolean automatonA14 ;
45
+ private boolean automatonA17 ;
40
46
private boolean importExportRST ;
41
47
private boolean importExportACMC ;
42
48
private boolean LVLoadModeling ;
@@ -50,11 +56,16 @@ public class DdExportConfig {
50
56
private boolean gensPQfilter ;
51
57
private boolean exportMainCCOnly ;
52
58
private boolean noSwitch ;
59
+ private String automatonA17AngularReferenceGenerator ;
60
+ private double automatonA17MinimumPhaseDifferenceThreshold ;
61
+ private double automatonA17MaximumPhaseDifferenceThreshold ;
62
+ private double automatonA17ObservationDuration ;
53
63
54
64
public static DdExportConfig load () {
55
65
boolean automatonA11 = DEFAULT_AUTOMATON_A11 ;
56
66
boolean automatonA12 = DEFAULT_AUTOMATON_A12 ;
57
67
boolean automatonA14 = DEFAULT_AUTOMATON_A14 ;
68
+ boolean automatonA17 = DEFAULT_AUTOMATON_A17 ;
58
69
boolean importExportRST = DEFAULT_RST ;
59
70
boolean importExportACMC = DEFAULT_ACMC ;
60
71
boolean lvLoadModeling = DEFAULT_LV_LOAD_MODELING ;
@@ -68,12 +79,22 @@ public static DdExportConfig load() {
68
79
boolean gensPQfilter = DEFAULT_GENPQFILTER ;
69
80
boolean exportMainCCOnly = DEFAULT_EXPORT_MAIN_CC_ONLY ;
70
81
boolean noSwitch = DEFAULT_NOSWITCH ;
82
+ String automatonA17AngularReferenceGenerator = DEFAULT_AUTOMATON_A17_REFERENCE_GENERATOR ;
83
+ double automatonA17MinimumPhaseDifferenceThreshold = DEFAULT_AUTOMATON_A17_MINIMUM_PHASE_DIFFERENCE_THRESHOLD ;
84
+ double automatonA17MaximumPhaseDifferenceThreshold = DEFAULT_AUTOMATON_A17_MAXIMUM_PHASE_DIFFERENCE_THRESHOLD ;
85
+ double automatonA17ObservationDuration = DEFAULT_AUTOMATON_A17_OBSERVATION_DURATION ;
86
+
71
87
72
88
if (PlatformConfig .defaultConfig ().moduleExists (MODULE_NAME )) {
73
89
ModuleConfig config = PlatformConfig .defaultConfig ().getModuleConfig (MODULE_NAME );
74
90
automatonA11 = config .getBooleanProperty ("automatonA11" , DEFAULT_AUTOMATON_A11 );
75
91
automatonA12 = config .getBooleanProperty ("automatonA12" , DEFAULT_AUTOMATON_A12 );
76
92
automatonA14 = config .getBooleanProperty ("automatonA14" , DEFAULT_AUTOMATON_A14 );
93
+ automatonA17 = config .getBooleanProperty ("automatonA17" , DEFAULT_AUTOMATON_A17 );
94
+ automatonA17AngularReferenceGenerator = config .getStringProperty ("automatonA17AngularReferenceGenerator" , DEFAULT_AUTOMATON_A17_REFERENCE_GENERATOR );
95
+ automatonA17MinimumPhaseDifferenceThreshold = config .getDoubleProperty ("automatonA17MinimumPhaseDifferenceThreshold" , DEFAULT_AUTOMATON_A17_MINIMUM_PHASE_DIFFERENCE_THRESHOLD );
96
+ automatonA17MaximumPhaseDifferenceThreshold = config .getDoubleProperty ("automatonA17MaximumPhaseDifferenceThreshold" , DEFAULT_AUTOMATON_A17_MAXIMUM_PHASE_DIFFERENCE_THRESHOLD );
97
+ automatonA17ObservationDuration = config .getDoubleProperty ("automatonA17ObservationDuration" , DEFAULT_AUTOMATON_A17_OBSERVATION_DURATION );
77
98
importExportRST = config .getBooleanProperty ("importExportRST" , DEFAULT_RST );
78
99
importExportACMC = config .getBooleanProperty ("importExportACMC" , DEFAULT_ACMC );
79
100
lvLoadModeling = config .getBooleanProperty ("LVLoadModeling" , DEFAULT_LV_LOAD_MODELING );
@@ -93,24 +114,25 @@ public static DdExportConfig load() {
93
114
noSwitch = config .getBooleanProperty ("noSwitch" , DEFAULT_NOSWITCH );
94
115
}
95
116
96
- return new DdExportConfig (automatonA11 , automatonA12 , automatonA14 , importExportRST , importExportACMC ,
97
- lvLoadModeling , rstRegulInjector , rstRegulGenerator , rstRegulGeneratorDelete ,
117
+ return new DdExportConfig (automatonA11 , automatonA12 , automatonA14 , automatonA17 , automatonA17AngularReferenceGenerator , automatonA17MinimumPhaseDifferenceThreshold , automatonA17MaximumPhaseDifferenceThreshold , automatonA17ObservationDuration ,
118
+ importExportRST , importExportACMC , lvLoadModeling , rstRegulInjector , rstRegulGenerator , rstRegulGeneratorDelete ,
98
119
acmcRegul , rstPilotGenerators , loadPatternAlpha , loadPatternBeta , gensPQfilter , exportMainCCOnly , noSwitch );
99
120
}
100
121
101
122
public DdExportConfig () {
102
- this (DEFAULT_AUTOMATON_A11 , DEFAULT_AUTOMATON_A12 , DEFAULT_AUTOMATON_A14 , DEFAULT_RST , DEFAULT_ACMC ,
103
- DEFAULT_LV_LOAD_MODELING , DEFAULT_RST_REGUL_INJECTOR , DEFAULT_RST_REGUL_GENERATOR , DEFAULT_RST_REGUL_GENERATOR_DELETE ,
123
+ this (DEFAULT_AUTOMATON_A11 , DEFAULT_AUTOMATON_A12 , DEFAULT_AUTOMATON_A14 , DEFAULT_AUTOMATON_A17 , DEFAULT_AUTOMATON_A17_REFERENCE_GENERATOR , DEFAULT_AUTOMATON_A17_MINIMUM_PHASE_DIFFERENCE_THRESHOLD , DEFAULT_AUTOMATON_A17_MAXIMUM_PHASE_DIFFERENCE_THRESHOLD , DEFAULT_AUTOMATON_A17_OBSERVATION_DURATION ,
124
+ DEFAULT_RST , DEFAULT_ACMC , DEFAULT_LV_LOAD_MODELING , DEFAULT_RST_REGUL_INJECTOR , DEFAULT_RST_REGUL_GENERATOR , DEFAULT_RST_REGUL_GENERATOR_DELETE ,
104
125
DEFAULT_ACMC_REGUL , DEFAULT_RST_PILOT_GENERATORS , DEFAULT_LOAD_PATTERN_ALPHA , DEFAULT_LOAD_PATTERN_BETA , DEFAULT_GENPQFILTER , DEFAULT_EXPORT_MAIN_CC_ONLY , DEFAULT_NOSWITCH );
105
126
}
106
127
107
- public DdExportConfig (boolean automatonA11 , boolean automatonA12 , boolean automatonA14 , boolean importExportRST ,
108
- boolean importExportACMC , boolean lvLoadModeling , String rstRegulInjector ,
128
+ public DdExportConfig (boolean automatonA11 , boolean automatonA12 , boolean automatonA14 , boolean automatonA17 , String automatonA17AngularReferenceGenerator , double automatonA17MinimumPhaseDifferenceThreshold , double automatonA17MaximumPhaseDifferenceThreshold , double automatonA17ObservationDuration ,
129
+ boolean importExportRST , boolean importExportACMC , boolean lvLoadModeling , String rstRegulInjector ,
109
130
String rstRegulGenerator , String rstRegulGeneratorDelete , String acmcRegul ,
110
131
String rstPilotGenerators , float loadPatternAlpha , float loadPatternBeta , boolean gensPQfilter , boolean exportMainCCOnly , boolean noSwitch ) {
111
132
this .automatonA11 = automatonA11 ;
112
133
this .automatonA12 = automatonA12 ;
113
134
this .automatonA14 = automatonA14 ;
135
+ this .automatonA17 = automatonA17 ;
114
136
this .importExportRST = importExportRST ;
115
137
this .importExportACMC = importExportACMC ;
116
138
this .LVLoadModeling = lvLoadModeling ;
@@ -124,6 +146,10 @@ public DdExportConfig(boolean automatonA11, boolean automatonA12, boolean automa
124
146
this .gensPQfilter = gensPQfilter ;
125
147
this .exportMainCCOnly = exportMainCCOnly ;
126
148
this .noSwitch = noSwitch ;
149
+ this .automatonA17AngularReferenceGenerator = automatonA17AngularReferenceGenerator ;
150
+ this .automatonA17MinimumPhaseDifferenceThreshold = automatonA17MinimumPhaseDifferenceThreshold ;
151
+ this .automatonA17MaximumPhaseDifferenceThreshold = automatonA17MaximumPhaseDifferenceThreshold ;
152
+ this .automatonA17ObservationDuration = automatonA17ObservationDuration ;
127
153
}
128
154
129
155
public boolean getAutomatonA11 () {
@@ -138,6 +164,10 @@ public boolean getAutomatonA14() {
138
164
return automatonA14 ;
139
165
}
140
166
167
+ public boolean getAutomatonA17 () {
168
+ return automatonA17 ;
169
+ }
170
+
141
171
public boolean getExportRST () {
142
172
return importExportRST ;
143
173
}
@@ -190,6 +220,22 @@ public boolean getGensPQfilter() {
190
220
return gensPQfilter ;
191
221
}
192
222
223
+ public String getAutomatonA17AngularReferenceGenerator () {
224
+ return automatonA17AngularReferenceGenerator ;
225
+ }
226
+
227
+ public double getAutomatonA17MinimumPhaseDifferenceThreshold () {
228
+ return automatonA17MinimumPhaseDifferenceThreshold ;
229
+ }
230
+
231
+ public double getAutomatonA17MaximumPhaseDifferenceThreshold () {
232
+ return automatonA17MaximumPhaseDifferenceThreshold ;
233
+ }
234
+
235
+ public double getAutomatonA17ObservationDuration () {
236
+ return automatonA17ObservationDuration ;
237
+ }
238
+
193
239
public void setAutomatonA11 (Boolean automatonA11 ) {
194
240
this .automatonA11 = automatonA11 ;
195
241
}
@@ -202,6 +248,10 @@ public void setAutomatonA14(Boolean automatonA14) {
202
248
this .automatonA14 = automatonA14 ;
203
249
}
204
250
251
+ public void setAutomatonA17 (Boolean automatonA17 ) {
252
+ this .automatonA17 = automatonA17 ;
253
+ }
254
+
205
255
public void setImportExportRST (Boolean importExportRST ) {
206
256
this .importExportRST = importExportRST ;
207
257
}
@@ -246,6 +296,22 @@ public void setGensPQfilter(boolean gensPQfilter) {
246
296
this .gensPQfilter = gensPQfilter ;
247
297
}
248
298
299
+ public void setAutomatonA17AngularReferenceGenerator (String automatonA17AngularReferenceGenerator ) {
300
+ this .automatonA17AngularReferenceGenerator = automatonA17AngularReferenceGenerator ;
301
+ }
302
+
303
+ public void setAutomatonA17MinimumPhaseDifferenceThreshold (double automatonA17MinimumPhaseDifferenceThreshold ) {
304
+ this .automatonA17MinimumPhaseDifferenceThreshold = automatonA17MinimumPhaseDifferenceThreshold ;
305
+ }
306
+
307
+ public void setAutomatonA17MaximumPhaseDifferenceThreshold (double automatonA17MaximumPhaseDifferenceThreshold ) {
308
+ this .automatonA17MaximumPhaseDifferenceThreshold = automatonA17MaximumPhaseDifferenceThreshold ;
309
+ }
310
+
311
+ public void setAutomatonA17ObservationDuration (double automatonA17ObservationDuration ) {
312
+ this .automatonA17ObservationDuration = automatonA17ObservationDuration ;
313
+ }
314
+
249
315
public boolean isExportMainCCOnly () {
250
316
return exportMainCCOnly ;
251
317
}
0 commit comments