a093130 / GMAT-Automation

Python scripts and other artifacts to enable automatic generation of GMAT batch files
GNU General Public License v3.0
0 stars 0 forks source link

The modelgen subpackage is too specialized. #1

Open a093130 opened 2 years ago

a093130 commented 2 years ago

This package was developed specifically for Low-Thrust GMAT scripts using Alfano Transfers. Need to refactor such that a more general class of GMAT models may be generated. Suggest the family of LinkBudget models may be a point of variation.

a093130 commented 2 years ago

modelpov.py has two accessor functions which return a dictionary of GMAT resource names to worksheet table names and named ranges. As such, this python file must be modified for each variation. Two ideas for refactoring, (a) read each dictionary from a json file, we know how to map a json file to a dictionary (see controls.py). (b_ encapsulate these functions in a python classdef from which additional accessors or methods can be derived. Leave the original modelpov.py code in-place in the parent class.