Hi Tamas,

As the filename suggests, try using GMAT R2020a instead of 2022a to run the 
file.


Regards,

Debdeep Roychowdhury


--
Formation Flight Engineer
Technische Universität Berlin
Institut für Luft- und Raumfahrt | Institute of Aeronautics and Astronautics
Fachgebiet Raumfahrttechnik (F6) | Chair of Space Technology (F6) Room 411, 
Marchstraße 12, 10587 Berlin
Ph: +49 30 314-22345 | Fax: +49 30 314-21306 | LinkedIn: 
https://www.linkedin.com/in/debdeeprc/ | Email: 
roychowdh...@tu-berlin.de<mailto:roychowdh...@tu-berlin.de>
________________________________
Von: Tamas Pal <tamas...@spiritoftime.co.in>
Gesendet: Mittwoch, 25. Oktober 2023 06:43:20
An: gmat-users@lists.sourceforge.net; Darrel Conway
Betreff: [Gmat-users] Fwd: ERROR IN SAMPLE SCRIPT

Greetings,
I am trying to run the sample script 
"Ex_R2020a_CelestialBodyRendezvous_Mars.script". But I am getting these errors. 
How to solve it ? I am also attaching the script file with it.

Interpreting scripts from the file.
***** file: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script
1: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot create an object 
"emtgThrustModel". The "EMTGSpacecraft" is an unknown object type or invalid 
object name or dimension in line:
   " 160: Create EMTGSpacecraft emtgThrustModel;"

2: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"emtgThrustModel" in line:
   " 161: GMAT emtgThrustModel.SpacecraftFile = 
'EarthToMars.emtg_spacecraftopt';"

3: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"emtgThrustModel" in line:
   " 162: GMAT emtgThrustModel.DutyCycle = 1;"

4: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"emtgThrustModel" in line:
   " 163: GMAT emtgThrustModel.SpacecraftStage = [ 1 ];"

5: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot create an object "PCDynConfig". 
The "DynamicsConfiguration" is an unknown object type or invalid object name or 
dimension in line:
   " 169: Create DynamicsConfiguration PCDynConfig;"

6: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"PCDynConfig" in line:
   " 170: GMAT PCDynConfig.ForceModels = {PCForceModel};"

7: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"PCDynConfig" in line:
   " 171: GMAT PCDynConfig.Spacecraft = {emsat};"

8: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"PCDynConfig" in line:
   " 172: GMAT PCDynConfig.FiniteBurns = {emtgThrustModel};"

9: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"PCDynConfig" in line:
   " 173: GMAT PCDynConfig.EMTGTankConfig = {ChemicalTank1};"

10: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot create an object 
"PCLaunchGuess". The "OptimalControlGuess" is an unknown object type or invalid 
object name or dimension in line:
   " 178: Create OptimalControlGuess PCLaunchGuess;"

11: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"PCLaunchGuess" in line:
   " 179: GMAT PCLaunchGuess.Type = 'CollocationGuessFile';"

12: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"PCLaunchGuess" in line:
   " 180: GMAT PCLaunchGuess.TimeSystem = 'A1ModJulian';"

13: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"PCLaunchGuess" in line:
   " 181: GMAT PCLaunchGuess.CoordinateSystem = EarthJ2000Eq;"

14: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"PCLaunchGuess" in line:
   " 182: GMAT PCLaunchGuess.FileName = 
'../data/misc/EarthToMars_Solution.och';"

15: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot create an object "phase_LAUNCH". 
The "Phase" is an unknown object type or invalid object name or dimension in 
line:
   " 189: Create Phase phase_LAUNCH;"

16: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"phase_LAUNCH" in line:
   " 190: GMAT phase_LAUNCH.Type = 'RadauPseudospectral';"

17: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"phase_LAUNCH" in line:
   " 191: GMAT phase_LAUNCH.ThrustMode = 'Coast';"

18: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"phase_LAUNCH" in line:
   " 192: GMAT phase_LAUNCH.SubPhaseBoundaries = [ -1 0 1 ];"

19: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"phase_LAUNCH" in line:
   " 193: GMAT phase_LAUNCH.PointsPerSubPhase = [ 7 7 ];"

20: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"phase_LAUNCH" in line:
   " 194: GMAT phase_LAUNCH.GuessSource = PCLaunchGuess;"

21: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"phase_LAUNCH" in line:
   " 195: GMAT phase_LAUNCH.EpochFormat = 'A1ModJulian';"

22: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"phase_LAUNCH" in line:
   " 196: GMAT phase_LAUNCH.StateLowerBound = [ -1495980000 -1495980000 
-1495980000 -100 -100 -100 1e-05 ];"

23: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"phase_LAUNCH" in line:
   " 197: GMAT phase_LAUNCH.StateUpperBound = [ 1495980000 1495980000 
1495980000 100 100 100 5000 ];"

24: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"phase_LAUNCH" in line:
   " 198: GMAT phase_LAUNCH.ControlLowerBound = [ -2 -2 -2 ];"

25: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"phase_LAUNCH" in line:
   " 199: GMAT phase_LAUNCH.ControlUpperBound = [ 2 2 2 ];"

26: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"phase_LAUNCH" in line:
   " 200: GMAT phase_LAUNCH.EpochLowerBound = '29000'; %  Set bounds huge +/- 
your launch and make identical for all phases"

27: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"phase_LAUNCH" in line:
   " 201: GMAT phase_LAUNCH.EpochUpperBound = '29500';"

28: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"phase_LAUNCH" in line:
   " 202: GMAT phase_LAUNCH.InitialEpoch = '29075';"

29: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"phase_LAUNCH" in line:
   " 203: GMAT phase_LAUNCH.FinalEpoch = '29080';"

30: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"phase_LAUNCH" in line:
   " 204: GMAT phase_LAUNCH.DynamicsConfiguration = PCDynConfig;"

31: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"phase_LAUNCH" in line:
   " 205: GMAT phase_LAUNCH.BuiltInCost = 'TotalMassFinal';"

32: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"phase_LAUNCH" in line:
   " 206: GMAT phase_LAUNCH.MinControlMagnitude = 0;"

33: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"phase_LAUNCH" in line:
   " 207: GMAT phase_LAUNCH.MaxControlMagnitude = 1;"

34: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"phase_LAUNCH" in line:
   " 208: GMAT phase_LAUNCH.MaxRelativeErrorTolerance = 1e-05;"

35: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"phase_LAUNCH" in line:
   " 209: GMAT phase_LAUNCH.OverrideColorInGraphics = false;"

36: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"phase_LAUNCH" in line:
   " 210: GMAT phase_LAUNCH.OrbitColor = Red;"

37: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot create an object 
"transferGuess". The "OptimalControlGuess" is an unknown object type or invalid 
object name or dimension in line:
   " 215: Create OptimalControlGuess transferGuess;"

38: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"transferGuess" in line:
   " 216: GMAT transferGuess.Type = 'CollocationGuessFile';"

39: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"transferGuess" in line:
   " 217: GMAT transferGuess.TimeSystem = 'A1ModJulian';"

40: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"transferGuess" in line:
   " 218: GMAT transferGuess.CoordinateSystem = EarthJ2000Eq;"

41: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"transferGuess" in line:
   " 219: GMAT transferGuess.FileName = 
'../data/misc/EarthToMars_Solution.och';"

42: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot create an object 
"thrustToArrival". The "Phase" is an unknown object type or invalid object name 
or dimension in line:
   " 225: Create Phase thrustToArrival;"

43: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"thrustToArrival" in line:
   " 226: GMAT thrustToArrival.Type = 'RadauPseudospectral';"

44: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"thrustToArrival" in line:
   " 227: GMAT thrustToArrival.ThrustMode = 'Thrust';"

45: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"thrustToArrival" in line:
   " 228: GMAT thrustToArrival.SubPhaseBoundaries = [ -1 -0.5 0 0.5 1 ];"

46: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"thrustToArrival" in line:
   " 229: GMAT thrustToArrival.PointsPerSubPhase = [ 7 7 7 7 ];"

47: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"thrustToArrival" in line:
   " 230: GMAT thrustToArrival.GuessSource = transferGuess;"

48: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"thrustToArrival" in line:
   " 231: GMAT thrustToArrival.EpochFormat = 'A1ModJulian';"

49: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"thrustToArrival" in line:
   " 232: GMAT thrustToArrival.StateLowerBound = [ -1495980000 -1495980000 
-1495980000 -100 -100 -100 100 ];"

50: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"thrustToArrival" in line:
   " 233: GMAT thrustToArrival.StateUpperBound = [ 1495980000 1495980000 
1495980000 100 100 100 5000 ];"

51: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"thrustToArrival" in line:
   " 234: GMAT thrustToArrival.ControlLowerBound = [ -2 -2 -2 ];"

52: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"thrustToArrival" in line:
   " 235: GMAT thrustToArrival.ControlUpperBound = [ 2 2 2 ];"

53: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"thrustToArrival" in line:
   " 236: GMAT thrustToArrival.EpochLowerBound = '29000';"

54: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"thrustToArrival" in line:
   " 237: GMAT thrustToArrival.EpochUpperBound = '29500';"

55: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"thrustToArrival" in line:
   " 238: GMAT thrustToArrival.InitialEpoch = '29080';"

56: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"thrustToArrival" in line:
   " 239: GMAT thrustToArrival.FinalEpoch = '29400';"

57: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"thrustToArrival" in line:
   " 240: GMAT thrustToArrival.DynamicsConfiguration = PCDynConfig;"

58: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"thrustToArrival" in line:
   " 241: GMAT thrustToArrival.BuiltInCost = 'TotalMassFinal';"

59: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"thrustToArrival" in line:
   " 242: GMAT thrustToArrival.MinControlMagnitude = 0;"

60: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"thrustToArrival" in line:
   " 243: GMAT thrustToArrival.MaxControlMagnitude = 1;"

61: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"thrustToArrival" in line:
   " 244: GMAT thrustToArrival.MaxRelativeErrorTolerance = 1e-05;"

62: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"thrustToArrival" in line:
   " 245: GMAT thrustToArrival.OverrideColorInGraphics = false;"

63: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"thrustToArrival" in line:
   " 246: GMAT thrustToArrival.OrbitColor = Red;"

64: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot create an object 
"MarsRendezvous". The "OptimalControlFunction" is an unknown object type or 
invalid object name or dimension in line:
   " 248: Create OptimalControlFunction MarsRendezvous;"

65: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"MarsRendezvous" in line:
   " 249: GMAT MarsRendezvous.Function = 'CelestialBodyRendezvous';"

66: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"MarsRendezvous" in line:
   " 250: GMAT MarsRendezvous.Type = 'AlgebraicConstraint';"

67: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"MarsRendezvous" in line:
   " 251: GMAT MarsRendezvous.PhaseList = {'thrustToArrival.Final'};"

68: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Found invalid function or command name 
"MarsRendezvous.SetModelParameter" in line:
   " 252: GMAT MarsRendezvous.SetModelParameter('CelestialBody', 'Mars');"

69: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot create an object 
"duration_LAUNCH". The "CustomLinkageConstraint" is an unknown object type or 
invalid object name or dimension in line:
   " 257: Create CustomLinkageConstraint duration_LAUNCH;"

70: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"duration_LAUNCH" in line:
   " 258: GMAT duration_LAUNCH.ConstraintMode = 'Difference';"

71: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"duration_LAUNCH" in line:
   " 259: GMAT duration_LAUNCH.InitialPhase = phase_LAUNCH;"

72: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"duration_LAUNCH" in line:
   " 260: GMAT duration_LAUNCH.InitialPhaseBoundaryType = 'Start';"

73: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"duration_LAUNCH" in line:
   " 261: GMAT duration_LAUNCH.FinalPhase = phase_LAUNCH;"

74: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"duration_LAUNCH" in line:
   " 262: GMAT duration_LAUNCH.FinalPhaseBoundaryType = 'End';"

75: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: "" is not a valid LHS of assignment in 
line:
   " 263: GMAT duration_LAUNCH.SetModelParameter('TimeLowerBound', 
'ElapsedDays', 5);  %LowerBounds              = [432000]; % 5 days * 86400 
seconds"

76: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: "" is not a valid LHS of assignment in 
line:
   " 264: GMAT duration_LAUNCH.SetModelParameter('TimeUpperBound', 
'ElapsedDays', 5);  %UpperBounds              = [432000];"

77: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot create an object "launchBound". 
The "OptimalControlFunction" is an unknown object type or invalid object name 
or dimension in line:
   " 271: Create OptimalControlFunction launchBound;"

78: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"launchBound" in line:
   " 272: GMAT launchBound.Function = 'PatchedConicLaunch';"

79: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"launchBound" in line:
   " 273: GMAT launchBound.Type = 'AlgebraicConstraint';"

80: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named 
"launchBound" in line:
   " 274: GMAT launchBound.PhaseList = {'phase_LAUNCH.Initial'};"

81: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Found invalid function or command name 
"launchBound.SetModelParameter" in line:
   " 275: GMAT launchBound.SetModelParameter(VehicleName, Atlas_V_401);"

82: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Found invalid function or command name 
"launchBound.SetModelParameter" in line:
   " 276: GMAT launchBound.SetModelParameter(CentralBody, Earth);"

83: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Found invalid function or command name 
"launchBound.SetModelParameter" in line:
   " 277: GMAT launchBound.SetModelParameter(EMTGLaunchVehicleOptionsFile, 
../data/emtg/NLSII_August2018_Augmented.emtg_launchvehicleopt);"

84: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot create an object "traj". The 
"Trajectory" is an unknown object type or invalid object name or dimension in 
line:
   " 281: Create Trajectory traj;"

85: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named "traj" in 
line:
   " 282: GMAT traj.GuessSource = PCLaunchGuess;"

86: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named "traj" in 
line:
   " 283: GMAT traj.MaxMeshRefinementIterations = 12;"

87: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named "traj" in 
line:
   " 284: GMAT traj.PhaseList = {phase_LAUNCH, thrustToArrival};"

88: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named "traj" in 
line:
   " 285: GMAT traj.AddBoundaryFunction = {launchBound, MarsRendezvous};"

89: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named "traj" in 
line:
   " 286: GMAT traj.SNOPTOutputFile = 'SNOPTOutputFile.txt';"

90: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named "traj" in 
line:
   " 287: GMAT traj.AddSimpleLinkageChain = {phase_LAUNCH, thrustToArrival};"

91: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named "traj" in 
line:
   " 288: GMAT traj.CustomLinkages = {duration_LAUNCH};"

92: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named "traj" in 
line:
   " 289: GMAT traj.SolutionFile = 'CelestialBodyRendezvous_Mars.och';"

93: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named "traj" in 
line:
   " 290: GMAT traj.StateScaleMode = 'Canonical';"

94: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named "traj" in 
line:
   " 291: GMAT traj.MassScaleFactor = 1000;"

95: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named "traj" in 
line:
   " 292: GMAT traj.OutputCoordinateSystem = MarsMJ2000Ec;"

96: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named "traj" in 
line:
   " 293: GMAT traj.FeasibilityTolerances = [ 0.0001 1e-06 ];"

97: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named "traj" in 
line:
   " 294: GMAT traj.MajorOptimalityTolerances = [ 0.01 0.001 0.0001 ];"

98: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named "traj" in 
line:
   " 295: GMAT traj.MajorIterationsLimits = [ 300 ];"

99: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named "traj" in 
line:
   " 296: GMAT traj.TotalIterationsLimits = [ 20000 ];"

100: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named "traj" in 
line:
   " 297: GMAT traj.OptimizationMode = {'Maximize'};"

101: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named "traj" in 
line:
   " 298: GMAT traj.AllowFailedMeshOptimizations = true;"

102: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named "traj" in 
line:
   " 299: GMAT traj.MeshRefinementGuessMode = 'BestSolutionMostRecentMesh';"

103: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Cannot find LHS object named "traj" in 
line:
   " 300: GMAT traj.PublishUpdateRate = 20;"

104: D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script:
 **** ERROR **** Interpreter Exception: Found invalid function or command name 
"Collocate traj" in line:
   " 307: Collocate traj"


========================================
Errors were found in the script named "D:\Vbox 
Shared\gmat-win-R2022a\GMAT\samples\OptimalControl\Ex_R2020a_CelestialBodyRendezvous_Mars.script".
Please fix all errors listed in message window.

Thanking you

Sincerely,
Tamas Pal
Mollarpur Kamar Para
Village/Town and Post - Mallarpur
Birbhum
West Bengal - 731216
India
Contact: tamas...@spiritoftime.co.in<mailto:tamas...@spiritoftime.co.in>
tamas...@spiritoftime.in<mailto:tamas...@spiritoftime.co.in>
tamas...@kgpian.iitkgp.ac.in<mailto:tamas...@kgpian.iitkgp.ac.in>
Website: https://spiritoftime.co.in
_______________________________________________
GMAT-users mailing list
GMAT-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gmat-users

Reply via email to