Example #1
0
def setup():
    
    # ------------------------------------------------------------------
    #   Analysis Procedure
    # ------------------------------------------------------------------ 
    
    # size the base config
    procedure = Process()
    procedure.simple_sizing = simple_sizing
    
    # find the weights
    procedure.weights = weight
    # finalizes the data dependencies
    procedure.finalize = finalize

    # performance studies
    procedure.missions                   = Process()
    procedure.missions.design_mission    = design_mission

    # calculate field lengths
    procedure.takeoff_field_length = takeoff_field_length
    procedure.landing_field_length = landing_field_length

    # post process the results
    procedure.post_process = post_process
        
    return procedure
Example #2
0
def setup(surrogate):
    # ------------------------------------------------------------------
    #   Analysis Procedure
    # ------------------------------------------------------------------
    # size the base config
    procedure = Process()
    procedure.simple_sizing = simple_sizing

    # Size the battery and charge it before the mission
    procedure.weights_battery = weights_battery

    # finalizes the data dependencies
    procedure.finalize = finalize

    # performance studies
    procedure.missions = Process()
    procedure.missions.base = simple_mission

    # Post process the results
    procedure.post_process = post_process

    return procedure
Example #3
0
def setup():

    # ------------------------------------------------------------------
    #   Analysis Procedure
    # ------------------------------------------------------------------

    # size the base config
    procedure = Process()
    procedure.simple_sizing = simple_sizing

    # find the weights
    procedure.weights = weight
    # finalizes the data dependencies
    procedure.finalize = finalize

    # performance studies
    procedure.missions = Process()
    procedure.missions.design_mission = design_mission

    # post process the results
    procedure.post_process = post_process

    return procedure
Example #4
0
def setup():
    
    # ------------------------------------------------------------------
    #   Analysis Procedure
    # ------------------------------------------------------------------ 
    
    # size the base config
    procedure = Process()
    procedure.simple_sizing = simple_sizing
    
    # find the weights
    procedure.weights = weight
    # finalizes the data dependencies
    procedure.finalize = finalize
    
    # performance studies
    procedure.missions                   = Process()
    procedure.missions.design_mission    = design_mission

    # post process the results
    procedure.post_process = post_process
        
    return procedure
Example #5
0
def setup():
    
    # ------------------------------------------------------------------
    #   Analysis Procedure
    # ------------------------------------------------------------------ 
    
    # size the base config
    procedure = Process()
    procedure.simple_sizing   = simple_sizing
    
    # Size the battery and charge it before the mission
    procedure.weights_battery = weights_battery

    # finalizes the data dependencies
    procedure.finalize        = finalize
    
    # performance studies
    procedure.missions        = Process()
    procedure.missions.base   = simple_mission
    
    # Post process the results
    procedure.post_process    = post_process
        
    return procedure