Drawing from my involvement with Sun Devil Rocketry and SEDS Rocketry Division, I developed a Python-based codebase to streamline liquid rocket engine (LRE) sizing calculations for the APEX club. Recognizing how painful manual propulsion calculations can be, I created scripts to automate the calculations. This is not just combustion chemistry, but calculations for blade angles on impellers, too, for example. The fundamental goal of this project was to develop a toolset in which the APEX Club (the turbomachinery-centric club I've mentioned here elsewhere), could rely on for faster iterative development.

As the sole developer, I designed a modular Python codebase to compute critical LRE parameters. This includes but isn't limited to specific speed, flow coefficients, and head changes. I used a variety of sources to put together all the governing equations, notating key assumptions of course, along the way. All sources are compiled below, but to gloss over them briefly: a SpaceX engineer wrote a solid retrospective involving equations and calculations he used to develop his own turbopump. In addition, Rocket Propulsion Elements was a great source as well, considering it does a good job of explaining the assumptions involved in using each governing equation (usually).

Impeller class to calculate specific speed (Omega_s), exit flow coefficient (φ_t), and head coefficient (ψ_h).
This ensured optimal impeller sizing for centrifugal pumps.


Thermo class calculated entropy generation and enthalpy changes to support the combustion chemistry calculations. 

I defined requirements based on turbopump design standards (e.g., pressure changes, flow rates), conducted exploratory analyses to validate equations, and optimized scripts for accuracy using NumPy. I tested the codebase with sample inputs (e.g., ω=20,000 RPM, Q=1 m³/s), refining outputs like ΔH and φ_t to align with industry ranges. The modular structure allows easy updates for future engine designs.
I validated calculations against reference values (e.g., φ_t = 0.2–0.3) and used Matplotlib to visualize results, ensuring numerical stability. Unit tests confirmed equation accuracy for various input scenarios, enhancing reliability for APEX’s propulsion projects.