Skip to main content

Questions tagged [gmat]

Questions about the General Mission Analysis Tool, the program which is designed to model, optimize, and estimate spacecraft trajectories in flight regimes ranging from low Earth orbit to lunar applications, interplanetary trajectories, and other deep space missions.

Filter by
Sorted by
Tagged with
1 vote
0 answers
35 views

Setting up an agility model and ground station contact in GMAT

I'm trying to set up a simple mission scenario where a spacecraft continually points to a ground station during periods of contact. I believe there are three elements to accomplish this: Identify ...
Shawn Lim's user avatar
  • 215
3 votes
0 answers
70 views

GMAT ForceModel generated a derivative that is not a number

I'm simulating the orbit of an object multiple times and it works perfectly most of the time, but sometimes this error appears and I don't know how to fix it. ...
Natalius's user avatar
2 votes
1 answer
78 views

A question about the improvement points for the simulation(GMAT)

Sorry for my English. I'm not a native speaker. I am using a software called GMAT from NASA to conduct various simulations, but I failed this time while trying to move a satellite from low Earth orbit ...
PAUL's user avatar
  • 217
1 vote
1 answer
81 views

NASA GMAT cannot find MATLAB interface(?)

I am trying to run GMAT on Linux, but I get the following error: sebastian@sebastian-XPS-13-9300:~/GMAT/R2022a/bin$ ./GmatConsole *** GMAT Console Application General Mission Analysis Tool Console ...
Sebastian's user avatar
2 votes
1 answer
33 views

GMAT edit object fields in Mission Sequence

I am trying to change the ISP of an Impulsive Burn during the Mission Sequence. But why so ever, GMAT does not allow me to do so? I looked at the source code as well, and I do not see any indicators (...
af_ab's user avatar
  • 121
4 votes
1 answer
107 views

GMAT Lambert problem

I would like to plan a mission in GMAT to a certain asteroid, whose orbit and SPK file I have added in GMAT. However, I don't know how to solve the Lambert problem in it to first find the intersection ...
Arkadiusz Hess's user avatar
1 vote
0 answers
51 views

Interpreting phasing maneuver results using electric propulsion in GMAT

I'm trying to simulate an anomaly phasing maneuver in three different scenarios using electric propulsion in GMAT. The idea is to use the altitude difference (of ~7-8km) between two spacecrafts to ...
Shawn Lim's user avatar
  • 215
1 vote
1 answer
96 views

It is possible to perform a simplified version of rpo with GMAT?

I have one target vehicle and a chaser. How can I perform an orbit transfer with GMAT but, at the end of the transfer this finished maintaining a relative position of 1000 m behind the target and 1000 ...
Goku's user avatar
  • 11
0 votes
1 answer
170 views

Example using NASA GMAT to model a sounding rocket launch

I'm wondering if anyone has an example GMAT script that describes a sounding rocket launch and return. Not necessarily looking for high fidelity but just something that shows the parameters for a ...
Eric Smith's user avatar
1 vote
1 answer
202 views

How do I programmatically change the GMAT Mission Sequence?

This is a niche technical question about using the GMAT API. After digging through all of the official GMAT documentation and videos, I finally decided to use my Java application as a script driver ...
Manny's user avatar
  • 740
2 votes
0 answers
95 views

NASA GMAT sample script providing deltaV above analytical result when aiming to GEO Height

I am using the GMAT example script available at \samples\Ex_GEOTransfer.script (R2022a) to compute de deltaV from LEO to GEO including change plane maneuver. The problem is that the script seems to be ...
patowski1981's user avatar
1 vote
1 answer
307 views

Change in True Anomaly over time

From Wikipedia, the True anomaly is defined as the angle between the direction of periapsis and the position of the celestial body. I'm trying to find how the true anomaly changed over time for a ...
Shawn Lim's user avatar
  • 215
2 votes
1 answer
176 views

How to make a velocity(time) XYplot graph in NASA's GMAT R2022?

I'm wondering how to design a graph in NASA's GMAT (Version R2022a), which shows satellite's linear velocity on time or on altitude from primary body (Earth). When I open the XYplot design window ->...
Asni's user avatar
  • 23
0 votes
1 answer
186 views

Difference between UTCGregorian and A1ModJulian or UTCModJulian in GMAT?

I have a question related to this question. I have computed several propulsive maneuvers required for GEO orbit acquisition using the Target feature of NASA GMAT 2022a and saved them to a maneuver ...
patowski1981's user avatar
2 votes
1 answer
157 views

Showing what satellites can "see" in GMAT

I'm currently working on orbit modeling in GMAT and I'm interested in visualizing the satellite's visibility on the ground track. Is there a feature or tool within GMAT that allows for the ...
Matt Smith's user avatar
2 votes
2 answers
345 views

GMAT LEO spacecraft simulation

I started using GMAT, I have to design an LEO of an AEOLUS Satellite and I have the TLE of the launching. My question is how do I plug the TLE numbers into the spacecraft section (Keplerian element ...
Shada sabri's user avatar
1 vote
1 answer
182 views

Accessing propagation results when running a GMAT script with Python API

I am using the GMAT Python API to run scripts, fx the Ex_R2022a_TLE_Propagation.script can be used as an example, as this is included in GMAT/samples. ...
Rosanna's user avatar
  • 11
3 votes
0 answers
114 views

Difference Result of Numerical Satellite Propagator

Currently, I am trying to build a numerical propagator platform for satellite that accommodates for all kinds of perturbation. So, for validation purpose, I compare the result of my own program and ...
yusuf147's user avatar
0 votes
1 answer
1k views

Setting up and using Python interface in GMAT?

I have managed to successfully setup and use the MATLAB interface in GMAT, with a combination of the documentation and this helpful video, which gave me all the information I needed. Alas, that is not ...
Johan Sondberg's user avatar
1 vote
2 answers
188 views

How to get contact locator events in GMAT using Python

I am trying to write a python script for GMAT to detect contacts between a satellite and a ground station. I have declared the contact locator as such: ...
aeroengineer's user avatar
2 votes
0 answers
123 views

Beginner to simulating communications systems of space missions. I have GMAT, MATLAB and NASA's SPICE library. Where would I start?

I recently managed to load SPICE kernels into GMAT to simulate the trajectories of real missions, and got its MATLAB interface working (still trying to understand how to use the two software together)....
Johan Sondberg's user avatar
13 votes
1 answer
475 views

Different Earth-centered ICRF positions in GMAT and Skyfield/Spiceypy with DE421

I compared the Earth-centered positions from the Moon in the ICRF (i.e., in GCRF) using three different sources: SpiceyPy (https://pypi.org/project/spiceypy/) Skyfield (https://rhodesmill.org/...
Thibault's user avatar
  • 133
2 votes
1 answer
182 views

How to model the gravity of Titan in GMAT

I would like to know how to find the gravity file (.cof) for Saturn's moon Titan. Need this to model the gravity field of Titan.
D P's user avatar
  • 53
0 votes
2 answers
524 views

Running and editing GMAT script files from MATLAB

I am trying to run a design optimisation proccess for some orbital parrameters of spacecraft. To do this, I need to be able to edit and run a GMAT script from MATLAB. Is this possible? If so, how ...
Lee's user avatar
  • 11
1 vote
0 answers
142 views

How to perform a Burn Operation in GMAT via python api

'm testing the python api of GMAT (2022). I'm able to instantiate a satellite object and do propagation in steps. I would like to include an instant burn operation in the simulation, but the code just ...
Michal Mlaticek's user avatar
1 vote
1 answer
234 views

Circularization of an orbit on gmat

I'm using Gmat to turn to zero the eccentricity of an orbit around Mars with an electric thruster. I modeled the initial orbit, introduced the engine, the tank and the solar arrays and created the ...
Francesco's user avatar
1 vote
0 answers
86 views

How to compute light time correction for eclipse entry/exit timings?

I used a typical geosynchronous orbital parameters and generated lunar shadow penumbra entry and exit timings using OREKIT and GMAT. GMAT has an option to include light-time correction (also for ...
rajeshphy1727's user avatar
2 votes
0 answers
308 views

GEO station keeping in GMAT

I am currently trying to implement station keeping maneuvers for a geosynchronous satellite in orbit around Earth using the General Mission Analysis Tool (GMAT) but I am not managing. I know there are ...
Torus403's user avatar
2 votes
0 answers
373 views

Approach to Interplanetary Transfers in GMAT

I hope to find a straightforward process for designing interplanetary missions using the General Mission Analysis Tool (GMAT). This would involve calculating the required initial state, timing, and ...
FTT's user avatar
  • 149
1 vote
0 answers
119 views

GMAT Get States of Propagation

I am failing with the most simple thing ever: I want to store the SC states of a Propagation over 1 day inside an array! So the basic script would look like this: ...
af_ab's user avatar
  • 121
0 votes
0 answers
235 views

Can we have launch trajectories in GMAT?

Is it possible to model launch trajectories from ground to a certain earth orbit in GMAT?
Taha Merchant's user avatar
3 votes
0 answers
97 views

New to GMAT. Where do I start to build an orrery?

The goal would be an animated, variable-speed, 2-D view from celestial north of the Sun and planets. A stretch goal would be showing photorealistic rotations of CelestialBodys as a function of time. I ...
An ominous cow word's user avatar
2 votes
0 answers
157 views

Mathematical description of the flight trajectory parameters of voyager 1

I would like to run in some simulation software an end-to-end simulation replicating the flight of voyager 1. I am somewhat conversant with GMAT that I think would have this capability or perhaps ...
tckosvic's user avatar
  • 2,300
1 vote
1 answer
89 views

Initial Value in Vary Command (GMAT)

What number should I give as an initial value in GMAT's Vary command? I have been trying to use default values but in some missions this default value does not lead to the convergence of target or ...
Hasan's user avatar
  • 19
1 vote
1 answer
256 views

How to propagate satellite to orbit intersection (relative node) in GMAT? [closed]

I am trying to propagate the spacecraft to the intersection points of two orbits (relative node) in GMAT. The analytical calculations of the true anomaly of that point is done using the formulas in ...
Hasan Anwar Hussain's user avatar
4 votes
1 answer
1k views

Modelling ISS orbit in GMAT

I am a complete newbie in all things space related. I am trying to work out how I can model the orbit of the ISS in the NASA open source tool GMAT. I can get the TLE for ISS (ZAYRA) from space-track....
wolf72's user avatar
  • 141
2 votes
0 answers
241 views

Earth to Mars Transfer using GMAT

I saw a couple of people mention here that in order to change the epoch date from the given Mars transfer example on GMAT I would need to change and re-optimize initial conditions. How would I do that?...
user47478's user avatar
1 vote
1 answer
294 views

Non-coplanar transfer in GMAT

I am trying to use GMAT to do a non-coplanar transfer between 2 circular orbits. In which the first orbit would have a 0º inclination, and the final orbit would have a 28º inclination. And the ...
razder997's user avatar
2 votes
1 answer
135 views

GMAT: What causes the error "ArrayTemplate error : dimension error"?

I have made various scripts that work with GMAT, but once in a while I get an "ArrayTemplate error : dimension error" error. I do not know what causes it, as in this case my script appears ...
kardalos's user avatar
  • 369
3 votes
1 answer
259 views

GMAT Python API No Convergence

I’m currently using the GMAT Python API in order to set and run my GMAT scripts, but am running into a problem where my scripts do not converge based on certain inputs. Is there a way in the Python ...
dec's user avatar
  • 31
1 vote
0 answers
112 views

NASA GMAT Hardware in the Loop testing

We are currently evaluating various Mission Analysis & Simulation tools, one of which is NASA's GMAT (2020). One of our requirements is for the tool to support HITL testing. However, i am unable ...
ITried's user avatar
  • 111
5 votes
1 answer
503 views

Low-thrust maneuver validation in GMAT

I'm working on a LEO-to-LEO transfer with low-thrust propulsion. I've generated a control sequence with a direct optimization implemented by me and I would like to use GMAT to validate the maneuver. I ...
Chicca's user avatar
  • 101
2 votes
2 answers
378 views

Ноw to configure mission sequence for propagate until desired date in GMAT?

In GMAT, I have a state of satellite for a date (for example, 24.04.2022). Now, I need to propagate its motion for some days forward, until selected date (say, 29.04.2022). I added Propagation into ...
Даниил Галахов's user avatar
2 votes
2 answers
825 views

Optimizing trajectories with GMAT: how to understand the "Vary" parameters, and how to know what values to use for them?

I've been using GMAT in my free time to optimize trajectories, and have varied burn component values and spacecraft states, usually with success. The vary command in GMAT, with the Yukon optimizer ...
Karl Johan's user avatar
4 votes
0 answers
479 views

GMAT: How do I prevent infinite propagation into the future, which causes the "requested epoch 95008.513478505 is not on the DE file" error?

I have a spacecraft I am trying to get from Earth to Mars. I use an Earth propagator until the SC is out of the Earth's sphere of influence, then a deep space propagator until Mars' sphere of ...
Karl Johan's user avatar
2 votes
1 answer
257 views

Is there any software or other resources that can find optimal launch windows and gravity assist trajectories involving Lagrange points?

I've been using GMAT to make various trajectories involving the Sun-Earth L2 point. Earth-L2-Mars, Earth-L2-Earth flyby-Mars, etc. However, the main source of optimal launch windows I've been using is ...
kardalos's user avatar
  • 369
2 votes
2 answers
558 views

Is there a parameter that describes the angle between the spacecraft's position and the sun angle or direction of the Earth's motion?

I am trying to design an Earth flyby for gravity assist in GMAT, and I know from theory that the spacecraft should pass in front of a planet with regard to its heliocentric direction of motion in ...
kardalos's user avatar
  • 369
2 votes
0 answers
300 views

GMAT: How to Access startup file variables such as PYTHON_MODULE_PATH?

I use the python interface quite frequently and read-in tables of control variables created by another standalone module. I need to be sure that a file created by the standalone python module can be ...
Colin Helms's user avatar
3 votes
1 answer
628 views

Code to generate Sun-Earth L2 halo orbits for given epoch?

I am working on a GMAT script out of personal interest (not part of a job) that involves a spacecraft orbiting the Sun-Earth L2 point. I have found some orbital state vectors for the spacecraft that ...
kardalos's user avatar
  • 369
1 vote
0 answers
524 views

How do I construct halo orbits around the Sun-Earth L2 point in GMAT? What should the state vector of the spacecraft be?

I am new to trajectory design, and have been using GMAT to learn it since it's free, unlike STK. I have been trying to design a script that takes a spacecraft from Earth orbit to a halo orbit around ...
kardalos's user avatar
  • 369