Beispiel #1
0
    def __init__(self, aircraft):
        '''
        @Method: Component Constructor
        '''
        component.__init__(self)
        self.id = 'landingGear'
        self.aircraft = aircraft
        self.level = 2

        #Parameters
        self.mLandingGear = mLandingGear(
            cpacsPath='/cpacs/vehicles/aircraft/model/analyses/massBreakdown/mOEM/mEM/mStructure/mLandingGears/massDescription/mass')
        self.eta = eta()
        self.xsi = xsi()
        self.xLandingGear = xLandingGear()
        self.yLandingGear = yLandingGear()
        self.zLandingGear = zLandingGear()
        self.xNoseGear = xNoseGear()

        #Aerodynamic
        self.dCDextendedLG = dCDextendedLG()
Beispiel #2
0
    def __init__(self, aircraft):
        '''
        @Method: Component Constructor
        '''
        component.__init__(self)
        self.id = 'landingGear'
        self.aircraft = aircraft
        self.level = 2

        #Parameters
        self.mLandingGear = mLandingGear()
        self.mNoseGear = mNoseGear()
        self.eta = eta()
        self.xsi = xsi()
        self.xLandingGear = xLandingGear(cpacsPath='/cpacs/vehicles/aircraft/model/landingGear/mainGears/mainGear/fuselageAttachment/translation/x')
        self.yLandingGear = yLandingGear(cpacsPath='/cpacs/vehicles/aircraft/model/landingGear/mainGears/mainGear/fuselageAttachment/translation/y')
        self.zLandingGear = zLandingGear(cpacsPath='/cpacs/vehicles/aircraft/model/landingGear/mainGears/mainGear/fuselageAttachment/translation/z')
        self.xNoseGear = xNoseGear(cpacsPath='/cpacs/vehicles/aircraft/model/landingGear/noseGears/noseGear/fuselageAttachment/translation/x')
        self.yNoseGear = yNoseGear(cpacsPath='/cpacs/vehicles/aircraft/model/landingGear/noseGears/noseGear/fuselageAttachment/translation/y')
        self.zNoseGear = zNoseGear(cpacsPath='/cpacs/vehicles/aircraft/model/landingGear/noseGears/noseGear/fuselageAttachment/translation/z')

        #Aerodynamic
        self.dCDextendedLG = dCDextendedLG()