Class TrackerSystemSpecification
Tracker System Specification
Namespace: Scripting
Syntax
public class TrackerSystemSpecification
Constructors
TrackerSystemSpecification()
Creates an instance of the TrackerSystemSpecification class.
Declaration
public TrackerSystemSpecification()
Properties
Backtracking
Support for backtracking
Declaration
public bool Backtracking { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
FrameWidthForEachOfBothEnds
The width of frame on each end of the tracker
Declaration
public double FrameWidthForEachOfBothEnds { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
FrameWidthForEachOfBothSides
The width of frame on each side of the tracker
Declaration
public double FrameWidthForEachOfBothSides { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
GapWidthBetweenModulesAcrossRow
The gap width between modules across a row
Declaration
public double GapWidthBetweenModulesAcrossRow { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
MaximumAxisHeightAboveGround
The maximum axis height above ground (m)
Declaration
public double MaximumAxisHeightAboveGround { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
MaximumAxisRotationAngle
The maximum axis rotation angle (0 - 90 degrees)
Declaration
public int MaximumAxisRotationAngle { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
MaximumAxisTilt
The maximum axis tilt (along axis, 0 - 20 degrees)
Declaration
public double MaximumAxisTilt { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
MinimumAxisHeightAboveGround
The minimum axis height above ground (m)
Declaration
public double MinimumAxisHeightAboveGround { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
ModuleMaximumLongestEdgeLength
The length of the longest edge of the module (m) (height in portrait or width in landscape)
Declaration
public double ModuleMaximumLongestEdgeLength { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
ModuleMaximumShortestEdgeLength
The length of the shortest edge of the module (m) (width in portrait or height in landscape)
Declaration
public double ModuleMaximumShortestEdgeLength { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
ModuleOrientation
The module orientation (portrait or landscape) looking across axis of rotation
Declaration
public ModuleOrientation ModuleOrientation { get; set; }
Property Value
Type | Description |
---|---|
ModuleOrientation |
MTHAG
Minimum rotated tracker height above ground (must be > 0). Calculated from 'Min axis height above ground', 'Modules across', 'Max rotation angle' and the module dimensions.
Declaration
public double MTHAG { get; }
Property Value
Type | Description |
---|---|
System.Double |
Name
The name of the tracker system specification
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
OverallWidth
TODO
Declaration
public double OverallWidth { get; }
Property Value
Type | Description |
---|---|
System.Double |
RowWidthInModules
The row width (in number of modules)
Declaration
public int RowWidthInModules { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
TrackerPositionAlgorithmName
Declaration
public string TrackerPositionAlgorithmName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
UseSlopeAwareBacktracking
If checked, takes the slope into account when calculating backtracking rotation angles. If not checked, assumes a horizontal plane when calculating backtracking rotation angles.
Declaration
public bool UseSlopeAwareBacktracking { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
Equals(TrackerSystemSpecification)
Tests a TrackerSystemSpecification against this current TrackerSystemSpecification for equality.
Declaration
public bool Equals(TrackerSystemSpecification val)
Parameters
Type | Name | Description |
---|---|---|
TrackerSystemSpecification | val |
Returns
Type | Description |
---|---|
System.Boolean | True if equal otherwise false is returned. |
Equals(Object)
Tests a System.Object against this current TrackerSystemSpecification 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
ImportTrackerSystemSpecificationFileToWorkbook(String)
Imports the tracker system specification and associated tracker template specifications to the workbook.
Declaration
public static void ImportTrackerSystemSpecificationFileToWorkbook(string filePath)
Parameters
Type | Name | Description |
---|---|---|
System.String | filePath | The file path of the file to load. |
SetTrackerPositionAlgorithm(String)
Sets the tracker position algorithm by the given name. Use "Default SolarFarmer Tracker Position Algorithm" to set it to the default tracker position algorithm.
Declaration
public bool SetTrackerPositionAlgorithm(string trackerPositionAlgorithmDisplayName)
Parameters
Type | Name | Description |
---|---|---|
System.String | trackerPositionAlgorithmDisplayName | The display name of the tracker position algorithm. |
Returns
Type | Description |
---|---|
System.Boolean |
|
Operators
Equality(TrackerSystemSpecification, TrackerSystemSpecification)
Tests a TrackerSystemSpecification against this current TrackerSystemSpecification for equality.
Declaration
public static bool operator ==(TrackerSystemSpecification a, TrackerSystemSpecification b)
Parameters
Type | Name | Description |
---|---|---|
TrackerSystemSpecification | a | |
TrackerSystemSpecification | b |
Returns
Type | Description |
---|---|
System.Boolean | True if equal otherwise false is returned. |
Inequality(TrackerSystemSpecification, TrackerSystemSpecification)
Tests a TrackerSystemSpecification against this current TrackerSystemSpecification for inequality.
Declaration
public static bool operator !=(TrackerSystemSpecification a, TrackerSystemSpecification b)
Parameters
Type | Name | Description |
---|---|---|
TrackerSystemSpecification | a | |
TrackerSystemSpecification | b |
Returns
Type | Description |
---|---|
System.Boolean | True if not equal otherwise false is returned. |