def test1(self):

        nacelle = NacelleSystemCostAdder()

        nacelle.bedplate_mass = 93090.6
        nacelle.machine_rating = 5000.0
        nacelle.drivetrainDesign = 1
        nacelle.crane = True
        nacelle.offshore = True
        nacelle.year = 2009
        nacelle.month = 12
        nacelle.lss_cost = 10000.0
        nacelle.bearings_cost = 10000.0
        nacelle.gearbox_cost = 10000.0
        nacelle.hss_cost = 10000.0
        nacelle.bedplate_cost = 10000.0
        nacelle.bedplateCost2002 = 8000.0
        nacelle.yaw_system_cost = 10000.0

        check_gradient_unit_test(self, nacelle, tol=1e-5)
    def test1(self):

        nacelle = NacelleSystemCostAdder()

        nacelle.bedplate_mass = 93090.6
        nacelle.machine_rating = 5000.0
        nacelle.drivetrainDesign = 1
        nacelle.crane = True
        nacelle.offshore = True
        nacelle.year = 2009
        nacelle.month = 12
        nacelle.lss_cost = 10000.0
        nacelle.bearings_cost = 10000.0
        nacelle.gearbox_cost = 10000.0
        nacelle.hss_cost = 10000.0
        nacelle.bedplate_cost = 10000.0
        nacelle.bedplateCost2002 = 8000.0
        nacelle.yaw_system_cost = 10000.0

        check_gradient_unit_test(self, nacelle, tol=1e-5)