Skip to content

Commit 0352a4b

Browse files
committed
cleaning up payload range
1 parent 14842e4 commit 0352a4b

File tree

1 file changed

+2
-17
lines changed

1 file changed

+2
-17
lines changed

tut_payload_range.py

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
1-
# tut_mission_Embraer_E190_constThr.py
1+
# tut_payload_range.py
22
#
33
# 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
95

106
# ----------------------------------------------------------------------
117
# Imports
@@ -58,7 +54,6 @@ def main():
5854

5955
return
6056

61-
6257
# ----------------------------------------------------------------------
6358
# Analysis Setup
6459
# ----------------------------------------------------------------------
@@ -904,16 +899,6 @@ def plot_mission(results,line_style='bo-'):
904899
axes.set_ylabel('Thrust (N)')
905900
axes.grid(True)
906901

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-
917902
# ------------------------------------------------------------------
918903
# Aerodynamics 1
919904
# ------------------------------------------------------------------

0 commit comments

Comments
 (0)