renamed simplified atmosphere equations

This commit is contained in:
Marcel Christian Frommelt 2021-05-03 17:41:42 +09:00
parent f55190ca6a
commit 449f92da0f
1 changed files with 3 additions and 6 deletions

View File

@ -4,7 +4,7 @@ import numpy as np
# ATMOSPHERE MODEL:
def T_air(h):
def T_air_simple(h):
if 0 <= h <= 11000:
res = 288.15 - 0.0065 * h
elif 11000 < h <= 20000:
@ -14,7 +14,7 @@ def T_air(h):
return res
def p_air(h):
def p_air_simple(h):
if 0 <= h <= 11000:
res = 101325 * ((288.15 - 0.0065 * h)/288.15) ** 5.25577
elif 11000 < h <= 20000:
@ -24,9 +24,6 @@ def p_air(h):
return res
def rho_air(h):
def rho_air_simple(h):
res = p_air(h)/(R_air * T_air(h))
return res
def