00001
00009 #ifndef CLIMATE_WEATHER_
00010 #define CLIMATE_WEATHER_
00011
00012 #include "gridlabd.h"
00013
00014 class weather {
00015 public:
00016 static CLASS *oclass;
00017
00018 weather();
00019 weather(MODULE *module);
00020 int create();
00021 TIMESTAMP sync(TIMESTAMP t0);
00022
00023 double temperature;
00024 double humidity;
00025 double solar_dir;
00026 double solar_diff;
00027 double solar_global;
00028 double global_horizontal_extra;
00029 double wind_speed;
00030 double wind_dir;
00031 double opq_sky_cov;
00032 double tot_sky_cov;
00033 double rainfall;
00034 double snowdepth;
00035 double pressure;
00036 int16 month, day, hour, minute, second;
00037 weather *next;
00038 };
00039
00040 #endif
00041
00042