Minimum Time Orbit Transfer Problem

The fourth example describes a minimum time orbit transfer problem . The goal is to minimize the transfer time of a constant thrust rocket between the orbits of Earth and Mars, and to determine the optimal thrust angle control. The original free-time mathematical problem is stated as follows:

Minimize

(1)

subject to

(2)

(3)

(4)

with initial conditions

(5)

and final conditions

(6)

In [1], the original problem was transformed into a fixed time domain [-1, 1]. The corresponding value for the transfer time, tF , was reported at 3.31873 using ninth-degree Chebyshev polynomial approximations. Here, we solve the original free-time problem as stated in (1)-(6).

Spreadsheet Model

Referring to Table 1, the initial value problem (2)-(5) is modeled using a third-order parametrized polynomial approximation for u(t) with zero initial guess for the unknown coefficients. Since tF is free, it is assigned its own variable, B13 with an initial guess of 10.

Table 1
AB
1ODE variables
2t0
3x_11
4x_20
5x_31
6System Parameters
7gamma1
8R00.1405
9m01
10mdot-0.07487
11Time Domain
12t00
13tF10
14Parametrized controller formula
15c_00
16c_10
17c_20
18c_30
19u=c_0+c_1*t+c_2*t^2+c_3*t^3
20ODE rhs equations
21x1dot=x_2
22x2dot=x_3^2/x_1-gamma/x_1^2+R0*SIN(u)/(m0+mdot*t)
23x3dot=-x_2*x_3/x_1+R0*COS(u)/(m0+mdot*t)

We obtain the initial solution by evaluating the array formula =IVSOLVE(B21:B23, B2:B5, B12:B13) in array E2:H103 shown partially in Table 2 along with the generated control column and the initial objective value using the formulas listed in Table 3. Note that the third argument to the IVSOLVE formula is the variable time domain [0, tF] which is represented by the range B12:B13. The initial trajectories for the system are plotted in Figure 1.

Table 2
EFGHIJK
1IVP Solution
2tx_1x_2x_3u Cost functional
30.001010Objective10
40.101.0000470.0014131.0140550
50.201.0003780.0056811.0279270
60.301.0012780.0128071.0413130
70.401.0030340.022761.0539050
1009.708.3058371.4998191.3910050
1019.808.4569231.5219271.4177340
1029.908.6102491.5445731.4455460
10310.008.7658651.5677831.4744970
Table 3: formulas used to generate values shown in Table 2
PurposeCellFormula
Initial value problem solutionE2:H103=IVSOLVE(B21:B23, B2:B5, B12:B13)
AutoFill formula for control valuesJ3=c_0+c_1*E3+c_2*E3^2+c_3*E3^3
Objective formulaL3=tF
Figure 1

Results and Discussion

We configure Excel Solver to minimize the objective formula L3 by varying the end time tF, B13, and the control coefficients B15:B18, subject to the end point equality constraints on the state variables (6). The constraints are added directly into the Solver dialog by referencing the corresponding cells in the last row of the IVSOLVE solution array in Table 2. The Solver reported, in under 20 seconds, the feasible solution shown in the Answer Report of Figure 2. The minimum orbit time, tF , was found to be 3.58656. This compares reasonably well to the value reported in [1] at 3.31873 using ninth-degree Chebyshev polynomial approximations. The optimal trajectories are plotted in Figure 3.

Figure 2
Figure 3

References

[1] Elnagar, G.; Kazemi, M.A. Pseudospectral Chebyshev Optimal Control of Constrained Nonlinear Dynamical Systems. Comput. Optim. Appl. 1998, 11, 195-217.

[2] Ghaddar, C. K. "Novel Spreadsheet Direct Method for Optimal Control Problems." Math. Comput. Appl., 23, 6, 2018.
Available at: http://www.mdpi.com/2297-8747/23/1/6

[3] Ghaddar, C.K. "Rapid Solution of Optimal Control Problems by a Functional Spreadsheet Paradigm: A Practical Method for the Non-Programmer". Math. Comput. Appl. 2018, 23, 54.
Available at: https://www.mdpi.com/2297-8747/23/4/54

Question or Comment? Email us:
support @ excel-works.com

ExceLab: Transforming Excel into a Calculus Power House

ExceLab functions and methods are protected by USA Patents 10628634, 10114812, 9892108 and 9286286.

© 2015-2024, ExcelWorks LLC
Boston, USA