Class InstantaneousCondition
The scripting representation of the InstantaneousCondition. All fields are readonly. If any of the irradiances are not present they are set to double.Nan.
Namespace: Scripting
Syntax
public class InstantaneousCondition
Constructors
InstantaneousCondition(Calculation.InstantaneousCondition)
Initializes a new instance of the InstantaneousCondition class.
Declaration
public InstantaneousCondition(Calculation.InstantaneousCondition dmInstantaneousCondition)
Parameters
Type | Name | Description |
---|---|---|
GH.SolarFarmer.Calculation.InstantaneousCondition | dmInstantaneousCondition | The data model instantaneous condition. |
Properties
AmbientTemperature
Gets the ambient temperature (in Celsius).
Declaration
public double AmbientTemperature { get; }
Property Value
Type | Description |
---|---|
System.Double |
BeamIrradiance
Gets the beam irradiance value. Will return double.NaN if it is not set.
Declaration
public double BeamIrradiance { get; }
Property Value
Type | Description |
---|---|
System.Double |
DiffuseIrradiance
Gets the diffuse irradiance value. Will return double.NaN if it is not set.
Declaration
public double DiffuseIrradiance { get; }
Property Value
Type | Description |
---|---|
System.Double |
GlobalIrradiance
Gets the global irradiance value. Will return double.NaN if it is not set.
Declaration
public double GlobalIrradiance { get; }
Property Value
Type | Description |
---|---|
System.Double |
IntervalFractionOfAnHour
Gets the interval fraction of an hour.
Declaration
public double IntervalFractionOfAnHour { get; }
Property Value
Type | Description |
---|---|
System.Double |
PlaneOfData
Gets the plane of data (angle in degrees).
Declaration
public double PlaneOfData { get; }
Property Value
Type | Description |
---|---|
System.Double |
PrecipitableWater
Gets the precipitable water value.
Declaration
public double PrecipitableWater { get; }
Property Value
Type | Description |
---|---|
System.Double |
Pressure
Gets the pressure value.
Declaration
public double Pressure { get; }
Property Value
Type | Description |
---|---|
System.Double |
ProportionAboveHorizon
Gets the proportion above horizon.
Declaration
public double ProportionAboveHorizon { get; }
Property Value
Type | Description |
---|---|
System.Double |
ReflectedIrradiance
Gets the reflected irradiance value. Will return double.NaN if it is not set.
Declaration
public double ReflectedIrradiance { get; }
Property Value
Type | Description |
---|---|
System.Double |
RelativeHumidity
Gets the relative humidity value.
Declaration
public double RelativeHumidity { get; }
Property Value
Type | Description |
---|---|
System.Double |
SunPositionAzimuth
Gets the sun position azimuth (in degrees).
Declaration
public double SunPositionAzimuth { get; }
Property Value
Type | Description |
---|---|
System.Double |
SunPositionZenith
Gets the sun position zenith (in degrees).
Declaration
public double SunPositionZenith { get; }
Property Value
Type | Description |
---|---|
System.Double |
TimeStamp
Gets the time stamp.
Declaration
public DateTime TimeStamp { get; }
Property Value
Type | Description |
---|---|
System.DateTime |
WindSpeed
Gets the wind speed (in m/s).
Declaration
public double WindSpeed { get; }
Property Value
Type | Description |
---|---|
System.Double |