Tsiolkovsky Rocket Optimization

The Tsiolkovsky rocket equation was developed by Russian scientist and pioneer of space exploration, Konstantin Tsiolkovsky. It is a mathematical equation that describes the motion of a rocket in a vacuum and is used to calculate the velocity, acceleration, and thrust of the rocket. The equation is used to determine the optimal design parameters for a rocket and is an important tool for the design of space flight systems.

The Tsiolkovsky rocket [1] has a direct correlation between the change of velocity `(\Delta v)` of a rocket, wet mass `(m_0)`, dry mass `(m_f)`, and exhaust velocity `(v_0)` as shown in:

$$\Delta v = v_0\log{\frac{m_0}{m_f}}$$

This problem optimizes the design of a simple rocket for profit. Potential revenue increases with greater change in velocity, as greater velocities allow the payload to reach higher orbits that have less drag, allowing it to remain in orbit longer. Wet mass, dry mass, and exhaust velocity are design variables, where wet mass is the total initial mass of the rocket, including propellant, and dry mass is the mass of the rocket at full ascent.

The rocket must have a dry mass of at least 20,000 kilograms and the change in velocity should be between 9,400 meters per second and 20,200 meters per second. Varying designs allow for exhaust velocities ranging from 2,500 m/s to 4,500 m/s [2]. An appropriate guess value for the wet mass is 150,650 kilograms.

The overall profit from the rocket is:

$$Profit = R - C_f - C_d - C_e$$

where `C_{f}` is the cost of fuel, given by:

$$C_{f} = 4.154(m_0 - m_f)$$

`C_d` is the cost of the rocket:

$$C_{d} = 154.36 \, m_f$$

`C_{ex}` is the cost in relation to adjusting the exhaust velocity

$$C_{ex} = 75 \, v_0$$

R is revenue and is given by

$$R = 550\Delta v$$

Full Rocket Launch Design Assignment (PDF)

Turn in a report with the following sections:

  1. Title Page with Summary. The Summary should be short (less than 50 words), and give the main optimization results.
  2. Procedure: Give a brief description of your model. You are welcome to refer to the assignment which should be in the Appendix. Also include:
    1. A table with the analysis variables, design variables, analysis functions and design functions.
  3. Results: Briefly describe the results of optimization (values). Also include:
    1. A table showing the optimum values of variables and functions, indicating binding constraints and/or variables at bounds (highlighted)
    2. A table giving the various starting points which were tried along with the optimal objective values reached from that point.
  4. Discussion of Results: Briefly discuss the optimum and design space around the optimum. Do you feel this is a global optimum? Also include and briefly discuss:
    1. A โ€œzoomed outโ€ contour plot showing the design space (both feasible and infeasible) for diameter and thickness, with the feasible region shaded and optimum marked.
    2. A โ€œzoomed inโ€ contour plot of the design space (mostly feasible space) for diameter and thickness, with the feasible region shaded and optimum marked.
  5. Appendix:
    1. Listing of your model with all variables and equations
    2. Solver output with details of the convergence to the optimal values

Any output from the software is to be integrated into the report (either physically or electronically pasted) as given in the sections above. Tables and figures should all have explanatory captions. Do not just staple pages of output to your assignment: all raw output is to have notations made on it. For graphs, you are to shade the feasible region and mark the optimum point. For tables of design values, you are to indicate, with arrows and comments, any variables at bounds, any binding constraints, the objective, etc. (You need to show that you understand the meaning of the output you have included.)

References

  1. Holli Riebeek. Catalog of earth satellite orbits: Feature articles. 2009.
  2. Nesrin Sarigul-Klijn, Chris Noel, and Martinus Sarigul-Klijn. Air launching eart-to-orbit vehicles: Delta V gains from launch conditions and vehicle aerodynamics. 01 2004.

Acknowledgement

Thanks to Adam Martin for providing the problem statement and the solution.


This assignment can be completed in collaboration with others. Additional guidelines on individual, collaborative, and group assignments are provided under the Expectations link.

Solution Help

See GEKKO documentation and additional example problems.

from gekko import GEKKO
m = GEKKO()

# revenue per dv
r_dv = 550  
# wet mass  (kg)
m_0 = m.Var(value=150650)                  
# dry mass. (kg)
m_f = m.Var(lb=20000)                      
# effective exhaust velocity. m/s
v_0 = m.Var(value=3500,lb=2500,ub=4500)    
# velocity of the vehicle to orbital velocity at 242 km
dv = m.Var(lb=9400, ub=20200)              
profit = m.Var() # revenue - cost

# Intermediates
c_fuel = m.Intermediate(4.154*(m_0 - m_f)) # Cost of fuel
c_dry = m.Intermediate(154.36*m_f) # Cost of rocket
c_exhaust = m.Intermediate(75*v_0) # Cost of exhaust velocity
cost = m.Intermediate(c_fuel + c_dry + c_exhaust)
revenue = m.Intermediate(dv*r_dv) # Revenue

# Equations
m.Equations([
        dv == v_0*m.log((m_0/m_f)),
        m_0 >= 2*m_f,
        profit == revenue - cost
        ])

# Objective
m.Maximize(profit)
m.options.SOLVER = 3
m.solve()

print('wet mass: ' , str(m_0[0]))
print('dry mass: ' , str(m_f[0]))
print('dv: ' + str(dv[0]))
print('v_0: ' + str(v_0[0]))

Generative AI Learning

Use these prompts to test your understanding while completing the exercise. Direct the AI - it may probe your model, but the rocket economics and the optimization are yours.

"Quiz me with 4 questions, one at a time, on the Tsiolkovsky rocket optimization: what the rocket equation delta-v = v0 ln(m0/mf) implies about the diminishing return of adding propellant, why the problem maximizes profit rather than delta-v and how each cost term (fuel, dry mass, exhaust velocity) pushes the design, why the constraint m0 at least 2 mf exists and what breaks physically without it, and why higher exhaust velocity is not free even though it improves the logarithm's leverage. Grade my answers and list my misconceptions."
"Before I optimize the rocket (maximize profit = revenue - fuel cost - dry mass cost - exhaust velocity cost; delta-v between 9,400 and 20,200 m/s; v0 between 2,500 and 4,500 m/s; mf at least 20,000 kg; m0 at least 2 mf): interview me until I commit to which constraints will be active at the optimum - in particular whether the profit-maximizing rocket flies at the minimum allowed delta-v or above it, and whether v0 lands at a bound. Then grade my economic reasoning without revealing numbers."

Add to Your Report

Include these items in the report described above, in the appropriate sections. You may use Generative AI to help draft and format, but you must supply the correct results, justifications, and assumptions:

  1. In Results: your committed prediction of the active constraint set next to the actual active set from your run.
  2. In Discussion: the shadow price of the delta-v requirement - re-solve with the lower delta-v limit at 9,400 vs 10,400 m/s and report the profit change per m/s. What does this number mean for a customer negotiating orbit requirements?
  3. In Discussion: a scaling note - the masses are order 10^4-10^5 kg while velocities are order 10^3 m/s. Did you rescale variables (or work in log mass)? Report any effect on solver behavior.
  4. In the Appendix: one question from the quiz prompt you missed and the corrected answer.

Course Information

Homework

Projects

Activities

Lecture Notes

Extra Content

Related Courses

Admin