Class PowerCurve
A power curve object provides data from a turbine power curve
Implements
Namespace: Scripting
Syntax
public class PowerCurve : IPowerCurve
Methods
GetPower(ISpeed, IAirDensity)
Get the power for the turbine under specified conditions, using the IEC air density correction model.
Declaration
public 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 air density correction model.
Declaration
public 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 reference elevation |
System.Double | turbineElevation | The turbine elevation to get power at |
Returns
Type | Description |
---|---|
Power | The power |