Class LayoutScenario
A class that holds details on a layout scenario.
Namespace: Scripting
Syntax
public class LayoutScenario
Properties
CapacityFactor
The capcity factor.
Declaration
public double CapacityFactor { get; }
Property Value
Type | Description |
---|---|
System.Double |
GrossYield
The gross yield.
Declaration
public double GrossYield { get; }
Property Value
Type | Description |
---|---|
System.Double |
HubHeightMeanWindSpeed
The hub-height mean wind speed.
Declaration
public double HubHeightMeanWindSpeed { get; }
Property Value
Type | Description |
---|---|
System.Double |
IsActive
Whether the layout scenario is active or not.
Declaration
public bool IsActive { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Name
The name of the layout scenario.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
P50NetYield
The P50 net yield
Declaration
public double P50NetYield { get; }
Property Value
Type | Description |
---|---|
System.Double |
P90NetYield
The P90 net yield
Declaration
public double P90NetYield { get; }
Property Value
Type | Description |
---|---|
System.Double |
TurbineCount
The number of turbines in this layout scenario.
Declaration
public int TurbineCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
TurbineTypes
The turbine types in the scenario.
Declaration
public string TurbineTypes { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Equals(LayoutScenario)
Tests a LayoutScenario against this current LayoutScenario for equality.
Declaration
public bool Equals(LayoutScenario val)
Parameters
Type | Name | Description |
---|---|---|
LayoutScenario | val |
Returns
Type | Description |
---|---|
System.Boolean | True if equal otherwise false is returned. |
Equals(Object)
Tests a System.Object against this current LayoutScenario for equality.
Declaration
public override bool Equals(object toCompare)
Parameters
Type | Name | Description |
---|---|---|
System.Object | toCompare |
Returns
Type | Description |
---|---|
System.Boolean | True if object is equal otherwise false is returned. |
Overrides
GetHashCode()
Gets the hash code for this object.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | The hash code for this object. |
Overrides
Operators
Equality(LayoutScenario, LayoutScenario)
Tests a LayoutScenario against this current LayoutScenario for equality.
Declaration
public static bool operator ==(LayoutScenario a, LayoutScenario b)
Parameters
Type | Name | Description |
---|---|---|
LayoutScenario | a | |
LayoutScenario | b |
Returns
Type | Description |
---|---|
System.Boolean | True if equal otherwise false is returned. |
Inequality(LayoutScenario, LayoutScenario)
Tests a LayoutScenario against this current LayoutScenario for inequality.
Declaration
public static bool operator !=(LayoutScenario a, LayoutScenario b)
Parameters
Type | Name | Description |
---|---|---|
LayoutScenario | a | |
LayoutScenario | b |
Returns
Type | Description |
---|---|
System.Boolean | True if not equal otherwise false is returned. |