|
1 | | -# tut_mission_Embraer_E190_constThr.py |
| 1 | +# tut_payload_range.py |
2 | 2 | # |
3 | 3 | # Created: Aug 2014, SUAVE Team |
4 | | -# Modified: Jun 2015, SUAVE Team |
5 | | - |
6 | | -""" setup file for a mission with a E190 |
7 | | -""" |
8 | | - |
| 4 | +# Modified: Apr 2016, T. Orra |
9 | 5 |
|
10 | 6 | # ---------------------------------------------------------------------- |
11 | 7 | # Imports |
@@ -58,7 +54,6 @@ def main(): |
58 | 54 |
|
59 | 55 | return |
60 | 56 |
|
61 | | - |
62 | 57 | # ---------------------------------------------------------------------- |
63 | 58 | # Analysis Setup |
64 | 59 | # ---------------------------------------------------------------------- |
@@ -355,7 +350,7 @@ def vehicle_setup(): |
355 | 350 |
|
356 | 351 | #initialize the gas turbine network |
357 | 352 | gt_engine = SUAVE.Components.Energy.Networks.Turbofan() |
358 | | - gt_engine.tag = 'turbo_fan' |
| 353 | + gt_engine.tag = 'turbofan' |
359 | 354 |
|
360 | 355 | gt_engine.number_of_engines = 2.0 |
361 | 356 | gt_engine.bypass_ratio = 5.4 |
@@ -904,16 +899,6 @@ def plot_mission(results,line_style='bo-'): |
904 | 899 | axes.set_ylabel('Thrust (N)') |
905 | 900 | axes.grid(True) |
906 | 901 |
|
907 | | - try: |
908 | | - Pitching_moment = segment.conditions.stability.static.cm_alpha[:,0] |
909 | | - axes = fig.add_subplot(4,1,4) |
910 | | - axes.plot( time , Pitching_moment , line_style ) |
911 | | - axes.set_xlabel('Time (min)') |
912 | | - axes.set_ylabel('Pitching_moment (~)') |
913 | | - axes.grid(True) |
914 | | - except: |
915 | | - pass |
916 | | - |
917 | 902 | # ------------------------------------------------------------------ |
918 | 903 | # Aerodynamics 1 |
919 | 904 | # ------------------------------------------------------------------ |
|
0 commit comments