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:
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
- Download the code:
git clone https://github.com/kubanemil/LimeRocket.git
- Install all of the requirements by:
pip install -r requirements.txt
- Get to rockets.py file and create the Rocket() class instance:
roc = Rocket()
- Then use .plot_rocket() method:
roc.plot_rocket()
- To see the engine type:
roc.plot_engine()
- 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.
- radius -
- -
- -
- -
- -
- -
- OOO -