Skip to content

Commit

Permalink
Prepping turbofan model
Browse files Browse the repository at this point in the history
  • Loading branch information
GodotMisogi committed May 5, 2024
1 parent 484b49a commit 366c7a8
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/Propulsion/propulsion.jl
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,19 @@ function induced_velocity(x, r, a_x, Vx0)
return SVector(V_r, V_x)
end

## Turbofan
#=======================================================#

# Compressor:
# Inlet -> Compressor map -> Pressure rise -> Ideal flow thermo -
# -> Enthalpy rise -> Real flow thermo -> Polytropic efficiency -
# -> Shaft power and bleed ->
#-----------------#

corrected_quantities(Tt, Pt, W_in, Nmech, Wc, Nc) = (Pt / P_STDeng, W_in, ) # Corrected quantities
polytropic_efficiency(PR, Rt, S_in, S_out) = Rt * log(PR) / (Rt * log(PR) + S_out - S_in) # Polytropic efficiency
shaft_power(W, ht_in, ht_out) = W * (ht_in - ht_out) * BTU_s2HP # Shaft power

#

end

0 comments on commit 366c7a8

Please sign in to comment.