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 enum {
00018 INCANDESCENT=0,
00019 FLUORESCENT,
00020 CFL,
00021 SSL,
00022 HID,
00023 _MAXTYPES
00024 } type;
00025 static double power_factor[_MAXTYPES];
00026 enum {
00027 INDOOR=0,
00028 OUTDOOR=1,
00029 } placement;
00030 double circuit_split;
00031 double power_density;
00032 double curtailment;
00033
00034 public:
00035 static CLASS *oclass, *pclass;
00036 lights(MODULE *mod);
00037 int create(void);
00038 int init(OBJECT *parent);
00039 int isa(char *classname);
00040 TIMESTAMP sync(TIMESTAMP t0, TIMESTAMP t1);
00041
00042 };
00043
00044 #endif // _LIGHTS_H
00045