-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcheckUpdatesScript.mos
More file actions
44 lines (31 loc) · 1019 Bytes
/
checkUpdatesScript.mos
File metadata and controls
44 lines (31 loc) · 1019 Bytes
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
// disable the new Front end for now, as it is not simulating
setCommandLineOptions("-d=-newInst");
getErrorString();
// load Modelica library
loadModel(Modelica,{"3.2.3"});
getErrorString();
// load the package.mo
loadFile("./OpenPBS/package.mo");
getErrorString();
// add the manoeuvres
simulate(OpenPBS.Manoeuvres.Longitudinal);
getErrorString();
simulate(OpenPBS.Manoeuvres.LowSpeedCurve);
getErrorString();
simulate(OpenPBS.Manoeuvres.HighSpeedStraightPath);
getErrorString();
simulate(OpenPBS.Manoeuvres.HighSpeedCurve);
getErrorString();
simulate(OpenPBS.Manoeuvres.SteadyStateRollOver);
getErrorString();
simulate(OpenPBS.Manoeuvres.SingleLaneChange);
getErrorString();
simulate(OpenPBS.Manoeuvres.SingleLaneChangeRollDynamics);
getErrorString();
simulate(OpenPBS.Manoeuvres.SingleLaneChangeRollDynamicsNonLinTyre);
getErrorString();
simulate(OpenPBS.Manoeuvres.SingleSineSteering);
getErrorString();
// remaining maoeuvres
//translateModelFMU(OpenPBS.Manoeuvres.Longitudinal);
//getErrorString();