【问题标题】:How can I define several turbine types in one wind farm in Floris?如何在 Floris 的一个风电场中定义多种涡轮机类型?
【发布时间】:2019-10-10 19:15:46
【问题描述】:

我做了 Floris 文档中提供的exercises。它们都为每个风电场定义了一种涡轮机类型。 JSON 配置文件只有一个“turbine”字段。查看source code,Floris 似乎从未打算允许定义混合类型的农场。这是正确的吗?

我有一个由 5 台机器组成的小型风电场,由 3 种不同的涡轮机类型组成。在这种情况下是否有希望使用 Floris?

【问题讨论】:

    标签: floris


    【解决方案1】:

    JSON 输入文件确实只允许定义一个涡轮机类型。但是,在使用 Floris 接口实例化 Floris 对象后,可以更改各个涡轮机参数。

    下面提供了一个示例,说明如何通过农场的turbine_map 属性中的涡轮机列表更改涡轮机参数。改变了第 3 和第 4 涡轮机的转子直径和轮毂高度。此外,还显示了如何更改每个涡轮机的 Cp 和 Ct 曲线的示例。

    # Initialize the FLORIS interface fi
    fi = wfct.floris_utilities.FlorisInterface("example_input.json")
    
    D = fi.floris.farm.turbines[0].rotor_diameter
    hh = fi.floris.farm.turbines[0].hub_height
    
    rotor_diameters_new = [D, D, 0.5*D, 0.5*D]
    hub_heights_new = [hh, hh, 0.75*hh, 0.75*hh]
    
    # As an example, scaling the Cp and Ct curves by 90%
    cp_new = [0.9*x for x in fi.floris.farm.turbines[0].power_thrust_table["power"]]
    ct_new = [0.9*x for x in fi.floris.farm.turbines[0].power_thrust_table["thrust"]]
    
    # Assign new parameters to turbines
    for i_turb, turbine in enumerate(fi.floris.farm.turbine_map.turbines):
            turbine.rotor_diameter = rotor_diameters_new[i_turb]
            turbine.hub_height = hub_heights_new[i_turb]
            turbine.power_thrust_table["power"] = cp_new
            turbine.power_thrust_table["thrust"] = ct_new
    

    更改您感兴趣的涡轮机参数后,FLORIS 的其余计算将使用新的涡轮机类型。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-01-08
      • 1970-01-01
      • 2019-01-07
      • 2011-03-22
      • 2011-01-25
      • 2021-11-14
      相关资源
      最近更新 更多