Class SolarResource
Syntax
public class SolarResource
Constructors
SolarResource()
Declaration
Properties
Declaration
public string AdditionalInformation { get; set; }
Property Value
Type |
Description |
System.String |
|
Elevation
Declaration
public double Elevation { get; set; }
Property Value
Type |
Description |
System.Double |
|
FilePath
Declaration
public string FilePath { get; set; }
Property Value
Type |
Description |
System.String |
|
ImportSummary
Declaration
public string ImportSummary { get; set; }
Property Value
Type |
Description |
System.String |
|
IsTypicalMeteorologicalYear
Declaration
public bool IsTypicalMeteorologicalYear { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Latitude
Declaration
public double Latitude { get; set; }
Property Value
Type |
Description |
System.Double |
|
Longitude
Declaration
public double Longitude { get; set; }
Property Value
Type |
Description |
System.Double |
|
Name
Declaration
public string Name { get; set; }
Property Value
Type |
Description |
System.String |
|
TimeZone
The timezone that the solar resource data was stored in on disc.
Declaration
public double TimeZone { get; set; }
Property Value
Type |
Description |
System.Double |
|
TimeZoneName
Declaration
public string TimeZoneName { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
Equals(SolarResource)
Declaration
public bool Equals(SolarResource val)
Parameters
Returns
Type |
Description |
System.Boolean |
True if equal otherwise false is returned.
|
Equals(Object)
Tests a System.Object against this current SolarResource 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
System.Object.Equals(System.Object)
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
System.Object.GetHashCode()
ReadMeteonormFile(String)
Loads climate data from a Meteonorm PVsyst hourly TMY file.
Declaration
public static SolarResource ReadMeteonormFile(string filePath)
Parameters
Type |
Name |
Description |
System.String |
filePath |
The path of the file to read.
|
Returns
Exceptions
Type |
Condition |
System.NotImplementedException |
|
ReadNSRDBFile(String)
Loads climate data from a National Solar Radiation Data Base file.
Declaration
public static SolarResource ReadNSRDBFile(string filePath)
Parameters
Type |
Name |
Description |
System.String |
filePath |
The path of the file to read.
|
Returns
Exceptions
Type |
Condition |
System.NotImplementedException |
|
ReadSolarGISDatabaseFile(String)
Loads climate data from a Solar GIS file.
Declaration
public static SolarResource ReadSolarGISDatabaseFile(string filePath)
Parameters
Type |
Name |
Description |
System.String |
filePath |
The path of the file to read.
|
Returns
Exceptions
Type |
Condition |
System.NotImplementedException |
|
ReadTsvFile(String)
Loads climate data from a tab-separated variable file.
Declaration
public static SolarResource ReadTsvFile(string filePath)
Parameters
Type |
Name |
Description |
System.String |
filePath |
The path of the file to read.
|
Returns
Exceptions
Type |
Condition |
System.NotImplementedException |
|
Operators
Equality(SolarResource, SolarResource)
Declaration
public static bool operator ==(SolarResource a, SolarResource b)
Parameters
Returns
Type |
Description |
System.Boolean |
True if equal otherwise false is returned.
|
Inequality(SolarResource, SolarResource)
Declaration
public static bool operator !=(SolarResource a, SolarResource b)
Parameters
Returns
Type |
Description |
System.Boolean |
True if not equal otherwise false is returned.
|