Docsity

GMAT Document: Script Interpretation and Coordinate Systems, Schemes and Mind Maps of Dynamics

Toggle sidebar
bg1
DRAFT
General Mission Analysis Tool (GMAT
Architectural Specification
The
GMAT
Development Team
Godda.rd
Spa.ce
Flight Center
Thi~lking
Systems?
Inc.
Codes
583 and
595
6441
N
Cainino Libby
Greenbelt., hlarylarld 20771
Tucson,
Arizoiia 85718
July
12,
2007
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63
pf64

Partial preview of the text

Download GMAT Document: Script Interpretation and Coordinate Systems and more Schemes and Mind Maps Dynamics in PDF only on Docsity!

DRAFT

General Mission Analysis Tool (GMAT

Architectural Specification

The GMAT Development Team

Godda.rd Spa.ce Flight Center Thi~lkingSystems? Inc. Codes 583 and 595 6441 N^ Cainino^ Libby Greenbelt., hlarylarld 20771 Tucson, Arizoiia 85718

J u l y 12, 2007

LlST OF FIG UI2ES'

Part I

Introduction

Figure 1.1: A Salnple GRIAT Run

1.2 Design Criteria

There are several high level requirements for GMAT that drove the design of t,he sysbem. These requirements can be sunlmarized in five broad categories: R/IATLAB Accessibility, E,xtensibility, firmation Modeling, Parallel Processing, and Open Source Availability. Thc syst,enl is designed t o run on Ma.cintosh, Willdows, and variant.^ of Unix (including Linux) - through a. recompilation of the source.

1.2.1 MATLAB Accessibility

MATLAB is a tool used a t many facilities in the aerospace coln~nunityt o develop new algorith~nsand t.o prototype approaches unique t o new missions under considera.tion. hlATLAB as a syst.em is quite flexible,

but is rat.her slow for precision orbit nodel ling work. GMLIT,by tiesign, performs detailed orbit and at.titudc

modeling, pro~idingan engine that can be callod from MATLAB for tasks that present, parformance issues when built in t,he MATLAB language.

1.2.2 User Extensibility

One prirne driver for the development. of GMAT mas to provide a tool that allows users t o try new components and ~nodclsin the system wit,hout rebuilding it from scratch. This capability is partially sat,isfied by thc MATLAB int,erface describetl a.bove. Conlponents of GPIIAT can also he added to the system by writing new code t,hat can be conlpiled into shared libraries and incorporated into t.he system at run time. All of the operating systems GMAT supports provide native methods for this capability: and t,he syst,em is designed t,o make the atldit,ion of new components si~npleusing thest.?capabilities.

1.2.3 Formation Modeling

The current tool set. used to model format.ions treats a format.ion of spacecraft as individual spacecraft, modeled independently and then compared by matching states at spccific epochs, either on a. small scale (taking single steps for each and then comparuig t.he states) or on a large scale (prol)a.gating ephemerides for each spacecraft and then going hack afterwards to compare states at specific epochs. GMAT provides t.he ability to t,reat a collection of spacecraft as a single entity, makiug the modeling more streamlined and providing the ability t,o handle formations and constellat.ions as simple ent.ities.

1.2.4 Parallel Processing Capabilities

Some sat,ellite analysis tasks require the execution of many separate orbit propagat'ions, ii~cludi~lgmission

tuning (aka t,argeting or optinlhing) and other mission refinements: in order to adequately model t,he nlissio~l

sccmarios under analysis. Thesc tasks can take as marly as several hundrcd separate runs, cad1 consisting of several minutes or more of run time on current hardware, in order to determine the results of t,he analysis problem. GMAT is designed t.o enable t,he parallelization of these tasks across multiple processors, either within the same computcr or, eventuall;r5 across a net.wor1i of computers. While the current implementation does not 1evera.g~this capability, it. is designed to make the transition to multiple processors and distributctl computing as simple as possible.

1.2.5 Open Source Availability

GMAT is a.vailable for external users in bot,h execut,a.bla and source code form, subjoct t o the NASA Open Source licensing agreement. This redistribution requirement drove design issuc?s related t o the selection of external libraries and packages used by GMAT.

1.3 Design Approach

The categories described above drove t,he architecture of GMAT. The following paragraphs describe the architectural elements used to address t.hese requirement.^.

1.3.1 Modularity

GMAT is a conlplicated systenz. It is designed to be imple~nentedusing a "divide and conquer" approach that uses simple components that combine to satisfy the needs of t,he sys%em. This system modularity nlakes the inclividual components simplc, a ~ dalso simplifies the addition of new components i11t.o the @em. In

addition, each type of resource ha.s a well defined set of interfaces, implemented through C+- base classes.

New components in each category are created by implenlentat,ion of classes derived from these base classes, building core methods to implement the new functiona1it.y... for c:xa,n~ple!forces usod in the force model for a spacecraft all support. an interface; GctDerivativt:s(), that provides tho a.ccelcrat,iondata. needed to model the force. Users can add near components by implenlenting the desired behavior in these interfaces and then registering these components in the GM.4T factory subsystem.

1.3.2 Loose Coupling

The modularity of the components in GMAT a.re implemented to faci1itat.e "plug and plaji' capd)ility for the

components that allows them to be conlbined easily using a set of common interfaces. Conlpollents built in the system have simple interfaces t o be able to communicat.e with MATLAB and with one another. Dependei~cies bet,ween the components arc ~nininlized.Circular dcpcndencies betwecm components minimized.

Chapter 2

GMAT System Framework

Dam1 .J. Conwuy

Thinking Systems, Inc.

Tho G M - T syst,eln consists of a high level framework, the GMAT -4pplication: that manages systern level messages l>rocessedby GMAT. This framework contains a single instance of the core GMAT executive, the Moderator, which manages the functionality of the system. The Moderator interacts with five high level elements, shown in Figure 1: that function together to run the system. The Interpreter subsystem consists of two separate components. The interpreter contains the crrent, tnissioi: script-, used t80generate the mission event sequence, and t,he interface to the GMAT user int,el-face. This 1at.ter interface takes the defined user actions and passes these actions to the appropria.te ele~nentsin the systeni .. for instance, when a user presses a "Run Mission" butt'on on the GMAT GUI, the command is passed to the user act,ion int,erpreter, n~hichthen configrost.he objects needed t.o n m the current script and then starts the execution of the script. (Okay, that sentence assumes a lot that I haven't talked about yet ...) The Environment subsyst,em contains configuration information for the system data files, ex3ernal pro- grams (e.g. MATLAB), and a numbtrr of utility subsystems (Okay: I needed someplace to put these - - is t,his the best place?) used to perform co~n~nonta.slrs. It a.cts a.s the repository for all of the information needed for GMAT to talk to other elements running on a user's workstation, along with the central location for information about the data files used by the system. GhlAT contains numerous classes t,hat are used t o perfonn spacecraft modeling. These classc?~are all mana.gec1by a set of components that construct instances of the classes nc?edr!d by a. script; these components are shown on Figure 1 as a set of object factories defined fbr the system. This infrastruct,ure provides t,he flexibi1it.y needed by t,he systenl to give users the a.bility to add custorn componc.nts to the system, and will be described in inore det,ail la,ter in this document. (This piece is pretty core to the design I'm t,hinking about right now, so it needs t o be examined closely to be sure nre get what we want in GblAT. Of course, that means it,%also the hardest, part to explain ... especiall~rwhen I try t o muddle through the way the systern puts it together with the script interpreter and the config~~rations!) The GhlKT Moderator includes a, contd~lerused t,o ~nanagelists of configured components used by the system t o pelform mission analysis. GR/I:AT maintains these lists a.s the core object structures manipulat.ed by the system t o perform mission analysis. The Moderator has the following core 1ist.s used in a 1nissio timeline:

  1. So1a.r System Config~irations:A list of t h ~celestial object,s (star(s), planets, moons, asteroids and co~~letsthat represent the playing field for ~nissionanalysis scenarios
  2. Propagation Configurations: A list of configured propagation elements used to cvolve the modeled c.lements during analysis

3, .4ssc.t Configurations: A co~itaincrfor spacecraft, forma,tionsl of spacecraft., and ground assets

  1. Forn: Model Configurations: Collections of forces used to model pesturbations a.ct.ingon tho assots

5. Script Configurations: Either complete timelines or subscript.^", consisting of a sequence of actions

taken by the system to rnodtrl all or a piece of an orbit problem

G. Matllernatical Configurations: Elements used to perform custom calculations and for com~nunication with exterilal p r o g a n s like MATLAB

GMAT runs arc perfonnetl in the G K 4 T Sandbox. This pox-tion of t,hc syste~nis tha contailler for the components of a run, linked tog-ether to perform the sequence of events in the mission t,imeline. When a,

user tells GMAT t.o run the script, the syst,e~nmoderator uses the script interpreter t,o interpret the contents

of a. script, a.nd t o place t.he corresponding script t?lernents into t,he sandbox for use during the run. The Moderator links ea,ch element pla,ced into the sandbox to its neighboring elements. Once the full script has been translated into the component,s in the sandbox, the Moderator starts the run by calling the R.un method on the sandbox The following sections describe ea.ch of these conlponents more completely. These descriptions we follotvcd by several sample system configurations. The last' section of this document provides details of the classes used in this design.