Orbsim (gtorbsim) Tutorial
The Orbit Simulator, gtorbsim, is a spacecraft attitude calculator. It has a number of capabilities based on the code already implemented in the general purpose scheduling and planning system TAKO (Timeline Assembler Keyword Oriented) at the FERMI Science Support Center (FSSC). However, it is anticipated that the typical end user will only need a subset of the overall functionality of this tool. Primarily, a Guest Investigator would use it to generate a spacecraft (or FT2) file to use in conjunction with gtobssim to simulate FERMI LAT observations. This tutorial provides some examples of how to run the gtorbsim application, which generates a spacecraft data file that is an input for some of the Science Tools. For example, the you may need to run this tool before running gtobssim in order to generate a simulated observation. The main purpose of this simulator is:
Steps
1. Observation Modesgtorbsim requires that you first select an observation mode strategy (i.e., either survey or pointed mode):
Note: For more detailed information on either survey mode or pointed mode, see gtorbsim Help; also see the gtorbsim parameter file. 2. Spacecraft EphemerisIn order to properly calculate the attitude, the orbit simulator needs to know the spacecraft position for the entire interval of interest. Therefore, it must be capable of either reading in a file The orbit simulator can handle three different types of ephemeris files:
Notes:
3. Initial Spacecraft positionInitial spacecraft position in celestial coordinates is provided by the user as an input parameter. (See the gtorbsim parameter file.) 4. The South Atlantic Anomaly regionThe instrument high voltage power supplies will be protected when the spacecraft traverses the South Atlantic Anomaly (SAA), which occurs about ~15% of the time. gtorbsim has the capability to handle SAA constraints. The SAA region is appoximated by a polygon, which is specified by the Longitude and Latitude of its vertices. It is passed to the program as an input file where the specification of the polygon is given. In cases where the file is not available, a default hard-coded table of longitude and latitude pairs of vertices will be used. Click on L_SAA_2008198.03 to download the SAA file used at the time of this writing. 5. Earth LimbThe Earth Limb Tracing maneuvering is an optional feature that can easily be enabled/disabled using the appropriate input parameter. This maneuvering consists of tracing the Earth Limb if a target is Earth-occulted. Targets are assumed to be occulted if their Earth angle (Angle between target and the Earth's Limb) is smaller, or – at most – equal to 30 degrees. Once the target is occulted by the Earth, the orbit simulator finds when it is visible again, and where it is coming out from the Earth's Limb. The simulator then finds the angular separation between the in-occult and out-occult position. And finally, the orbit simulator allows the local z-axis to sweep equal angles in equal times during its motion along the Earth's Limb. 6. Run gtorbsimThis section shows different ways to generate survey mode spacecraft data file. To generate a realistic pointed mode observation, a timeline generated by TAKO is needed. This tool is not provided with the Science Tools. If you need this tool to run a realistic pointed mode observation, please contact the FSSC. There are different ways to enter the parameters in the tool:
For this reason, the very first input of the simulator is the type of input, i.e., either "console" or "file". Example - init file:
Example - inputs given in a file: You can also run the tool as follows: Download FT2 Files
|