コード例 #1
0
ファイル: Vehicle.py プロジェクト: tristanpaine/SUAVE
    def __defaults__(self):
        self.tag = 'vehicle'
        self.fuselages = Components.Fuselages.Fuselage.Container()
        self.wings = Components.Wings.Wing.Container()
        self.propulsors = Components.Propulsors.Propulsor.Container()
        self.energy = Components.Energy.Energy()
        self.systems = Components.Systems.System.Container()
        self.mass_properties = Vehicle_Mass_Properties()
        self.cost = Components.Cost()
        self.envelope = Components.Envelope()
        self.reference_area = 0.0
        self.passengers = 0.0

        self.max_lift_coefficient_factor = 1.0
コード例 #2
0
 def __defaults__(self):
     """This sets the default values.
 
         Assumptions:
         None
 
         Source:
         N/A
 
         Inputs:
         None
 
         Outputs:
         None
 
         Properties Used:
         None
         """
     self.tag = 'vehicle'
     self.fuselages = Components.Fuselages.Fuselage.Container()
     self.wings = Components.Wings.Wing.Container()
     self.networks = Components.Energy.Networks.Network.Container()
     self.nacelles = Components.Nacelles.Nacelle.Container()
     self.systems = Components.Systems.System.Container()
     self.mass_properties = Vehicle_Mass_Container()
     self.payload = Components.Payloads.Payload.Container()
     self.costs = Costs()
     self.envelope = Components.Envelope()
     self.landing_gear = Components.Landing_Gear.Landing_Gear.Container()
     self.reference_area = 0.0
     self.passengers = 0.0
     self.performance = DataOrdered()
コード例 #3
0
ファイル: Vehicle.py プロジェクト: zpgcl97001/SUAVE
    def __defaults__(self):
        """This sets the default values.
    
            Assumptions:
            None
    
            Source:
            N/A
    
            Inputs:
            None
    
            Outputs:
            None
    
            Properties Used:
            None
            """
        self.tag = 'vehicle'
        self.fuselages = Components.Fuselages.Fuselage.Container()
        self.wings = Components.Wings.Wing.Container()
        self.propulsors = Components.Propulsors.Propulsor.Container()
        self.energy = Components.Energy.Energy()
        self.systems = Components.Systems.System.Container()
        self.mass_properties = Vehicle_Mass_Properties()
        self.costs = Costs()
        self.envelope = Components.Envelope()
        self.reference_area = 0.0
        self.passengers = 0.0

        self.max_lift_coefficient_factor = 1.0