Economics of the explotation of the resources in celestial bodies
Full text
Titulació: Màster Universitari en Enginyeria Aeronàutica Alumne (nom i cognoms): Joan Coronado Escudero Enunciat TFG / TFM: Economics of the exploitation of the resources in celestial bodies Director/a del TFG / TFM: Stéphanie Lizy-Destrez Codirector/a del TFG / TFM: José de Sousa Convocatòria de lliurament del TFG / TFM: 2n Quadrimestre curs 2018-2019
PROJET DE FIN D’ETUDES Joan CORONADO ESCUDERO 2018 - 2019 Economics of the exploitation of the resources in celestial bodies Internship tutor José DE SOUSA Internship and University manager Stéphanie LIZY-DESTREZ Internship duration April - October 2019 Name and address of the organisation RITM Faculté Jean Monnet 54, Boulevard Desgranges 92330 SCEAUX
Table of contents 1 Introduction................................... 1 2 The economic value of asteroids . . . . . . . . . . . . . . . . . . . . . . . . 2 2.1 Asteroid composition . . . . . . . . . . . . . . . . . . . . . . . . . . 2 2.2 Asteroid mass estimation . . . . . . . . . . . . . . . . . . . . . . . . 7 2.3 Marketprice............................... 7 3 The economic distance of asteroids . . . . . . . . . . . . . . . . . . . . . . 8 3.1 Tsiolkovsky’s rocket equation . . . . . . . . . . . . . . . . . . . . . 8 3.2 The Earth-Moon Circular Restricted Three Body Problem . . . . . 9 3.3 ∆v optimisation algorithm . . . . . . . . . . . . . . . . . . . . . . . 17 4 Thegravitytrademodel ............................ 33 5 Conclusions ................................... 34 Appendices 42 A Economicvalue ................................. 42 A.1 Meteorite elemental mass fractions . . . . . . . . . . . . . . . . . . 42 A.2 Elemental market price . . . . . . . . . . . . . . . . . . . . . . . . . 43 A.3 Asteroid total economic sizes . . . . . . . . . . . . . . . . . . . . . . 45 B Economicdistance ............................... 46 B.1 Optimal total ∆vvalues ........................ 46 B.2 Most optimal trajectories . . . . . . . . . . . . . . . . . . . . . . . . 67 C Gravitymodel.................................. 87 C.1 Favourability factor values . . . . . . . . . . . . . . . . . . . . . . . 87 D Matlabcode................................... 88 D.1 Asteroid_deltav_calculator . . . . . . . . . . . . . . . . . . . . . . 88 D.2 Lagrange_solver_adim . . . . . . . . . . . . . . . . . . . . . . . . . 94 D.3 preliminary_solver . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 D.4 odezero_EARTHSOI.......................... 96 D.5 syn2scECLIPJ2000........................... 97 D.6 load_kernels .............................. 99
D.7 load_kernels_alt ............................ 99 D.8 unload_kernels_alt........................... 99 2
1 Introduction In recent years, interest in the resources that can be found on the Earth’s neighbouring celestial bodies has been slowly but steadily rising. This situation can be attributed to a series of factors: On the one hand, the realisation that humanity’s access to certain materials might be compromised in the future as reserves in our planet’s crust are depleted, causing increases in price as extraction moves to less favourable sources [38]. This problem is compounded by the rapid industrialisation of the developing world, which further strains the mining industry’s capacity and accelerates the transition towards lower-grade, more energy-intensive ores. And on the other hand, advances in the fields of rocketry and planetary science are the causes, respectively, of a reduction in the cost of launching equipment to space [25] and of an increased understanding of the nature of celestial objects, the pillars of a future space-based economy where resources extracted from these bodies are competitive enough with those from Earth to, at first, replace them in the construction of orbital equipment and structures and, perhaps, remove the need for mining our planet altogether. The objective of this project is to predict the volume of the trade flow between the Earth’s orbit and the asteroids in the inner Solar System; both the ones in the main asteroid belt located between Mars and Jupiter and those whose orbits bring them closer to our planet, known as Near-Earth asteroids. To do that, a gravity model will be applied between all the analysed Earth-asteroid pairs. This empirical economics model describes the trade flow between two units (countries, cities...) as a function of their economic size and their bilateral distance: Tij =GMα iMβ j Dζ ij ηij (1) Where G,α,βand ζare empirical parameters that depend on the pair of economic units that are being studied, Miand Mjare their economic sizes, Dij is their distance, and ηij is an error parameter. For most country pairs, α,β,ζ,η≈1 [10]. Part of the work in this project is, then, to find a way to extrapolate these variables to the context of interplanetary space. For the economic size of the asteroids, this is accomplished in section 2. As for the economic distance, the magnitude that most closely represents the energetic consumption of a spacecraft’s engine has been identified, by going directly to the fundamental physics of rockets. This is discussed in subsection 3.1. An additional goal of this project is to study the Moon’s influence in the orbital mechanics involved in a spacecraft’s trajectory between the Earth and the target asteroids, with the aim to help reduce the cost of launching a mining expedition. The details of these effects will be expanded on in subsection 3.2. And finally subsection 3.3 implements an algorithm that studies the value of the magnitude associated with cost for each of the targeted asteroids over a period of three decades, so this analysis can be applicable for years after the completion of the study. 1
2 The economic value of asteroids As it has been explained on section 1, the trade flow between two economic units is proportional to their economic size. In the case of asteroids, since the only economic activity that would be carried out on them is mining, this magnitude can be defined as the market value of the materials that can be harvested from them. Therefore, to accurately assess it both their composition and their total mass has to be known. This section documents how the procedure to do that was developed. 2.1 Asteroid composition Unlike with the geology of Earth’s different regions, asteroids cannot be directly prospected to evaluate their suitability as mineral sources. The only asteroid sample material that has been directly studied is that of (25143) Itokawa, which was visited by Japan’s Hayabusa space probe in November 2005. What scientists on Earth have access to, however, is the countless meteorites that have been falling on our planet for billions of years. A great deal of the theoretical information on the characteristics of meteorites and asteroids contained in this section has been extracted from [35]. 2.1.1 The study and classification of meteorites Most of the meteorites found on Earth are of a type called chondrites, named after the silicate bubbles, or chondrules, that are found in great abundance in their structure. Their origin can be traced back to the accretion of the protoplanetary disc, which is why their bulk chemical composition resembles so much that of the totality of the Solar System. Due to many different phenomena (collisions, etc.) the temperature of chondritic asteroids can rise to a point where some of their components melt while others remain solid. This can cause a segregation of these materials into different areas of the asteroid, or even a full separation into different bodies that will now have radically different chemical composition, a process known as differentiation. The melted components (or melts) can then recrystallise at different rates in what is known as fractional recrystallisation. The result of these processes is the diversity of types of asteroid and therefore of meteorites: from those who have lost their chondritic structure in the melting process (achondrites) to asteroids that are almost purely metallic (irons) or contain differentiated metal and silicate regions (stony irons). Going back to chondrites, their physical make-up consists of a number of structures: •Chondrules: They have already been mentioned. Their abundance in chondrites ranges from 70% of their composition to almost none. •Refractory inclusions: They consist of minerals rich in refractory chemical elements, whose melting point is very high, while at the same time being depleted of volatile (low melting point) elements. They are the most ancient components of chondrites. •Metals and sulfides: Pure metals can be found as nuggets of highly refractory elements inside the refractory inclusions, and as grains of iron-nickel-cobalt inside and 2
at the edges of chondrules. Finally, there are also grains of iron sulfide close to the former metallic grains. •Matrix: Formed by a variety of minerals with very small grains, it fills the gaps between the other components. Figure 1: A piece of the Allende meteorite, a carbonaceous chondrite. Source: [57] Since chondrites are formed by the accretion of different components at different points of the Solar System’s timeline and which therefore could be found in different physical and chemical states themselves, they can be organised in different categories depending on their primary classification: by their bulk chemical composition and the proportions of the different previously mentioned structures; and their secondary classification: by the metamorphic processes that have changed them since their accretion. Primary classification of chondrites •Ordinary chondrites are the most common type of meteorite. They are further divided by their concentration of iron and other metals into the H (high), L (low) and LL (very low) groups. •Enstatite chondrites are notable because of their highly-reduced chemical state, with most of their iron in metallic form and small sulphide concentrations. They are also divided by their metallic concentration into the EH (high) and EL (low) groups. •Carbonaceous chondrites are further subdivided into many groups with little in common with each other regarding either their chemical or physical composition, from those that do not form chondrules (CI), to those with a moderate number of chondrules and a high one of refractory elements (CV and CO). •Rumaruti (R) chondrites are highly oxidised and are about 50% composed of matrix. •Kalangari (K) chondrites are similar to carbonaceous chondrites. •Certain meteorites are isolates and form their own groups. 3
Secondary classification of chondrites Chondrites are classified into seven groups depending on the metamorphic processes that they have experienced: •Types 2 to 1 represent an increasing amount of water-caused metamorphoses. •Types 3 to 6 do the same for thermal metamorphoses, with 3 being the closest to an unaltered chondrite. •Type 7 indicates an extreme amount of shock and thermal metamorphism, to the point that the chondrites’ components become undifferentiated. By combining the two classifications, one obtains the Van Schmus chondrite classification system. Figure 2: Chart of the Van Schmus chondrite classification system. Source: [35] As for the non-chondritic meteorites, they can also be classified into their own families: •Achondrites were chondrites that experienced a complete melting, losing all their internal structure and becoming undifferentiated. They are in turn classified into primitive achondrites, which occupy an intermediate stage between the two groups since they are formed after a partial melt; and magmatic achondrites, which are formed from complete melts, sometimes as a cumulate of different chondrite types, whose resulting composition is different from their parents’. •Stony irons are formed by roughly equal amounts of metal and silicates, forming clearly separate aggregates. They are subdivided by the type of silicate that forms the rocky phase. 4
•Irons are majorly made of metal, most likely from the melting and complete differentiation of chondrites. With all meteorites classified into their respective categories, their chemical composition can be defined. Annex A.1 contains table 2, sourced from [35], which displays the mass fractions of most naturally-occurring chemical elements for the different chondrite groups. In the future, to further develop the model, it would be interesting to find the elemental mass fractions for irons and stony irons which, while being much rarer, hold much more economic interest: They are much richer in valuable metals that, in theory, should also be easier to extract than the mixture of components found in chondrites. Speaking of relative economic interest, the tabulated elemental mass fractions can be compared with those of the Earth’s crust to study a meteorite group’s enrichment of certain elements compared to our planet’s. Figures 3 and 4 show that L chondrites were enriched with regards to Earth for metals like Fe, Ni, Cr, Co, Cu and Au; but were much poorer in rare earths. Figure 3: Enrichment/depletion of L chondrites in selected metals in comparison with CI chondrites and the Earth’s crust. Source: [28] Figure 4: Enrichment/depletion of L chondrites in rare earth elements in comparison with CI chondrites and the Earth’s crust. Source: [28] 2.1.2 Identifying asteroids with meteorite types Like it was explained on the beginning of this section, asteroids cannot be directly surveyed nowadays, but they can be compared with the data that can be collected from 5
Rearranging and developing the previous terms, the particle’s equations of movement in the rotational frame of reference can then be described as [62]: ¨x ¨y ¨z = n2x+ 2n˙y−Gm1 r13(x+x1) + m2 r23(x−x2) n2y−2n˙x−Gm1 r13y+m2 r23y −Gm1 r13z+m2 r23z , with r1=q(x+x1)2+y2+z2and r2=q(x−x2)2+y2+z2 (14) These are the equations that the algorithm integrates to calculate the spacecraft’s trajectory in the Earth-Moon system. 3.2.2 The integral of motion and Jacobi’s constant The expression for the components of the acceleration in the rotating system, equation 14, can be generalised as the sum of the gradient of a "pseudo-potential" and a velocity term: d2~r dt2rot =−~ ∇U−2~n ×d~r dt rot , with U =−Gm1 r1 +m2 r2−1 2n2(x2+y2)(15) U is called a pseudo-potential because it combines the gravitational potential with a centrifugal term, so P’s motion cannot be purely defined by an exchange between kinetic and potential energy. However, U still is a good measure of the system’s total energy: Projecting each of the acceleration terms on the non-inertial velocity and adding them [36] results in the expression: ˙x¨x+ ˙y¨y+ ˙z¨z=−Ux˙x−Uy˙y−Uz˙z=−dU dt (16) Where the subscript indicates each derivative of the pseudo-potential. Finally, this expression can be integrated into: ˙x2+ ˙y2+ ˙z2=V2=−2U−CJ→CJ=n2(x2+y2)+2Gm1 r1 +m2 r2−( ˙x2+ ˙y2+ ˙z2)(17) 12
CJis conserved along the particle’s motion in the system and is called Jacobi’s constant. As such, it is a function of the particle’s initial conditions of position and velocity. This has important consequences for its possible trajectories: Due to the energy exchange between the kinetic and pseudo-potential terms, P’s velocity will be zero at all points that fulfil the condition: 2U+CJ= 0 (18) The ensemble of all those points is called a Hill surface or null-velocity surface and it limits the areas of the three-body system that are reachable by the particle depending on its initial energy level. Figure 9: Trajectory of a particle in the Earth-Moon system’s x-y plane. Its Hill surfaces are shown in red, and the Lagrange points are also highlighted. Distances in multiples of the Earth-Moon semi-major axis. Source: [37] 3.2.3 Lagrange points In every CR3BP there are 5 points, known as its Lagrange points, in which the gravitational and the centrifugal forces are balanced against each other, which results in a null gradient of the pseudo-potential. ~ ∇U= 0 (19) Their positions are as follows: 13
•L1and L2are located on the axis of the primaries, close to P2: The first one on the side between P1and P2, and the second one on the opposite side of P2. •L3is also located on the same axis, but behind P1, and at the same distance as P2. •L4and L5form an equilateral triangle with the primaries, each one located on one side of the axis of the primaries, symmetrically to each other. In theory, a particle at rest (in the rotating frame of reference) at any of these points would experience no net forces and as such should stay motionless in its vicinity. This is not true, however, due to the nature of this equilibrium: L1,L2and L3are located on the non-inertial x-axis in which, while the forces are in equilibrium, the forces in the y axis are just null. This causes that, if Pmoves even slightly from the point, it will start experiencing this perpendicular component, destabilising it and causing it to fall out of orbit over time. L4and L5, on the other hand, are geometrically stabilised by the equilibrium between the centrifugal and gravitational forces in all directions: The Coriolis force will keep Paround these points after a perturbation. All five points represent a flattening of the pseudo-potential field, however the unstable ones are located at the top of a slope whereas the stable ones are at the bottom of a well. Perturbations in the unstable equilibrium points take a long time to propagate, however, and spacecraft can remain in orbit around them with just some periodic station keeping. These orbits can be grouped into a series of families [21] [36]: •Lyapunov orbits lie in a plane between the two primaries. As such, they are classified in two families: planar and vertical, depending on whether they are contained in the same orbital plane as the primaries or perpendicularly to it. •Lissajous orbits are quasi-periodic orbits that are not contained in a plane of the primaries, instead forming 2-D Lissajous curved shapes. They connect the Lyapunov orbits of the same energy level. •Transit orbits go directly through the Lagrange points to either the interior or the exterior of the system. In their trajectory, they have to cross a Lyapunov orbit. All of these orbits are grouped in stable and unstable tube-shaped manifolds: The former remain in orbit around the libration points while the latter end up leaving their orbit. In fact, it would be more precise to call the L1-L3points meta-stable. Station keeping ensures that spacecraft orbiting them remain in their stable manifolds against the effect of perturbations, which if nothing is done to counteract them can cause a switch to an unstable manifold that would cause the spacecraft to escape from the point. However, these unstable manifolds can also be useful: Since they connect the Lagrange points between each other, and link to other zones in the Earth-Moon system or beyond, by taking them the spacecraft can travel to these areas at a very low energy cost. A large part of semat’s code, whose purpose is explained in 3.3.1, is dedicated to calculating these orbits’ dynamics. 14
Figure 10: Different types of orbits about the L2Lagrange point: planar Lyapunov (blue), vertical Lyapunov (black), Lissajous (green), transit (red). Source: [36] 3.2.4 Gravity assists In a CR3BP, the definition of Jacobi’s constant can be written in the adimensionalised inertial system as: ˙x2+ ˙y2+ ˙z2−2(x˙y−˙xy) = 2 µ1 r1 +µ2 r2−CJ(20) Where the position parameters have been divided by the distance between the primaries and the velocities, by the latter’s product with their mean angular velocity. Now, considering a body that follows a keplerian orbit inside the system, close to P1(so r1≃rand 1 r2≃0). It will have to follow these criteria: •Conservation of energy: v2= ˙x2+ ˙y2+ ˙z2=2 r−1 a(21) •Projection of the angular momentum: ˙xy −x˙y=pa(1 −e2)cos i (22) By combining the three previous formulas and adding the criteria of proximity to P1, the definition of Tisserand’s constant is obtained: 15
1 a+ 2pa(1 −e2)cos i =constant (23) This constant suggests that a celestial body that flies by another much more massive one will have its orbital parameters modified. It is the cornerstone of the concept of gravity assists. In these manoeuvres, a spacecraft enters a planet’s sphere of influence in a hyperbolic trajectory with an initial velocity ~ v− ∞, the result of subtracting its velocity with regards to the sun to that of the planet’s: ~ v− ∞=~vsc/sun −~vplanet/sun (24) A planet’s sphere of influence (SOI) is the volume around which it acts as the main gravitational attractor. To put it another way, when a third body enters it, its orbit goes from being defined by a keplerian two-body problem around the Sun to a three-body problem that fulfils the conditions for the application of Tisserand’s constant. The algorithm uses the following definition for its radius: rSOI =am M2/5 (25) Where ais the semi-major axis of the planet’s orbit around the Sun, mis its mass and Mis the Sun’s. After the spacecraft performs its hyperbole around the planet, it will leave its SOI with a planetocentric velocity ~ v+ ∞, with the same module as when it entered but different direction due to the planet’s deflection. When added to the planet’s heliocentric velocity, results in a different spacecraft heliocentric velocity than the one before the approach. Gravity assists reduce the necessary ∆v for interplanetary missions and allow for faster travel between celestial bodies. Their efficiency will depend on the planet’s mass, the radius of the fly-by hyperbole’s periapsis and the angle with which the spacecraft intercepts it. Flying behind the planet increases the spacecraft’s heliocentric velocity, while flying in front of the planet reduces it. This subsection has described the gravity assist procedure in terms of orbits around the Sun, but the Earth-Moon system can also be used to carry out this manoeuvre. If a spacecraft flies close enough to the Moon, the conditions for the application of Tisserand’s constant are fulfilled and the satellite deflects its velocity from the geocentric frame of reference. This effect is used in the algorithm to increase its escape velocity and orient 16
Figure 11: Diagram of a planetary fly-by and its associated velocity change. Source: [36] it in a more favourable direction for the interception of the target asteroids, reducing the mission’s total ∆v and therefore decreasing the economic distance between them and the Earth-Moon system. 3.3 ∆v optimisation algorithm In this subsection, a step by step commentary of the ∆v optimiser for trajectories between the Earth-Moon system and the targeted asteroids is provided, detailing its objectives, its structure and the decision process that led to its current design, including flaws in previous approaches and issues that are still open to improvement. At its most general level, the algorithm aims to find the most favourable conditions under which resource mining expeditions to the different target asteroids would be launched during the next 30 years. For each day between 1st January 2020 and 1st January 2050, the algorithm finds the most optimal combination of conditions to minimise the total ∆v of an expedition launched that day. The results will show both the most favourable launch windows for each asteroid, and they will provide a means to compare their reachability in order to find the most favourable targets. The algorithm was developed in the MATLAB programming environment, with the aid of the SEMAT toolkit. This library has been developed by Supaero for use in orbital calculations, primarily in the Earth-Moon system. In order to run some of its routines, it also uses kernels from NASA’s SPICE toolkit. Their design and functionalities will now be explained: 3.3.1 The SEMAT toolkit In the computer’s hard drive the library’s functions’ files are organised in a series of folders, depending on their general purpose. These are: •C: Contains the files of a number of functions that have been coded in the C programming language, as well as those of their headers. 17
•coc: Contains the functions that transform a spacecraft’s state vector from its original frame of reference to another, from generic changes to those of specific frames: The Earth-Moon synodic frame, The Earth-Moon barycentric Inertial frame (BCI), the Earth-centric inertial frame (ECI)... To perform these tasks it also contains functions that calculate both bodies’ position and velocity at certain instants. •computation: Includes different kinds of functions necessary for orbital analysis: from more changes of frame of reference, to Hohmnann transfer calculations, obtaining an orbit’s elements from its state space and vice versa... As well as more general tools for matric and vectorial calculus. •data: Contains a series of .mat repositories that can be read by MATLAB, with data related to a number of orbits around the Earth-Moon Lagrange points (see 3.2.3). •diffcorr: Includes various differential corrections for the different types of orbits mentioned before. •init: Starts the semat toolbox in MATLAB, loading its folders and running a series of processes that are described in more detail later. •inpolyhedron: An external function that tests if a point is in a 3D triangular surface. •lib: Includes a series of external libraries that are necessary to run semat. •mex: Contains the MATLAB-compatible files written in C, also known as MEX files, of a Runge-Kutta 7/8 integrator of the spacecraft’s state vector using the Earth-Moon 3-body problem movement equations, which were explained in 3.2.1. •mice_kernels: Includes SPICE’s data files, known as kernels. •nro_script_sara: Contains the scripts that simulate a Near-Rectilinear Orbit (NRO) around the Moon. •ode: Contains the files for another two integrators of the Earth-Moon 3-body problem vector field: One with just the first-order derivatives and another one that adds a state transition matrix with an additional 36 terms for a higher integration precision. •plot: Includes a series of functions with plots that are of interest in the study of orbits in the Earth-Moon system, like trajectories over the two bodies, orbital manifolds, etc. •pyTest: Solves the position of the L1,L2and L3Lagrange points via polynomial equations. •rdv: Contains functions that change the frame of reference to a Lunar-centric one and integrate the 3 body problem in it. •Relative Dynamics EB: Includes functions that study the relative motion of two bodies orbiting in the Earth-Moon system, called the chaser and the target. •richardson: Contains the functions that calculate a third-order approximation of the state vector of the initial conditions for different types of orbits. 18
•scripts: Includes different scripts that test the rest of the toolkit’s functions. •scripts EB: Similar to the previous folder. •Third Party: Contains more third party modules that add further capabilities to the toolbox. The new external functions used by the algorithm have been added here. semat was provided by the university tutor, including a flowchart that details the work of the toolkit’s main functions. After becoming familiar with how it works, the algortihm’s modules that were already written were integrated as much as possible with it. Sometimes this integration is not as efficient as possible and in other cases the existing functions were preferred over semat’s even when the latter offered more precise results, something that should be changed later in the project. This will be further discussed in 3.3.4. 3.3.2 The SPICE toolkit SPICE is a toolkit developed by NASA’s Navigation and Ancillary Information Facility (NAIF) for use by the space scientific community in the modelling and planning of missions, including the agency’s own. Its main component are a series of data files called kernels that contain the following information, compiled from the most reliable sources available: •Spacecraft, planet, satellite and asteroid ephemerides. •Physical, dynamical and cartographic properties of these bodies. •Specifications of scientific instruments and spacecraft structures. •Space event information. •Frames of reference used in space missions, including for positioning instruments. •Time transformations between different measurement systems. The kernels are regularly updated, and users can create their own and release them for use by the rest of the community. The second piece of the toolkit are the functions that access the kernels. These can be added to the user’s programmes, and for increased flexibility the entire toolbox is available in a variety of programming environments and languages. This algorithm uses mice, SPICE’s MATLAB implementation. A detailed explanation of the routines it runs and the tasks they carry out in the programme is provided in the next sections. SPICE is available for free on its official webpage [41], which also features extensive documentation and a considerable amount of tutorials for all aspects of the toolkit, usually in sections especially dedicated to each of its different language implementations. Programming examples are also provided with the code. 19
3.3.3 Referenced algorithms The algorithm’s operation is based on those proposed in [4] and [23]. Both are feasibility studies on the exploration of Near-Earth Asteroids in both unmanned and man-rated missions: Their objective was finding which of these asteroids had the most favourable ∆v. To do that, they iterated over different values of a spacecraft launch’s initial conditions until finding the one that yielded the lowest ∆v at each possible launch date. The studied initial parameters were: •Launch dates: Both the total studied time-span and the time step between each one. •Flight time: Both the mission’s minimum and maximum possible flight times and the studied time step, for the departure and return trips. •Stay time at the asteroid: Same considerations as the previous variable. •Total mission time: Limited to an amount considered acceptable for manned interplanetary missions. •Hyperbolic excess velocity: The minimum and maximum v∞that the launch vehicle is able to provide, as defined by the parameter C3=v∞ 2. •Maximum reentry velocity: Limited due to structural considerations of the vehicle. The approach taken by the algorithm in [4] to calculate the mission’s ∆v is as follows: First, for each launch date and flight time, it calculates their ephemerides at the start and end of the departing trip and solves its corresponding Lambert’s problem. Its solution are the velocities that the spacecraft should have at the start of the trip, when it leaves the planet’s position, and at the end when it intercepts the target asteroid, in order to describe an heliocentric elliptical orbit that connects these two points in the desired flight time. Since the celestial bodies’ velocities are also known, the necessary departure and arrival ∆v values can be easily obtained: ∆vDEP =v∞=||~v1−~vEART H,DEP || (26) ∆vARR =||~vAST,ARR −~v2|| (27) Where ~v1and ~v2are the solutions to Lambert’s problem, ~vEART H,DEP is Earth’s velocity at departure and ~vAST,ARR is the asteroid’s at arrival. From there, the algorithm would calculate if the calculated v∞was within the acceptable bounds. If so, it would then calculate the return trip’s ∆v for all possible combinations of stay time at the asteroid and return flight time. The restrictions at these stage are whether the sum of both flight times and the stay time exceeds the maximum possible mission time, and whether after returning to the Earth’s SOI on a hyperbolic Earth-centric orbit its velocity at the perigee exceeds the maximum reentry velocity. Finally, if the mission is 20
viable, the algorithm adds all the impulses to calculate the mission’s total ∆v, iterating over all possible parameters for each launch date until finding the combination that yields the minimum one. The algorithm shown in [23] is an attempt to improve the previous one by introducing the effects of a Lunar fly-by in the spacecraft’s initial trajectory, as seen in 3.2.4. In this case, the C3parameter is not provided as a function of the launch vehicle’s capabilities, instead v∞is defined by the initial conditions: The spacecraft starts in a circular LEO orbit with an altitude of 185 km. At launch, its engines send it on a Lunar fly-by trajectory via a Hohmann transfer, with an initial ∆v: ∆vLEO =s2Gme2 rLEO −1 aM−rGme rLEO = 3.1352 km/s (28) Where meis the Earth’s mass, rLEO is the initial orbital radius and aMis the Earth-Moon semi-major axis of the Hohmann transfer. With the appropriate angle between the spacecraft and the Moon, that the authors quantify at between 110°and 125°, the spacecraft gets close enough to the Moon for it to perform a gravity assist, which launches it in a hyperbolic geocentric trajectory outside of the planet’s SOI, whose radius it reaches with aC3parameter of: C3= 2E=−Gme aM =−2.3090 km2/s2(29) Using the Earth’s ephemerides, the spacecraft’s position and velocity are then transformed to a heliocentric frame of reference, and act as the initial state of the departure Lambert problem. The rest of the process is carried out as in [4] from that point forward. The differences between the approach taken by those algorithms and the one created for this project are the following: •The cited papers analysed the feasibility of reaching the NEAs that they studied using a defined spacecraft, whose performance capabilities (engine specific impulse, dry mass...) were based on those known at the time of their writing for the Orion Multi-Purpose Crewed Vehicle. There are no feasibility considerations in terms of maximum possible ∆v or flight time for this algorithm. This is due to the fact that the values used in those papers were too limiting, since they had to consider the restrictions involving manned missions, while this is not the aim of this project. •The cited papers calculated the total ∆v for a return trip mission to the studied NEAs, whereas this algorithm only considers the departure trip. Even though that might seem limiting, the reasons are due to the differences in mission purposes that have been previously described. Those papers expected a relatively short stay on 21
Finally, these parameters are sent into the integration function. Initially, it was a custom one written fpr the project; however the new version of the algorithm uses semat’s cr3bp_derivatives_42 function. cr3bp_derivatives_42 is a variable order Adams- Bashforth-Moulton ode113 integrator that contains the formulas of the state vector magnitudes’ derivatives: for the positions, these are the velocities, and for the velocities, they are the accelerations in the synodic frame of reference, whose formulas can be found in equation 14. To increase precision, to the 6 first-order derivatives it adds a 36-term state transition matrix (STM) calculated with the second-order derivatives, that allows for an extra order of precision when modelling the system’s behaviour. The integrator concludes by returning to the main function the adimensional time value and the state vector at the instant where the spacecraft reaches the limit of the Earth’s SOI. Figure 15: Trajectory in the synodic frame of reference for ∆v0= 2.5 km/s and α0= 30º. The Earth and the Moon are shown as blue and magenta dots, respectively. Axes not to scale The time value and state vector at SOI then go to the next level of the optimisation. The iterative variable this time is the mission’s start date. At first, this step was executed in a regular for loop like the others, but since the aim of the optimiser is to find the least ∆v-intensive combination of parameters for each start date, it was set up as a parfor loop instead: Since the results for each launch date are independent from each other, the analysis for each start date can be run in parallel without interfering with one another. That way, each of the computer’s processor cores is running its own separate iteration of the loop, a significant increase of processing capacity from that of standard Matlab scripts, which only make use of one core save for in the case of some functions that come pre-programmed with parallel computing capabilities. The first consideration was to put this loop in first place, but that way all permutations of the CR3BP trajectory integration had to be iterated for each launch date, which is extremely wasteful for two reasons: •The integration is a relatively time-intensive process, so repeating it should be avoided as much as possible. •The integration results in the synodic frame are the same for all launch dates, making obtaining them separately for each one pointless. 28
Running a parfor loop comes with its own set of requirements, however: •Matlab’s Parallel Computing Toolbox has to be installed in the computer that is running the algorithm. •Certain variables do not transfer well from the general workspace to the parfor loop’s as it will be explained next. This is the case for the mice kernels that had been loaded at the start of the algorithm. The cause for that might be that parfor does not recognise them since technically they are not part of either semat or the regular Matlab environment. At any rate, that initial load_kernels function has to still be called to modify the default struct, but now a new version has to also be run at the start of each parfor iteration that loads the kernels without affecting the struct. This modified function is called load_kernels_alt, and unlike the original one it does not require any input variables. Before ending the parfor loop, the kernels that were loaded at its start are cleared out using the new unload_kernels_alt function. This is caused by the fact that despite having to start them manually at the beginning of each parfor loop, they are not stopped at its end, so with each iteration SPICE’s memory buffer gets added new data until it overflows. With the SPICE kernels activated, the time and state vector at SOI are sent, with the parfor loop’s start date, the cr3bp struct and the Earth-Moon system’s characteristic time, into the syn2scECLIPJ2000 change of frame of reference function. Like its name says, it changes the state vector’s position and velocity from the Earth-Moon synodic one to the J2000 inertial heliocentric ecliptic one, while dimensionalising them. This function is a modification of the default semat syn2J2000 change of reference, which transforms the state vector to the inertial geocentric equatorial J2000 frame. To do so, it obtains the ephemerides of the Sun, the Earth and the Moon at the time of escaping the Earth’s SOI from the chosen launch date using SPICE’s spkezr function, and then uses these to perform the necessary translations and rotations. Once it is finished, it sends the values back to the main function. The result is that the time and state vector at SOI are transformed into the number of seconds between it and J2000 TDB, and into the same frame of reference as the asteroid ephemerides, respectively. When both frames of reference are inertial, to go from a geocentric to an heliocentric one only requires adding a simple Earth/Sun position and velocity translation. Changing from the equatorial to the ecliptic reference plane is just a matter of modifying a variable in the spkezr calls. However, it is an important factor that was not found out about until late in development, when a 23.4ºinclination discrepancy was noticed, and it was realised that the planetary and asteroid ephemerides had been using different reference planes. Another matter that should be taken into account is that this transformation applies the Earth and Moon’s true positions and velocities at the corresponding instant instead of the idealised ones used in the CR3BP, so the spacecraft’s position and velocity components differ noticeably in value due to using the syn2J2000 function instead of syn2eci, when in theory they are performing the same change of reference frame. This is also an argument in favour of also using SPICE kernels to obtain the target asteroids’ ephemerides, as it 29
Figure 16: Inclination differences between equatorial and ecliptical inertial frames. Source: [42] has finally been done. The variable in the final for loop is the flight time. For each one of its possible values, it finds the target’s ephemerides at the corresponding rendezvous date and then solves the ensuing Lambert problem. With the resulting spacecraft velocities at SOI and target rendezvous, it calculates the norms of the departure and arrival ∆vs, and after adding them to the initial ∆v norm of the first level of the iteration, it obtains the total mission ∆v for that combination of values of the parametric variables. It then compares its value to the minimum one for that start date. If it is smaller, it becomes the new minimum value, and the corresponding parameters are also overwritten. At the end of all iterations, the result are 5 vectors of optimised variables for each start date: the three parameters, the total mission ∆v and the ∆v at departure from SOI. This last one serves as a measure for the effectiveness of the Lunar gravity assist: The lower its value, the more it is capable of deflecting the spacecraft’s velocity in the right direction and the less it has to be corrected towards the target at SOI, which should in principle contribute to a reduction in the total ∆v. Lastly, in order to provide a visual representation of the optimised results, the programme takes the vector of optimised total mission ∆v over all the possible launch dates and picks the mission with the lowest one of them all. From there, it takes its parameters and it computes the whole mission from launch to rendezvous, calculating the state spaces of the spacecraft, the target asteroid, the Earth and Mars over time, and finally plotting their trajectories. 3.3.5 Discussion of the results The implementation of the first estimation has corrected many of the previously mentioned issues with the algorithm: Its total run-time has been massively decreased to an estimated average of between 30 minutes and 3 hours, depending on the target; a significant improvement to previous versions that lasted more than a day. However, a large part 30
of the reduction has been achieved by enlarging the start date and flight time step sizes from 1 to 6 days, abandoning improvements in that area with regards to the referenced algorithms. Still, the optimisation parameters are much better fit to each target than before, and the optimised results can be validated. To check their consistency, the trajectory towards NEA 2003 LN6 was calculated. This asteroid was used as the example in [23], so numerical results can be compared between them. Since that algorithm takes into account the return trip to Earth, the total ∆v cannot be used for this purpose; however, there is a metric that is available in both cases: The Earth SOI departure ∆v that sets the spacecraft in its trajectory towards the target asteroid, which is obtained by solving the Lambert problem. Its value for the minimum total ∆v case is shown for the most optimal case in the reference and the two most optimal ones for this one: 2003 LN6 optimal ∆vSOI km/s Reference: Most optimal case 0.1122 New algorithm: Most optimal case 0.0750 New algorithm: 2nd most optimal case 0.1426 Table 1: Comparison of ∆v at SOI values between the referenced and developed algorithms The results are coherent with those in [23], while at the same time showing an improvement for the most optimal case, as it was the objective for this project. In general, when compared with the performance of the referenced algorithms, especially that of [23], this one shows significant improvements: It successfully implements the Moon’s true ephemerides instead of using a simplified model that assumes it is located in the ecliptic plane. Using the gravity assist to aid in the spacecraft’s change of plane is also a consideration that had been made in that study but not implemented. For that matter, the initial ∆v there had a fixed value, with most of the change in trajectory provided by the unassisted manoeuvres at the Earth’s SOI and at rendez-vous with the target; the authors expressed the desire to implement a system to reduce their contribution and maximise the former’s: This has been successfully implemented in this project. On the other hand, the fact that it currently only considers the outbound part of a mining expedition, with no consideration for the return trip, shows that there are still further areas of improvement in the future. The plots of the total mission ∆v values for each launch date can be found in annex B.1, while those of the most favourable trajectories towards each target are in B.2. When analysing the results, the first thing one notices is the large variability in the total trip ∆v value over time: There are narrow periodical windows in which the trip cost is minimised, separated by large time-spans in which it increases massively. This behaviour coincides with that of real-life interplanetary missions, and Hohmann transfers in general. Regarding the minimums, two trends in their distribution of values can be observed, depending on the region of the Solar System where the targets are found: Main Belt Asteroids tend to display a smaller amount of variability in their values, while their lowest ones are relatively high: This is due to both their larger semi-major axis and their lower orbital inclination and eccentricity. Near-Earth Asteroids, on the other hand, are much more diverse in their orbital characteristics, resulting in either the cheapest targets to attain, the 31
most expensive, or the ones with the highest amount of variability between the minimum ∆v’s values, due to their diversity in the three previously-mentioned orbital parameters. A noticeable increase in precision was achieved in the calculations of certain targets thanks to the use of JPL’s Small Body Database ephemerides integrated using the Solar System’s n-body problem over the entire range of possible launch dates, instead of using the orbital parameters at the reference epoch and extrapolating them over time while considering only a 2-body problem. This is especially true for (99942) Apophis, whose close approach to the Earth in 2036 will modify its orbit around the Sun due to the same principles that would be used in the Earth-Moon gravity assist, as seen in 3.2.4. The previous approach would not have been able to take it into account, while the new one does. With the economic distances towards the studied targets, all the data was in place to implement the gravity trade model in the following section. 32
4 The gravity trade model After the trajectory algorithm’s simulations were carried out on the targets, ∆v plots for each of the asteroids were generated. In order to obtain results that were valid for the entire 30-year launch window, instead of just using the lowest ∆v window, since the values of the bottoms of the periodic minimums can vary a lot at each approximation between the Earth and an asteroid, the average value of the five least expensive windows is used instead. Naturally, only the minimums were used instead of the whole data set because it does not make sense to launch the mission at a less favourable time from an energetic, and therefore economic cost, point of view. Once that part was complete, each asteroid’s "favourability factor" was calculated. Its formula, derived from that of the trade flow seen in 1, is: Fj=Mj Dj (33) Where Mjis its economic size and Djis the exponential of the averaged minimum ∆v, in km/s. This factor, multiplied by the Earth’s economic size, would result in the trade volume between the two bodies, but since the value of the planet’s economy is the same with regards to all of the targets, the factor can be used to find which asteroid would have a higher volume of commerce with Earth, and consequently will be more economically attractive. Due to the large magnitude of the results, the decimal logarithm of the favourability factor is presented instead. The values for each studied target can be found in C.1. The results show that the current model is most weighted towards the asteroids’ total economic size, displaying a higher degree of favourability for the largest asteroids that have been analysed over those that are easiest to reach from the Earth: See how the most massive asteroids in the Main Belt appear to be 5 or 6 orders of magnitude more interesting to exploit than NEAs that have actually been visited by probes, like (25143) Itokawa, which should be proof of their higher viability. This suggests that the model is most appropriate for evaluating the commercial flow between our planet and other celestial bodies over very long periods of time, so the benefit of having more material available for extraction becomes more prominent, and for an scenario where propellant consumption is not such a big concern, like one where orbital refueling stations or propellant generation on the asteroids themselves are available. Attempts to correct this tendency by adding more weight to the economic distance term did not yield a model that is more accurate to the fact that not all the material from an asteroid can be harvested at once, or that the largest obstacle to interplanetary economic development, at least with humanity’s current technological capabilities, lies in the exponential increase of the mass required to visit a celestial body the harder it is to reach, and its associated cost. A different concept for the economic size of the asteroids, based on humanity’s annual capacity of resource extraction from them instead of the total available resources, would also produce a more accurate substitute for GDP in the Earth-based gravity trade model, but until the technology for large-scale space mining is not implemented or at least better conceptually defined such a model will not be available. 33
5 Conclusions In summary, this project was successful at developing a tentative approach to exporting the concepts of Earth-based gravity trade models to the interplanetary environment, developing the ideas of economic size and distance in this context using a new model that is innovative but shows clear conceptual gaps that can be improved and expanded upon. For the economic size of asteroids combining cosmochemical, spectroscopic and orbitographic observations to estimate their total value is an original approach, however the number of studied types can be increased to include the parent bodies of iron and stony iron meteorites, which are potentially much more economically attractive than chondrites. Speaking of which, the current model does not take into consideration their mineralogical properties and the ease with which valuable materials can be extracted from them, and what the real capacity for extraction over a set period of time would be. For the economic distance, the new trajectory algorithm improves on those in the referenced literature by providing a more robust and precise approach to adding a lunar gravity assist that reduces the trip cost to the targeted asteroids, in a work that also serves to expand the capabilities of the SEMAT toolkit for studying interplanetary missions. The main area of improvement in this side of the project would be defining the amount of time required for mining operations so that the return trip and therefore the total mission cost can be more accurately studied. 34
Bibliography [1] M. Abe et al. “Near-Infrared Spectral Results of Asteroid Itokawa from the Hayabusa Spacecraft”. In: Science 312.5778 (2006), pp. 1334–1338. issn: 0036-8075. doi:10. 1126/science.1125718. eprint: https://science.sciencemag.org/content/ 312/5778/1334.full.pdf.url:https://science.sciencemag.org/content/ 312/5778/1334. [2] Shinsuke Abe et al. “Mass and Local Topography Measurements of Itokawa by Hayabusa”. In: Science 312.5778 (2006), pp. 1344–1347. issn: 0036-8075. doi:10. 1126/science.1126272. eprint: https://science.sciencemag.org/content/ 312/5778/1344.full.pdf.url:https://science.sciencemag.org/content/ 312/5778/1344. [3] P. A. Abell et al. “Compositional Investigation of Binary Near-Earth Asteroid 66063 (1998 RO1): A Potentially Undifferentiated Assemblage”. In: 36th Annual Lunar and Planetary Science Conference. Ed. by S. Mackwell and E. Stansbery. Vol. 36. Lunar and Planetary Science Conference. Mar. 2005. [4] Brent Barbee et al. “A Comprehensive Ongoing Survey of the Near-Earth Asteroid Population for Human Mission Accessibility”. In: AIAA/AAS Astrodynamics Specialist Conference.doi:10.2514/6.2010-8368. eprint: https://arc.aiaa.org/ doi/pdf/10.2514/6.2010-8368.url:https://arc.aiaa.org/doi/abs/10. 2514/6.2010-8368. [5] L. Beauvalet and F. Marchis. “Multiple asteroid systems (45) Eugenia and (87) Sylvia: Sensitivity to external and internal perturbations”. In: Icarus 241 (2014), pp. 13–25. issn: 0019-1035. doi:https://doi.org/10.1016/j.icarus.2014.06. 004.url:http://www.sciencedirect.com/science/article/pii/S0019103514003157. [6] Behrend, R. et al. “Four new binary minor planets: (854) Frostia, (1089) Tama, (1313) Berna, (4492) Debussy”. In: A&A 446.3 (2006), pp. 1177–1184. doi:10. 1051/0004 - 6361 :20053709.url:https: / /doi . org /10 . 1051 /0004 - 6361 : 20053709. [7] THOMAS H. BURBINE. “Could G-class asteroids be the parent bodies of the CM chondrites?” In: Meteoritics & Planetary Science 33.2 (1998), pp. 253–258. doi: 10. 1111 / j .1945 - 5100 . 1998 .tb01630 . x. eprint: https : // onlinelibrary . wiley.com/doi/pdf/10.1111/j.1945- 5100.1998.tb01630.x.url:https: //onlinelibrary.wiley.com/doi/abs/10.1111/j.1945-5100.1998.tb01630.x. [8] Carry, B. et al. “Homogeneous internal structure of CM-like asteroid (41) Daphne”. In: A&A 623 (2019), A132. doi:10.1051/0004-6361/201833898.url:https: //doi.org/10.1051/0004-6361/201833898. 35
[9] B. Carry. “Density of asteroids”. In: Planetary and Space Science 73.1 (2012). Solar System science before and after Gaia, pp. 98–118. issn: 0032-0633. doi:https: //doi.org/10.1016/j.pss.2012.03.009.url:http://www.sciencedirect. com/science/article/pii/S0032063312000773. [10] Thomas Chaney. “The Gravity Equation in International Trade: An Explanation”. In: Journal of Political Economy 126.1 (2018), pp. 150–177. doi:10.1086/694292. eprint: https://doi.org/10.1086/694292.url:https://doi.org/10.1086/ 694292. [11] Steven R. Chesley et al. “Orbit and bulk density of the OSIRIS-REx target Asteroid (101955) Bennu”. In: Icarus 235 (2014), pp. 5–22. issn: 0019-1035. doi:https: //doi.org/10.1016/j.icarus.2014.02.020.url:http://www.sciencedirect. com/science/article/pii/S0019103514001067. [12] Beth Ellen Clark et al. “Spectroscopy of B-type asteroids: Subgroups and meteorite analogs”. In: Journal of Geophysical Research: Planets 115.E6 (2010). doi:10 . 1029/2009JE003478. eprint: https://agupubs.onlinelibrary.wiley.com/doi/ pdf/10.1029/2009JE003478.url:https://agupubs.onlinelibrary.wiley. com/doi/abs/10.1029/2009JE003478. [13] E.A. Cloutis et al. “Spectral reflectance properties of carbonaceous chondrites: 2. CM chondrites”. In: Icarus 216.1 (2011), pp. 309–346. issn: 0019-1035. doi:https: //doi.org/10.1016/j.icarus.2011.09.009.url:http://www.sciencedirect. com/science/article/pii/S001910351100354X. [14] E.A. Cloutis et al. “Spectral reflectance properties of carbonaceous chondrites 4: Aqueously altered and thermally metamorphosed meteorites”. In: Icarus 220.2 (2012), pp. 586–617. issn: 0019-1035. doi:https : / / doi . org / 10 . 1016 / j . icarus . 2012.05.018.url:http://www.sciencedirect.com/science/article/pii/ S001910351200200X. [15] G.J. Consolmagno, D.T. Britt, and R.J. Macke. “The significance of meteorite density and porosity”. In: Geochemistry 68.1 (2008), pp. 1–29. issn: 0009-2819. doi: https : / / doi . org / 10 . 1016 / j . chemer . 2008 . 01 . 003.url:http : / / www . sciencedirect.com/science/article/pii/S0009281908000044. [16] Jenna L. Crowell et al. “Radar and Lightcurve Shape Model of Near-Earth Asteroid (1627) Ivar”. In: Icarus 291 (2017), pp. 254–267. issn: 0019-1035. doi:https : //doi.org/10.1016/j.icarus.2016.11.008.url:http://www.sciencedirect. com/science/article/pii/S001910351630166X. [17] de León, J. et al. “New observations of asteroid (175706) 1996 FG3, primary target of the ESA Marco Polo-R mission”. In: A&A 530 (2011), p. L12. doi:10.1051/0004- 6361/201117041.url:https://doi.org/10.1051/0004-6361/201117041. [18] Tasha L. Dunn et al. “Mineralogies and source regions of near-Earth asteroids”. In: Icarus 222.1 (2013), pp. 273–282. issn: 0019-1035. doi:https://doi.org/10. 1016/j.icarus.2012.11.007.url:http://www.sciencedirect.com/science/ article/pii/S0019103512004538. [19] Julia Fang and Jean-Luc Margot. “NEAR-EARTH BINARIES AND TRIPLES: ORIGIN AND EVOLUTION OF SPIN-ORBITAL PROPERTIES”. In: The Astronomical Journal 143.1 (Dec. 2011), p. 24. doi:10.1088/0004-6256/143/1/24. url:https://doi.org/10.1088/0004-6256/143/1/24. 36
[20] Julia Fang et al. “ORBITS OF NEAR-EARTH ASTEROID TRIPLES 2001 SN263 AND 1994 CC: PROPERTIES, ORIGIN, AND EVOLUTION”. In: The Astronomical Journal 141.5 (Mar. 2011), p. 154. doi:10.1088/0004-6256/141/5/154.url: https://doi.org/10.1088/0004-6256/141/5/154. [21] G. Gómez and E. Barrabés. “Space Manifold dynamics”. In: Scholarpedia 6.2 (2011). revision #137032, p. 10597. doi:10.4249/scholarpedia.10597. [22] V. E. Hamilton et al. “Evidence for widespread hydrated minerals on asteroid (101955) Bennu”. In: Nature Astronomy 3.4 (2019), pp. 332–340. issn: 2397-3366. doi:10.1038/s41550-019-0722-2.url:https://doi.org/10.1038/s41550- 019-0722-2. [23] S. Hernandez and B. Barbee. “Design of Round-trip Trajectories to Near-Earth Asteroids Utilizing a Lunar Flyby”. In: 21st AAS/AIAA Space Flight Mechanics Meeting. (New Orleans, Louisiana, USA). Feb. 13, 2011. url:https : / / ntrs . nasa.gov/search.jsp?R=20110008138. [24] T. Hiroi et al. “Possible thermal metamorphism on the C, G, B, and F asteroids detected from their reflectance spectra in comparison with carbonaceous chondrites”. In: Antarctic Meteorite Research 7 (Mar. 1994), p. 230. [25] Harry Jones. “The Recent Large Reduction in Space Launch Cost”. In: 48th International Conference on Environmental Systems. 2018. [26] Jet Propulsion Laboratory. JPL Small-Body Database Browser. 1999. url:https: //ssd.jpl.nasa.gov/sbdb.cgi (visited on 05/30/2019). [27] S.S. Lindsay et al. “Composition, mineralogy, and porosity of multiple asteroid systems from visible and near-infrared spectral data”. In: Icarus 247 (2015), pp. 53–70. issn: 0019-1035. doi:https://doi.org/10.1016/j.icarus.2014.08.040.url: http://www.sciencedirect.com/science/article/pii/S0019103514004576. [28] Katarzyna Łuszczek and Tadeusz A. Przylibski. “Potential deposits of selected metallic resources on L chondrite parent bodies”. In: Planetary and Space Science 168 (2019), pp. 40–51. issn: 0032-0633. doi:https://doi.org/10.1016/j.pss. 2019.02.005.url:http://www.sciencedirect.com/science/article/pii/ S0032063318302368. [29] Franck Marchis et al. “A low density of 0.8 g cm-3 for the Trojan binary asteroid 617 Patroclus”. In: Nature 439.7076 (2006), pp. 565–567. issn: 1476-4687. doi:10. 1038/nature04350.url:https://doi.org/10.1038/nature04350. [30] F. Marchis et al. “Characteristics and large bulk density of the C-type main-belt triple asteroid (93) Minerva”. In: Icarus 224.1 (2013), pp. 178–191. issn: 0019-1035. doi:https://doi.org/10.1016/j.icarus.2013.02.018.url:http://www. sciencedirect.com/science/article/pii/S0019103513000808. [31] F. Marchis et al. “Main belt binary asteroidal systems with circular mutual orbits”. In: Icarus 196.1 (2008), pp. 97–118. issn: 0019-1035. doi:https://doi.org/10. 1016/j.icarus.2008.03.007.url:http://www.sciencedirect.com/science/ article/pii/S0019103508001073. [32] F. Marchis et al. “Main belt binary asteroidal systems with eccentric mutual orbits”. In: Icarus 195.1 (2008), pp. 295–316. issn: 0019-1035. doi:https://doi.org/10. 1016/j.icarus.2007.12.010.url:http://www.sciencedirect.com/science/ article/pii/S0019103507006124. 37
Na 3.14 [54] 12/6/2019 Mg 2.49 [54] 12/6/2019 Al 2.03 [54] 12/6/2019 Si 2.01 [54] 12/6/2019 For Si #2202 P 300.00 S 0.07 [55] February 2019 Cl 1.50 K 13.01 [54] 12/6/2019 Ca 6.43 [54] 12/6/2019 Sc 15,000.00 [55] January 2018 In 5g samples Ti 10.12 [54] 12/6/2019 V 390.15 [54] 12/6/2019 Cr 9.39 [54] 12/6/2019 Mn 2.13 [54] 12/6/2019 Fe 0.60 [54] 12/6/2019 For cold-rolled steel Co 35.76 [54] 12/6/2019 Ni 14.26 [54] 12/6/2019 Cu 6.74 [54] 12/6/2019 Zn 3.05 [54] 12/6/2019 Ga 140.89 [54] 12/6/2019 Ge 1,076.53 [54] 12/6/2019 As 1.37 [54] 12/6/2019 Se 23.84 [54] 12/6/2019 Br 4.90 [55] June 2018 Rb 15,460.00 [55] February 2019 Sr 6.21 [55] June 2018 Y 32.51 [54] 12/6/2019 Zr 36.13 [54] 12/6/2019 Nb 89.59 [54] 12/6/2019 Mo 40.17 [54] 12/6/2019 Ru 10,765.25 [54] 12/6/2019 Rh 116,250.25 [54] 12/6/2019 Pd 50,719.50 [54] 12/6/2019 Ag 513.12 [54] 12/6/2019 Cd 2.87 [54] 12/6/2019 In 156.06 [54] 12/6/2019 Sn 20.88 [54] 12/6/2019 Sb 5.82 [54] 12/6/2019 Te 59.25 [54] 12/6/2019 I 22.00 [55] February 2019 Cs 78,700.00 [55] February 2019 Ba 0.18 [55] February 2019 For barium sulphate La 5.13 [54] 12/6/2019 Ce 4.99 [54] 12/6/2019 Pr 102.60 [54] 12/6/2019 Nd 66.11 [54] 12/6/2019 Sm 1.81 [54] 12/6/2019 For samarium oxide Eu 33.24 [54] 12/6/2019 For europium oxide Gd 29.62 [54] 12/6/2019 For gadolinium oxide 44
Tb 722.50 [54] 12/6/2019 Dy 346.80 [54] 12/6/2019 Ho 58.52 [54] 12/6/2019 For holmium oxide Er 27.09 [54] 12/6/2019 For erbium oxide Hf 775.00 [55] February 2019 Ta 218.00 [55] February 2019 For tantalum oxide W 36.49 [54] 12/6/2019 Re 4,190.50 [54] 12/6/2019 Os 5,888.89 [55] November 2018 Ir 55,849.25 [54] 12/6/2019 Pt 27,455.00 [54] 12/6/2019 Au 43,224.29 [54] 12/6/2019 Hg 81.22 [55] February 2019 Tl 4,000.00 [55] February 2019 Pb 2.33 [54] 12/6/2019 Bi 6.14 [54] 12/6/2019 Th 176.00 U 52.91 Table 3: Market price of the different studied chemical elements A.3 Asteroid total economic sizes Asteroid Chondrite Type Source Mass (kg) Source Value ($) (19) Fortuna CM [7] 9.03E+18 [8] 17,952,660,131,558,000,000 (23) Thalia H [59] 1.96E+18 [9] 4,456,892,820,224,430,000 (41) Daphne CM [8] 6.10E+18 [8] 12,127,489,125,415,700,000 (78) Diana CM [9] 8.99E+17 [8] 1,787,313,561,270,280,000 (87) Sylvia CM [60] 1.48E+19 [5] 29,073,196,487,665,100,000 (93) Minerva CO [34] 3.35E+18 [30] 7,330,792,621,362,170,000 (117) Lomia CV [9] 6.08E+18 [66] 13,233,302,316,286,100,000 (121) Hermione CM [13] 4.94E+18 [8] 9,821,278,078,615,320,000 (130) Elektra CM [14] 6.20E+18 [8] 12,326,300,422,553,600,000 (253) Mathilde CM [61] 1.03E+17 [63] 204,775,636,052,101,000 (259) Aletheia CV [9] 7.79E+18 [66] 16,955,168,592,741,500,000 (324) Bamberga CM [24] 1.03E+19 [9] 20,477,563,605,210,100,000 (372) Palma CV [9] 5.15E+18 [9] 11,209,129,429,091,000,000 (433) Eros LL [18] 6.69E+17 [64] 13,904,608,493,757,100 (442) Eichsfeldia CM [9] 2.50E+17 [8] 497,028,242,844,905,000 (554) Peraga CI [12] 5.86E+17 [8] 1,045,542,093,710,350,000 (617) Patroclus CV [9] 1.36E+18 [29] 2,960,080,781,274,510,000 (654) Zelinda CM [9] 1.22E+18 [8] 2,425,497,825,083,140,000 (704) Interamnia CI [12] 3.28E+19 [9] 58,521,810,023,377,800,000 (751) Faina CM [13] 3.67E+18 [8] 7,296,374,604,963,210,000 (762) Pulcova CM [12] 1.40E+18 [31] 2,783,358,159,931,470,000 (1089) Tama L/LL [27] 8.90E+14 [6] 1,886,230,501,622,000 (1313) Berna LL [27] 2.25E+15 [6] 4,678,535,832,354,350 45
(1620) Geographos LL [18] 1.48E+13 [45] 30,774,369,030,598 (1627) Ivar LL [18] 5.64E+14 [16] 1,171,962,829,258,470 (1862) Apollo LL [18] 5.68E+12 [52] 11,810,703,790,121 (3671) Dionysus CM [15] 8.38E+11 [49] 1,666,038,670,016 (3749) Balam L [27] 5.10E+14 [32] 1,060,468,122,000,320 (4179) Toutatis L [28] 5.00E+13 [28] 110,740,457,809,329 (25143) Itokawa LL [1] 3.58E+10 [2] 74,440,703,466 (65803) Didymos L [28] 5.28E+11 [51] 1,168,976,272,635 (66063) 1998 RO1 L [3] 3.60E+11 [9] 797,331,296,227 (66391) Moshup L [50] 2.49E+12 [44] 5,510,445,180,592 (99942) Apophis LL [18] 5.20E+10 [39] 108,126,161,459 (101955) Bennu CM [22] 7.80E+10 [11] 155,072,811,768 (153591) 2001 SN263 CI [47] 9.51E+12 [20] 16,972,716,583,969 (175706) 1996 FG3 CM [17] 3.54E+12 [65] 7,034,412,480,685 (185851) 2000 DP107 L [46] 4.83E+11 [40] 1,055,991,970,686 (276049) 2002 CE26 CM [48] 1.95E+13 [53] 38,768,202,941,903 (311066) 2004 DC CM [9] 3.59E+10 [19] 71,365,303,221 (494658) 2000 UG11 CM [9] 9.40E+09 [33] 18,688,261,931 Table 4: Total economic size of the target asteroids B Economic distance B.1 Optimal total ∆v values Figure 17: Optimal ∆v values for (19) Fortuna 46
Figure 18: Optimal ∆v values for (23) Thalia Figure 19: Optimal ∆v values for (41) Daphne 47
Figure 20: Optimal ∆v values for (78) Diana Figure 21: Optimal ∆v values for (87) Sylvia 48
Figure 22: Optimal ∆v values for (93) Minerva Figure 23: Optimal ∆v values for (117) Lomia 49
Figure 24: Optimal ∆v values for (121) Hermione Figure 25: Optimal ∆v values for (130) Elektra 50
Figure 26: Optimal ∆v values for (253) Mathilde Figure 27: Optimal ∆v values for (259) Aletheia 51
Figure 28: Optimal ∆v values for (324) Bamberga Figure 29: Optimal ∆v values for (372) Palma 52
Figure 30: Optimal ∆v values for (433) Eros Figure 31: Optimal ∆v values for (442) Eichsfeldia 53
Figure 44: Optimal ∆v values for (3749) Balam Figure 45: Optimal ∆v values for (4179) Toutatis 60
Figure 46: Optimal ∆v values for (25143) Itokawa Figure 47: Optimal ∆v values for (65803) Didymos 61
Figure 48: Optimal ∆v values for (66063) 1998 RO1 Figure 49: Optimal ∆v values for (66391) Moshup 62
Figure 50: Optimal ∆v values for (99942) Apophis Figure 51: Optimal ∆v values for (101955) Bennu 63
Figure 52: Optimal ∆v values for (153591) 2001 SN263 Figure 53: Optimal ∆v values for (175706) 1996 FG3 64
Figure 54: Optimal ∆v values for (185851) 2000 DP107 Figure 55: Optimal ∆v values for (276049) 2002 CE26 65
Figure 56: Optimal ∆v values for (311066) 2004 DC Figure 57: Optimal ∆v values for (494658) 2000 UG11 66
B.2 Most optimal trajectories Figure 58: Minimum ∆v trajectory for (19) Fortuna Figure 59: Minimum ∆v trajectory for (23) Thalia 67
Figure 60: Minimum ∆v trajectory for (41) Daphne Figure 61: Minimum ∆v trajectory for (78) Diana 68
Figure 62: Minimum ∆v trajectory for (87) Sylvia Figure 63: Minimum ∆v trajectory for (93) Minerva 69
Figure 76: Minimum ∆v trajectory for (704) Interamnia Figure 77: Minimum ∆v trajectory for (751) Faina 76
Figure 78: Minimum ∆v trajectory for (762) Pulcova Figure 79: Minimum ∆v trajectory for (1089) Tama 77
Figure 80: Minimum ∆v trajectory for (1313) Berna Figure 81: Minimum ∆v trajectory for (1620) Geographos 78
Figure 82: Minimum ∆v trajectory for (1627) Ivar Figure 83: Minimum ∆v trajectory for (1862) Apollo 79
Figure 84: Minimum ∆v trajectory for (3671) Dionysus Figure 85: Minimum ∆v trajectory for (3749) Balam 80
Figure 86: Minimum ∆v trajectory for (4179) Toutatis Figure 87: Minimum ∆v trajectory for (25143) Itokawa 81
Figure 88: Minimum ∆v trajectory for (65803) Didymos Figure 89: Minimum ∆v trajectory for (66063) 1998 RO1 82
Figure 90: Minimum ∆v trajectory for (66391) Moshup Figure 91: Minimum ∆v trajectory for (99942) Apophis 83
Figure 92: Minimum ∆v trajectory for (101955) Bennu Figure 93: Minimum ∆v trajectory for (153591) 2001 SN263 84
Figure 94: Minimum ∆v trajectory for (175706) 1996 FG3 Figure 95: Minimum ∆v trajectory for (185851) 2000 DP107 85
131 t i t l e ( desi gnation ) ; 132 xlabe l (’UTC launch date [JD] ’ ) ; 133 ylabe l (’Minimum delta−v [km/ s ] ’ ) ; 134 135 figure 136 plot ( t_start , delta_v_0_opt ) ; 137 t i t l e ( desi gnation ) ; 138 xlabe l (’UTC launch date [JD] ’ ) ; 139 ylabe l (’ Optimal launch delta −v [km/ s ] ’ ) ; 140 141 figure 142 plot ( t_start , alpha_0_opt ) ; 143 t i t l e ( desi gnation ) ; 144 xlabe l (’UTC launch date [JD] ’ ) ; 145 ylabe l (’ Optimal t a nge n t i al angle [ deg ] ’ ) ; 146 147 figure 148 plot ( t_start , delta_v_dep_opt ) ; 149 t i t l e ( desi gnation ) ; 150 xlabe l (’UTC launch date [JD] ’ ) ; 151 ylabe l (’ Optimal Earth SOI departure delta −v [km/ s ] ’ ) ; 152 153 figure 154 plot ( t_start , t_flight_opt ) ; 155 t i t l e ( desi gnation ) ; 156 xlabe l (’UTC launch date [JD] ’ ) ; 157 ylabe l (’ Optimal f l i g h t time [ days ] ’ ) ; 158 159 % Displaying the minimum delta−v o r b i t a l t r an s f er 160 [~ ,h ] = min( delta_v_min ) ; 161 delta_v_0_adim_h = delta_v_0_opt (h) /(n_12∗a_12) ; 162 alpha_0_h = deg2rad ( alpha_0_opt (h) ) ; 163 vx_0_h = delta_v_0_adim_h∗cos (theta_L1M) ; 164 vy_0_h = −delta_v_0_adim_h∗sin(theta_L1M)∗sin( alpha_0_h) ; 165 vz_0_h = delta_v_0_adim_h∗sin(theta_L1M)∗cos (alpha_0_h) ; 166 C_h = [ x_0 , y_0 , z_0 , vx_0_h, vy_0_h, vz_0_h ] ; 167 cv0_h = ( 1 :4 2 ) ’ ; % Integration vector 168 cv0_h ( 1 : 6 ) = C_h; % 6−dim s tat e 169 cv0_h = matrixToVector (cv0_h , cr3bp . cst . o r b it .STM0,6 ,6 ,6 ) ; % STM concatenation a f t e r the 6−dim s t ate 170 [~ ,~ , t_sc_soi_syn_adim_h , cv_soi_syn_adim_h , ~ ] = ode113 (@( t , y) cr3bp_derivatives_42 ( t , y ,mu) , t_span , cv0_h , options ) ; 171 s_sc_soi_syn_adim_h = cv_soi_syn_adim_h ( 1 : 6 ) ; 172 % [ t_sc_soi_syn_h , s_sc_soi_syn_h ] = CR3BP_integrator_syn (C_h, cr3bp ) ; 173 t_start_J2000_h = t_start_J2000 (h) ; 174 [ t_sc_soi_J2000_h , s_sc_soi_h ] = syn2scECLIPJ2000 ( t_sc_soi_syn_adim_h , s_sc_soi_syn_adim_h ’ , cr3bp , t_12 , t_start_J2000_h , f a l s e , f a l s e ) ; 175 % [ t_sc_soi_J2000_h , s_sc_soi_h ] = framechange ( t_sc_soi_syn_h , s_sc_soi_syn_h , cr3bp , t_start_J2000_h ) ; 176 r_sc_soi_h = s_sc_soi_h (1:3) ; 177 t_flight_h = t_flight_opt (h) ; 92
178 t_rv_J2000_h = t_sc_soi_J2000_h+t_flight_h ∗cst . env . days ; 179 eph_target_patch_rv_h = mice_spkezr (SPKID, t_rv_J2000_h , ’ECLIPJ2000 ’ ,’ NONE’ ,’SUN ’ ) ; 180 r_t_rv_h = eph_target_patch_rv_h . s t at e ( 1 : 3 ) ; 181 [ v_sc_dep_h ,~ ,~ ,~] = lambert_mex ( r_sc_soi_h ’ , r_t_rv_h ’ , t_flight_h , 0 , mu_s) ; 182 s_sc_dep_h ( 1 : 3 , 1 ) = r_sc_soi_h ; 183 s_sc_dep_h ( 4 : 6 , 1 ) = v_sc_dep_h ’ ; 184 [~ , a_sc , e_sc , I_sc , o_ap_sc , o_an_sc ,~ ,~ ,M_sc_dep_h] = cart2kep ( s_sc_dep_h ,mu_s) ; 185 n_sc = sqrt(mu_s/a_sc^3) ; 186 187 t_JD = zeros(1 , t_flight_h+1) ; 188 r_t = zeros(t_flight_h+1,3); 189 r_sc = zeros( t_flight_h +1 ,3) ; 190 r_earth = zeros(t_flight_h+1,3); 191 r_mars = zeros( t_flight_h +1 ,3) ; 192 193 f o r g = 0:t_flight_h 194 t_J2000_g = t_sc_soi_J2000_h+g∗cst . env . days ; %[ s ] Seconds between J2000 TDB and current date 195 M_sc = M_sc_dep_h+n_sc∗(t_J2000_g−t_sc_soi_J2000_h) ; 196 s_sc = kep2cart ( a_sc , e_sc , I_sc , o_ap_sc , o_an_sc ,M_sc,mu_s) ; % Spacecraft s t at e vector 197 eph_target_patch = mice_spkezr (SPKID, t_J2000_g , ’ECLIPJ2000 ’ ,’ NONE’ ,’SUN ’ ) ; 198 eph_earth_patch = mice_spkezr ( ’EARTH’ , t_J2000_g , ’ECLIPJ2000 ’ ,’ NONE’ ,’SUN ’ ) ; 199 eph_mars_patch = mice_spkezr ( ’MARS BARYCENTER’ , t_J2000_g , ’ ECLIPJ2000 ’ ,’NONE’ ,’SUN ’ ) ; 200 r_sc ( g +1 ,:) = s_sc ( 1 : 3 ) ; % Spacecraft p o s i t i o n 201 r_t ( g +1 ,:) = eph_target_patch . s ta t e ( 1 : 3 ) ; % Target po s i t i on 202 r_earth ( g +1 ,:) = eph_earth_patch . s t at e ( 1 : 3 ) ; % Earth p os i t i on 203 r_mars ( g +1 ,:) = eph_mars_patch . s ta t e ( 1 : 3 ) ; % Mars position 204 end 205 206 figure 207 hold on 208 sc a t t e r 3 ( r_s (1) , r_s (2) , r_s (3) , ’ yellow ’ ,’ f i l l e d ’ ) ; 209 plot3( r_t ( : , 1 ) , r_t ( : , 2 ) , r_t ( : , 3 ) , ’black ’) ; 210 plot3( r_sc ( : , 1 ) , r_sc ( : , 2 ) , r_sc ( : , 3 ) , ’ green ’ ) ; 211 plot3( r_earth ( : , 1 ) , r_earth ( : , 2 ) , r_earth ( : , 3 ) , ’ blue ’ ) ; 212 plot3( r_mars ( : , 1 ) ,r_mars ( : , 2 ) , r_mars ( : , 3 ) , ’ red ’ ) ; 213 axis([ −6.0 e8 6.0 e8 −6.0e8 6.0 e8 −6.0e8 6.0 e8 ] ) 214 xlabe l (’km ’ ) ; 215 ylabe l (’km ’ ) ; 216 zlabel(’km ’ ) ; 217 t i t l e ( s t r c a t ( ’ Trajectory towards ’ ,{ ’ ’ } , designation ) ) ; 218 hold off 219 220 unload_kernels_alt() ; 93
D.2 Lagrange_solver_adim 1function [LP] = Lagrange_solver_adim(cr3bp) 2 3mu = cr3bp .mu; 4mu_1 = 1−mu; 5mu_2 = mu; 6 7% dU/dx , adi mesiona lised 8fun1 =@(x , y ) x−mu_1∗(x+mu_2) /( sqrt (( x+mu_2)^2+y^2) )^3−mu_2∗(x−mu_1) /( sqrt(( x−mu_1)^2+y^2) )^3 ; 9% dU/dy , adi mesiona lised 10 fun2 =@(x , y ) y−(mu_1/( s qrt (( x+mu_2)^2+y^2) )^3+mu_2/( sqrt ( ( x−mu_1)^2+y ^2) ) ^3)∗y ; 11 % Solver , f in d the ( x , y ) p oin ts f o r which the g rad ient of 12 % U i s nu l l ( D e fi n it io n of Lagrange points ) 13 fun3 =@( r ) [ fun1 ( r (1) , r (2) ) , fun2 ( r (1) , r (2) ) ] ; 14 L1 = ( f s o l ve ( fun3 , [ 0 . 5 , 0 ] ) ) ; %[ adim ] (x , y) p o s i ti o n of L1 15 L2 = ( f s o l ve ( fun3 , [ 1 . 5 , 0 ] ) ) ; %[ adim ] (x , y) p o s i ti o n of L2 16 L3 = ( f s o l v e ( fun3 ,[ −2 ,0]) ) ; %[ adim ] (x , y ) p os i t i o n of L3 17 L4 = ( f s o l v e ( fun3 , [ 0 . 5 , 0 . 5 ] ) ) ; %[ adim ] (x , y) po s it i o n of L4 18 L5 = ( f s o l v e ( fun3 , [ 0. 5 , −0 . 5 ] ) ) ; %[ adim ] (x , y) po s it i o n of L5 19 20 Lx = [ L1 (1) ; L2 (1) ; L3 (1) ; L4 (1) ; L5 (1) ] ; 21 Ly = [ L1 (2) ; L2 (2) ; L3 (2) ; L4 (2) ; L5 (2) ] ; 22 Lz = [ 0 ; 0 ; 0 ; 0 ; 0 ] ; 23 24 LP = [ Lx , Ly , Lz ] ; %[ adim ] Lagrange point p o s i ti o n matrix D.3 preliminary_solver 1function [ delta_v_dep_opt_prelim_min , t_flight_opt_prelim_min ] = prelimin ary_solver (SPKID, designation , t_start , t_start_J2000 , x_0 , y_0 , z_0 , cr3bp , t_c ,mu_s, plot_bool ) 2 3% Preliminary problem v a r i a b l e s 4t_flight_prelim = ( 6 0 :1: 2 1 90 ) ; %[ days ] Flight time from Earth SOI to tar g et 5 6% Preliminary optimised v a r i a b l e s 7delta_v_min_prelim = 10000∗ones ( s i z e ( t_start ) ) ; %[km/ s ] Minimum t o t a l delta−v f o r each s t a r t date 8t_flight_opt_prelim = zeros(s i z e ( t_start ) ) ; %[ days ] Optimal f l i g h t time from Earth SOI to t ar ge t f o r each s t a r t date 9delta_v_dep_opt_prelim = zeros(s i z e ( t_start ) ) ; %[ days ] Optimal departure from Earth SOI delta −v to ta r ge t f o r each s t a r t date 10 11 % S pac ecra ft i n i t i a l s t at e in the synodic frame o f r e f e r e n c e 12 vx_0 = 0; %[ adim ] I n i t i a l x ve l o c i t y 13 vy_0 = 0; %[ adim ] I n i t i a l y ve l o c i t y 14 vz_0 = 0; %[ adim ] I n i t i a l z v e l o c i t y 15 C=[x_0 , y_0 , z_0 , vx_0 , vy_0 , vz_0 ] ; %[ adim ] I n i t i a l condi tions of s ta t e 94
vector (x , y , z , vx , vy , vz ) 16 t_i = 0; %[ adim ] I n i t i a l time from s t a r t date 17 18 parfor k = 1: s i z e ( t_start , 2 ) 19 load_kernels_alt () ; % Start the SPICE k e r n e ls 20 t_start_k_J2000 = t_start_J2000 ( k) ; %[ s ] Seconds between J2000 TDB and s t a r t date 21 % [~ , s_sc_k ] = framechange_adim ( t_i , t_c ,C, cr3bp , t_start_k_J2000 ) ; 22 [~ , s_sc_k ] = syn2scECLIPJ2000 ( t_i ,C’ , cr3bp , t_c , t_start_k_J2000 , f a l s e , f a l s e ) ; 23 r_sc_k = s_sc_k ( 1 : 3 ) ; %[km] Position of the s pa c e cr a ft wrt the Sun in ECLIPJ2000 at s t a r t date k 24 v_sc_k = s_sc_k ( 4 : 6 ) ; %[km/ s ] Ve loci ty of the s p a c e cr a f t wrt the Sun in ECLIPJ2000 at s t a r t date k 25 f o r l = 1: s i z e (t_flight_prelim ,2) 26 t_flight_l = t_flight_prelim ( l ) ; 27 t_arr_J2000 = t_start_k_J2000+t_flight_l ∗cr3bp . cst . env . days ; %[ s ] Seconds between J2000 TDB and a r r i v a l date 28 eph_target_patch_l = mice_spkezr (SPKID, t_arr_J2000 , ’ ECLIPJ2000 ’ ,’NONE’ ,’SUN ’ ) ; 29 r_t_l = eph_target_patch_l . s t at e ( 1 : 3 ) ; % Position of the tar get wrt the Sun in ECLIPJ2000 at a r r i v a l date l 30 v_t_l = eph_target_patch_l . s ta t e ( 4 : 6 ) ; % Velocity of the tar get wrt the Sun in ECLIPJ2000 at a r r i v a l date l 31 [ v_sc_dep , v_sc_arr ,~ ,~] = lambert_mex ( r_sc_k ’ , r_t_l ’ , t_flight_l , 0 ,mu_s) ; % Call to Lambert s o l v e r 32 delta_v_dep = norm(v_sc_dep’−v_sc_k) ; %[km/ s ] Earth departure delta−v 33 delta_v_arr = norm(v_t_l−v_sc_arr ’ ) ; %[km/ s ] Mars rendez− vous delta −v 34 delta_v = delta_v_dep+delta_v_arr ; %[km/ s ] Total mission delta−v 35 i f delta_v < delta_v_min_prelim ( k ) 36 delta_v_min_prelim ( k ) = delta_v ; 37 t_flight_opt_prelim (k) = t_flight_l ; 38 delta_v_dep_opt_prelim (k) = delta_v_dep ; 39 end 40 end 41 unload_kernels_alt() ; 42 end 43 44 % Preliminary optimal departure delta−v and asso c i a t e d f l i g h t time 45 delta_v_dep_opt_prelim_min = min(delta_v_dep_opt_prelim) ; %[km/ s ] Preliminary optimal departure delta−v 46 delta_v_dep_opt_prelim_min = floor(delta_v_dep_opt_prelim_min/0.1) ∗0 . 1 ; % rounding down 47 t_flight_opt_prelim_min = min(t_flight_opt_prelim) ; %[ days ] Preliminary optimal f l i g h t time 48 49 i f plot_bool == true 50 % Preliminary minimum t o t a l mission delta −v plot 95
51 figure 52 plot ( t_start , delta_v_min_prelim ) ; 53 t i t l e ( desi gnation ) ; 54 xlabe l (’ Launch date [ JD ] ’ ) ; 55 ylabe l (’Minimum delta−v [km/ s ] ’ ) ; 56 57 % Preliminary minimum departure delta−v plot 58 figure 59 plot ( t_start , delta_v_dep_opt_prelim) ; 60 t i t l e ( desi gnation ) ; 61 xlabe l (’ Launch date [ JD ] ’ ) ; 62 ylabe l (’Minimum departure delta −v [km/ s ] ’ ) ; 63 64 % Preliminary optimal f l i g h t time plot 65 figure 66 plot (t_start , t_flight_opt_prelim) ; 67 t i t l e ( desi gnation ) ; 68 xlabe l (’ Launch date [ JD ] ’ ) ; 69 ylabe l (’ Flight time [ days ] ’ ) ; 70 end D.4 odezero_EARTHSOI 1function [ value , i st ermi na l , d i r e c t i o n ] = odezero_EARTHSOI(T,Y) 2 3% I nt eg ra ti o n stop co nd it io ns f o r an escape t r a j e c t o r y from the Earth −Moon 4% CR3BP system 5 6ms = 1.98841695225459 e30 ; %[ kg ] Sun mass 7me = 5.97219 e24 ; %[ kg ] Earth mass 8mm = 7.34581412062866 e22 ; %[ kg ] Moon mass 9 10 mu = mm/(me+mm) ; 11 mu_1 = 1−mu; 12 mu_2 = mu; 13 14 a_em = 384400; %[km] Earth−Moon semi−major axis 15 a_se = 149597871; %[km] Sun−Earth semi−major a xis 16 17 R_1 = 6378.14/a_em; %[ adim ] Earth eq u at o ri a l radius 18 R_2 = 1737.5/a_em; %[ adim ] Moon equ a t o r ia l radius 19 20 P_1 = [−mu_2, 0 , 0 ] ; %[ adim ] Position of the Earth 21 P_2 = [mu_1, 0 , 0 ] ; %[ adim ] Po sition of the Moon 22 23 R_SOI = a_se/a_em∗((me/ms) ^(2/5) ) ; %[ adim ] Earth SOI radius 24 25 value = [ sqrt ( (Y(1)−P_2(1) )^2+(Y(2)−P_2(2) )^2+(Y(3)−P_2(3) ) ^2)< R_2; % Spacecraft crashes against the Moon 26 sqrt((Y(1)−P_1(1) )^2+(Y(2)−P_1(2) )^2+(Y(3)−P_2(3) ) ^2)< R_1; % Spacecraft crashes against the Earth 96
27 sqrt((Y(1)−P_1(1) )^2+(Y(2)−P_1(2) )^2+(Y(3)−P_2(3) ) ^2)> R_SOI ] ; % Spacecraft l e a ves the Earth ’ s SOI 28 29 is t e r m i n a l = [ 1 ; 1 ; 1 ] ; % Stop the i n t e g r a t i o n 30 d i r e c t i o n = [ 0 ; 0 ; 0 ] ; 31 32 end D.5 syn2scECLIPJ2000 1function [ t_J2000 , y_J2000_sun ] = syn2scECLIPJ2000 ( t_syn , y_syn , cr3bp , T_adim, start , bool_J2000 , bool_eci ) 2%SYN2J2000 Change of coordinates from adimensionnal synodic frame to h e l i o c e n t r i c e c l i p t i c J2000 3% 4%% Time 5t_syn_dim = Dimensionalisation_T ( t_syn , T_adim) ; 6%Time mesured wrt a c er t a i n epoch ’ start ’ and tr a n s late d into ephemeris 7%time 8t_J2000 = t_syn_dim + s t a r t ; 9 10 %% Construction of the instantaneous r o t a t i n g frame 11 %i n i t plot 12 i f bool_J2000==true 13 figure 14 sc a t t e r 3 (0 , 0 ,0 , ’ g ’ ,’ o ’ ) 15 hold on 16 end 17 18 %I n i t v a r i a b l e s 19 y_syn_dim = ones (6 , s i z e (y_syn , 2) ) ; 20 y_J2000_sun = ones (6 , size(y_syn , 2) ) ; 21 22 %Conversion loop on a l l patch points 23 f o r i = 1: s i z e (y_syn , 2) 24 %Compute ephemerides of Earth , Moon, and Earth−Moon Barycenter (EMB) 25 eph_date = t_J2000 ( i ) ; 26 eph_moon_patch = mice_spkezr ( ’MOON’ , eph_date , ’ECLIPJ2000 ’ ,’NONE’ , ’EARTH’ ) ; 27 eph_bem_patch = mice_spkezr ( ’Earth−Moon barycenter ’ , eph_date , ’ ECLIPJ2000 ’ ,’NONE’ ,’SUN ’ ) ; 28 X_moon = eph_moon_patch . s t at e ( 1 : 6 ) ; 29 pos_eph_bem_patch = eph_bem_patch . s ta te ( 1 : 3 ) ; 30 v_eph_bem_patch = eph_bem_patch . s ta t e ( 4 : 6 ) ; 31 32 %Locally dimensionalize synodic s t a te 33 % y_syn_dim ( 1 : 3 , i ) = y_syn ( 1 : 3 , i ) ∗norm(X_moon( 1 : 3 ) ) ; 34 % y_syn_dim ( 4 : 6 , i ) = y_syn ( 4 : 6 , i ) ∗norm(X_moon( 1 : 3 ) ) /T_adim ; 35 y_syn_dim ( : , i ) = Dimensionalisation_X ( y_syn ( : , i ) , norm(X_moon( 1 : 3 ) ) , T_adim) ; 36 97
37 %Build r ot at ing to i n e r t i a l p o si t io n t r a n s i t i o n matrix 38 e te s t 1 = X_moon( 1 : 3 ) /norm(X_moon( 1 : 3 ) ) ; 39 et e s t3 = c r o ss (X_moon( 1 : 3 ) ,X_moon( 4 : 6 ) ) /norm(cros s (X_moon( 1 : 3 ) ,X_moon ( 4 : 6 ) ) ) ; 40 et e s t2 = c r o ss ( ete st3 , e t es t 1 ) /norm(c r o s s ( etest3 , e t e s t 1 ) ) ; 41 T_test = [ etest1 , etest2 , ete s t3 ] ; 42 43 %Apply r o ta ti o n matrix to p o s i t i o n s and change o r i g i n from EMB to Sun 44 y_J2000_sun (1 : 3 , i ) = T_test∗y_syn_dim (1 :3 , i ) + pos_eph_bem_patch ; 45 46 %Transition v e l o c i t i e s 47 thetadot_inst = norm(cr o s s (eph_moon_patch . s ta t e ( 1 : 3 ) , eph_moon_patch . s ta t e ( 4 : 6 ) ) ) / (norm(eph_moon_patch . s t at e ( 1 : 3 ) ) ) ^2; 48 Tv = [ [ thetadot_inst ∗T_test (1 ,2) −thetadot_inst ∗T_test (1 ,1) 0 T_test (1 ,1) T_test (1 ,2) T_test (1 ,3) ] ; [ thetadot_inst ∗T_test (2 ,2) − thetadot_inst ∗T_test (2 ,1) 0 T_test (2 ,1) T_test (2 ,2) T_test (2 ,3) ] ; [ thetadot_inst ∗T_test (3 ,2) −thetadot_inst ∗T_test (3 ,1) 0 T_test (3 ,1) T_test (3 ,2) T_test (3 ,3) ] ] ; 49 y_J2000_sun (4 : 6 , i ) = Tv∗y_syn_dim ( : , i ) + v_eph_bem_patch ; 50 51 %Plotting 52 i f bool_J2000==true 53 sc a t t e r 3 (X_moon(1) , X_moon(2) ,X_moon(3) , ’b ’ ,’ o ’ ) 54 hold on 55 end 56 57 end 58 59 %% Plot e c i comparison 60 i f bool_eci==true 61 f o r i = 1: s i z e ( y_syn , 2 ) 62 yec i = cr3bp . L∗syn2eci (y_syn ( : , i ) , t_syn ( : , i ) , cr3bp ) ; 63 yec i ( 4 : 6 ) = y eci ( 4 : 6 ) / cr3bp .T∗2∗pi ; 64 yeci_moon = cr3bp . L∗syn2eci ([1 −cr3bp .mu, 0 , 0 , 0 , 0 , 0 ] ’ , t_syn ( : , i ) , cr3bp ) ; 65 sc a t t e r 3 ( yeci (1) , y eci (2) , yeci (3) , ’m’ ,’ x ’ ) 66 hold on 67 sc a t t e r 3 ( yeci_moon (1) , yeci_moon (2) , yeci_moon (3) , ’b ’ ,’ o ’ ) 68 hold on 69 end 70 end 71 72 %% Plot J2000 conversion 73 i f bool_J2000==true 74 sc att er 3 (y_J2000_sun ( 1 , : ) , y_J2000_sun ( 2 , : ) , y_J2000_sun ( 3 , : ) , ’ r ’ , ’x ’ ) 75 hold off 76 end 77 78 end 98
D.6 load_kernels 1function [ params ] = load_kernels ( params ) 2% Loads a l l necessary s p ice Kernels 3 4i f ( params . ephemerides . isLoaded == f a l s e ) 5cspice_furnsh( ’C: \ Users \JOAN\MUEA\SFE\semat−eb\mice_kernels\ de438s . bsp ’ ) ; 6%cspice_furnsh ( ’C: \ Users \JOAN\MUEA\SFE\semat−eb\mice_kernels\ de421 . bsp ’ ) ; 7%cspice_furnsh ( ’C: \ Users \JOAN\MUEA\SFE\semat−eb\mice_kernels\ de405 . bsp ’ ) ; 8cspice_furnsh( ’C: \ Users \JOAN\MUEA\SFE\semat−eb\mice_kernels\ naif0012 . t l s . pc ’ ) ; 9cspice_furnsh( ’C: \ Users \JOAN\MUEA\SFE\semat−eb\ mice_kernels \de −403−masses . tpc ’ ) ; 10 cspice_furnsh( ’C: \ Users \JOAN\MUEA\SFE\semat−eb\mice_kernels\ wld86210 .15 ’ ) ; 11 cspice_furnsh( ’C: \ Users \JOAN\MUEA\SFE\semat−eb\mice_kernels\ wld1156302 .15 ’ ) ; 12 params . ephemerides . isLoaded = true ; 13 end 14 end D.7 load_kernels_alt 1function [ ] = load_kernels_alt () 2% Loads a l l necessary s p ice Kernels 3 4cspice_furnsh( ’C: \ Users \JOAN\MUEA\SFE\semat−eb\ mice_kernels \ de438s . bsp ’ ) ; 5%cspice_furnsh ( ’C: \ Users \JOAN\MUEA\SFE\semat−eb\ mice_kernels \ de421 . bsp ’ ) ; 6%cspice_furnsh ( ’C: \ Users \JOAN\MUEA\SFE\semat−eb\ mice_kernels \ de405 . bsp ’ ) ; 7cspice_furnsh( ’C: \ Users \JOAN\MUEA\SFE\semat−eb\ mice_kernels \ naif00 12 . t l s . pc ’ ) ; 8cspice_furnsh( ’C: \ Users \JOAN\MUEA\SFE\semat−eb\ mice_kernels \de−403− masses . tpc ’ ) ; 9cspice_furnsh( ’C: \ Users \JOAN\MUEA\SFE\semat−eb\ mice_kernels \ wld86210 .15 ’ ) ; 10 cspice_furnsh( ’C: \ Users \JOAN\MUEA\SFE\semat−eb\mice_kernels\ wld1156302 .15 ’ ) ; 11 12 end D.8 unload_kernels_alt 1function [] = unload_kernels_alt() 2%UNLOAD_KERNELS Unloads a l l s p ic e k e r nels 3 4cspice_kclear () ; 99
5 6 7end 100