Class ReadOnlyTurbine
ReadOnlyTurbine
Namespace: Scripting
Syntax
public class ReadOnlyTurbine : IReadableTurbine, INamedItem
Properties
AdjustedFreeStreamMeanWindSpeed
Gets the adjusted free stream mean wind speed.
Declaration
public double AdjustedFreeStreamMeanWindSpeed { get; }
Property Value
Type | Description |
---|---|
System.Double |
ExcludeFromCalculation
Get is this turbine excluded from calculation
Declaration
public bool ExcludeFromCalculation { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
FreeStreamMeanWindSpeed
Gets the free stream mean wind speed.
Declaration
public double FreeStreamMeanWindSpeed { get; }
Property Value
Type | Description |
---|---|
System.Double |
HubHeightLocation
Gets the 3D hub height location.
Declaration
public IReadable3DLocation HubHeightLocation { get; }
Property Value
Type | Description |
---|---|
IReadable3DLocation |
InitiatingResource
Get the initiating resource (Mast and reference point wind climate data)
Declaration
public ReadOnlyFlowModel InitiatingResource { get; }
Property Value
Type | Description |
---|---|
ReadOnlyFlowModel |
Location
Gets the turbine location
Declaration
public IReadable2DLocation Location { get; }
Property Value
Type | Description |
---|---|
IReadable2DLocation |
Name
Get the turbine name
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
TurbineType
Get the turbine type
Declaration
public ReadOnlyTurbineType TurbineType { get; }
Property Value
Type | Description |
---|---|
ReadOnlyTurbineType |
Methods
Equals(ReadOnlyTurbine)
Declaration
public bool Equals(ReadOnlyTurbine val)
Parameters
Type | Name | Description |
---|---|---|
ReadOnlyTurbine | val |
Returns
Type | Description |
---|---|
System.Boolean |
Equals(Object)
Declaration
public override bool Equals(object toCompare)
Parameters
Type | Name | Description |
---|---|---|
System.Object | toCompare |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.Object.Equals(System.Object)
GetHashCode()
Gets the hash code.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | The hash code. |
Overrides
System.Object.GetHashCode()
Operators
Equality(ReadOnlyTurbine, ReadOnlyTurbine)
Equality operator.
Declaration
public static bool operator ==(ReadOnlyTurbine a, ReadOnlyTurbine b)
Parameters
Type | Name | Description |
---|---|---|
ReadOnlyTurbine | a | Left hand side. |
ReadOnlyTurbine | b | Right hand side. |
Returns
Type | Description |
---|---|
System.Boolean | True if equal otherwise false is returned. |
Inequality(ReadOnlyTurbine, ReadOnlyTurbine)
Inequality operator.
Declaration
public static bool operator !=(ReadOnlyTurbine a, ReadOnlyTurbine b)
Parameters
Type | Name | Description |
---|---|---|
ReadOnlyTurbine | a | Left hand side. |
ReadOnlyTurbine | b | Right hand side. |
Returns
Type | Description |
---|---|
System.Boolean | True if not equal otherwise false is returned. |