Full text
MASTER THESIS Development of Models for the Equations of Motion in the Solar System: Implementations and Applications Anshuk Attri SUPERVISED BY Prof. Josep J. Masdemont Universitat Politècnica de Catalunya Master in Aerospace Science & Technology July 2014
This Page Intentionally Left Blank
Development of Models for the Equations of Motion in the Solar System: Implementations and Applications BY Anshuk Attri DIPLOMA THESIS FOR DEGREE Master in Aerospace Science and Technology AT Universitat Politècnica de Catalunya SUPERVISED BY: Prof. Josep J. Masdemont Departament de Matemàtica Aplicada I
This Page Intentionally Left Blank
ABSTRACT There are two primary objectives of this master’s thesis. The first is to develop suitable semi-analytical quasi-periodic models for the equations of motion in the solar system. The results of the research have to be implemented developing specific vector fields for the propagation of trajectories and the corresponding changes of coordinates. The second objective of the thesis is to implement a program that is able to read ephemeris data and is capable of performing numerical calculation in vector fields. After the program has been implement is has to be tested to ensure robustness. The software package has been implemented in FORTRAN and has the ability to read and access the SpiceLib of JPL, CIT, to get ephemeris data for states of bodies in the solar system. The methodology of the thesis involves: development of vector fields for restricted n-body problems, general explanations of Lagrangian and Hamiltonian forms of the restricted n-body problem, development of semianalytical model of n-body problem, development of variational equations for n-body problems in the solar system and for quasi-periodic formulation of equations of restricted n-body problem, implementation of all these formulations in form of a package, which is able to read and access ephemeris data using SpiceLib from JPL, written in FORTRAN 77, testing the routines, and finally, performing trajectory refinement of two Libration point orbits: one in Jupiter-Europa System and one in Saturn-Titan System using Parallel Shooting.
This Page Intentionally Left Blank
Table of Contents INTRODUCTION ............................................................................................. 1 CHAPTER 1 EQUATIONS OF MOTION............................................................ 3 1.1 Introduction ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 3 1.2 Reference Systems ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 3 1.2.1 Equatorial Reference System ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 3 1.2.2 Synodical Adimensional Reference System ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 4 1.3 Reference Frame Transformations ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 5 1.3.1 Equatorial to Adimensional Reference Frame ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 5 1.3.2 Transformation of Origin of Equatorial Reference Frames... ... ... ... ... ... ... ... ... ... ... ... 8 1.4 The Restricted N-Body Problem ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 9 1.5 The Restricted Three Body Problem ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 10 1.5.1 Equations in Synodic Coordinates ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 12 1.5.2 Restricted Three Body Problem in Adimensional Coordinates ... ... ... ... ... ... ... ... ... 14 1.6 Lagrangian Formulation of the Restricted N-Body Problem ... ... ... ... ... ... ... ... ... 14 1.7 Hamiltonian Formulation of the Restricted N-Body Problem ... ... ... ... ... ... ... ... ... 17 1.8 Quasi-Periodic Formulation of the Restricted N-Body Problem... ... ... ... ... ... ... ... 19 CHAPTER 2 VARIATIONAL EQUATIONS ...................................................... 23 2.1 Variational Equations ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 23 2.2 State Transition Matrix ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 23 2.3 Differential of State Transition Matrix... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 24 2.4 Computation of Variational Matrix ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 25 2.4.1 Autonomous system ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 25 2.4.2 Non-Autonomous system ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 25 2.5 Variational Equations ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 26 2.6 Variational Matrix for Different Problems ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 27 2.6.1 N-Body Problem with respect to the Solar System Barycentre... ... ... ... ... ... ... ... ... ... 27 2.6.2 N-Body Problem with respect to a body in Solar System ... ... ... ... ... ... ... ... ... ... ... ... 28 2.6.3 Quasi-Periodic Formulation of the Restricted N-Body Problem ... ... ... ... ... ... ... ... ... 29 CHAPTER 3 PACKAGE DESCRIPTION ......................................................... 31 3.1 Introduction ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 31 3.2 The Package ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 31 3.2.1 Directory Structure ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 31 3.2.2 Installation ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 31 3.2.3 Using the Package ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 32 3.3 SpiceLib ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 32 3.3.1 Ephemeris ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 32 3.3.2 The SpiceLib ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 32 3.4 Source Code Description ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 32 3.4.1 System Model ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 32 3.4.2 Common Model ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 33 3.4.3 Gravity Model ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 36 3.4.4 List Adaptation... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 36
3.5 Subroutines ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 36 3.5.1 Basic System and Model Definition ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 37 3.5.2 Coordinate Transformations ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 40 3.5.3 Vector Fields ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 42 3.5.4 Gravity Model and List Adaptation ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 43 3.5.5 Numerical Differentiation and Integrations ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 44 3.6 Sample Program ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 46 CHAPTER 4 TESTS AND EXAMPLES ............................................................ 49 4.1 Introduction ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 49 4.2 Test of Routines ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 49 4.2.1 PLAJPLNSAT ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 49 4.2.2 TRANS... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 50 4.2.3 TRANSIBC ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 51 4.3 Integrations ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 52 4.3.1 VFSSB ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 52 4.3.2 VFIBC ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 53 4.3.3 Comparison of VFSSB and VFIBC... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 54 4.4 Tests of Variational Equations ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 55 4.4.1 VFSSB ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 55 4.4.2 VFIBC ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 55 CHAPTER 5 APPLICATIONS ........................................................................ 57 5.1 Coefficients of the Lagrangian Form ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 57 5.2 Routines for Lagrangian and Hamiltonian Formulations ... ... ... ... ... ... ... ... ... ... ... 57 5.3 Tests of QUASIHAMILTONIAN ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 61 5.3.1 Integration ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 61 5.3.2 Variational Equations ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 61 5.4 Trajectory Refinement... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 62 5.4.1 Parallel Shooting ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 62 5.4.2 Initial Guess for Parallel Shooting ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 64 5.4.3 Lissajous Orbit... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 65 5.4.4 Halo Orbits ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 66 5.4.5 Orbit Generators ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 67 5.4.6 Parallel Shooting Routines ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 68 5.5 Parallel Shooting Examples ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 70 5.5.1 Halo Orbit in Jupiter Europa System about L2 ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 70 5.5.2 Lissajous Orbit in Saturn-Titan System about L2 ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 71 CONCLUSION ................................................................................................ 75 6.1 Present Work ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 75 6.2 Future Work ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 75 BIBLIOGRAPHY ............................................................................................. 77 APPENDICES: APPENDIX A LAGRANGIAN AND HAMILTONIAN MECHANICS ..................... 79 A.1 Introduction ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 79 A.2 Generalised Coordinates ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 79 A.3 The Lagrangian ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 80
A.4 The Hamiltonian ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 81 A.5 Hamiltonian Equations ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 82 APPENDIX B VARIATIONAL EQUATIONS: N BODY PROBLEM ..................... 83 B.1 Variational Equations ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 84 APPENDIX C VARIATIONAL EQUATIONS: N-BODY W.R.T. A BODY IN SOLAR SYSTEM ................................................................................................ 87 C.1 Introduction ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 87 APPENDIX D VARIATIONAL EQUATIONS: QUASI PERIODIC FORMULATION OF N-BODY PROBLEM.................................................................................... 91 D.1 Variational Equations ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 96 APPENDIX E THIRD DERIVATIVE OF MATRIX C ............................................. 99 APPENDIX F MODELEPH.DAT FILE ............................................................... 101 APPENDIX G BODIES IN JPL EPHEMERIS DE406 .......................................... 103 G.1 Sun ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 103 G.2 The Mercurian System ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 103 G.3 The Venusian System ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 103 G.4 The Geo System ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 104 G.5 The Martian System... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 104 G.6 The Jovian System ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 104 G.7 The Saturnian System... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 105 G.8 The Uranian System ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 105 G.9 The Neptunian System ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 106 G.10The Plutonian System... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 106 APPENDIX H TEST RESULTS ........................................................................ 107 H.1 Integrations ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 107 H.1.1 VFSSB ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 107 H.1.2 VFIBC ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 111 H.1.3 QUASIHAMILTONIAN ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 115 H.2 Variational Equations ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 117 H.2.1 VFSSB ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 117 H.2.2 VFIBC ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 117
2 Development of Quasi-Periodic Semi-Analytical Models in the Solar System with respect to the solar system barycentre, n-body problem with respect to some other body in the solar system, and for quasi-periodic formulation of the restricted nbody problem. The third chapter will describe the package that was designed as a part of this thesis. It will elaborate the basic structure of the package, installation of the package, and will describe important routines of the package. It will also explain how to implement programs in the package. The fourth chapter will show some tests and implementation of routines carried out for demonstrating the credibility and the abilities of the package. The routines for coordinate transformation, vector fields, and variational equations have been tested and the results and the steps for these steps have been elaborated in this chapter. The fifth chapter will elaborate two primary applications of the package. One will be to implement the coefficients of the Lagrangian and Hamiltonian formulation of the model of the solar-system, particularly, the restricted n-body problem. The other application is to perform trajectory refinement using the concept of parallel shooting. Some of the nomenclature we use in the course of this thesis is as follows: Barycentre will be used to refer to the centre of the mass of a system. It will have some specific usages. Solar-system barycentre will mean the centre of mass of the whole solar system. On the other hand, a planet barycentre will be used to refer to the centre of mass of the system with that specific planet and all its satellites. For example, Jupiter barycentre would imply that we are talking about the centre of mass of the whole Jovian system i.e. Jupiter and all its satellites. One other usage of the word would explicitly mention two bodies. For example, Saturn-Titan barycentre means the centre of mass of just Saturn and Titan system. The term RTBP will be occasionally used in this thesis. It stands for Restricted Three Body Problem. RTBP system will refer to the primary and secondary body in such a system. More details are elaborated in Chapter 1. At the end of this thesis, a robust package has been developed which can be used to implement numerical computations in the solar-system. It has capability to perform orbit refinement using parallel shooting. Also, the variational equations have been implemented and tested and can be used by the user.
Equations of Motion 3 Chapter 1 EQUATIONS OF MOTION 1.1 Introduction The purpose of this chapter is to formulate and introduce the basic equations required to define motion of bodies in a gravitational field. Also, this chapter will focus on definitions of reference frames to be used throughout this thesis and will elaborate how to transform between them. The following subsections will define the equations of nbody problem and will formulate the equations for restricted n-body problem. Before proceeding with the elaboration of equations of motion, we need to define different reference systems and the transformation between them. 1.2 Reference Systems Reference frames can reduce the complexity in two ways. One, if the reference frame is closer to the spacecraft, for which we are performing the calculations, it can reduce the size of the numerical computations, and, two, if the reference frame is fixed in space and not rotating it can offer advantages in terms of reduction of complexity of a problem by removing dependency on time and making the equations of motion simpler. We will use two primary frames of reference for the present study. The first one is called Equatorial coordinate system and the other is called Adimensional coordinate system. 1.2.1 Equatorial Reference System Positions To define the positions in a reference frame, firstly, the origin of the reference frame has to be defined. The origin of the equatorial reference frame is the centre of the earth. The X-Y plane is defined by the earth’s equatorial plane. The positive direction of the Z-axis is defined as the direction to the north pole from the centre of the earth. Positive X direction is defined as the direction of Vernal Equinox. Vernal Equinox is a line drawn from the centre of the earth to the centre of the sun on the first day of the spring. This is denoted by the symbol àas this is used to depict the direction of the constellation Aries. A system called the J2000 system is what we will be primarily using as our reference system. Vernal Equinox is defined as January 1, 2000 at 12 hrs for J2000 system [2]. The positive direction of the Y-axis is perpendicular to the vernal equinox and is defined by the line joining the centre of the Sun to the centre of the Earth on the first day of winter (December 21 for the J2000 system). The geocentric equatorial frame is depicted in the Figure 1.1 [1].
4 Development of Quasi-Periodic Semi-Analytical Models in the Solar System Figure 1.1 Geocentric Equatorial Reference Frame Time The time in a reference frame is defined with respect to an initial epoch. The epoch of the J2000 system is the January 1, 2000 at 00:00 hours (midnight) UTC. This can be represented in terms of Julian Date which by definition is the number of days measured from 4713 B.C but the days start from noon not midnight. J2000 is the Julian Date 2451545 [2], thus, as far as this thesis is concerned, the ‘zero’ of time in our reference frame is this Julian Date. 1.2.2 Synodical Adimensional Reference System The other reference frame we will use is called synodical adimensional reference system. This reference system is useful for computation in three body problems and in representing the restricted n-body problem in a form similar to the restricted three body problem. The idea is to remove dimensions of positions and time by expressing them in terms of parameters of the three body system. A restricted n-body system is shown in Figure 1.2. This system has its origin at the centre of mass of the primary and the secondary body. The line joining the primary and the secondary is assumed to be fixed in space. The primary body, with mass m1, is stationed at coordinates (µ, 0,0), where µis given by Equation (1.1). The secondary body, with mass m2, is stationed at coordinates (µ−1,0,0). Then, as can be seen, the distance between the primary and secondary is ‘one’ in this new system. Thus, the positions are adimensionalized by considering the distance between the two bodies as a unit distance. µ=m2 m1+m2 (1.1) Time The time in this reference frame is adimensionalized using the sidereal period of the secondary. Thus, 2πunit of time in adimensional reference frame is the time period of
Equations of Motion 5 the secondary around the primary This has been elaborated further in the subsequent section. The epoch of the time remains the same as the equatorial reference system. 1.3 Reference Frame Transformations 1.3.1 Equatorial to Adimensional Reference Frame It might be useful during the study of the equations of motion and during the course of numerical computation of orbits to transform coordinates from the equatorial reference frame to the adimensional reference frame or vice-versa. We will discuss the transformations in terms of positions, velocity, acceleration, and time. Transformation of Time The relation between time in the equatorial reference frame , denoted by t∗, to the adimensional frame, denoted by t, is given by, t=t∗m(1.2) where mis the mean motion of the secondary around the primary and is calculated from the Kepler’s third law as, m=sµ1+µ2 a3 s (1.3) µ1=G m1(1.4) µ2=G m2(1.5) where asis the semi major axis of the orbit of the secondary around the primary and G is the universal gravitational constant. Also, it is important to state the notations being used to define derivatives with respect to time. For any function f, the symbol f0will be used in this thesis to represent the differentiation with respect to time in the equatorial reference frame. The symbol ˙ fwill be used to represent the differentiation with respect to adimensional time. Thus, f0=d f dt∗=d dt dt dt∗f=˙ f m (1.6) f00 =d2 d(t∗)2f=¨ f m2(1.7) f000 =... fm3(1.8) Transformation of Positions, Velocity, and Accelerations The transformation of positions is described in [3] as, ~ R=kC~ a+~ b(1.9)
6 Development of Quasi-Periodic Semi-Analytical Models in the Solar System Figure 1.2 Restricted N-Body Problem in Adimensional Coordinates where k is the change of scale factor, C is an orthogonal matrix, and ~ bis the translation vector. The translation vector is nothing but the position of the barycentre of the system from the origin of the equatorial reference frame. The vector ~ Ris the coordinates of position in the equatorial reference frame and ~ ais the coordinates in the adimensional reference frame. C is a 3 by 3 matrix and can be thought to be composed of three column vectors ~ C1,~ C2,~ C3which are described as, C=C1C2C3(1.10) where, ~ C1= ~ R21 ||R21||2 (1.11) ~ C3= ~ R21 ×~ R210 || ~ R21 ×~ R210||2 (1.12) ~ C2=~ C3×~ C1(1.13) and, ~ R21 =~ R1−~ R2(1.14) ~ R210=~ R10−~ R20(1.15) In these equations R1is the position of the primary and R2is the position of the secondary. The scaling factor k can be calculated as, k=~ ||R21||2(1.16)
Equations of Motion 7 and the translation vector ~ bis computed as, ~ b=~ R1+µ~ R21 (1.17) where, µis given by Equation (1.1). The transformation of the velocities from the equatorial to adimensional coordinates is computed by differentiating Equation (1.9) with respect to time in the equatorial reference frame and additionally using the transformation of time. It i given as, ˙ ~ a=C−1~ e0+C0−1~ e−k0~ a k m (1.18) where ~ eis given according to the Equation (1.19) as, ~ e=~ R−~ b(1.19) The transformation from adimensional velocities to the velocities in the equatorial reference frame is given by Equation (1.20) and is obtained by rearranging Equation (1.18). ~ R0=~ b0+k0C~ a+k(C0~ a+m C ˙ ~ a)(1.20) The matrix C’ is 3 by 3 matrix composed of three vectors as columns given by, C0=C0 1C0 2C0 3(1.21) where, C0 1=k~ R210−k0~ R21 || ~ R21||2 2 (1.22) C0 3= ~ R21 ×~ R2100 || ~ R21 ×~ R210||2− ~ C3.(~ R21 ×~ R2100) || ~ R21 ×~ R210||2 ~ R21 (1.23) C0 2=C0 3×~ C1+~ C3×C0 1(1.24) Here, k0can be obtained by differentiating Equation (1.16) with respect to time tas, k0= ~ R21 .~ R210 k(1.25) The transformation of acceleration from equatorial to adimensional coordinates is computed by differentiating the Equation (1.18) with respect to equatorial time and then using information on transformation of time given in Section 1.3.1. The transformation is given by Equation (1.26). ¨ ~ a=C−1~ e00 −k00~ a−2k0m~ a0−C−1(2 k0~ ea+k[~ eb+2~ ed]) k m2(1.26)
8 Development of Quasi-Periodic Semi-Analytical Models in the Solar System where, ~ e00 =~ R00 −~ b00 (1.27) ~ ea=C0~ a(1.28) ~ eb=C00~ a(1.29) ~ ed=m C0˙ ~ a(1.30) The transformation of acceleration from adimensional to the equatorial coordinates is given by Equation (1.31) and is obtained by rearranging Equation (1.26). ~ R00 =~ b00 +k00 C~ a+k C00 ~ a+m C ˙ ~ a+2 (k0(C0~ a+m C ˙ ~ a)+k m C0˙ ~ a)(1.31) The matrix C” is 3 by 3 matrix composed of three vectors as columns given by, C00 =C00 1C00 2C00 3(1.32) and, C00 1=−~ R2100 k +2k0~ R210 || ~ R21||2 2 + k00 k−2k02 || ~ R21||2 2k!~ R21 (1.33) C00 3=~ ef− C0 3.C0 3+C3.~ ef!.C3(1.34) C00 2=C00 3×~ C1+2 (C0 3×C0 1)+~ C3×C00 1(1.35) where, ~ ef= ~ R210×~ R2100 +~ R21 ×~ R21000 −2 ~ C3.(~ R21 ×~ R2100) || ~ R21 ×~ R210||2 (~ R21 ×~ R2100) || ~ R21 ×~ R0 21||2 (1.36) Here, k00 can be obtained by differentiating Equation (1.25) with respect to time as, k00 = ~ R210.~ R210+~ R21 .~ R2100 −k02 k(1.37) 1.3.2 Transformation of Origin of Equatorial Reference Frames The equatorial reference frame we have defined is geocentric i.e. centred in Earth. Sometimes it is advantageous to perform integration with reference frames centred in some body other than the Earth. For example, while performing integrations in the Saturn-Titan system it might be more advantageous to use a reference frame centred in either Saturn, Titan, or their barycentre. Doing so will reduce the size of the numbers obtained during integrations. Suppose we have to transform coordinates of a body from a reference frame centred in the body A to those centred in body B. Suppose ~ rA
Equations of Motion 9 denotes the coordinates of the body with respect to the body A and ~ rBdenotes the coordinates of the body with respect to the body B. Also, say the vector ~ rAB denotes the vector from body A to body B then, ~ rB=~ rA−~ rAB (1.38) The idea is depicted in Figure 1.3. It is also important to note that during such transformation the directions of all the axis are fixed otherwise rotation of coordinates must be performed. So effectively, only the origin of the reference frame is being transformed. Figure 1.3 Transformation of Origin of Equatorial Reference Frame 1.4 The Restricted N-Body Problem This section defines the equations to predict the motion of a small body moving in a gravitational field being created by n-1 number of bodies; a problem referred to as the restricted n-body problem. The restricted n-body problem finds applications in prediction of motion of satellites, spacecrafts, and other small objects in the solar system such as comets and asteroids. Before we generate equations for the restricted n-body problem, first, we need to define the classic n-body problem. The n-Body problem is the prediction of motion of a body in a gravitational vector field produce by nbodies. According to the Newton’s second law motion, the acceleration of a body i moving in such a gravitational field is given by, ¨ ~ ri= n X j=1,j,i G mj~ ri j r3 i j (1.39) where, ~ ri j =~ rj−~ ri(1.40) ri j =[(xj−xi)2+(yj−yi)2+(zj−zi)2]1/2(1.41) The vectors ~ riand the vectors ~ rjare referenced with respect to the solar system barycentre at a particular epoch. Thus, the equation (1.39) gives the motion of the body with respect to the solar system barycentre. It can be seen that the Equation (1.39) can be written for a set of ndifferent bodies. If we assume that the po-
10 Development of Quasi-Periodic Semi-Analytical Models in the Solar System sitions, velocities, and accelerations of all bodies but one are known and that the body for which we do not know these values is very small and cannot influence the motion of the other n-1 bodies, then, Equation (1.39) will just give one equation, for our target body. This is called as the restricted n-body problem and it finds applications in the design of trajectories of spacecrafts and satellites. As stated earlier sometimes there might arise a need to see the motion of the body with respect to some other body in the solar system. In this case the Equation (1.39) must be changed. If we want to see the motion of a body iwith respect to the body jwe first compute the accelerations of these bodies with respect to solar system barycentre from Equations (1.39) which will be given as, ¨ ~ ri= n X k=1,k,i G mk~ rik r3 ik =G mj~ ri j r3 i j + n X k=1,k,i,j G mk~ rik r3 ik (1.42) and, ¨ ~ rj= n X k=1,k,j G mk~ rjk r3 jk =G mi~ rji r3 ji + n X k=1,k,i,j G mk~ rik r3 ik (1.43) Now, to find the acceleration of body iwith respect to jwe subtract Equations (1.42) and (1.43) and we obtain ¨ ~ ri j =−G(mi+mj)~ ri j r3 i j + n X k=1,k,i,j G mk ~ rik r3 ik −~ rjk r3 jk!(1.44) In this equation we have also used the fact that ~ ri j =−~ rji. Since we assume that the mass of the body iis very small as compared to other bodies in the system, mi+mj can be approximated as mj. Also, since we are trying to write equations with respect to the body jit is better to obtain positions of every other body with respect to jrather than the solar system barycentre. Thus, if every vector is expressed with respect to the body jwe can re-write the Equation (1.44) as, ¨ ~ ri=−G mj~ ri r3 i + n X k=1,k,i,j G mk ~ rik r3 ik −~ rk r3 k!(1.45) It is very important to note that all the vectors in Equation (1.45) are with respect to the body j. For all practical purposes this thesis will use the Equation (1.45) to predict the motion of a small body such as a satellite in the restricted n-body problem. 1.5 The Restricted Three Body Problem The aim of this section is to introduce the restricted three body problem and to introduce tools that will be required to numerically analyse the said problem. Consider two bodies of masses m1and m2that are moving only under the influence of their mutual gravitational attraction in a circular orbit. We call the heavier of these two bodies as primary and the other as secondary. Suppose we have a third body with a mass m3, which is small enough so that it does not affect the motion of the primary and
Equations of Motion 11 secondary bodies, moving under the influence of the gravity of the primary and the secondary. Figure 1.4 Depiction of Restricted Three Body System Figure 1.4 [5] shows the projection of a three body system on XY plane. We consider two separate reference frames. One, the XYZ inertial frame which is fixed in space (also referred to as the sidereal frame), and two, the ¯ X¯ Y¯ Zreference frame which is rotating with the system (also referred to as the synodic frame). The Z axis of both the frames can be assumed to be projecting out of the plane and will be the same as the frame is rotating about the Z-axis. Assume that the mass m1is located at the coordinates (in the inertial reference frame) (X1,Y1,Z1)and the mass m2(m1>m2)is located at (X2,Y2,Z2). Masses m1and m2are separated by distance l. The distance of mass m2from the origin of the coordinate system is aand the distance of m1is b. Assume that the angular velocity of the masses around the centre of the coordinate axis is ω=n. The gravitational attraction between the bodies must be balanced by the centrifugal force. Therefore, G m1m2 l2=m1ω2b(1.46) where G is the universal gravitational constant. The equation of motion of the third body i.e. m3can be derived using the newton’s second law of motion. d2X dt∗2=∂F ∂X,d2Y dt∗2=∂F ∂Yand d2Z dt∗2=∂F ∂Z(1.47) It is important to point out that t∗represents the time in the inertial frame. Here, F is the force function which is given as [5], F=G m1 R1 +m2 R2!(1.48) where, R1and R2are given by, R1=p(X−X1)2+(Y−Y1)2+(Z−Z1)2(1.49) R2=p(X−X2)2+(Y−Y2)2+(Z−Z2)2(1.50)
18 Development of Quasi-Periodic Semi-Analytical Models in the Solar System For restricted n-body problem (in adimensional coordinates and time) we have the momentum given by Equation (A.20) as, PX=2a1˙ X+a2X−a3Y+a9(1.115) PY=2a1˙ Y+a2Y+a3X−a4Z+a10 (1.116) PZ=2a1˙ Z+a2Z+a4Y+a11 (1.117) Re-arranging these equations we obtain, ˙ X=PX 2a1−a2X 2a1 +a3Y 2a1−a9 2a1 (1.118) ˙ Y=PY 2a1−a3X 2a1−a2Y 2a1 +a4Z 2a1−a10 2a1 (1.119) ˙ Z=PZ 2a1−a4Y 2a1−a2Z 2a1−a11 2a1 (1.120) The Hamiltonian can be obtained substituting values from these equations into Equation (1.114). By doing so we obtain the Hamiltonian as the Equation (1.121). The coefficients required for this equation are dependent on the coefficients of Lagrangian and are given by Equations (1.122) to (1.136) H(~ r,P,t)=b1(P2 X+P2 Y+P2 Z)+b2(X PX+Y PY+Z PZ)+b3(YPX−XPY) +b4(Z PY−Y PZ)+b5X2+b6Y2+b7Z2+b8X Z +b9PX+b10 PY +b11 PZ+b12 X+b13 Y+b14 Z +b15 1−µ p(X−µ)2+Y2+Z2 +µ p(X−µ+1)2+Y2+Z2 +X A(S,E,M,P...,Pk),A,m1,m2 G mA k||r−rA||2! (1.121) b1=1 4a1 (1.122) b2=−a2 2a1 (1.123) b3=a3 2a1 (1.124) b4=a4 2a1 (1.125) b5=a2 2+a2 3 4a1−a5(1.126) b6=a2 2+a2 3+a2 4 4a1−a6(1.127)
Equations of Motion 19 b7=a2 2+a2 4 4a1−a7(1.128) b8=a3a4 2a1−a8(1.129) b9=−a9 2a1 (1.130) b10 =−a10 2a1 (1.131) b11 =−a11 2a1 (1.132) b12 =a2a9 2a1 +a3a10 2a1−a12 (1.133) b13 =−a3a9 2a1 +a2a10 2a1 +a4a11 2a1−a13 (1.134) b14 =−a4a10 2a1 +a2a11 2a1−a14 (1.135) b15 =−a15 (1.136) It can be seen with simple calculations that, b5=b6=b7=b8=b12 =b13 =b14 =0(1.137) Again, these coefficients are quasi-periodic functions of time like the coefficients of the Lagrangian. 1.8 Quasi-Periodic Formulation of the Restricted N-Body Problem The equations of motion for restricted n-body problem in synodical adimensional coordinates are obtained using the Equation (A.18) for the three components i.e. x, y, and z. Thus, we formulate the equations of motion as, d∂L dt ∂˙x−∂L ∂x =0(1.138) d∂L dt ∂˙y−∂L ∂y =0(1.139) d∂L dt ∂˙z−∂L ∂z =0(1.140) Performing these computations and rearranging we get the quasi-periodic semi-analytical RTBP like formulation for restricted n-body problem in the synodical adimensional reference frame as, ¨x=c1+c4˙x+c5˙y+c7x+c8y+c9z+c13 ∂Ω ∂x(1.141)
20 Development of Quasi-Periodic Semi-Analytical Models in the Solar System ¨y=c2−c5˙x+c4˙y+c8x+c10 y+c11 z+c12 ∂Ω ∂y(1.142) ¨z=c3−c6˙y+c4˙z+c9x−c11 y+c12 z+c13 ∂Ω ∂z(1.143) where, Ω = 1−µ p(x−µ)2+y2+z2 +µ p(x−µ+1)2+y2+z2 +X A(S,E,M,P...,Pk),A,m1,m2 µA ||~ r−~ rA||2 (1.144) In equation (1.144) the vectors ~ rand ~ rAare given by, ~ r=xˆ i+yˆ j+zˆ k(1.145) ~ rA=xAˆ i+yAˆ j+zAˆ k(1.146) It can be seen that these equations are similar in form to the equations of restricted three body motion in the synodic reference frame. The coefficients are given by, c1=−(¨ ~ B.~ C1) k(1.147) c2=−(¨ ~ B.~ C2) k(1.148) c3=−(¨ ~ B.~ C3) k(1.149) c4=−2˙ k k(1.150) c5=2 ( ˙ ~ C1.~ C2)(1.151) c6=2 ( ˙ ~ C2.~ C3)(1.152) c7=(˙ ~ C1.˙ ~ C1)− ¨ k k(1.153) c8=2˙ k(˙ ~ C1.~ C2) k +(¨ ~ C1.~ C2)(1.154) c9=(˙ ~ C1.˙ ~ C3)(1.155) c10 =(˙ ~ C2.˙ ~ C2)− ¨ k k(1.156) c11 =2˙ k(˙ ~ C2.~ C3) k +(¨ ~ C2.~ C3)(1.157) c12 =(˙ ~ C3.˙ ~ C3)− ¨ k k(1.158)
Equations of Motion 21 c13 = a k!3 (1.159) It is important to point out that these coefficients are dependent on time and are quasi periodic and thus Fourier analysis can be performed. After the Fourier Analysis the expansions can be cut and only the most relevant terms can be kept and in this way we can obtain suitable semi-analytical models that approximate up to a desired precision the complete model of the system.
Variational Equations 23 Chapter 2 VARIATIONAL EQUATIONS 2.1 Variational Equations Variational equations are important as they express the change in the final state of a system when a change is applied to initial state of the system. The study of these equations is very important as they can be used to analyse the change in orbit of a body because of a small perturbation in the initial position and velocities. The purpose of this chapter is to introduce the mathematical background of variational equations and to formulate the variational equations for three primary vector fields: 1. Restricted n-body problem described with respect to the solar system barycentre 2. Restricted n-body problem described with respect to some particular body in the solar system 3. Quasi-periodic formulation of restricted n-body problem 2.2 State Transition Matrix The first step before considering the variational equations is to understand the concept of State Transition Matrix. Let φt(x0)represent the state of a dynamical system at a time tsuch that the state of the system at t=0 was x0. It is important to point out that the state of the dynamical system at t=0 will be the initial point x0. This can be stated as, φ0(x0)=x0(2.1) Figure 2.1 State Transition Matrix
24 Development of Quasi-Periodic Semi-Analytical Models in the Solar System Now if the initial state was changed a little by say ∆x0then the state at a time twill be φt(x0+ ∆x0). This can be expanded binomially as, φt(x0+ ∆x0)=φt(x0)+Dxφt(x0)∆x0+··· (2.2) By dropping the higher order terms this can be approximated as, φt(x0+ ∆x0)−φt(x0)≈Dxφt(x0)∆x0(2.3) The matrix Mis called state transition matrix and is given by, Mt(x0)=Dxφt(x0)(2.4) The concept of Equation (2.3) is represented in Figure 2.1. It is easy to see that, M0(φt(x0)) =I(2.5) where, Irepresents identity matrix. 2.3 Differential of State Transition Matrix Consider a dynamical system represented by, ˙ X=f(X)(2.6) Then it is clear that the state of the dynamical system φt(x)will be a solution to Equation (2.6). Thus, d(φt(x)) dt =f(φt(x)) (2.7) Differentiating (2.6) with respect to xwe get, Dxd(φt(x)) dt =Dxf(φt(x))Dx(φt(x)) (2.8) This equation can be re-written as, d dt(Dxφt(x)) =Dxf(φt(x))Dx(φt(x)) (2.9) Dx(φt(x)) is the state transition matrix as per Equation (2.4). Thus equation (2.9) can be rewritten as, ˙ M=Dxf(φt(x))M(2.10) We call the matrix Das Variational matrix and it is given as, D=Dxf(φt(x))(2.11)
Variational Equations 25 2.4 Computation of Variational Matrix 2.4.1 Autonomous system Consider the state of an autonomous system represented by the vector Xsuch that, X=(x,y,z,˙x,˙y,˙z)T(2.12) then the differential of the Xwith respect of time is given by, ˙ X=( ˙x,˙y,˙z,¨x,¨y,¨z)T(2.13) For this case, the variational matrix Dis given by Equation (2.14). D= 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 ∂¨x ∂x ∂¨x ∂y ∂¨x ∂z ∂¨x ∂˙x ∂¨x ∂˙y ∂¨x ∂˙z ∂¨y ∂x ∂¨y ∂y ∂¨y ∂z ∂¨y ∂˙x ∂¨y ∂˙y ∂¨y ∂˙z ∂¨z ∂x ∂¨z ∂y ∂¨z ∂z ∂¨z ∂˙x ∂¨z ∂˙y ∂¨z ∂˙z (2.14) 2.4.2 Non-Autonomous system Consider the state of a non-autonomous system represented by the vector Xsuch that, X=(t,x,y,z,˙x,˙y,˙z)T(2.15) then the differential of the Xwith respect of time is given by, ˙ X=(1,˙x,˙y,˙z,¨x,¨y,¨z)T(2.16) as, ˙ t=1(2.17) This is a way to include the dependency on time without increasing the complexity of the system. For this case, the variational matrix DNA is given by Equation (2.18). In Equation (2.18) the matrix Dis the same as given by Equation (2.14).
26 Development of Quasi-Periodic Semi-Analytical Models in the Solar System DNA = 0 0 0 0 0 0 0 0 0 0 ∂¨x ∂tD ∂¨y ∂t ∂¨z ∂t (2.18) 2.5 Variational Equations Suppose we have a system with state given by, X=(t,X1,X2,··· ,X6)T(2.19) such that, ˙ X= 1 X4 X5 X6 ¨ X1 ¨ X2 ¨ X3 (2.20) Now the idea of implementation of 7×7 variational equations will be elaborated. Out of these 49 equations, one is the Equation (2.17) and six of them are given by Equation (2.20). Rest of the equations are given as [6], d dt X7 X8 X9 . . . X12 =D X7 X8 X9 . . . X12 + 0 0 0 ∂˙ X4 ∂t ∂˙ X5 ∂t ∂˙ X6 ∂t (2.21) where the matrix Dis given by Equation (2.14). Further, d dt X13 X19 ··· X43 X14 X20 ··· X44 . . .. . .. . . X18 X24 ··· X48 =D X13 X19 ··· X43 X14 X20 ··· X44 . . .. . .. . . X18 X24 ··· X48 (2.22)
Variational Equations 27 again, the matrix Dis given by Equation (2.14). Equations (2.21) and (2.22) together are termed as the variational equations. Now suppose we have an initial point of the trajectory of a spacecraft and we want to know what will be the change in the final position if the initial conditions are changed. To compute this, first, we start with a state transition matrix at the initial point which will of course be the identity matrix Ias stated in Section 2.2. At the initial point (of the orbit, for example) we define the values of X7to X12 in Equation (2.21) as, X7 X8 X9 . . . X12 = 0 0 0 0 0 0 (2.23) We initialise the matrix given on the right side of Equation (2.22) as, X13 X19 ··· X43 X14 X20 ··· X44 . . .. . .. . . X18 X24 ··· X48 = 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 (2.24) After the initialisation of these values we can integrate the trajectory of the spacecraft for a desired time. At the end of the computations, the State Transition Matrix can be obtained from the final values of the matrix composed of the elements from X13 to X48. After we have the final State Transition Matrix we can estimate the final point if the initial conditions are changed with a small perturbation from Equation (2.3). This way allows to estimate the final point of a trajectory for different values of perturbations in the initial points. It allows for the reduction in terms of computation time as integrations need not be performed for different initial conditions. Also, the State Transition Matrix for a wide number of points on the initial trajectory can be stored and thus the whole new trajectory with perturbations can be estimated. Of course, this method will not give the exact trajectory but the accuracy can be increased by considering higher order terms in Equation (2.3). 2.6 Variational Matrix for Different Problems 2.6.1 N-Body Problem with respect to the Solar System Barycentre This section will elaborate the formation of variational equation for the N-body problem w.r.t the solar system barycentre which was discussed in Equation (1.39). The state vector for the N-body problem is given as Equation (2.15) and its derivative is
34 Development of Quasi-Periodic Semi-Analytical Models in the Solar System Table 3.1 Identifier of the Bodies in Ephemeris Model Body Identifier Sun 10 Mercury Barycentre 1 Venus Barycentre 2 Earth Barycentre 3 Mars Barycentre 4 Jupiter Barycentre 5 Saturn Barycentre 6 Uranus Barycentre 7 Neptune Barycentre 8 Pluto Barycentre 9 the value one); position and velocity (value two); position, velocity and acceleration (value three); or, position, velocity, acceleration and overacceleration (value four). And the third row indicates if is a barycentre (value zero), a planet (value one) or a satellite (value two). Since it has 53 columns it can hold if all the bodies in the ephemeris have been selected. In general, if bodies less than 53 have been selected, rest of the variable will be set to zero. •SECONDARYINDEX: This hold the column index of the secondary body in the array LIST. •PRIMARYINDEX: This hold the column index of the primary body in the array LIST. Internal Common Variables •IMAX: This variable is used to define the size of other common variables. Since the software package is capable of working with maximum of 53 bodies, IMAX has been defined as 53. •SEMIAXFIN: It is a vector of a length IMAX. It holds the value of semi-major axis of the bodies. If the body is a planet, the value is the semi-major axis of the orbit of the planet around the planet. If the body is a satellite, the value is the semi-major axis of the orbit of the satellite around the its planet. For example, the semi-major axis of Io will be the value around Jupiter. The semi-major axis of a barycentre is same as the planet i.e. Jupiter Barycentre will have the same value as Jupiter.
Package Description 35 •SEMIINDEX: It is a vector of a length IMAX. It holds the value of ID of the bodies. The point of having this vector is that the index of the body in this vector will be the same as the index in SEMIAXFIN. •XMU: It stores is the mass parameter of the restricted three body system considered. •ENEM: It stores the mean motion in day−1of a selected system. It has been computed using Kepler‘s third law by the routine INTXMUENEM. •BARYINDEX: This hold the column index of the barycentre in the array LIST. It is important to note that if the system considered is the Sun-Planet Barycenter then BARYINDEX is 0. •C1, C2, C3: C1, C2, and C3 are three column vectors of length 3. They store the value for the columns of the matrix C necessary for coordinate transformations. It is important to note that the these variables are only initialised if the routine CALCPARAMRTBP has been called. Otherwise they are empty. These are computed from Equations (1.11), (1.12), and (1.13) respectively. •C1P, C2P, C3P: C1P, C2P, and C3P are three column vectors of length three. They store the value for the columns of the matrix C0necessary for coordinate transformations. These are calculated from Equations (1.22), (1.24), and (1.23) respectively. •C1PP, C2PP, C3PP: C1PP, C2PP, and C3PP are three column vectors of length 3. They store the value for the columns of the matrix C00 necessary for coordinate transformations. Their values are obtained from Equations (1.33), (1.33), and (1.33) respectively. •C1PPP, C2PPP, C3PPP: C1PPP, C2PPP, and C3PPP are three column vectors of length 3. They store the value for the columns of the matrix C000 necessary for coordinate transformations. These are calculated from Equations (E.2), (E.8), and (E.3) respectively. •XT: This variable stores the value of the vector ~ brequired for the transformations as described in Chapter 1. The value is computed from the Equation (1.17). •XK, XKP, XKPP, XKPPP: The variables XK, XKP, XKPP, and XKPPP store the value of the constants k,k0,k00,and k000, respectively, used for coordinate transformations. Their values are obtained from Equations (1.16), (1.25), (1.37), and (E.7). •ADLIST: This variable is a matrix with IMAX columns and three rows. This variable stores the backup of the the variable LIST in case the routine ADAPTLIST is used. List adaptation has been described in section 3.4.4. •ADFLAG: This variable can take up two values 1 and 0 depending on whether adapted list is being used or not. The value of this variable is initialised by ADAPTLIST and must only be used as a read only value.
36 Development of Quasi-Periodic Semi-Analytical Models in the Solar System •INDEXBACK: This column vector of length three stores the indexes of the primary, secondary, and the barycenter when the routine ADAPTLIST is being used. •GRAVLIST: It is an array of length 9 and has two columns. The first column contains the ID of the nine barycentres of the nine planets. The second contains the status of gravity model. Gravity model has been detailed in Section 3.4.3 3.4.3 Gravity Model Suppose that integrations are being performed in a vector field for a particular model of the solar system. If, for example, the body under consideration (fro example, a spacecraft) is in vicinity of Jupiter system i.e. Jupiter and its satellites then it is more accurate to consider every body in this system. But, if our body is very far away from the Jupiter satellite systems then it makes more sense to consider the Jupiter System as one single point system based on the centre of gravity of the system. This can reduce the amount of numerical computations as the program will not calculate vectors and coordinate transformations for each of the Jovian satellite but will only compute such factors for one body. To facilitate this, Gravity model has been suggested. The gravity model is elaborated in the Table 3.2. 3.4.4 List Adaptation List adaptions can be useful in case the user wants to perform integrations just in a particular three body system and to remove all the perturbations of the other bodies in the model. To facilitate this, the package has a routine called ADAPTLIST. If this routine is used it removes every body from the list but the primary, secondary, and the barycenter defined in the initial model. 3.5 Subroutines This section will describe the important subroutines that are included in this software package and are being used in course of this study. Some of the routines we will define as ‘internal’, which means that the user need not know about it and are only used by some other routines, but are important enough to be mentioned. The routines are grouped into categories. Table 3.2 Gravity Model Indicators Gravity Model Status Bodies Considered 0 Barycentres Only 1 Only the planet 2 Only the satellites 3 Planet and satellites
Package Description 37 3.5.1 Basic System and Model Definition These routines are the basis routines that are used to setup the computations and used to initialise the systems. Some of them are important and the user must be aware of them. READ MODELEPH The main purpose of this routine is to read the file ‘modeleph.dat’, from the directory in which the user is implementing routines, and to write the common variable LIST. The first step is to Figure 3.2 shows the flowchart of the working of the routine. The first step is to open the file ‘modeleph.dat’ and to read its columns. The next step is to check if the value of ICO has been defined and is not equal to zero. In case ICO is zero, the program stops. Otherwise the routine CHANGE FILE DAT is called This routine writes the selected bodies into a file named ‘new files.dat’. The next step is to call the routine CONG. This routine verifies the integrity of the model i.e. if a planet has been selected then its barycenter must also be selected. If a satellite has been selected, it is mandatory to select its planet and the planet’s barycenter. After these checks are made the routine READ MODELEPH will write these selected bodies into LIST. This is an internal routine. SUBROUTINE NMODJPL(P1, P2, P3) 1. INTEGER P1: The identifier of the body which will serve as the origin of the reference system. 2. INTEGER P2: The value of ICO i.e. The identifier of the body to serve as the secondary in the restricted three body system. If the input is zero then no RTBP system is initialised. 3. INTEGER P3: The value of the Libration point (1 to 5) around which the integrations are intended to be performed. Right now this feature has not been implemented. This routine is responsible to initialise most of the common variable and is the first routine that must be called. For example, if we want to work with Jupiter-Io system, around the libration point number two, and we want to perform integrations with respect to the solar system barycenter then the call to the routine will be as follows, Figure 3.2 READ MODELEPH Flowchart
38 Development of Quasi-Periodic Semi-Analytical Models in the Solar System CALL NMODJPL(0,501,2) Figure 3.3 NMODJPL Flowchart The flowchart of working of the routine has been shown in Figure 3.3.The routine NMODJPL calls the routine READ MODELEPH followed by a call to WRITELIST. The routine WRITELIST writes a file named ‘list.dat’. The next step is to call the routine FILLXMUE which returns a vector containing the gravitational constants i.e. GM of all the bodies in the ephemeris. The routine FILLSEMIFINAL is then called which initialises the common variables SEMIAXFIN and SEMIINDEX. The next step is a call to the routine ORDER which makes sure that the variable LIST is ordered. The routine CICOLI is eventually called which is responsible for initialisation of the values of ICO and LI. The routine SETSYSTEMPOSITIONS sets the values for the common variables PRIMARYINDEX,SECONDARYINDEX, and BARYINDEX. Afterwards the routine INTXMUENEM is called which is responsible for calculation of the values of common variables XMU and ENEM. SUBROUTINE PLAJPLNSAT(P1, P2, P3) 1. REAL*8 P1: Date in the equatorial J2000 reference frame for which the states are required. 2. INTEGER P2: IPVA which can take integer values from ‘1’ to ‘4’. If the value of IPVA is ‘1’ then the routine only returns positions of the bodies. A value of ‘2’ returns positions and velocities, ‘3’ returns positions, velocities, and accelerations, and ‘4’ returns positions, velocities, accelerations, and over-accelerations. 3. REAL*8 P3(12, IMAX) : Matrix to hold the output of the routine. This routine is responsible for returning states of bodies included in the model. The routine calls the routine SPKG which reads the SpiceLib and returns the vector with positions, velocities, accelerations, and overaccerlerations. The coordinates of barycentres are with respect to the solar system barycenter. The coordinates of planets and moons are with respect to the barycenter of the system. For example, the coordinates
Package Description 39 of Jupiter’s moon Europa will be given with respect to the Jupiter Barycenter. The routine then calls PVASIBC which returns the coordinates of all the bodies with respect to the IBC i.e. the centre of the coordinate system selected by the user. The transformations are carried using the formulae given in Section 1.3.2. So finally the output matrix is a matrix of size (12, IMAX), where IMAX is 53 (see Section 3.4.2). The 12 rows will hold state of the body. It will contain the requested values (according to IPVA) with respect to the user selected reference frame. The columns will be in the same order as that of the variable LIST. For example, a call to the routine will look as, CALL PLAJPLNSAT(1000.D0,4,PVAS) where, PVAS should be a 12 by 53 matrix to hold the output produced by the routine. SUBROUTINE SEARCHLIST(P1,P2) 1. INTEGER P1: The identifier of the body for which the index is needed. 2. INTEGER P2: Variable to store the output. The routine searches the common variable LIST and returns the index of the position of the requested body. The routine is useful as it saves time for the user because it prevents writing loops to search the list manually. Of course, it is necessary that the requested body must have been selected in the model. The importance of this routine can be seen from the following example. If the routine is called as, CALL SEARCHLIST(502,POS) then the routine will return the index of the Europa in the variable POS. If now for example we need the position of Europa then the position will be [PVAS(1,POS), PVAS(2, POS), PVAS(3,POS)]. SUBROUTINE RETURNSEMIMAJAXIS(P1,P2) 1. INTEGER P1: the identifier of the body for which the semi-major axis is needed. 2. REAL P2: Variable to receive the semi-major axis. The routine returns the semi-major axis of the requested body. The values of semi major axis have been taken from The Explanatory Supplement to the Astronomical Almanac (see [9]). The routine searches the common variable SEMIINDEX for the index of the body and uses this index to return the semi-major axis from the common variable SEMIAXFIN. The routine is called as, CALL RETURNSEMIMAJAXIS(301,SMA) In this example the routine will return the semi-major axis of the Moon in the variable SMA.
40 Development of Quasi-Periodic Semi-Analytical Models in the Solar System SUBROUTINE RETURNXMUEA(P1, P2) 1. INTEGER P1: The identifier of the body for which the value is needed. 2. REAL*8 P2: Variable to receive the output of the subroutine. The routine returns the value of GM of the requested body, where, Gis the Gravitational Constant and Mis the mass of the body. The values have been taken from The Explanatory Supplement to the Astronomical Almanac (see [9]). The routine searches the common variable SEMIINDEX for the index of the body and uses this index to return the value of GM from the common variable XMUE. The routine is called as, CALL RETURNXMUEA(301,XMUEM) In this example the routine will return the value of GM of the Moon in the variable XMUEM. 3.5.2 Coordinate Transformations These routines can be used for the transformation from one reference frame to the other. These are very important as many tests and computations depend on these routines. SUBROUTINE CALCPARAMRTBP(P1,P2) 1. REAL*8 P1: The time in equatorial J2000 reference frame 2. INTEGER P2: The value of IPVA. IPVA can take integer values from ‘1’ to ‘4’. For example, if during coordinate transformations only positions and velocities must be transformed then IPVA must be ‘2’. This internal routine calculates the parameters required for implementation of the coordinate transformations. It calculates the values of the common variables C1,C2,C3, C1P,C2P,C3P,C1PP,C2PP,C3PP,C1PPP,C2PPP,C3PPP,XT,XK,XKP,XKPP, and XKPPP. The call to this routine is, CALL CALCPARAMRTBP(1000.D0, 2) The routine uses formulae given in Section 1.3.1. SUBROUTINE TRANS(P1,P2,P3,P4,P5) 1. REAL*8 P1: The time in equatorial J2000 reference frame. 2. REAL*8 P2(12): Equatorial coordinates in form of a one dimensional array. 3. REAL*8 P3(12): Adimensional coordinates in form of a one dimensional array, 4. INTEGER P4: IPVA, takes values from ‘1’ to ‘4’.
Package Description 41 5. INTEGER P5: The request index and it can take two values: ‘1’ and ‘-1’. If the request index is ‘1’ then equatorial coordinates are transformed into adimensional ones. On the other hand, if it is ‘-1’ then adimensional coordinates are transformed to equatorial coordinates. This routine can be used to transform from equatorial coordinates to adimensional RTBP coordinates or vice-versa. The routine uses the formulae given in Section 1.3.1 for the conversion. For example, if we want to transform equatorial velocities into adimensional velocities on the day ‘1000’ then a typical call to this routine will be like, CALL TRANS(1000.D0,EQ,AD,2,1) In this example, EQ must be an array of length ‘6’ (3 for positions, 3 for velocities) and must contain the coordinates that need to be transformed. Since we need adimensional coordinates, in this case the AD must be an empty array of length ‘6’. SUBROUTINE TRANSIBC(P1,P2,P3,P4,P5,P6) 1. REAL*8 P1: The time in equatorial J2000 reference frame. 2. REAL*8 P2(12): The input containing points to be transformed (let’s call it Xold) 3. INTEGER P3: The identifier of the origin of the old reference frame with respect to which the coordinates Xold are specified. 4. REAL*8 P4(12): An empty one dimensional array vector to store the output of the routine (let’s call it Xnew) 5. INTEGER P5: The identifier of the body of the new origin of reference frame with respect to which the coordinates Xnew are specified 6. INTEGER P6: Value to specify what is transformed. If it is ‘1’ only positions are transformed, ‘2’ transforms positions and velocities, ‘3’ transforms positions, velocities, and accelerations, ‘4’ transforms positions, velocities, accelerations, and over-accelerations. This routine can be used to transform from equatorial coordinates with respect to one origin of reference frame to equatorial coordinates with respect to another origin of reference frame. It should be noted that the length of the arrays Xold and Xnew must be at least ‘3*IPVA’ to properly store the output of the routine. An example call to the function will look like, CALL TRANSIBC(1000.D0,XOLD,10,XNEW,599,3) In this example, the routine will transform positions, velocities, and accelerations (as IPVA is 3) stored in the variable XOLD from a reference frame centred in the Sun (with ID 10) to a new reference frame centred in Jupiter (with ID 599) and will store the output in the variable XNEW. Again, the length of XNEW and XOLD mus be at least 9 (3*IPVA). The routine uses the formulae from the Section 1.3.2.
42 Development of Quasi-Periodic Semi-Analytical Models in the Solar System SUBROUTINE CDJTA(P1,P2,P3,P4) 1. REAL*8 P1: The date in equatorial J2000 time. 2. REAL*8 P2: The adimensional time. 3. REAL*8 P3: Origin of the equatorial time frame. The origin of the equatorial time frame must be supplied always as ‘0.D0’. This option can allow user to use an equatorial reference frame with a different epoch than the date ‘0’. 4. INTEGER P4: The request index which takes two integer values: ‘1’ and ‘-1’. If the routine is called with the value ‘1’ then the equatorial time is transformed to adimensional time. The adimensional time is transformed to equatorial time if the request index is ‘-1’. This routine can be used to transform from equatorial time to adimensional time or vice-versa. An example call to the routine will look like, CALL CDJTA(1000.D0,TA,0.D0,1) This call will transform the equatorial date ‘1000’ to adimensional time and will store it in the variable TA. This routine uses concepts of transformation of time given in Section 1.3.1. 3.5.3 Vector Fields These routines implement vector fields and the variational equations and can be used by the user to perform integrations. SUBROUTINE VFSSB(P1,P2,P3,P4) 1. REAL*8 P1: The time in equatorial J2000 reference frame. 2. REAL*8 P2(48): The state where the vector field and variational equations must be calculated 3. INTEGER P3: Integer variable Nspecifying whether only the vector field is needed or the variational equations are needed as well. The variable Ncan have two values: ‘6’ means only the vector field are returned, ‘48’ means the vector field as well as the variational equations are computed and returned. 4. REAL*8 P3(48): Array to hold the output of the routine. This routine computes the vector field and the variational equations for a body in the solar system with respect to the solar system barycentre depending on the model specified by the user. The equations for the vector field are given in Equation (1.39) and the variational equations are given in Section 2.6.1. An example of a call to the routine looks like, CALL VFSSB(1000.D0, B, 48, F) Here, the routine will compute the value of the variational equations and the vector fields on the date ‘1000’ based on the positions supplied in array Band will return the output in the array F. It should be noted that the routine only works if the reference frame is centred in the solar-system barycenter.
Package Description 43 SUBROUNTINE VFIBC(P1,P3,P4,P5) 1. REAL*8 P1: The time in equatorial J2000 reference frame. 2. REAL*8 P2(48): The state where the vector field and variational equations must be calculated 3. INTEGER P3: Integer variable Nspecifying whether only the vector field is needed or the variational equations are needed as well. The variable Ncan have two values: ‘6’ means only the vector field are returned, ‘48’ means the vector field as well as the variational equations are computed and returned. 4. REAL*8 P3(48): Array to hold the output of the routine. This routine computes the vector field and the variational equations for a body in the solar system with respect to a body specified as the origin of the equatorial reference frame. The reference body must be stored in the common variable IBC. The equations for the vector field are given in Equation (1.45) and the variational equations are given in Section 2.6.2. The variable Ncan have two values: ‘6’ means only the vector field are returned, ‘48’ means the vector field as well as the variational equations are computed and returned. An example of a call to the routine looks like, CALL VFIBC(1000.D0, B, 48, F) Here , the routine will compute the value of the variational equations and the vector fields on the date ‘1000’ based on the positions supplied in array Band will return the output in the array F. It should be noted that the routine only works if the reference frame is centred in the some body other than the solar system barycenter i.e. IBC ,0. 3.5.4 Gravity Model and List Adaptation SUBROUTINE RETURNBODYSTATUS(P1,P2) 1. INTEGER P1: The identifier of the body 2. INTEGER P2: An empty variable to hold the output. The purpose of this routine is to return whether a particular body must be considered for perturbations or not. The routine reads the gravity model and returns an Integer value. A return of ‘1’ means that the body has to be considered and a return of value ‘0’ means that the body should not be considered. A sample call to the routine is, CALL RETURNBODYSTATUS(501,STAT) In this example, the routine is asked to return the status for IO. It will search the gravity list and if the value in the gravity list for Jupiter Barycenter is either ‘2’ or ‘3’ then the routine will return the variable STAT with a value of ‘1’ else with a value ‘0’.
50 Development of Quasi-Periodic Semi-Analytical Models in the Solar System Table 4.1 Results of Numerical Differentiation of PLAJPLNSAT: Relative Errors Body ∆t(Days) Velocities Accelerations Over -Accelerations Jupiter 1.15740741× 10−1 Mean of Components: 6.74474×10−6 Mean of Components: 8.48638 ×10−3 Mean of Components: 1.81640 ×10−2 Standard Deviation of Components: 2.30361 ×10−5 Standard Deviation of Components: 1.61496 ×10−2 Standard Deviation of Components: 0.14703 Io Velocities and Accelerations: 1.15740741× 10−8 Mean of Components: 8.15694×10−6 Mean of Components: 8.44216 ×10−6 Mean of Components: 9.48154 ×10−2 Over -Accelerations: 1.15740741× 10−1 Standard Deviation of Components: 9.49089 ×10−6 Standard Deviation of Components: 1.41249 ×10−2 Standard Deviation of Components: 0.45644 Mars Velocities and Accelerations: 6.09534×10−6 Mean of Components: 6.81394×10−6 Mean of Components: 3.50977 ×10−7 Mean of Components: 9.89109 ×10−3 Over -Accelerations: 1.15740741× 10−1 Standard Deviation of Components: 5.37963 ×10−6 Standard Deviation of Components: 6.63660 ×10−6 Standard Deviation of Components: 2.48941 ×10−2 4.2.2 TRANS The routine TRANS was tested to ensure that that the output of this routine is robust as this routine is used by a lot of other parts of the package. The steps to test were as follows: 1. Three different bodies were selected. The RTBP system was selected as Jupiter- Io system. The three bodies were Jupiter, Io, and Earth. 2. The equatorial coordinates (positions, velocities, and accelerations) of these bodies were stored. These were then transformed into RTBP coordinates. 3. The adimensional coordinates were then transformed back to equatorial and relative error was calculated. The result of the test are shown in Table 4.2. The code used is in the file ‘/main/examples /TEST-JPLTOADIM/main.f’.
Tests and Examples 51 Table 4.2 Relative Errors for TRANS: Date 1002.D0 Body Positions Velocities Accelerations x=0.00000 x=0.00000 x=1.22820×10−16 Jupiter y=0.00000 y=0.00000 y=−2.08547 × 10−16 z=0.00000 z=0.00000 z=1.18221×10−16 x=0.00000 x=0.00000 x=1.43098×10−16 IO y=0.00000 y=1.31404×10−15 y=2.43422×10−16 z=0.00000 z=4.91977×10−16 z=3.73110×10−16 x=5.99058×10−16 x=−2.83676 × 10−12 x=−3.70144 × 10−12 Earth y=−9.57779 × 10−15 y=−3.40266 × 10−13 y=−7.70256 × 10−10 z=−1.25438 × 10−14 z=−9.39320 × 10−14 z=−1.62670 × 10−9 4.2.3 TRANSIBC The idea of testing this routine is that a set of coordinates are transformed from one reference system to several others and finally they are transformed back to the initial reference frame. The reference systems used are shown in Figure 4.1. Figure 4.1 TRANSIBC Reference Frame Transformation The transformation was carried on the date ‘110’. The states of Venus with respect to the Solar System barycenter at this date were stored and transformed into the refer-
52 Development of Quasi-Periodic Semi-Analytical Models in the Solar System ence frames given in Figure 4.1. The results are shown in Table 4.3. The code used is in the file ‘/main/examples/TEST-TRANSIBC/main test.f ’. Table 4.3 Maximum Relative Errors for TRANSIBC Body Positions Velocities Accelerations Over- Accelera- -tions x=−2.08106 ×10−15 x=0.00000 x=−6.96743 ×10−16 x=−3.46464 ×10−13 Venus y=7.67402 × 10−14 y=0.00000 y=−3.58038 × 10−14 y=1.28933 × 10−14 z=7.58649 × 10−15 z=0.00000 z=9.10535 × 10−15 z=−1.47874 × 10−13 x=−2.31526 × 10−16 x=3.60894 × 10−16 x=−1.84372 × 10−16 x=−1.45090 × 10−16 Io y=−7.17070 × 10−16 y=0.00000 y=−1.40284 × 10−16 y=1.14290 × 10−16 z=−2.96177 × 10−16 z=0.00000 z=1.64900 × 10−16 z=0.00000 4.3 Integrations One of the primary applications of the package is to perform numerical integrations in the solar system. The integrations are performed using the following basic steps: 1. A set of coordinates are selected to be the initial point of the integrations. 2. The coordinates are passed to the routine RK78 which returns the subsequent guess. 3. This guess is iteratively fed to the routine RK78 till the integrations reach the pre-decided final time. 4.3.1 VFSSB This section shows the results of the tests of the routine VFSSB and displays results of integration with respect to the Solar System barycenter. The steps followed are as follows: 1. An initial set of coordinates are chosen for the initial date ‘0’. 2. The coordinates are transformed into equatorial coordinates if they are adimensional.
Tests and Examples 53 Table 4.4 Initial Coordinates in Adimensional Reference Frame x=−1.011267857487360811 y=0.00 z=9.069633331713512900 ×10−4 vx=0.00 vy=9.073734203283341515×10−3 vz=0.00 3. The coordinates are fed to the RK78 routine. 4. The output of the routine is obtained and stored. Output is also converted into adimensional coordinates to see the orbit in adimensional synodical reference frame. 5. The process is repeated till a prechosen final time. The tests were made for two different cases. The first test was done with a set of adimensional coordinates in Sun-Earth+Moon system shown in Table 4.4 as the initial coordinates. For this case the integrations were performed for 145.33 days (2.5 in adimensional time). The results are shown in Figure H.1 in equatorial coordinates and Figure H.2 in adimensional coordinates. The second test was in the Sun-Mars system. The coordinates of Phobos on date ‘0’ were used as the initial point. The integrations were performed for 1.09 days (0.01 in adimensional time) and the results are shown in Figure H.3 and in Figure H.4 in adimensional coordinates. The code used can be found in the file ‘/main/examples/TESTVFSSB/main vfssb.f’. 4.3.2 VFIBC The tests for the routine VFIBC follow steps that are exactly similar to those of VFSSB, the only difference being that the coordinates are now with respect to a frame of reference which has its origin in a body other than the solar system barycenter. Again, the tests were carried out for two cases. The coordinates used for testing were transformed into the relevant reference frame before integrations. The first test was done with a set of adimensional coordinates in Sun-Earth+Moon system shown in Table 4.4 with a reference frame centred in Uranus. The integrations were carried for 145.33 days. The results are shown in Figure H.5 in equatorial coordinates and in Figure H.6 in adimensional coordinates. The second case was again the coordinates of Phobos transformed into a reference frame centred in Europa. The integrations were carried on for 5.46 days (0.05 in adimensional time) and the results are shown in Figure H.7 in equatorial coordinates and
54 Development of Quasi-Periodic Semi-Analytical Models in the Solar System in Figure H.8 in adimensional coordinates. The code used can be found in the file ‘/main/examples/TEST-VFIBC/main vfibc.f’. 4.3.3 Comparison of VFSSB and VFIBC Table 4.5 Relative Errors between Outputs of VFSSB and VFIBC Centre of Reference Frame Relative Error Sun x=−7.23600 ×10−8 y=−2.89100 ×10−8 z=−3.34652 ×10−8 vx=4.8960 ×10−8 vy=−1.78691 ×10−7 vz=−1.83175 ×10−7 Venus x=3.96580 ×10−6 y=1.62244 ×10−6 z=1.92020 ×10−6 vx=−2.39401 ×10−6 vy=1.02495 ×10−5 vz=1.05517 ×10−5 Mars x=3.46641 ×10−7 y=1.42182 ×10−7 z=1.68214 ×10−7 vx=−1.89492 ×10−7 vy=9.53508 ×10−7 vz=9.85966 ×10−7 The aim of this test was to make sure that the integrations being performed in two different reference frames lead to the same result. The steps performed are as follows: 1. An initial point is taken with respect to the solar system barycenter 2. This point is transformed to a reference frame with respect to some other body in the solar system with the help of the routine TRANSIBC. 3. The integrations are then performed in both the reference frame till the same final time. 4. The final point of the second reference frame (the one centred in some body) is transformed back to the solar system barycentric reference frame.
Tests and Examples 55 5. Finally, the relative errors are computed. The test was performed for three different reference frames centred in Sun, Venus, and Jupiter. Integrations were performed for 145.33 days and the results are shown in Table 4.5. The initial set of coordinates were the same as given in Table 4.4. As can be seen from the results the relative errors are very small and thus it can be concluded that the routines agree with each other. The code used can be found in the file ‘/main/examples/TEST-INTIBC/main vfibc vfssb.f’. 4.4 Tests of Variational Equations The test of variational equations are based on the concept elaborated in Section 2.2. An initial set of coordinates are chosen as those shown in Table 4.4. Another set of coordinates which differ from the initial condition by a vector ∆is also chosen. The initial matrix Mis initialised as an identity matrix. Then the vector field is integrated for both the initial conditions till a pre-decided time. The final coordinates obtained after the integrations must satisfy the Equation (2.3). 4.4.1 VFSSB The tests were performed for two different initial conditions; one in the Sun-Earth+Moon system and one in Sun-Mars system. The perturbation (in equatorial coordinates) considered was given by the vector, ∆ = (−1×10−5,2×10−5,3×10−5,−4×10−5,5×10−5,−6×10−5)T(4.2) The results are shown in Table H.1. Integrations were performed for 143.33 days in the Sun-Earth+Moon system and for 2.18 days in Sun-Mars system. The code used can be found in the folder ‘/main/examples/TEST-VARIATIONAL/main variational.f’. 4.4.2 VFIBC The tests were performed for two different reference frames; one centred in the Mercury and one centred in Sun. Integrations were performed for 143.33 days in both the cases. The perturbation (in equatorial coordinates) considered was given by the vector, ∆ = (0.1×10−4,0.1×10−6,0.2×10−3,0.3×10−4,0.4×10−2,0.1×10−2)T(4.3) The results are shown in Table H.2. The code used can be found in the folder ‘/main/exa mples/TEST-VARIATIONALIBC/main variational.f’.
Applications 57 Chapter 5 APPLICATIONS 5.1 Coefficients of the Lagrangian Form One of the applications of the package is to compute the coefficients of the Lagrangian and Hamiltonian form of the restricted n-body problem in adimensional synodic reference frame and to implement the quasi periodic models of the solar system. What is important to note is that the coefficients derived in Sections 1.6, 1.7, and 1.8 are functions of time. This dependency on the time can be used to see their variation with time and these coefficients tend to be quasi periodic. Fourier Analysis of these coefficients was intended to be a part of this thesis but was later abandoned for fixing the package as some problems were encountered with the older version. Nevertheless, routines for computations of the coefficients were designed. These routines have been described in the next section. 5.2 Routines for Lagrangian and Hamiltonian Formulations This section lists the description of routines that can be used for computation of coefficients of Lagrangian, Hamiltonian, and the quasi periodic formulation of the restricted n-body problem in adimensional synodic reference frame. SUBROUTINE COEFFLAGRANGIAN(P1,P2) 1. REAL*8 P1: The time in equatorial J2000 reference frame 2. REAL*8 P2(15): An empty array of length ‘15’ (for 15 coefficients). This routine initialises the value of fifteen different coefficients required for the computation of the value of Lagrangian for restricted n-body problem in adimensional synodic reference frame. The routine uses the equations as specified in the Section 1.6. This routine uses the routine CALCPARAMRTBP to calculate various parameters required for the computation of the coefficients. The coefficients are returned in this array. A call to the routine looks like, CALL COEFFLAGRANGIAN(1000.D0, COEFFA) If, for example, we need the coefficient a5then we can access it at the array index ‘5’ i.e. at COEFFA(5). It is an internal routine and is used by a lot of other routines. SUBROUTINE LAGRANGIANRTBP(P1,P2,P3,P4) 1. REAL*8 P1: The time in equatorial J2000 reference frame
58 Development of Quasi-Periodic Semi-Analytical Models in the Solar System 2. REAL*8 P2(6): Input containing position and velocity (in adimensional coordinates) of the point where Lagrangian has to be computed 3. INTEGER P3: an unused integer input ‘N’ 4. REAL*8 P4: Empty variable to hold the value of the Lagrangian This routine computes the value of Lagrangian for restricted n-body problem in adimensional synodic reference frame. The routine uses the equations as specified in the Section 1.6. This routine calls the routine COEFFLAGRANGIAN to calculated various coefficients required for the computation of the coefficients. A call to the routine looks like, CALL LAGRANGIANRTBP(1000.D0, X, 0, LGN) In this example, the routine will return the value of the Lagrangian at the position and velocity mentioned in the array X. The output will be stored in the variable LGN. As the variable Nis unused we supplied a random value ‘0’ to it. The reason for having this unused variable is that this preserves the form similar to the routine VFSSB. SUBROUTINE COEFFHAMILTONIAN(P1,P2) 1. REAL*8 P1: The time in equatorial J2000 reference frame 2. REAL*8 P2(15): An empty array of length ‘15’(for 15 coefficients) to hold the output. This routine initialises the value of fifteen different coefficients required for the computation of the value of Hamiltonian for restricted n-body problem in adimensional synodic reference frame. The routine uses the equations as specified in the Section 1.7. This routine uses the routine COEFFLAGRANGIAN to calculate various Lagrangian coefficients required for the computation of the Hamiltonian coefficients. A call to the routine looks like, CALL COEFFHAMILTONIAN(1000.D0, COEFFB) If, for example, we need the coefficient b5then we can access it at the array index ‘5’ i.e. at COEFFB(5) SUBROUTINE HAMILTONIANRTBP(P1,P2,P3,P4) 1. REAL*8 P1: The time in equatorial J2000 reference frame 2. REAL*8 P2(6): A vector of length 6 containing position and momentum (in adimensional coordinates) of the point where Hamiltonian has to be computed, 3. INTEGER P3: An unused integer input N 4. REAL*8 P4: An empty REAL variable to hold the value of the Hamiltonian
Applications 59 This routine computes the value of Hamiltonian for restricted n-body problem in adimensional synodic reference frame. The routine uses the equations as specified in the Section 1.7. This routine calls the routine COEFFHAMILTONIAN to calculated various coefficients required for the computation of the Hamiltonian. A call to the routine looks like, CALL HAMILTONIANRTBP(1000.D0, X, 0, HMT) In this example, the routine will return the value of the Hamiltonian at the position and velocity mentioned in the array X. The output will be stored in the variable HMT. SUBROUTINE COEFFQUASI(P1,P2,P3) 1. REAL*8 P1: The time in equatorial J2000 reference frame 2. REAL*8 P2(13): An empty array of length ‘13’ (for 13 coefficients) to hold the output. 3. REAL*8 P3(13): An empty array of length ‘13’ (for 13 derivatives of the coefficients) This routine initialises the value of thirteen different coefficients required for the computation of the quasi periodic equations discussed in Section 1.8. This routine uses the routine COEFFLAGRANGIAN to calculate generate Lagrangian coefficients required for the computation of these quasi coefficients. A call to the routine looks like, CALL COEFFQUASI(T, COEFFC, COEFFCD) If, for example, we need the coefficient c5then we can access it at the array index ‘5’ i.e. at COEFFC(5). This routine is internal at this point but it might come in handy for the user if Fourier analysis is to be performed. SUBROUTINE CALCOMEGAQUASI(P1,P2,P3,P4) 1. REAL*8 P1: The time in equatorial J2000 reference frame 2. REAL*8 P2(6): Adimensional coordinates in form of a one dimensional array of length six (3 for position, 3 for velocity) 3. REAL*8 P3: Empty variable to receive the output of the function 4. INTEGER P4: An integer request variable This routine computes the value of Omega and other values as mentioned in the Section 1.8 and Annexure D. It is required by other routines and therefore is an internal routine. The output of the function depend on the request variable. The following table lists the request variable and the corresponding output. A call to the routine looks like, CALL CALCOMEGAQUASI(1000.D0, X, OMEGA, 13) In this example, the routine will return the value of the ∂2Ω ∂x∂zin the variable OMEGA calculated at the coordinates supplied in the at the position and velocity mentioned in the array X at an adimensional time 1000.
66 Development of Quasi-Periodic Semi-Analytical Models in the Solar System obtained using program designed as part of the work in Reference [13]. They were stored in a file and was used in inputs for routine DIBLIS to generate Lissajous orbits. 5.4.4 Halo Orbits The equations of motion specified in Equations (5.12), (5.13), and (5.14) can be rewritten as [13], ¨x−2 ˙y−(1 +2c2)x=X n≥2 cn+1(n+1) Tn(5.31) ¨y+2 ˙x+(c2−1) y=yX n≥2 cn+1Rn−1(5.32) ¨z+c2z=zX n≥2 cn+1Rn−1(5.33) where, Tn(x,y,z)=ρnPnx ρ(5.34) Rn−1(x,y,z)=1 y ∂Tn+1 ∂y(5.35) also, Rn−1(x,y,z)=1 1 ∂Tn+1 ∂z(5.36) ∂Tn+1 ∂z =(n+1) Tn(5.37) These equations have to be changed to express the equations of halo orbits. We add a term ∆zto the Equation (5.33), where, ∆ = ∞ X i,j=0 di j αiβj(5.38) The coefficient di j has to be computed numerically and iteratively. Thus, Equation (5.33) can be re-written as, ¨z+c2z=zX n≥2 cn+1Rn−1+ ∆ z(5.39) The term ∆zlets us force the out-of-plane frequency to be the same as the in-plane one (as it must be for a periodic orbit). But then to keep the equation in the initial form ∆ = 0is required, so, in fact, Equation (5.38) represents a constraint between the amplitudes αand β. The starting solution for the Lindstedt-Poincar´ e for the Halo orbit can be used as Equations (5.17), (5.18), and, ¨z+c2z=d00 z(5.40)
Applications 67 where, d00 =c2−ω2 0(5.41) The solution of the equations can be expressed as, x(t)=αcos (ω0t+φ)(5.42) y(t)=κ α cos(ω0t+phi)(5.43) z(t)=βcos (ω0t+φ)(5.44) The parameter κis the same as given by Equation (5.25), φis the phase, and ω0is given as, ω0=v t2−c2+q9c2 2−8c2 2(5.45) We look for the expansions of the form, x(t)=∞ X i,j=1 X |k|≤i+j x(i jk)cos (kθ)!αiβj(5.46) y(t)=∞ X i,j=1 X |k|≤i+j y(i jk)sin (kθ)!αiβj(5.47) z(t)=∞ X i,j=1 X |k|≤i+j z(i jk)cos (kθ)!αiβj(5.48) As with the case of Lissajous orbits, the Lindstedt-Poincar´ e methodology provides the computations of the coefficients xi jk,yi jk,zi jk,ωi j, and di j. These coefficients were again obtained using program designed as part of the work in Reference [13] and were stored in a file. This file was used as input for routine DIBHAL to generate Halo orbits. 5.4.5 Orbit Generators DIBHAL This routine that can be used to generate halo Orbit in Jupiter-Europa orbit around L2. It is located in the folder ‘/parallelshooting/orbit −generators/halo/’. The user can produce the sample orbit by first going to the directory and compiling the routine using the ‘./make.csh’ script and then executing the executable file produced. The output is written in a file named ‘rtbp-orbit.dat’ and is stored in the same directory. It is important to note that the orbit is in adimensional RTBP reference frame with respect to the solar system barycenter. The output of this routine can be copied to the folder ‘/parallelshooting/’ and can be
68 Development of Quasi-Periodic Semi-Analytical Models in the Solar System used as input to the routine CHANGECOORINDATES. DIBLIS The routine that can be used to generate Lissajous Orbit in Saturn-Titan System about L2. It is located in the folder ‘/parallelshooting/orbit −generators/liss/’. The user can produce the orbit by first entering this directory and compiling the routine using the ‘./make.csh’ script and then executing the executable file produced. The output is stored in a file named ‘rtbp-orbit.dat’ and is stored in the same directory. Again, it is important to note that the orbit is in adimensional RTBP reference frame with respect to the solar system barycenter. The output of this routine can be copied to the folder ‘/parallelshooting/’ and can be used as input to the routine CHANGECOORINDATES. 5.4.6 Parallel Shooting Routines The parallel shooting package has been provided with the program designed as a part of this thesis. The directory structure of the program has been shown in Figure 3.1. The directory ‘/parallelshooting/orbit−generators/’ contains code to generate two different orbits; one halo and one Lissajous. The root directory ‘/parallelshooting/’ contains important routines which have been described in the following subsections. TIRP and TIRP IBC This routine is the primary routine that can be used to perform parallel shooting and refinement of orbits. TIRP performs integrations with respect to the solar system barycenter whereas TIRP IBC performs integrations with respect to any body in the solar system. It requires the output file produced by the routine CHANGECOORDINATES as an input. The seed orbit can be in any type of coordinates such as the equatorial, adimensional, or the coordinates in Lagrangian reference system defined in Reference [13]. This routine will ask user for the input file and other parameters like the coordinate reference frame of the output and the time step in terms of days required for the integrations. The output is stored in the file name ‘/parallelshooting/dibx.dat’ in terms of seven columns: one column for time, six columns for the components of the positions (three positions and three velocities). It is important to note that if the user wants to perform parallel shooting using TIRP IBC then the file ‘/parallelshooting/tirp ibc.f’ must be edited to point to initialise the particular IBC value. Particularly, the user must look for line label 999 and change it. The line is a call to the routine NMODJPL. CHANGECOORDINATES This routine takes an input of a seed orbit in the RTBP adimensional reference frame and generates the input for the parallel shooting routine TIRP and TIRP IBC. The input file must have seven columns each containing the time, and six components of the state (three positions, three velocities) for the nodes of the seed orbit . The routine asks the user for the details of the input for example, the name of the file, the RTBP system that the coordinates are referred to and the origin of the original equatorial reference frame. It also provides an option to the user to transform the reference frame to equatorial reference frame or to change to a reference frame situated in some other
Applications 69 body in the solar system. After taking these inputs from the user it produces the output file named ‘./output change.dat’ which has to be used as an input to the routine TIRP or TIRP IBC depending on the reference frame. To use the routine the user must execute the script called ‘./make change.csh’ and this will generate an executable ‘./make-change.exe’. It is important to note that the standard length of the input file for this routine has been specified as ‘101’ in this routine. Thus, if the number of nodes for the input file is different from this, the user must open the file ‘./changecoordinates.f’ and change the value of the parameter FILELENGTH to the length of the input file. The user must then re-compile the routine.
70 Development of Quasi-Periodic Semi-Analytical Models in the Solar System 5.5 Parallel Shooting Examples Figure 5.2 Variation of Axis for Iterations of Parallel Shooting in Jupiter-Europa System (a) X axis (b) Y axis (c) Z axis 5.5.1 Halo Orbit in Jupiter Europa System about L2 The first example was using parallel shooting to refine a halo orbit around the L2 (Lagrangian) point in the Jupiter-Europa system. The calculations were performed with respect to the solar system barycenter in the restricted three body adimensional reference frame. Thus the routine TIRP was used for parallel shooting which in turn uses the routine VFSSB. The iterations of the parallel shooting is shown in Figure 5.4. Also, the variation of X, Y, and Z axis with adimensional time for different iterations is
Applications 71 shown in Figure 5.2. In both the figures the iterations are mostly overlapping. Figure 5.3 Variation of Axis for Iterations of Parallel Shooting in Saturn-Titan System (a) X axis (b) Y axis (c) Z axis 5.5.2 Lissajous Orbit in Saturn-Titan System about L2 The second example was using parallel shooting to refine a Lissajous orbit around the L2 (Lagrangian) point in the Saturn-Titan system. The calculations were performed with respect to a reference frame situated in Jupiter. Thus, the routine TIRP IBC was used for parallel shooting which in turn uses the routine VFIBC. Since we were working with adimensional coordinates, the use of a reference frame will not produce a difference in the output but since Jupiter is closer to the Saturn-Titan system, it can reduce the computations in terms of transformations of coordinates as VFIBC takes equatorial coordinates as an input. The iterations of the parallel shooting is shown in Figure 5.5. Also, the variation of X, Y, and Z axis with adimensional time for different iterations is shown in Figure 5.3. Again, in both the figures the iterations are mostly overlapping.
72 Development of Quasi-Periodic Semi-Analytical Models in the Solar System Figure 5.4 Successive Iterations of Parallel Shooting in Jupiter-Europa System (a) Initial Guess and First Iteration (b) Second Iteration (c) Third Iteration (d) Fourth Iteration
Applications 73 Figure 5.5 Successive Iterations of Parallel Shooting in Saturn-Titan System (a) First Iteration and Second Iteration (b) Third Iteration (c) Fourth Iteration
Conclusion 75 CONCLUSION 6.1 Present Work This chapter presents the principal achievements of this master’s thesis. During the thesis a stable package was developed which has the ability to: 1. read numerical ephemeris by accessing SpiceLib from JPL. 2. transform coordinates between equatorial to adimensional synodic system and between different equatorial reference frames in the solar system. 3. perform numerical integrations to obtain orbits in the solar system w.r.t. the solar system barycenter and any other inertial body centered frame. Also, it has ability to perform numerical integrations in the quasi-periodic semi-analytical RTBP like formulation of the restricted n-body problem. 4. return the values of State Transition Matrix using the variational equations. This can be used to observe the change in orbits due to perturbations in three domains: orbits w.r.t. solar system barycenter, w.r.t. any inertial body centered frame, and in the quasi-periodic formulation of the restricted n-body problem. 5. perform trajectory refinement of Halo and Lissajous orbits using parallel shooting. If the user can generate seed orbits for other sytems, then this program can perform parallel shooting in those domains as well. 6. compute the coefficients and values of the Lagranian and Hamiltonian formulation of restricted n-body problem 7. compute the coefficients of the quasi-periodic semi-analytical RTBP like formulation of the restricted n-body problem 6.2 Future Work Some of the steps that can be performed as future work following this thesis: 1. Fourier analysis of the coefficients of the the quasi-periodic semi-analytical RTBP like formulation of the restricted n-body problem and the Lagrangian and Hamiltonian formulations of the same problem can be performed. This can be used to generate numerous intermediate models between the analytical model and the simplified RTBP model. 2. Analytical values of the over-over and, if possible, over-over-over accelerations can be obtained. Currently, it is calculated numerically and this part can be improved by going into the numerical ephemeris and analytically obtaining the expressions.
82 Development of Quasi-Periodic Semi-Analytical Models in the Solar System To see the variation of the Lagrangian with time we differentiate Lwith time t, dL dt =X j ∂L ∂qj dqj dt +X j ∂L ∂˙qj d˙qj dt +∂L ∂t(A.22) This equation can be rearranged as, dL dt =d dtX j ∂L ∂˙qj ˙qj+∂L ∂t(A.23) Now, if we define Hamiltonian H as, H(q,˙q,t)=X j ˙qj ∂L ∂˙qj−L(A.24) Using the definition of generalised momentum from Equation (A.20) we can re-write the definition of Hamiltonian as, H(q,˙q,t)=X j ˙qjPj−L(A.25) Using the value of Equation (A.25) in Equation (A.23) we obtain, dH dt =−∂L ∂t(A.26) If the Lagrangian does not depend on time, then Hamiltonian is also conserved. A.5 Hamiltonian Equations The variation of Lagrangian along a path can be expressed as, dL =X j ∂L ∂qj dqj+X j ∂L ∂˙qj ˙qj+∂L ∂tdt =X j˙ Pjdqj+Pjd˙qj+∂L ∂tdt (A.27) Then the change in Hamiltonian can be expressed as, dH =X jPjd˙qj+˙qjdPj−dL =X j˙qjdPj+˙ Pjdqj−dL (A.28) Now the Hamiltonian Equation of Motion can be expressed as [11], ˙qj=∂H ∂Pj ,˙ PJ=−∂H ∂qj ,∂H ∂t =−∂L ∂t(A.29)
Variational Equations: N Body Problem 83 Appendix B VARIATIONAL EQUATIONS: N BODY PROBLEM The aim of this chapter is to formulate the various equations required by Section 2.6.1 for the variational equations. From equation (1.39) we know, ¨ ~ ri= n X j=1,j,i G mj~ ri j r3 i j where, ~ ri j =xi j ˆ i+yi j ˆ j+zi j ˆ k and, xi j =xj−xi(B.1) Thus, the three components of equation can be written as, (¨ ~ ri)x= n X j=1,j,i G mjxi j r3 i j (B.2) (¨ ~ ri)y= n X j=1,j,i G mjyi j r3 i j (B.3) (¨ ~ ri)z= n X j=1,j,i G mjzi j r3 i j (B.4) Differentiating (B.2) with respect to xi,yi, and ziwe obtain , ∂(¨ ~ ri)x ∂xi = n X j=1,j,i G mj"3x2 i j r5 i j −1 r3 i j#(B.5) ∂(¨ ~ ri)x ∂yi = n X j=1,j,i 3G mjxi j yi j r5 i j (B.6) ∂(¨ ~ ri)x ∂zi = n X j=1,j,i 3G mjxi j zi j r5 i j (B.7) Differentiating (B.3) with respect to xi,yi, and ziwe obtain, ∂(¨ ~ ri)y ∂xi =∂(¨ ~ ri)x ∂yi (B.8) ∂(¨ ~ ri)y ∂yi = n X j=1,j,i G mj"3y2 i j r5 i j −1 r3 i j#(B.9)
84 Development of Quasi-Periodic Semi-Analytical Models in the Solar System ∂(¨ ~ ri)y ∂zi = n X j=1,j,i 3G mjyi j zi j r5 i j (B.10) Differentiating (B.4) with respect to xi,yi, and ziwe get, ∂(¨ ~ ri)z ∂xi =∂(¨ ~ ri)x ∂zi (B.11) ∂(¨ ~ ri)z ∂yi =∂(¨ ~ ri)y ∂zi (B.12) ∂(¨ ~ ri)z ∂zi = n X j=1,j,i G mj"3z2 i j r5 i j −1 r3 i j#(B.13) Differentiating (B.2) with respect to twe get, ∂(¨ ~ ri)x ∂t = n X j=1,j,i G mj"˙xj r3 i j −3xi j (xi j ˙xj+yi j ˙yj+zi j ˙zj) r5 i j #(B.14) Differentiating (B.3) with respect to twe get, ∂(¨ ~ ri)y ∂t = n X j=1,j,i G mj"˙yj r3 i j −3yi j (xi j ˙xj+yi j ˙yj+zi j ˙zj) r5 i j #(B.15) Differentiating (B.4) with respect to twe get, ∂(¨ ~ ri)y ∂t = n X j=1,j,i G mj"˙zj r3 i j −3zi j (xi j ˙xj+yi j ˙yj+zi j ˙zj) r5 i j #(B.16) Further calculation of the variational matrix can be seen in Section 2.6.1. B.1 Variational Equations The variational equations are given as, d dt X7 X8 X9 X10 X11 X12 = X10 X11 X12 ∂(¨ ~ ri)x ∂xi X7+∂(¨ ~ ri)x ∂yi X8+∂(¨ ~ ri)x ∂zi X9 ∂(¨ ~ ri)y ∂xi X7+∂(¨ ~ ri)y ∂yi X8+∂(¨ ~ ri)y ∂zi X9 ∂(¨ ~ ri)z ∂xi X7+∂(¨ ~ ri)z ∂yi X8+∂(¨ ~ ri)z ∂zi X9s + 0 0 0 Vt (B.17)
Variational Equations: N Body Problem 85 where, Vt= ∂(¨ ~ ri)x ∂t ∂(¨ ~ ri)y ∂t ∂(¨ ~ ri)z ∂t (B.18) and, ˙ X13 ˙ X19 ··· ˙ X43 ˙ X14 ˙ X20 ··· ˙ X44 . . .. . .. . .. . . ˙ X18 ˙ X24 ··· ˙ X48 = X16 X22 ··· X46 X17 X23 ··· X47 X18 X24 ··· X48 f1f4··· f16 f2f5··· f17 f3f6··· f18 (B.19) where, f1=∂(¨ ~ ri)x ∂xi X13 +∂(¨ ~ ri)x ∂yi X14 +∂(¨ ~ ri)x ∂zi X15 (B.20) f2=∂(¨ ~ ri)y ∂xi X13 +∂(¨ ~ ri)y ∂yi X14 +∂(¨ ~ ri)y ∂zi X15 (B.21) f3=∂(¨ ~ ri)z ∂xi X13 +∂(¨ ~ ri)z ∂yi X14 +∂(¨ ~ ri)z ∂zi X15 (B.22) f4=∂(¨ ~ ri)x ∂xi X19 +∂(¨ ~ ri)x ∂yi X20 +∂(¨ ~ ri)x ∂zi X21 (B.23) f5=∂(¨ ~ ri)y ∂xi X19 +∂(¨ ~ ri)y ∂yi X20 +∂(¨ ~ ri)y ∂zi X21 (B.24) f6=∂(¨ ~ ri)z ∂xi X19 +∂(¨ ~ ri)z ∂yi X20 +∂(¨ ~ ri)z ∂zi X21 (B.25) f7=∂(¨ ~ ri)x ∂xi X25 +∂(¨ ~ ri)x ∂yi X26 +∂(¨ ~ ri)x ∂zi X27 (B.26) f8=∂(¨ ~ ri)y ∂xi X25 +∂(¨ ~ ri)y ∂yi X26 +∂(¨ ~ ri)y ∂zi X27 (B.27) f9=∂(¨ ~ ri)z ∂xi X25 +∂(¨ ~ ri)z ∂yi X26 +∂(¨ ~ ri)z ∂zi X27 (B.28) f10 =∂(¨ ~ ri)x ∂xi X31 +∂(¨ ~ ri)x ∂yi X32 +∂(¨ ~ ri)x ∂zi X33 (B.29) f11 =∂(¨ ~ ri)y ∂xi X31 +∂(¨ ~ ri)y ∂yi X32 +∂(¨ ~ ri)y ∂zi X33 (B.30) f12 =∂(¨ ~ ri)z ∂xi X31 +∂(¨ ~ ri)z ∂yi X32 +∂(¨ ~ ri)z ∂zi X33 (B.31) f13 =∂(¨ ~ ri)x ∂xi X37 +∂(¨ ~ ri)x ∂yi X38 +∂(¨ ~ ri)x ∂zi X39 (B.32)
86 Development of Quasi-Periodic Semi-Analytical Models in the Solar System f14 =∂(¨ ~ ri)y ∂xi X37 +∂(¨ ~ ri)y ∂yi X38 +∂(¨ ~ ri)y ∂zi X39 (B.33) f15 =∂(¨ ~ ri)z ∂xi X37 +∂(¨ ~ ri)z ∂yi X38 +∂(¨ ~ ri)z ∂zi X39(B.34) f16 =∂(¨ ~ ri)x ∂xi X43 +∂(¨ ~ ri)x ∂yi X44 +∂(¨ ~ ri)x ∂zi X45 (B.35) f17 =∂(¨ ~ ri)y ∂xi X43 +∂(¨ ~ ri)y ∂yi X44 +∂(¨ ~ ri)y ∂zi X45 (B.36) f18 =∂(¨ ~ ri)z ∂xi X43 +∂(¨ ~ ri)z ∂yi X44 +∂(¨ ~ ri)z ∂zi X45 (B.37)
Variational Equations: N-Body w.r.t. a Body in Solar System 87 Appendix C VARIATIONAL EQUATIONS: N-BODY W.R.T. A BODY IN SOLAR SYSTEM C.1 Introduction The aim of this chapter is to formulate the various equations required by Section 2.6.2 for the variational equations. From equation (1.45) we know, ¨ ~ ri=−G mj~ ri r3 i + n X k=1,k,i,j G mj"~ rik r3 ik −~ rk r3 k# Here, ~ ri,~ rik,~ rkare vectors and can be expressed as, ~ ri=xi ˆ i+yi ˆ j+zi ˆ k(C.1) ~ rik =xik ˆ i+yik ˆ j+zik ˆ k(C.2) ~ rk=xk ˆ i+yk ˆ j+zk ˆ k(C.3) where, xik =xk−xi(C.4) yik =yk−yi(C.5) zik =zk−zi(C.6) Thus the three components of equation can be written as, (¨ ~ ri)x=−G mj~ xi r3 i + n X k=1,k,i,j G mj"~ xik r3 ik −~ xk r3 k#(C.7) (¨ ~ ri)y=−G mj~ yi r3 i + n X k=1,k,i,j G mj"~ yik r3 ik −~ yk r3 k#(C.8) (¨ ~ ri)z=−G mj~ zi r3 i + n X k=1,k,i,j G mj"~ zik r3 ik −~ zk r3 k#(C.9) Differentiating equation (C.7) with respect to xi,yi, and ziwe obtain, ∂(¨ ~ ri)x ∂xi =−G mj"1 r3 i−3x2 i r5 i#+ n X k=1,k,i,j G mj"3x2 ik r5 ik −1 r3 ik #(C.10) ∂(¨ ~ ri)x ∂yi =G mj"1 r3 i−3xiyi r5 i#+ n X k=1,k,i,j G mj"3xik yik r5 ik #(C.11)
88 Development of Quasi-Periodic Semi-Analytical Models in the Solar System ∂(¨ ~ ri)x ∂zi =G mj"1 r3 i−3xizi r5 i#+ n X k=1,k,i,j G mj"3xik zik r5 ik #(C.12) Differentiating equation (C.8) with respect to xi,yi, and ziwe obtain, ∂(¨ ~ ri)y ∂xi =∂(¨ ~ ri)x ∂yi (C.13) ∂(¨ ~ ri)y ∂yi =−G mj"1 r3 i−3y2 i r5 i#+ n X k=1,k,i,j G mj"3y2 ik r5 ik −1 r3 ik #(C.14) ∂(¨ ~ ri)y ∂zi =G mj"1 r3 i−3yizi r5 i#+ n X k=1,k,i,j G mj"3yik zik r5 ik #(C.15) Differentiating equation (C.9) with respect to xi,yi, and ziwe obtain, ∂(¨ ~ ri)z ∂xi =∂(¨ ~ ri)x ∂zi (C.16) ∂(¨ ~ ri)z ∂yi =∂(¨ ~ ri)y ∂zi (C.17) ∂(¨ ~ ri)z ∂zi =−G mj"1 r3 i−3z2 i r5 i#+ n X k=1,k,i,j G mj"3z2 ik r5 ik −1 r3 ik #(C.18) Differentiating equation (C.7) with respect to twe obtain, ∂(¨ ~ ri)x ∂t = n X k=1,k,i,j 3G mj"−xik (xik ˙xk+yik ˙yk+zik ˙zk) r5 ik +xk(xk˙xk+yk˙yk+zk˙zk) r5 k# (C.19) Differentiating equation (C.8) with respect to twe obtain, ∂(¨ ~ ri)y ∂t = n X k=1,k,i,j 3G mj"−yik (xik ˙xk+yik ˙yk+zik ˙zk) r5 ik +yk(xk˙xk+yk˙yk+zk˙zk) r5 k# (C.20)
Variational Equations: N-Body w.r.t. a Body in Solar System 89 Differentiating equation (C.9) with respect to twe obtain, ∂(¨ ~ ri)z ∂t = n X k=1,k,i,j 3G mj"−zik (xik ˙xk+yik ˙yk+zik ˙zk) r5 ik +zk(xk˙xk+yk˙yk+zk˙zk) r5 k# (C.21) The variational matrix has been explained in Section 2.6.2. The variational equations are exactly similar to those in Section B.1.
Variational Equations: Quasi Periodic Formulation of N-Body Problem 91 Appendix D VARIATIONAL EQUATIONS: QUASI PERIODIC FORMULATION OF N-BODY PROBLEM This chapter formulates the Variational equations for Quasi-Periodic formulation of the restricted n-body problem. From Equations (1.141) to (1.143) we have, ¨ ~ rx=c1+c4˙x+c5˙y+c7x+c8y+c9z+c13 ∂Ω ∂x(D.1) ¨ ~ ry=c2−c5˙x+c4˙y+c8x+c10y+c11z+c12 ∂Ω ∂y(D.2) ¨ ~ rz=c3−c6˙y+c4˙z+c9x−c11y+c12z+c13 ∂Ω ∂z(D.3) Differentiating Equation (D.1) with respect to x,y,z,˙x,˙y, and ˙zwe obtain, ∂¨ ~ rx ∂x =c7+c13Ωxx (D.4) ∂¨ ~ rx ∂y =c8+c13Ωxy (D.5) ∂¨ ~ rx ∂z =c9+c13Ωxz (D.6) ∂¨ ~ rx ∂˙x =c4(D.7) ∂¨ ~ rx ∂˙y =c5(D.8) ∂¨ ~ rx ∂˙z =0(D.9) Furthermore, differentiating Equation (D.2) with respect to x,y,z,˙x,˙y, and ˙zwe obtain, ∂¨ ~ ry ∂x =−c8+c13Ωyx (D.10) ∂¨ ~ ry ∂y =c10 +c13Ωyy (D.11) ∂¨ ~ ry ∂z =c11 +c13Ωyz (D.12) ∂¨ ~ ry ∂˙x =−c5(D.13)
98 Development of Quasi-Periodic Semi-Analytical Models in the Solar System f13 =∂¨ ~ rx ∂xX37 +∂¨ ~ rx ∂yX38 +∂¨ ~ rx ∂zX39 +∂¨ ~ rx ∂˙xX40 +∂¨ ~ rx ∂˙yX41 +∂¨ ~ rx ∂˙zX42 (D.68) f14 =∂¨ ~ ry ∂xX37 +∂¨ ~ ry ∂yX38 +∂¨ ~ ry ∂zX39 +∂¨ ~ ry ∂˙xX40 +∂¨ ~ ry ∂˙yX41 +∂¨ ~ ry ∂˙zX42 (D.69) f15 =∂¨ ~ rz ∂xX37 +∂¨ ~ rz ∂yX38 +∂¨ ~ rz ∂zX39 +∂¨ ~ rz ∂˙xX40 +∂¨ ~ rz ∂˙yX41 +∂¨ ~ rz ∂˙zX42 (D.70) f16 =∂¨ ~ rx ∂xX43 +∂¨ ~ rx ∂yX44 +∂¨ ~ rx ∂zX45 +∂¨ ~ rx ∂˙xX46 +∂¨ ~ rx ∂˙yX47 +∂¨ ~ rx ∂˙zX48 (D.71) f17 =∂¨ ~ ry ∂xX43 +∂¨ ~ ry ∂yX44 +∂¨ ~ ry ∂zX45 +∂¨ ~ ry ∂˙xX46 +∂¨ ~ ry ∂˙yX47 +∂¨ ~ ry ∂˙zX48 (D.72) f18 =∂¨ ~ rz ∂xX43 +∂¨ ~ rz ∂yX44 +∂¨ ~ rz ∂zX45 +∂¨ ~ rz ∂˙xX46 +∂¨ ~ rz ∂˙yX47 +∂¨ ~ rz ∂˙zX48 (D.73)
Third Derivative of Matrix C 99 Appendix E THIRD DERIVATIVE OF MATRIX C The aim of this chapter is to present the values of the third derivative of the matrix C from Equation (1.10) with respect to time. The matrix C”’ will be given by, C000 =C000 1C000 2C000 3(E.1) Here, C000 1can be obtained by differentiating Equation (1.33) with respect to t. It can be expressed as, C000 1=k0~ R2100 −~ R21000 k k2+2 k2k00 ~ R210+k2k0~ R2100 −2k k02~ R210 k4! +~ R210 k00 k−2k02 k|| ~ R21||2 2!+~ R21 k000 k2−k00 (4 k0+3) k3−6k02 k4!(E.2) C000 3can be obtained by differentiating Equation (1.34) with respect to time. It can be expressed as, C000 3=~ ef0−2 ( C0 3.C00 3)+C3.~ eF0+C0 3.~ eFC3+C0 3.C0 3+C3.~ eFC3(E.3) where, ~ eFis given by Equation (1.36). Also, ~ eF0can be obtained by Equation (1.36) with respect to time as, e0 F=1 || ~ R21 ×~ R210||2"~ R210×~ R21000 +~ R210×~ R21000 +~ R21 ×~ R210000 −2R0 L(C1×C00 1)+(~ R210×~ R2100 +~ R21 ×~ R21000)RL# −1 || ~ R21 ×~ R210||2"C3.(~ R21 ×~ R2100)~ R210×~ R2100 +~ R21 ×~ R21000 −2RL(~ R21 ×~ R2100)# (E.4) In this equation, RLis given by, RL=C3.(~ R21 ×~ R2100) || ~ R21 ×~ R210||2 (E.5)
100 Development of Quasi-Periodic Semi-Analytical Models in the Solar System Differentiating this equation with respect to time we can get R0 Las, R0 L=1 || ~ R21 ×~ R210||2"C3.(~ R210×~ R2100 +~ R21 ×~ R21000) +C0 3.(~ R21 ×~ R2100)#−R2 L (E.6) In these equations k000 can be obtained by differentiating Equation (1.37) with respect to time as, k000 =3 ( ~ R2100 .~ R210−k0k00)+~ R21 .~ R21000 k(E.7) C000 2can be obtained by differentiating Equation (1.35) with respect to time as, C000 2=C000 3×C1+C3×C000 1+3 (C00 3×C0 1+C0 3×C00 1)(E.8)
MODELEPH.DAT FILE 101 Appendix F MODELEPH.DAT FILE ’../../ephemerides/’ 1 1 DE406s 0 !Mercury barycenter DE406s 2 1 DE406s 3 !Venus barycenter 3 1 DE406s 2 !Earth barycenter !Take the Earth respect SSB 4 1 DE406s 0 !Mars barycenter 5 1 DE406s 1 !Jupiter barycenter 6 1 DE406s 0 !Saturn barycenter 7 1 DE406s 0 !Uranus barycenter 8 1 DE406s 0 !Neptune barycenter 9 1 DE406s 0 !Pluto barycenter 301 1 DE406s !Moon 10 1 DE406s !Sun 199 1 DE406s !Mercury 299 1 DE406s !Venus 399 1 DE406s !Earth 499 0 DE406s !Mars 401 0 MAR085 !Phobos MAR085 402 0 MAR085 !Deimos 499 1 MAR085 !Mars 501 1 JUP230L !Io JUP230L 502 1 JUP230L !Europa 503 0 JUP230L !Ganymede 504 0 JUP230L !Callisto 505 0 JUP230L !Amalthea 514 0 JUP230L !Thebe 599 1 JUP230L !Jupiter 601 0 SAT317 !Mimas SAT317 602 0 SAT317 !Enceladus 603 0 SAT317 !Tethys 604 0 SAT317 !Dione 605 0 SAT317 !Rhea 606 1 SAT317 !Titan 607 0 SAT317 !Hyperion 608 0 SAT317 !Iapetus 609 0 SAT317 !Phoebe 612 0 SAT317 !Helene 613 0 SAT317 !Telesto 614 0 SAT317 !Calypso 632 0 SAT317 !Methon 699 1 SAT317 !Saturn 701 0 URA083 !Ariel URA083
102 Development of Quasi-Periodic Semi-Analytical Models in the Solar System 702 0 URA083 !Umbriel 703 0 URA083 !Titania 704 0 URA083 !Oberon 705 0 URA083 !Miranda 799 1 URA083 !Uranus 801 0 NEP081 !Triton NEP081 802 0 NEP081 !Nereid 808 0 NEP081 !Proteus 899 1 NEP081 !Neptune 901 0 PLU017XL !Charon PLU017XL 902 0 PLU017XL !Nix 903 0 PLU017XL !Hydra 999 1 PLU017XL !Pluto
Bodies in JPL Ephemeris DE406 103 Appendix G BODIES IN JPL EPHEMERIS DE406 This chapter lists the bodies in the JPL Ephemeris that will be used in this thesis. G.1 Sun Table G.1 Bodies in Sun Body Identifier Sun 10 Solar System Barycenter 0 G.2 The Mercurian System Table G.2 Bodies in Mercurian System Body Identifier Mercury Barycenter 1 Mercury 199 G.3 The Venusian System Table G.3 Bodies in Venusian System Body Identifier Venus Barycenter 2 Venus 299
104 Development of Quasi-Periodic Semi-Analytical Models in the Solar System G.4 The Geo System Table G.4 Bodies in Geo System Body Identifier Earth Barycenter 3 Moon 301 Earth 399 G.5 The Martian System Table G.5 Bodies in Martian System Body Identifier Mars Barycenter 4 Phobos 401 Deimos 402 Mars 499 G.6 The Jovian System Table G.6 Bodies in Jovian System Body Identifier Jupiter Barycenter 5 Io 501 Europa 502 Ganymede 503 Callisto 504 Amalthea 505 Thebe 514 Jupiter 599
Bodies in JPL Ephemeris DE406 105 G.7 The Saturnian System Table G.7 Bodies in Saturnian System Body Identifier Saturn Barycenter 6 Mimas 601 Enceladus 602 Tethys 603 Dione 604 Rhea 605 Titan 606 Hyperion 607 Iapetus 608 Phoebe 609 Helene 612 Telesto 613 Calypso 614 Methon 632 Saturn 699 G.8 The Uranian System Table G.8 Bodies in Uranian System Body Identifier Uranus Barycenter 7 Ariel 701 Umbriel 702 Titania 703 Oberon 704 Miranda 705 Uranus 799
106 Development of Quasi-Periodic Semi-Analytical Models in the Solar System G.9 The Neptunian System Table G.9 Bodies in Neptunian System Body Identifier Neptune Barycenter 8 Triton 801 Nereid 802 Proteus 808 Neptune 899 G.10 The Plutonian System Table G.10 Bodies in Plutonian System Body Identifier Pluto Barycenter 9 Charon 901 Nix 902 Hydra 903 Pluto 999
Test Results 107 Appendix H TEST RESULTS This chapter presents the results of integrations and variational equations using the VFSSB and VFIBC performed in Chapter 4. H.1 Integrations H.1.1 VFSSB Figure H.1 VFSSB: Integrations in Equatorial Coordinates
114 Development of Quasi-Periodic Semi-Analytical Models in the Solar System Figure H.8 VFIBC: Integrations Adimensional in Coordinates for Phobos w.r.t. Europa
Test Results 115 H.1.3 QUASIHAMILTONIAN Figure H.9 QUASIHAMILTONIAN: Integrations in Equatorial Coordinates
116 Development of Quasi-Periodic Semi-Analytical Models in the Solar System Figure H.10 QUASIHAMILTONIAN: Integrations in Adimensional Coordinates
Test Results 117 H.2 Variational Equations H.2.1 VFSSB Table H.1 Maximum Relative Errors for Variational Equations from VFSSB Initial Coordinates Relative Error x=−1.011267857487360811 x=1.55150 ×10−5 y=0.00 y=1.501290 ×10−8 z=9.069633331713512900 ×10−4z=1.73978 ×10−5 vx=0.00 vx=1.37097 ×10−5 vy=9.073734203283341515 ×10−3vy=1.55510 ×10−5 vz=0.00 vz=1.45060 ×10−5 x=−1.0000239850977075 x=5.74752 ×10−3 y=−3.56254192881511132 ×10−5y=4.74914 ×10−3 z=−1.05387537084099030 ×10−5z=4.72434 ×10−3 vx=7.16956403485289884 ×10−2vx=4.96172 ×10−3 vy=−5.84134237141129761 ×10−2vy=6.06356 ×10−3 vz=3.36939478883674440 ×10−2vz=5.81464 ×10−3 H.2.2 VFIBC Table H.2 Maximum Relative Errors for Variational Equations from VFIBC Center of Reference System Relative Error x=4.31015 ×10−4 y=1.27932 ×10−3 z=2.69458 ×10−3 Venus vx=2.29737 ×10−4 vy=1.77070 ×10−3 vz=2.35438 ×10−3 x=1.43245 ×10−3 y=1.19734 ×10−3 Mercury z=4.15500 ×10−3 vx=1.57015 ×10−4 vy=7.59932 ×10−4 vz=9.30478 ×10−4