Goddart's rocket problem: Difference between revisions
Appearance
FelixMueller (talk | contribs) No edit summary |
RobertLampel (talk | contribs) |
||
| (7 intermediate revisions by 2 users not shown) | |||
| Line 2: | Line 2: | ||
|nd = 1 | |nd = 1 | ||
|nx = 3 | |nx = 3 | ||
| | |nu = 1 | ||
|nre = | |nc = 1 | ||
|nre = 4 | |||
}} | }} | ||
| Line 14: | Line 15: | ||
<dd> | <dd> | ||
<math> | <math> | ||
D(r,v):= Av^2 \rho(r)\text{, with }\rho(r):= exp(-k\cdot (r-r_0)). | D(r,v):= Av^2 \rho(r)\text{, with }\rho(r):= \exp(-k\cdot (r-r_0)). | ||
</math> | </math> | ||
</dd> | </dd> | ||
| Line 25: | Line 26: | ||
\begin{array}{llcll} | \begin{array}{llcll} | ||
\displaystyle \min_{m,r,v,u,T} & -m(T)\\[1.5ex] | \displaystyle \min_{m,r,v,u,T} & -m(T)\\[1.5ex] | ||
\mbox{s.t.} & \dot{r} | \mbox{s.t.} & \dot{r} & = & v, \\ | ||
& \dot{v} | & \dot{v} & = & -\frac{1}{r^2} + \frac{1}{m} (T_{\mathrm{max}}u-D(r,v)) \\[1.5ex] | ||
& \dot{m} | & \dot{m} & = & -b u, \\ | ||
& u(t) &\in& [0,1] \\ | & u(t) &\in& [0,1] \\ | ||
& r(0) &=& r_0, \\ | & r(0) &=& r_0, \\ | ||
| Line 33: | Line 34: | ||
& m(0) &=& m_0, \\ | & m(0) &=& m_0, \\ | ||
& r(T) &=& r_T, \\ | & r(T) &=& r_T, \\ | ||
& D(r | & D(r,v)&\le& C \\ | ||
& T \ | & T \quad \text{free} | ||
\end{array} | \end{array} | ||
</math> | </math> | ||
| Line 49: | Line 50: | ||
r_T &=& 1.01 \\ | r_T &=& 1.01 \\ | ||
b &=& 7 \\ | b &=& 7 \\ | ||
T_{max} &=& 3.5 \\ | T_{\mathrm{max}} &=& 3.5 \\ | ||
A &=& 310 \\ | A &=& 310 \\ | ||
k &=& 500 \\ | k &=& 500 \\ | ||
| Line 73: | Line 74: | ||
* [[:Category: Bocop | Bocop code]] at [[Goddart's rocket problem (Bocop)]] | * [[:Category: Bocop | Bocop code]] at [[Goddart's rocket problem (Bocop)]] | ||
* [[:Category: AMPL/TACO | AMPL/TACO code]] at [[Goddart's rocket problem (TACO)]] | |||
== References == | == References == | ||
Latest revision as of 12:45, 10 October 2025
| Goddart's rocket problem | |
|---|---|
| State dimension: | 1 |
| Differential states: | 3 |
| Continuous control functions: | 1 |
| Path constraints: | 1 |
| Interior point equalities: | 4 |
In Goddart's rocket problem we model the ascent (vertical; restricted to 1 dimension) of a rocket. The aim is to reach a certain altitude with minimal fuel consumption. It is equivalent to maximize the mass at the final altitude.
Variables
The state variables describe the altitude(radius), speed and mass respectively.
The drag is given by
All units are renormalized.
Mathematical formulation
Parameters
Reference Solution
The following reference solution was generated using BOCOP. The optimal value of the objective function is -0.63389.
- Reference solution plots
-
Control u over time.
-
Position r over time.
-
Speed v over time.
-
Mass m over time.
Source Code
Model descriptions are available in:
References
The Problem can be found in the BOCOP User Guide.