Simulating the performance of an air propulsion system as an alternative to solid rocket motors.
For my team was tasked with designing a system capable of moving mining equipment and materials around the surface of the Moon using a propolsive landing. The system had to be tested on earth with something that was feasible for our team to build in 2 semesters. One of the first considerations my capstone advisor wanted was to test the feasibility of an air propulsion system instead of the obvious solution that of using solid rocket motors. This document is really just napkin math to determine if the system is even feasibly and is not mean’t to be a rigorous study of an air propulsion system which would easily keep a capstone team busy by itself.
using Plots
plotly():ggplot2); # In true R spirit
theme(
using Unitful
using DataFrames
using Measurements
using Measurements: value, uncertainty
using CSV
An off the shelf paintball gun tank was used for the pressure vessel. This was chosen because they are very high pressure for their weight, and are designed to be bumped around.
# Tank https://www.amazon.com/Empire-Paintball-BASICS-Pressure-Compressed/dp/B07B6M48SR/
= (85 ± 5)u"inch^3"
V = (4200.0 ± 300)u"psi"
P0 = (2.3 ± 0.2)u"lb"
Wtank = (250 ± 50)u"psi" # Max Pressure that can come out the nozzle Pmax
The nozzle diameter was changed until the air prop system had a burn time similar to a G18ST rocket motor.
# Params
= ((1 // 18) ± 0.001)u"inch"
d_nozzle = (pi / 4) * d_nozzle^2 a_nozzle
These are just universal values for what a normal day would look like in Arizona. (Çengel and Boles 2015)
# Universal Stuff
= (1 ± 0.2)u"atm"
P_amb = 1.4 ± 0.05
γ = 287.05u"J/(kg * K)"
R = (300 ± 20)u"K" T
The actual simulation is actually quite simple. The basic idea is that using the current pressure you can calculate \(\dot{m}\), which allows calculating the Thrust, and then you can just subtract the current mass of air in the tank by \(\dot{m}\) and recalculate pressure using the new mass then repeat the whole process.
The bulk of the equations in the simulation came from (Çengel and Boles 2015), while the Thrust and \(v_e\) equations came from (Sutton and Biblarz 2001, eq: 2-14).
\[ T = \dot{m} \cdot v_\text{Exit} + A_\text{Nozzle} \cdot (P - P_\text{Ambient}) \]
The initial pressure difference is 4190.0 ± 300.0 psi which is absolutely massive so the area of the nozzle greatly affects the simulation. The paintball tanks do come with pressure regulators, in our case 800 psi which is still a very large number compared to atmospheric pressure. While the total impulse of the system doesn’t really change with different nozzle areas the peak thrust and burn time vary greatly. One of the benefits of doing air propulsion, and the reason it was even considered so seriously, is that it should be possible to vary the nozzle diameter in flight which would make controlled landing much easier.
= let
df = 0.0u"s"
t = P0 |> u"Pa"
P = V * (P / (R * T)) |> u"kg"
M = 1u"ms"
ts = DataFrame(Thrust=(0 ± 0)u"N", Pressure=P0, Time=0.0u"s", Mass=M)
df while M > 0.005u"kg"
# Calculate what is leaving tank
= minimum([P, Pmax])
P = sqrt((2 * γ / (γ - 1)) * R * T * (1 - P_amb / P)^((γ - 1) / γ)) |> u"m/s"
ve = P / (R * T) |> u"kg/m^3"
ρ = ρ * a_nozzle * ve |> u"kg/s"
ṁ
= ṁ * ve + a_nozzle * (P - P_amb) |> u"N"
Thrust
# Calculate what is still in the tank
= M - ṁ * ts |> u"kg"
M = (M * R * T) / V |> u"Pa"
P = t + ts
t
= DataFrame(Thrust=Thrust, Pressure=P, Time=t, Mass=M)
df_step append!(df, df_step)
end
dfend
Heres the results plotted. Notice the massive error once the tank starts running low. This is because the calculation for pressure has a lot of variables that are very uncertain. This is mostly due to air being a compressible fluid which is what makes this simulation so difficult to do accurately. The thrust being below 0 N might not make intuitive sense, but its technically possible for the pressure to compress which would leave the inside of the rocket nozzle with a pressure thats actually below atmospheric pressure. The effect would likely last a fraction of a second but the point stands that this simulation is very inaccurate and only meant to get an idea of what an air propulsion system is capable of.
= df.Thrust .|> ustrip .|> value;
thrust_values = df.Thrust .|> ustrip .|> uncertainty;
thrust_uncertainties
= DataFrame(Thrust=thrust_values, Uncertainty=thrust_uncertainties, Time=df.Time .|> u"s" .|> ustrip);
air
Time .|> ustrip, thrust_values,
plot(df.="Thrust Over Time",
title=(thrust_uncertainties, thrust_uncertainties),
ribbon=.2,label="Thrust",
fillalpha="Time (s)",
xlabel="Thrust (N)",
ylabel= (1200, 800),
size )
Figure 1: Air Proplsion Simulation
In Figure 2, the air propulsion simulation is compared to commercially available rocket motors. This early in the project we have no idea whether short burns or longer burns are ideal for a propulsive landing so the air propulsion system was compared to a variety of different motors.
= CSV.read("AeroTech_F10.csv", DataFrame);
f10 = CSV.read("Estes_F15.csv", DataFrame);
f15 = CSV.read("AeroTech_G8ST.csv", DataFrame);
g8
Time, air.Thrust, label="Air Propulsion", fillalpha=.1, legend=:topleft, size = (1200, 800));
plot(air.
for (d, l) in [(f10, "F10"), (f15, "F15"), (g8, "G8ST")]
!(d[!,"Time (s)"], d[!, "Thrust (N)"], label=l);
plotend
!("Propulsion Comparison");
title!("Time (s)");
xlabel!("Thrust (N)") ylabel
Figure 2: Rocket Motor Data: (Coker, n.d.)
Big conclusion about things.
If you see mistakes or want to suggest changes, please create an issue on the source repository.