Beispiel #1
0
class Test_Nacelle(unittest.TestCase):
    def setUp(self):

        self.nace = DriveWPACT()

        self.nace.rotor_diameter = 126.0  # m
        self.nace.rotor_speed = 12.1  # rpm m/s
        self.nace.machine_rating = 5000.0
        DrivetrainEfficiency = 0.95
        self.nace.rotor_torque = 1.5 * (
            self.nace.machine_rating * 1000. / DrivetrainEfficiency) / (
                self.nace.rotor_speed * (pi / 30.))  # 6.35e6 #4365248.74 # Nm
        self.nace.rotor_thrust = 2.5448e5
        self.nace.rotor_mass = 142585.75  #kg

        # NREL 5 MW Drivetrain variables
        self.nace.drivetrain_design = 'geared'  # geared 3-stage Gearbox with induction generator machine
        self.nace.gear_ratio = 96.76  # 97:1 as listed in the 5 MW reference document
        self.nace.gear_configuration = 'eep'  # epicyclic-epicyclic-parallel
        self.nace.bevel = 0  # no bevel stage
        self.nace.crane = True  # onboard crane present

        # NREL 5 MW Tower Variables
        self.nace.tower_top_diameter = 3.78  # m

    def test_functionality(self):

        self.nace.run()

        self.assertEqual(round(self.nace.nacelle_mass, 1), 273219.9)
Beispiel #2
0
class Test_Nacelle(unittest.TestCase):

    def setUp(self):

        self.nace = DriveWPACT()
    
        self.nace.rotor_diameter = 126.0 # m
        self.nace.rotor_speed = 12.1 # rpm m/s
        self.nace.machine_rating = 5000.0
        DrivetrainEfficiency = 0.95
        self.nace.rotor_torque =  1.5 * (self.nace.machine_rating * 1000. / DrivetrainEfficiency) / (self.nace.rotor_speed * (pi / 30.)) # 6.35e6 #4365248.74 # Nm
        self.nace.rotor_thrust = 2.5448e5
        self.nace.rotor_mass = 142585.75 #kg
    
        # NREL 5 MW Drivetrain variables
        self.nace.drivetrain_design = 'geared' # geared 3-stage Gearbox with induction generator machine
        self.nace.gear_ratio = 96.76 # 97:1 as listed in the 5 MW reference document
        self.nace.gear_configuration = 'eep' # epicyclic-epicyclic-parallel
        self.nace.bevel = 0 # no bevel stage
        self.nace.crane = True # onboard crane present
    
        # NREL 5 MW Tower Variables
        self.nace.tower_top_diameter = 3.78 # m

    def test_functionality(self):
        
        self.nace.run()
        
        self.assertEqual(round(self.nace.nacelle_mass,1), 273219.9)
Beispiel #3
0
nace.rotor_speed = 12.1  #rpm

# NREL 5 MW Drivetrain variables
nace.drivetrain_design = 'geared'  # geared 3-stage Gearbox with induction generator machine
nace.gear_ratio = 96.76  # 97:1 as listed in the 5 MW reference document
nace.gear_configuration = 'eep'  # epicyclic-epicyclic-parallel
nace.bevel = 0  # no bevel stage
nace.crane = True  # onboard crane present

# NREL 5 MW Tower Variables
nace.tower_top_diameter = 3.78  # m

# 5 ---------
# 6 ---------

nace.run()

# 6 ---------
# 7 ---------

print "Estimate of Nacelle Component Sizes for the NREL 5 MW Reference Turbine"
print 'Low speed shaft: {0:8.1f} kg'.format(nace.lowSpeedShaft.mass)
print 'Main bearings: {0:8.1f} kg'.format(nace.mainBearing.mass +
                                          nace.secondBearing.mass)
print 'Gearbox: {0:8.1f} kg'.format(nace.gearbox.mass)
print 'High speed shaft & brakes: {0:8.1f} kg'.format(nace.highSpeedSide.mass)
print 'Generator: {0:8.1f} kg'.format(nace.generator.mass)
print 'Variable speed electronics: {0:8.1f} kg'.format(
    nace.above_yaw_massAdder.vs_electronics_mass)
print 'Overall mainframe:{0:8.1f} kg'.format(
    nace.above_yaw_massAdder.mainframe_mass)
Beispiel #4
0
nace.rotor_speed = 12.1 #rpm

# NREL 5 MW Drivetrain variables
nace.drivetrain_design = 'geared' # geared 3-stage Gearbox with induction generator machine
nace.gear_ratio = 96.76 # 97:1 as listed in the 5 MW reference document
nace.gear_configuration = 'eep' # epicyclic-epicyclic-parallel
nace.bevel = 0 # no bevel stage
nace.crane = True # onboard crane present

# NREL 5 MW Tower Variables
nace.tower_top_diameter = 3.78 # m

# 5 ---------
# 6 ---------

nace.run()

# 6 ---------
# 7 ---------

print "Estimate of Nacelle Component Sizes for the NREL 5 MW Reference Turbine"
print 'Low speed shaft: {0:8.1f} kg'.format(nace.lowSpeedShaft.mass)
print 'Main bearings: {0:8.1f} kg'.format(nace.mainBearing.mass + nace.secondBearing.mass)
print 'Gearbox: {0:8.1f} kg'.format(nace.gearbox.mass)
print 'High speed shaft & brakes: {0:8.1f} kg'.format(nace.highSpeedSide.mass)
print 'Generator: {0:8.1f} kg'.format(nace.generator.mass)
print 'Variable speed electronics: {0:8.1f} kg'.format(nace.above_yaw_massAdder.vs_electronics_mass)
print 'Overall mainframe:{0:8.1f} kg'.format(nace.above_yaw_massAdder.mainframe_mass)
print '     Bedplate: {0:8.1f} kg'.format(nace.bedplate.mass)
print 'Electrical connections: {0:8.1f} kg'.format(nace.above_yaw_massAdder.electrical_mass)
print 'HVAC system: {0:8.1f} kg'.format(nace.above_yaw_massAdder.hvac_mass )