Академический Документы
Профессиональный Документы
Культура Документы
%----------------------------------------
%---------- Spacecraft
%----------------------------------------
%----------------------------------------
%---------- ForceModels
%----------------------------------------
%----------------------------------------
%---------- Propagators
%----------------------------------------
%----------------------------------------
%---------- Burns
%----------------------------------------
%----------------------------------------
%---------- Solvers
%----------------------------------------
%----------------------------------------
%---------- Subscribers
%----------------------------------------
%----------------------------------------
%---------- Arrays, Variables, Strings
%----------------------------------------
Create Variable INC;
GMAT INC = 0;
%----------------------------------------
%---------- Mission Sequence
%----------------------------------------
BeginMissionSequence;
PenUp GroundTrackPlot1 OrbitView1 XYPlot1;
Propagate Propagator1(Hubble) {Hubble.ElapsedSecs = Hubble.Earth.OrbitPeriod};
Target DC1 {SolveMode = Solve, ExitMode = DiscardAndContinue, ShowProgressWindow =
true};
Vary DC1(ImpulsiveBurn1.Element1 = 0.5, {Perturbation = 0.0001, Lower = 0.0,
Upper = 10, MaxStep = 0.1, AdditiveScaleFactor = 0.0, MultiplicativeScaleFactor =
1.0});
Maneuver ImpulsiveBurn1(Hubble);
Achieve DC1(Hubble.Earth.RadApo = 15000, {Tolerance = 0.1});
EndTarget; % For targeter DC1
Propagate 'Propagate2' Propagator1(Hubble) {Hubble.Earth.Latitude = 0, OrbitColor =
[34 255 8]};
GMAT INC = Hubble.EarthMJ2000Eq.INC;
GMAT INC = INC/2;
GMAT Hubble.EarthMJ2000Eq.INC = INC;
Propagate Propagator1(Hubble) {Hubble.ElapsedSecs = Hubble.Earth.OrbitPeriod,
OrbitColor = [0 0 254]};
BeginScript
GMAT INC = Hubble.EarthMJ2000Eq.INC;
GMAT INC = INC*4;
GMAT Hubble.EarthMJ2000Eq.INC = INC;
EndScript;
Propagate Propagator1(Hubble) {Hubble.Earth.Apoapsis, OrbitColor = [255 255 11]};
Target DC1 {SolveMode = Solve, ExitMode = DiscardAndContinue, ShowProgressWindow =
true};
Vary DC1(ImpulsiveBurn1.Element1 = 0.5, {Perturbation = 0.0001, Lower = 0.0,
Upper = 40, MaxStep = 0.4, AdditiveScaleFactor = 0.0, MultiplicativeScaleFactor =
1.0});
Maneuver ImpulsiveBurn1(Hubble);
Achieve DC1(Hubble.Earth.ECC = 0, {Tolerance = 0.001});
EndTarget; % For targeter DC1
PenDown GroundTrackPlot1 OrbitView1 XYPlot1;
Propagate Propagator1(Hubble) {Hubble.ElapsedSecs = Hubble.Earth.OrbitPeriod,
OrbitColor = [33 255 228]};