Interface IPowerCurve
A power curve object provides data from a turbine power curve
Namespace: Scripting
Syntax
public interface IPowerCurve
Methods
GetPower(ISpeed, IAirDensity)
Get the power for the turbine under specified conditions.
Declaration
Power GetPower(ISpeed windSpeed, IAirDensity airDensity)
Parameters
Type | Name | Description |
---|---|---|
ISpeed | windSpeed | The wind speed |
IAirDensity | airDensity | The air density |
Returns
Type | Description |
---|---|
Power | The power |
TestingOnlyGetPower(ISpeed, IAirDensity, Double, Double)
Get the power for the turbine under specified conditions using the WindFarmer classic model
Declaration
Power TestingOnlyGetPower(ISpeed windSpeed, IAirDensity referenceAirDensity, double referenceElevation, double turbineElevation)
Parameters
Type | Name | Description |
---|---|---|
ISpeed | windSpeed | The wind speed |
IAirDensity | referenceAirDensity | The air density at the reference location |
System.Double | referenceElevation | The elevation at the reference location |
System.Double | turbineElevation | The elevation at the turbine location |
Returns
Type | Description |
---|---|
Power | The power |