00001
00009 #ifndef _LIGHTS_H
00010 #define _LIGHTS_H
00011
00012 #include "residential.h"
00013 #include "residential_enduse.h"
00014
00015 class lights : public residential_enduse {
00016 public:
00017 typedef enum {
00018 INCANDESCENT=0,
00019 FLUORESCENT,
00020 CFL,
00021 SSL,
00022 HID,
00023 _MAXTYPES
00024 };
00025 enumeration type;
00026 static double power_factor[_MAXTYPES];
00027 static double power_fraction[_MAXTYPES][3];
00028 typedef enum {
00029 INDOOR=0,
00030 OUTDOOR=1,
00031 };
00032 enumeration placement;
00033 double circuit_split;
00034 double power_density;
00035 double curtailment;
00036 complex lights_actual_power;
00037
00038 public:
00039 static CLASS *oclass, *pclass;
00040 lights(MODULE *mod);
00041 int create(void);
00042 int init(OBJECT *parent);
00043 int isa(char *classname);
00044 TIMESTAMP sync(TIMESTAMP t0, TIMESTAMP t1);
00045
00046 };
00047
00048 #endif // _LIGHTS_H
00049