コード例 #1
0
def test_basic_configure():

    top = Assembly()

    wt = create_turbine(top)
    configure_turbine(wt)
    wt.tower_height = 115.63
    wt.hub_height = 119.0
    wt.towertop_height = 2.75
    wt.shaft_length = 7.1
    wt.tilt_angle = 5.0
    wt.cone_angle = -2.5
    wt.hub_radius = 2.8
    wt.blade_length = 86.366
    wt.rotor_diameter = 178.332
    c = wt.set_machine_type('VarSpeedVarPitch')
    c.vIn = 3.
    c.vOut = 25.
    c.minOmega = 6.
    c.maxOmega = 9.6
    c.minPitch = 0.

    return top
コード例 #2
0
def test_basic_configure():

    top = Assembly()

    wt = create_turbine(top)
    configure_turbine(wt)
    wt.tower_height = 115.63
    wt.hub_height = 119.0
    wt.towertop_height = 2.75
    wt.shaft_length = 7.1
    wt.tilt_angle = 5.0
    wt.cone_angle = -2.5
    wt.hub_radius = 2.8
    wt.blade_length = 86.366
    wt.rotor_diameter = 178.332
    c = wt.set_machine_type('VarSpeedVarPitch')
    c.vIn = 3.
    c.vOut = 25.
    c.minOmega = 6.
    c.maxOmega = 9.6
    c.minPitch = 0.

    return top
コード例 #3
0
top = Assembly()

# add splined planform description

configure_planform(top, 'data/DTU_10MW_RWT_blade_axis_prebend.dat')
top.blade_length = 86.366
top.span_ni = 30

# add aeroelastic solver
top.add('ae', AEsolver())
top.driver.workflow.add('ae')

# --- 3 ---

# configure the turbine with standard sub-components
configure_turbine(top.ae.wt)

# define overall dimensions
wt = top.ae.wt
wt.turbine_name = 'DTU 10MW RWT'
wt.doc = 'FUSED-Wind definition of the DTU 10MW RWT'
wt.tower_height = 115.63
wt.hub_height = 119.0
wt.towertop_height = 2.75
wt.shaft_length = 7.1
wt.tilt_angle = 5.0
wt.cone_angle = -2.5
wt.hub_radius = 2.8
wt.blade_length = 86.366
wt.rotor_diameter = 178.332
c = wt.set_machine_type('VarSpeedVarPitch')
コード例 #4
0
top = Assembly()

# add splined planform description

configure_planform(top, 'data/DTU_10MW_RWT_blade_axis_prebend.dat')
top.blade_length = 86.366
top.span_ni = 30

# add aeroelastic solver
top.add('ae', AEsolver())
top.driver.workflow.add('ae')

# --- 3 ---

# configure the turbine with standard sub-components
configure_turbine(top.ae.wt)

# define overall dimensions
wt = top.ae.wt
wt.turbine_name = 'DTU 10MW RWT'
wt.doc = 'FUSED-Wind definition of the DTU 10MW RWT'
wt.tower_height = 115.63
wt.hub_height = 119.0
wt.towertop_height = 2.75
wt.shaft_length = 7.1
wt.tilt_angle = 5.0
wt.cone_angle = -2.5
wt.hub_radius = 2.8
wt.blade_length = 86.366
wt.rotor_diameter = 178.332
c = wt.set_machine_type('VarSpeedVarPitch')