コード例 #1
0
ファイル: Procedure.py プロジェクト: nevesgeovana/TCC
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
コード例 #2
0
def setup():

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

    # size the base config
    procedure = Process()
    procedure.initial_sizing = initial_sizing
    procedure.weights = weight
    procedure.weights_sizing = weights_sizing
    procedure.estimate_clmax = estimate_clmax

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

    # Noise evaluation
    procedure.noise = Process()
    procedure.noise.sideline_init = noise_sideline_init
    procedure.noise.takeoff_init = noise_takeoff_init
    procedure.noise.noise_sideline = noise_sideline
    procedure.noise.noise_flyover = noise_flyover
    procedure.noise.noise_approach = noise_approach

    # post process the results
    procedure.post_process = post_process

    # done!
    return procedure
コード例 #3
0
ファイル: Procedure.py プロジェクト: michK/SUAVE
def setup():
    
    # ------------------------------------------------------------------
    #   Analysis Procedure
    # ------------------------------------------------------------------ 
    
    # size the base config
    procedure = Process()
    procedure.initial_sizing = initial_sizing
    procedure.weights = weight
    procedure.weights_sizing = weights_sizing
    procedure.estimate_clmax = estimate_clmax
    
    # find the weights
    # finalizes the data dependencies
    procedure.finalize = finalize   
    
    # Noise evaluation
    procedure.noise                   = Process()
    procedure.noise.sideline_init     = noise_sideline_init
    procedure.noise.takeoff_init      = noise_takeoff_init
    procedure.noise.noise_sideline    = noise_sideline
    procedure.noise.noise_flyover     = noise_flyover
    procedure.noise.noise_approach    = noise_approach 
  
    # post process the results
    procedure.post_process = post_process
        
    # done!
    return procedure
コード例 #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
コード例 #5
0
ファイル: Procedure.py プロジェクト: suavecode/Tutorials
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