Control flow commands, Target, Vary, Minimize, NonlinearConstraint, etc.


Postby zatopek1986 » Thu Mar 05, 2020 10:13 pm


is there a way to make multiple propagations using for loops? I explain myself better: can I do a cycle in which, at each iteration, one or more of the initial orbital elements are changed?
also, is it possible to assign a variable to one of the initial orbital elements of the satellite? in other words:

Create Variable a

a = 7000;

Create Spacecraft Sat;
GMAT Sat.DateFormat = UTCGregorian;
GMAT Sat.Epoch = '01 Apr 2020 12:00:00.000';
GMAT Sat.CoordinateSystem = EarthMJ2000Eq;
GMAT Sat.DisplayStateType = Keplerian;
GMAT Sat.SMA = a;

I would need to do a lot of propagation by changing only one or more orbital elements each time.

Thank-you soo much
Posts: 1
Joined: Thu Mar 05, 2020 10:10 pm

Return to GMAT Commands

Who is online

Users browsing this forum: No registered users and 1 guest