Changing turbine types for few turbines in wind farm #766
-
I am struggling to find a way to change the turbine type for few turbines in a wind farm. My project aims to calculate the AEP and power vs wind direction, analysing the interaction between three nearby wind farms. My simulation considers 215 wind turbines in total, and wind turbines from 186-215 in layout_x and layout_y use different type of wind turbine to wind turbines from 1-185. In the current state, my simulation only considers one type of wind turbine (Siemens SWT-3.6MW-107) but I would like to assign another wind turbine type to wind turbines from 186-215 in layout_x and layout_y. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @Teddybear0227, thanks for your question. I'd first recommend taking a look at example 17_mutliple_turbine_types.py. You'll see that this example uses the floris input yaml gch_multiple_turbine_types.yaml (in examples/inputs). In the that yaml, in the The The relevant section of your FLORIS input yaml will look something like (with made-up x and y locations):
By default, FLORIS will look for those turbine types in the floris/simulation/turbine_library/ directory. So, you could simply place the turbine model yamls in the turbine_library directory. Alternatively, you can use the
|
Beta Was this translation helpful? Give feedback.
Also, note that for this to work most smoothly, I'd recommend including the full layout of the farm in the floris input yaml file (in the
layout_x
andlayout_y
fields), rather than setting them infi.reinitialize()
. Otherwise, you may receive an error that the length of theturbine_types
field does not match the length oflayout_x
when you initially load the model.