GMAT

https://sourceforge.net/projects/gmat/

  • Apache License Version 2.0

https://sourceforge.net/projects/gmat/

wget https://jaist.dl.sourceforge.net/project/gmat/GMAT/GMAT-R2022a/gmat-ubuntu-x64-R2022a.tar.gz
tar xvfz gmat-ubuntu-x64-R2022a.tar.gz
cd GMAT/R2022a/bin
## Console
./GmatConsole --help
## GUI
./GMAT_Beta
sudo apt install python3
sudo apt install libpython3-dev
cd GMAT/R2022a/api
python BuildApiStartupFile.py
vi load_gmat.py
================================
GmatInstall = ".."
================================
python Ex_R2020a_PropagationLoop.py
## 0.0  sec, state =  [1018.8192616038249, -1018.819261603827, -6778.562873085272, 5.226958779501885, 5.226958779501884, -1.3748259907794183e-15]
## 600.0  sec, state =  [3721.558269028218, 2107.6943189086987, -5365.077518743105, 3.443966270398483, 4.812390262339468, 4.56390101799355]
## 1200.0  sec, state =  [4819.677194576485, 4318.007485964132, -1656.9365850736508, 0.026601753939721515, 2.233722116851093, 7.3558220286743845]
## 1800.0  sec, state =  [3682.3738344296166, 4515.756087711557, 2788.921851727584, -3.7182098175693175, -1.6673116229309812, 6.821726895027764]
## 2400.0  sec, state =  [690.446080835311, 2426.536708502666, 5783.629986497746, -5.8150209024603425, -5.009871545361755, 2.6508147867878393]
## ...
## 84000.0  sec, state =  [-4842.620465244023, -4069.9867857916047, 1640.1553035208126, -0.6635806513278241, -2.7573076635122358, -7.328244628574629]
## 84600.0  sec, state =  [-4052.1667723597966, -4620.396386978276, -2798.674442960438, 3.1272883113897927, 0.9369324774441953, -6.865044201445589]
## 85200.0  sec, state =  [-1427.4510757508544, -3089.785296934076, -6002.8797674203515, 5.26717281957091, 3.9381592003113313, -3.4510908947956227]
## 85800.0  sec, state =  [1808.0513525806405, -250.04539860539185, -6676.202001208356, 5.12756119313794, 5.182798802156968, 1.2801838664294853]
## 86400.0  sec, state =  [4283.920787527621, 2689.292405424501, -4555.936974246189, 2.799244517518364, 4.244007371068517, 5.562969742415374]
./GmatConsole Ex_ConstellationScript.script
## ********************************************
## ***  GMAT Console Application
## ********************************************
## General Mission Analysis Tool
## Console Based Version
## Build Date: Jan 10 2023  15:04:14
## 
## Moderator is updating data files...
## Moderator is creating core engine...
## 
## Skipping "../plugins/libOpenFramesInterface": GUI plugins are skipped in console mode
## Successfully set Planetary Source to use: DE405
## Successfully set Planetary Source to use: DE405
## Successfully set Planetary Source to use: DE405
## Setting nutation file to ../data/planetary_coeff/NUTATION.DAT
## Setting leap seconds file to ../data/time/tai-utc.dat
## 2024-07-23 16:38:13 GMAT Moderator successfully created core engine
## 
## Interpreting scripts from the file.
## ***** file: Ex_ConstellationScript.script
## Successfully set Planetary Source to use: DE405
## Successfully set Planetary Source to use: DE405
## Successfully interpreted the script
## .................... Print out the whole sequence ........................................
##    Command::NoOp
##    Command::BeginMissionSequence
##    Command::Propagate
## .................... End sequence ........................................................
## Running mission...
## Successfully set Planetary Source to use: DE405
## Successfully set Planetary Source to use: DE405
## Kernel ../data/planetary_ephem/spk/DE405AllPlanets.bsp has been loaded.
## Kernel ../data/planetary_coeff/SPICEPlanetaryConstantsKernel.tpc has been loaded.
## Kernel ../data/time/SPICELeapSecondKernel.tls has been loaded.
## Kernel ../data/planetary_coeff/SPICEEarthPredictedKernel.bpc has been loaded.
## Kernel ../data/planetary_coeff/SPICEEarthCurrentKernel.bpc has been loaded.
## Kernel ../data/planetary_coeff/earth_latest_high_prec.bpc has been loaded.
## Kernel ../data/planetary_coeff/SPICELunaCurrentKernel.bpc has been loaded.
## Kernel ../data/planetary_coeff/SPICELunaFrameKernel.tf has been loaded.
## 
## Mission run completed.
## ===> Total Run Time: 0.924 seconds
## ========================================
## 
## *** GMAT Integration test (Console version) successful! ***
## Moderator is deleting core engine...


Daiphys is a professional-service company for research and development of leading-edge technologies in science and engineering.
Get started accelerating your business through our deep expertise in R&D with AI, quantum computing, and space development; please get in touch with Daiphys today!

Name*


Email*


Message*




* Indicates required field

Daiphys Technologies LLC - https://www.daiphys.com/

  • Last modified: 2024/07/23 17:00
  • by Daiphys