7
7
import com .google .common .collect .Lists ;
8
8
import fr .sncf .osrd .utils .Helpers ;
9
9
import fr .sncf .osrd .envelope_sim .PhysicsRollingStock ;
10
+ import fr .sncf .osrd .envelope_sim .SimpleRollingStock .CurveShape ;
10
11
import fr .sncf .osrd .railjson .schema .rollingstock .RJSLoadingGaugeType ;
12
+ import fr .sncf .osrd .train .RollingStock .Comfort ;
11
13
import org .junit .jupiter .api .Test ;
12
14
import java .util .*;
13
15
@@ -107,7 +109,8 @@ private static Map<String, RollingStock.ModeEffortCurves> createModeEffortCurves
107
109
RJSLoadingGaugeType .G1 ,
108
110
linearModeEffortCurves ,
109
111
"thermal" ,
110
- "1"
112
+ "1" ,
113
+ new String []{"BAL" , "BAPR" , "TVM300" , "TVM430" }
111
114
);
112
115
113
116
VERY_LONG_FAST_TRAIN = new RollingStock (
@@ -124,7 +127,8 @@ private static Map<String, RollingStock.ModeEffortCurves> createModeEffortCurves
124
127
RJSLoadingGaugeType .G1 ,
125
128
linearModeEffortCurves ,
126
129
"thermal" ,
127
- "1"
130
+ "1" ,
131
+ new String []{"BAL" , "BAPR" , "TVM300" , "TVM430" }
128
132
);
129
133
130
134
REALISTIC_FAST_TRAIN = new RollingStock (
@@ -144,7 +148,8 @@ private static Map<String, RollingStock.ModeEffortCurves> createModeEffortCurves
144
148
"5" ,
145
149
Map .of ("Restrict1" , "4" , "Restrict2" , "3" ),
146
150
0. ,
147
- 0.
151
+ 0. ,
152
+ new String []{"BAL" , "BAPR" , "TVM300" , "TVM430" }
148
153
);
149
154
150
155
REALISTIC_FAST_TRAIN_MAX_DEC_TYPE = new RollingStock (
@@ -161,7 +166,8 @@ private static Map<String, RollingStock.ModeEffortCurves> createModeEffortCurves
161
166
RJSLoadingGaugeType .G1 ,
162
167
linearModeEffortCurves ,
163
168
"thermal" ,
164
- "1"
169
+ "1" ,
170
+ new String []{"BAL" , "BAPR" , "TVM300" , "TVM430" }
165
171
);
166
172
167
173
FAST_TRAIN_LARGE_GAUGE = new RollingStock (
@@ -178,7 +184,8 @@ private static Map<String, RollingStock.ModeEffortCurves> createModeEffortCurves
178
184
RJSLoadingGaugeType .GC ,
179
185
linearModeEffortCurves ,
180
186
"thermal" ,
181
- "1"
187
+ "1" ,
188
+ new String []{"BAL" , "BAPR" , "TVM300" , "TVM430" }
182
189
);
183
190
184
191
FAST_ELECTRIC_TRAIN = new RollingStock (
@@ -196,7 +203,8 @@ private static Map<String, RollingStock.ModeEffortCurves> createModeEffortCurves
196
203
createModeEffortCurves (MAX_SPEED , CurveShape .LINEAR ,
197
204
Map .of ("25000V" , new RollingStock .EffortCurveConditions [0 ])),
198
205
"25000V" ,
199
- "1"
206
+ "1" ,
207
+ new String []{"BAL" , "BAPR" , "TVM300" , "TVM430" }
200
208
);
201
209
202
210
CONSTANT_POWER_TRAIN = new RollingStock (
@@ -214,7 +222,8 @@ private static Map<String, RollingStock.ModeEffortCurves> createModeEffortCurves
214
222
createModeEffortCurves (MAX_SPEED , CurveShape .HYPERBOLIC ,
215
223
Map .of ("thermal" , new RollingStock .EffortCurveConditions [0 ])),
216
224
"thermal" ,
217
- "1"
225
+ "1" ,
226
+ new String []{"BAL" , "BAPR" , "TVM300" , "TVM430" }
218
227
);
219
228
}
220
229
0 commit comments