From 14842e4a573830cc6c51e44bb7b45e574ed11c63 Mon Sep 17 00:00:00 2001 From: tarikorra Date: Sun, 1 May 2016 00:15:12 -0300 Subject: [PATCH 1/2] updating turbofan tag weight estimation are based in the tag.... not robust at all... this should be addressed in the near future. --- tut_payload_range.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tut_payload_range.py b/tut_payload_range.py index d426624..c425457 100644 --- a/tut_payload_range.py +++ b/tut_payload_range.py @@ -355,7 +355,7 @@ def vehicle_setup(): #initialize the gas turbine network gt_engine = SUAVE.Components.Energy.Networks.Turbofan() - gt_engine.tag = 'turbo_fan' + gt_engine.tag = 'turbofan' gt_engine.number_of_engines = 2.0 gt_engine.bypass_ratio = 5.4 From 0352a4bb5e902f9434f5bbeda508d155cd320123 Mon Sep 17 00:00:00 2001 From: Emilio Botero Date: Mon, 2 May 2016 10:24:17 -0700 Subject: [PATCH 2/2] cleaning up payload range --- tut_payload_range.py | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/tut_payload_range.py b/tut_payload_range.py index c425457..674e0af 100644 --- a/tut_payload_range.py +++ b/tut_payload_range.py @@ -1,11 +1,7 @@ -# tut_mission_Embraer_E190_constThr.py +# tut_payload_range.py # # Created: Aug 2014, SUAVE Team -# Modified: Jun 2015, SUAVE Team - -""" setup file for a mission with a E190 -""" - +# Modified: Apr 2016, T. Orra # ---------------------------------------------------------------------- # Imports @@ -58,7 +54,6 @@ def main(): return - # ---------------------------------------------------------------------- # Analysis Setup # ---------------------------------------------------------------------- @@ -904,16 +899,6 @@ def plot_mission(results,line_style='bo-'): axes.set_ylabel('Thrust (N)') axes.grid(True) - try: - Pitching_moment = segment.conditions.stability.static.cm_alpha[:,0] - axes = fig.add_subplot(4,1,4) - axes.plot( time , Pitching_moment , line_style ) - axes.set_xlabel('Time (min)') - axes.set_ylabel('Pitching_moment (~)') - axes.grid(True) - except: - pass - # ------------------------------------------------------------------ # Aerodynamics 1 # ------------------------------------------------------------------