You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The input of the WindTurbineCluster is a list of WindFarm objects. WindTurbine objects are not allowed. I think we should either rename the class or allow WindTurbine objects or both.
The text was updated successfully, but these errors were encountered:
We could convert all WindTurbines to WindFarms with just one Turbine. This is not very elegant but in my opinion the easiest way.
We could make sure that all WindTurbines or WindTurbineGroups do have the same attributes needed in the cluster class and its methods. At some place we may have to distinguish between types. I think this is the better solution because we do not have to copy the object.
At the last dev meeting I promised to provide information for the second suggestion in your last comment. Here it is:
No problem with nominal power and hub height as they are attributes of both, wind farms and wind turbines
inassign_power_curve() in wind_turbine_cluster.py, where the power curve aggregation takes place, both, wind farm and wind turbine power curves could be aggregated but:
In this method an aggregated power curve is assigned for each wind farm in self.wind_farmshere which does not work for wind turbines.
This "in-between" step of getting the aggregated wind farm power curves instead of just aggregating all wind turbine power curves (of all wind farms) was implemented like that to give the option of applying wake losses to wind farm power curves (of which each could have e.g. a different wind farm efficiency).
Options I see now to make WindTurbines possible in WindTurbineClusters.:
Give WindTurbine the method assign_power_curve() which is just returning the power curve
Differentiate here between WindTurbines and WindFarms
Other things I noticed:
**kwargs in WindTurbineCluster init is not used anymore
The input of the
WindTurbineCluster
is a list ofWindFarm
objects.WindTurbine
objects are not allowed. I think we should either rename the class or allowWindTurbine
objects or both.The text was updated successfully, but these errors were encountered: