Example #1
0
    def test_paragraph335(self):
        """Tests the generation of design airspeed limits"""

        print("CS 23.335 Design Airspeeds Test.")

        # Use Aircraft 1: SEPPA SR-22
        acindex = 1
        concept = aw.CertificationSpecifications(self.ac_lib[acindex][0],
                                                 self.ac_lib[acindex][1],
                                                 self.ac_lib[acindex][2])

        _ = concept._paragraph335()

        return
Example #2
0
    def test_flightenvelope(self):
        """Tests the generation of the flight envelope"""

        print("CS 23.333 Flight Envelope Plot Test.")

        # Use Aircraft 6: Snorri Gudmundsson's example
        acindex = 6
        vndefinitions = {
            'divespeed_keas': 150,
            'certcat': 'norm',
            'weightfraction': 1
        }
        concept = aw.CertificationSpecifications(self.ac_lib[acindex][0],
                                                 self.ac_lib[acindex][1],
                                                 self.ac_lib[acindex][2],
                                                 None,
                                                 None,
                                                 csbrief=vndefinitions)
        concept.flightenvelope(textsize=10)

        # Use Aircraft 7: GDP Test Case 1
        acindex = 7
        vndefinitions = {
            'cruisespeed_keas': 25,
            'divespeed_keas': 45,
            'certcat': 'norm',
            'weightfraction': 1
        }
        concept = aw.CertificationSpecifications(self.ac_lib[acindex][0],
                                                 self.ac_lib[acindex][1],
                                                 self.ac_lib[acindex][2],
                                                 None,
                                                 "electric",
                                                 csbrief=vndefinitions)
        concept.flightenvelope(textsize=10)

        return
Example #3
0
    def test_flightenvelope(self):
        """Tests the generation of the flight envelope"""

        print("CS 23.333 Flight Envelope Plot Test.")

        vndefinitions = {'divespeed_keas': 150, 'certcat': 'norm'}

        # Use Aircraft 6: Snorri Gudmundsson's example
        acindex = 6
        concept = aw.CertificationSpecifications(self.ac_lib[acindex][0],
                                                 self.ac_lib[acindex][1],
                                                 self.ac_lib[acindex][2],
                                                 None,
                                                 None,
                                                 csbrief=vndefinitions)

        concept.flightenvelope(textsize=10)

        return
    def test_flightenvelope(self):
        """Tests the generation of the flight envelope"""

        print("CS 23.333 Flight Envelope Plot Test.")

        # Use Aircraft 6: Snorri Gudmundsson's example
        acindex = 6
        concept = aw.CertificationSpecifications(self.ac_lib[acindex][0],
                                                 self.ac_lib[acindex][1],
                                                 self.ac_lib[acindex][2])

        wingloading_pa = concept.acobj.weight_n / concept.acobj.wingarea_m2
        divespeed_keas = 150

        concept.flightenvelope(wingloading_pa=wingloading_pa,
                               category='norm',
                               vd_keas=divespeed_keas,
                               textsize=10)

        return