From 449f92da0fce9d9d6ee385c3ecbd7bd13100634e Mon Sep 17 00:00:00 2001 From: Marcel Frommelt Date: Mon, 3 May 2021 17:41:42 +0900 Subject: [PATCH] renamed simplified atmosphere equations --- models/simple_atmosphere.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/models/simple_atmosphere.py b/models/simple_atmosphere.py index 672ee76..ca2e122 100644 --- a/models/simple_atmosphere.py +++ b/models/simple_atmosphere.py @@ -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 \ No newline at end of file