Embraer E-190 Payload Range Diagram Tutorial
1) Locate the tutorial script folder. If necessary cd to this directory.
2) Open the test_payload_range.py script in your favorite editor or IDE.
3) Similar to the B737-800 Tutorial, the setup is divided into steps, but in this case the setup is imported from other script (test_mission_Embraer_E190_constThr).
4) For the Payload Range Diagram, besides the vehicle and mission, the user must provide the following inputs:
- cruise_segment_tag: You must inform the tag of the segment that will have the length modified in order to comply with required fuel burn for each one of the payload range diagram points.
- reserves: This will be considered as a fixed fuel reserve for all the diagram points.
5) The tutorial presents the following definition (line 36):
# run payload diagram
cruise_segment_tag = "Cruise"
reserves = 1750.
payload_range_results = payload_range(vehicle,mission,cruise_segment_tag,reserves)
6) First, let’s just run it as it is for now. Run the script in either the IDE or in a terminal:
7) After all the calculation the payload diagram will be ploted, and the data will be stored in a file named ‘PayloadRangeDiagram.dat’, in the folder where you run the script.
8) You can try to modify vehicle and/or mission parameters, e see how the payload range diagram is affected. For now, let’s add some drag counts to the airplane:
- Locate and open the script test_mission_Embraer_E190_constThr.py, in the tutorial folder (this is the script that contains the vehicle and mission setups)
base_analysis() and then the Aerodynamics Analysis text block (line 144)
- Add 50 drag counts to the vehicle (line 132):
aerodynamics.settings.drag_coefficient_increment = 0.0050
- Rerun the script as before and notice the changes in the results.
9) Similarly the mission parameters can be changed. Again, let’s the user decide what changes they want to explore.