Dear GMAT users,

In short:
While the API integration works well overall, we have been unable to generate a 
`ReportFile` using the Python API. We have not found any documentation or 
examples demonstrating how to achieve this, either in the API User Guide, the 
GMAT Cookbook or the HTML docs.

Could somebody kindly point us in the right direction or provide a minimal 
working example showing how to create and write to a `ReportFile` using the 
Python API?


Background:
We are currently using GMAT as part of a larger Python-based tool developed at 
our institute for simulating spacecraft equipped with a water electrolysis 
propulsion system.

In the past, we successfully used an older version of GMAT with the 
`LoadScript` and `RunScript` functions, where the desired `ReportFile` was 
reliably created. However, due to compatibility issues with older Python 
versions, we recently upgraded to the R2025a GMAT release.

Unfortunately, we encountered a bug (JIRA ticket: GMT-8329) that prevented us 
from continuing with our existing program structure. As a workaround, we 
transitioned fully to using the GMAT Python API, generating and executing the 
mission directly without relying on a `.script` file. We tried to look up 
potential commands in the /bin/gmatpy/_py312/gmat_py.py but did not manage to 
write the ReportFile.

Thank you very much for your support.


Best regards,
Jérôme Hildebrandt


——————————————————————————
Institute of Space Systems University Stuttgart (IRS)
Space Transportation Technology | Pfaffenwaldring 29 | 70569 Stuttgart  | 
Germany
 
Jérôme Hildebrandt
Tel +49 711-685-62767 | jhildebra...@irs.uni-stuttgart.de 
<mailto:jhildebra...@irs.uni-stuttgart.de>
_______________________________________________
GMAT-users mailing list
GMAT-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gmat-users

Reply via email to