From GridLAB-D Wiki
Jump to: navigation, search

The Weather class is a storage class in the Climate module that contains a frame of weather data at a particular day and time during a year.

Weather Actors

Weather objects are created by weather readers, such as the CSV_reader. The published properties of the Weather class are often used as keywords and column names.

Behavior

Weather objects are inert and do not sync.

Properties

temperature

The outside air temperature at the particular time.

humidity

The outside humidity at the given time.

solar_dir

The direct solar input at the given time.

solar_diff

The indirect solar input at the specified time.

wind_speed

The recorded wind speed for this sample.

rainfall

The hourly accumulation of rainwater at the given timestamp.

snowdepth

The measured depth of snow that blankets the ground outside at the given timestamp.

month

The month during the year to use this sample.

day

The day during the month to use this sample.

hour

The hour of the day which this sample is valid.

minute

The minute during which this sample was taken.

second

The number of second into the minute when this sample was recorded.

Functions

The Weather class has no published functions.