04fa592a7bcb59d3d57b947747fd94a902f08287,trunk/SUAVE/Sizing/size_from_PGM.py,,size_from_PGM,#Any#,26

Before Change


                        max_area = wing.areas.reference
        
        // Size the fuselage
        for fuse in vehicle.fuselages:
                
                 // Use existing scripts
                fuse = fuselage_planform(fuse)
                fuse.heights.at_quarter_length              = fuse.heights.maximum    
                fuse.heights.at_three_quarters_length       = fuse.heights.maximum    
                fuse.heights.at_wing_root_quarter_chord     = fuse.heights.maximum    
                fuse.heights.at_vertical_root_quarter_chord = fuse.heights.maximum    
        
        // Size the propulsion system
        for prop in vehicle.propulsors:
                prop.number_of_engines = int(np.round(prop.number_of_engines))
                
                orig = prop.origin[0]

After Change


                fuse.differential_pressure = 55. * 1000.* Units.pascals       
                
                // Calculate seats abreast
                bins  = np.floor(fuse.width/0.53)
                if bins<=7:
                        aisles = 1.
                elif bins>7:
                        aisles = 2.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: suavecode/SUAVE
Commit Name: 04fa592a7bcb59d3d57b947747fd94a902f08287
Time: 2018-12-04
Author: ebotero@stanford.edu
File Name: trunk/SUAVE/Sizing/size_from_PGM.py
Class Name:
Method Name: size_from_PGM


Project Name: NifTK/NiftyNet
Commit Name: c8b28432a637a780eed96547260722ff3dede57e
Time: 2017-10-04
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/engine/sampler_selective.py
Class Name:
Method Name: rand_choice_coordinates


Project Name: NifTK/NiftyNet
Commit Name: 3162e475ad96caa7e62a6351544fac23e148ab30
Time: 2017-09-16
Author: carole.sudre.12@ucl.ac.uk
File Name: niftynet/engine/sampler_selective.py
Class Name:
Method Name: rand_choice_coordinates