Skip to content

The python program to calculate the configurations for small liquid-propellant rocket

Notifications You must be signed in to change notification settings

kubanemil/LimeRocket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LimeRocket. Making Optimal Liquid-Propellant Rockets

How Application Works

LimeRocket is a Python framework that uses modern rocket science theory to model the liquid propellant rocket. This includes:

  • Finding the optimal configuration and sizing of the rocket
  • Modeling the rocket’s engine.
  • Calculation of variables that used to calculate the efficiency of the flight.

LimeRocket uses NASA’s CEA (Chemical Equilibrium Application) to calculate and model the rocket’s engine.

Flight simulations based on proven dynamic equations.

Also, LimeRocket finds optimal rocket version for maximum height fly:

Why?

For enthusiastic people, who want to build their own advanced and modern rocket, there is yet no tool that can help them with complex calculations. Although there are some tools that provide assistance, like OpenRocket (for solid-propellant, model rockets) and NASA’s CEARUN (for modeling the engine), their function are narrow and can’t serve as a framework that provides broad opportunities for building LP (liquid-propellant) rockets.

LimeRocket serves exactly that purpose: it can simultaneously model the flight and configuration of the LP rocket. That is why it is perfect for those people, who begin to build their own rockets!

How to Use it

  1. Download the code: git clone https://github.com/kubanemil/LimeRocket.git
  2. Install all of the requirements by: pip install -r requirements.txt
  3. Get to rockets.py file and create the Rocket() class instance: roc = Rocket()
  4. Then use .plot_rocket() method: roc.plot_rocket()
  5. To see the engine type: roc.plot_engine()

Variable Explanation

Rocket() class

  • tanks_height - combined height of oxidizer tank and fuel tank (in meters)
  • o_f - mass ratio of oxidizer to fuel (ox_mass/fuel_mass)
  • radius = outer radios of rocket's base (in meters)
  • ho2_per = concentration of HO2 in percents (0% - 100%)
  • others_mass - mass of the scheme and other minor details.
  • KPD - relative efficiency of engine in ratio (0-1.0)
  • mdot - the combined mass flow of fuel+oxidizer (kg/sec)
  • ch_pressure - pressure inside the engine's chamber.
  • Po_Pf - ratio of initial pressure inside the tanks to the final.
  • Cd - drag coefficient of the Rocket.

Tank() class

  • radius -
  • -
  • -
  • -
  • -
  • -
  • OOO -

About

The python program to calculate the configurations for small liquid-propellant rocket

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages