How are rotor diameters assigned to turbines? #595
-
Hi all, In this line of the example code #10, which file is it reading the rotor diameters from? print(fi.floris.farm.rotor_diameters) many thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
The rotor diameter is set in the input file. See https://github.com/NREL/floris/blob/main/examples/10_opt_yaw_single_ws.py#L29. In this case, it's using one of the turbines in the included turbine library, the NREL 5MW. That turbine definition is here. To change the rotor diameter, you can either create an external turbine library (see #568 for a description of this feature and usage) or modify the rotor diameter within your script. |
Beta Was this translation helpful? Give feedback.
-
The answer by @rafmudaf is by far the most complete and correct solution. In addition, here's a quick way to update rotor diameters in a script-like fashion:
|
Beta Was this translation helpful? Give feedback.
The rotor diameter is set in the input file. See https://github.com/NREL/floris/blob/main/examples/10_opt_yaw_single_ws.py#L29. In this case, it's using one of the turbines in the included turbine library, the NREL 5MW. That turbine definition is here.
To change the rotor diameter, you can either create an external turbine library (see #568 for a description of this feature and usage) or modify the rotor diameter within your script.