def the_aircraft_function(vehicle,mission):
    
    # start the results data structure
    results = Data()
    
    # evaluate weights
    results = evaluate_weights(vehicle,results)

    # evaluate field length
    results = evaluate_field_length(vehicle,mission,results)
    
    # evaluate the mission
    results = evaluate_mission(vehicle,mission,results)

    # evaluate noise
    results = evaluate_noise(vehicle,mission,results)
    
    # compile results
    results = compile_results(vehicle,mission,results)
    
    return results
Beispiel #2
0
def the_aircraft_function(vehicle, mission):

    # start the results data structure
    results = Data()

    # evaluate weights
    results = evaluate_weights(vehicle, results)

    # evaluate field length
    results = evaluate_field_length(vehicle, mission, results)

    # evaluate the mission
    results = evaluate_mission(vehicle, mission, results)

    # evaluate noise
    results = evaluate_noise(vehicle, mission, results)

    # compile results
    results = compile_results(vehicle, mission, results)

    return results
def the_aircraft_function_EMBRAER(vehicle,mission):

    # start the results data structure
    results = Data()

    # evaluate weights
    print ' Estimating weights'
    results = evaluate_weights(vehicle,results)

    # evaluate field length
    print ' Evaluate field length'
    results = evaluate_field_length(vehicle,mission,results)

    # evaluate range for required payload
    print ' Evaluate range for required payload'
    results = evaluate_range_for_design_payload(vehicle,mission,results)

    # evaluate range from short field
    print ' Evaluate range from short field'
    results = evaluate_range_from_short_field(vehicle,mission,results)

    # evaluate design mission for fuel consuption
    print ' Evaluate design mission for fuel consuption'
    results = evaluate_mission_for_fuel(vehicle,mission,results)

    # evaluate noise
    print ' Evaluate noise'
    results = evaluate_noise(vehicle,mission,results)

    # compile results
    results = compile_results(vehicle,mission,results)

    print results.field_length
    print results.design_payload_mission
    print results.short_field
    print results.mission_for_fuel


    return results
def evaluate_noise(vehicle,mission,results):

    # unpack
    from SUAVE.Methods.Noise.Correlations import shevell as evaluate_noise

    mission_profile = results.mission_profile

    weight_landing    = mission_profile.segments[-1].conditions.weights.total_mass[-1,0]
    number_of_engines = vehicle.propulsors['turbo_fan'].number_of_engines
    thrust_sea_level  = vehicle.propulsors['turbo_fan'].thrust.design
    thrust_landing    = mission_profile.segments[-1].conditions.frames.body.thrust_force_vector[-1,0]

    # evaluate
    noise = evaluate_noise( weight_landing    ,
                            number_of_engines ,
                            thrust_sea_level  ,
                            thrust_landing     )

    # pack
    results.noise = noise

    return results
Beispiel #5
0
def evaluate_noise(vehicle, mission, results):

    # unpack
    from SUAVE.Methods.Noise.Correlations import shevell as evaluate_noise

    mission_profile = results.mission_profile

    weight_landing = mission_profile.segments[
        -1].conditions.weights.total_mass[-1, 0]
    number_of_engines = vehicle.propulsors['Turbo Fan'].number_of_engines
    thrust_sea_level = vehicle.propulsors['Turbo Fan'].thrust.design
    thrust_landing = mission_profile.segments[
        -1].conditions.frames.body.thrust_force_vector[-1, 0]

    # evaluate
    noise = evaluate_noise(weight_landing, number_of_engines, thrust_sea_level,
                           thrust_landing)

    # pack
    results.noise = noise

    return results
def the_aircraft_function_EMBRAER(vehicle,mission):

    # start the results data structure
    results = Data()

    # evaluate weights
    #print ' Estimating weights'
    results = evaluate_weights(vehicle,results)

    # evaluate field length
    #print ' Evaluate field length'
    results = evaluate_field_length(vehicle,mission,results)

    # evaluate range for required payload
    #print ' Evaluate range for required payload'
    results = evaluate_range_for_design_payload(vehicle,mission,results)

    # evaluate range from short field
    #print ' Evaluate range from short field'
    results = evaluate_range_from_short_field(vehicle,mission,results)

    # evaluate design mission for fuel consuption
    #print ' Evaluate design mission for fuel consuption'
    results = evaluate_mission_for_fuel(vehicle,mission,results)

    # evaluate noise
    #print ' Evaluate noise'
    results = evaluate_noise(vehicle,mission,results)

    # compile results
    results = compile_results(vehicle,mission,results)

    #print results.field_length
    #print results.design_payload_mission
    #print results.short_field
    #print results.mission_for_fuel


    return results