Question regarding turbine power calculations #417
-
Hello I am trying to implement axial induction control into floris, but I have some questions for the power() function in the turbine.py file. Are there any references, for why the power is calculated the way it is? Also this might be more python technical, but how does this line function: power_interp[turb_type](yaw_effective_velocity) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi Marcus, It is true that the standard equation from actuator disk theory for the turbine power is
with
where Now this equation works mostly fine in regular region 2 operation. However, consider the situation where we have a NREL 5MW turbine operating at a very high wind speed, like 20 m/s. It will produce 5MW of power in that situation. If we then yaw by 20 degrees, assuming
This ensures proper behavior in region 2.5 and region 3 operation of the turbine. It also is theoretically more correct since the turbine always operates on its power curve. Finally, for Python, square brackets are to access a specific entry in a list, array or dictionary. In this case,
For more general usage, I would suggest reading up on how to debug Python code in your editor. This is a hugely useful tool to understand the variables and the code structure. I hope this helps! Best, |
Beta Was this translation helpful? Give feedback.
Hi Marcus,
It is true that the standard equation from actuator disk theory for the turbine power is
with
P
the turbine power production,rho
the air density,A
the rotor swept area,V
being the inflow wind speed, andCp
the power coefficient including any losses being a function ofV
. Actuator disk theory is only valid when the rotor is aligned with the inflow wind direction. Now, when the rotor is misaligned with the inflow and we have a nonzeroyaw
angle, we follow the cosine rule as widely described in the literature:where
Pp
typically has a value between1.4
and3.0
.Now this equation works mostly fine…