You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a simple model of the Space Shuttle Main Engine (SSME) performance. It is based on the data from the Dr. Rodney Bowersox:
Combustion Chamber Data
Fuel
Hydrogen
Oxidizer
$O_{2}$
Fuel/Oxidizer Ratio $\phi$
0.166
Hydrogen Injection Temperature
850 K
Oxygen Injection Temperature
530 K
Combustion Chamber Pressure
204 atm
Nozzle Geometry
$R_{t}$
5.15 in
$R_{e}$
45.35 in
$\theta_{p}$
32.00 deg
Oxygen First Enthalpy Exchanger
We begin with computing the equivalence ratio $\phi$ for the oxygen first enthalpy exchanger. The equivalence ratio is defined as the ratio of the mass of fuel to the mass of oxidizer. The mass of fuel is the mass of hydrogen, and the mass of oxidizer is the mass of oxygen. The mass of hydrogen is $\phi \frac{mol_{O_{2}}}{mol_{H_{2}}} = \Phi$
From here we are to calculate the standard heat of formation by:
Where $\hat{b}$ is read from a table developed in exchanger.py. $\Delta \hat{h_{i}}$ is calculated for both hydrogen and oxygen. Once we calculate $\Delta \hat{h_{i}}$ for each, we then calculate the enthalpy of the mixture:
Note: notice the $(2-\Phi)H_{2}$ portion of the equation. This is used since we calculated the enthalpy of formation for hydrogen (H) and not hydrogen gas $H_{2}$.
From here we can sum the molar enthalpies of formation to get the first estimate of the first reaction enthalpy:
We are to then interpolate this value from the given turn tables to get the actual value of the combustion temperature for Oxygen First Enthalpy Exchanger. This is done in exchanger.py. At the end of this process we have the combustion temperature for the Oxygen First Enthalpy Exchanger, $T_{c}$.
Oxygen - Combustion Chamber
For the Combustion Chamber we wil using the two sub-reactions:
$H_{2}O \rightarrow OH+H$
$H_{2}\rightarrow 2H$
From here we are to calculate the Gibbs Free Energy of each species.
Where $\bar{g_{fh}}$ is the Gibbs Free Energy of formation of $H_{2}$, $\bar{g_{foh}}$ is the Gibbs Free Energy of formation of OH, and $\bar{g_{fh_{2}o}}$ is the Gibbs Free Energy of formation of $H_{2}O$. These values are read from the Iterater.py file.
Here we know that the fuel is $H_{2}$ therefore the mass of the fuel is 2.02 $\frac{g}{mol}$ and the mass of the oxidizer is $m_{oxidizer} =\frac{2.02}{\phi}$. And $l = \frac{m_{oxidizer}}{2 m_{O_2}}$. Once we have $l$ we re-visit the Chemistry Problem by solving the Atom Balance:
Where $N_{H_{2}O}$, $N_{H_{2}}$, $N_{H}$, and $N_{OH}$ are the number of moles of each species. We can then solve for $N_{H_{2}O}$, $N_{H_{2}}$, $N_{H}$, and $N_{OH}$:
$1 = N_{H_{2}O} + N_{H_{2}}$
$0.760592 = N_{H_{2}O}$
Resulting in us having 4 unknown values with only 2 equations. This a signal to us prompting the Law of Mass Action. When solving for the Moler Fraction of each species we get:
We can for Mach number $M_{e}$ by making use of scipy.optimize.fsolve, which returns the roots of a non-linear function. After solving for $M_{e}$ we can then solve for the pressure, Temperature, and velocity:
This repository contains a contain that analyzes the performance of an Space Shuttle Main Engine. The write up in written for Oxygen, a Flourine alternate will be added soon.