00001 00009 #ifndef _clotheswasher_H 00010 #define _clotheswasher_H 00011 00012 #include "residential.h" 00013 00014 class clotheswasher 00015 { 00016 private: 00017 complex *pVoltage; 00018 00019 public: 00020 00021 double circuit_split; 00022 double installed_power; 00023 double demand ; 00024 complex power_kw; 00025 double kwh_meter; 00026 double internal_heat; 00027 double heat_fraction; 00028 double power_factor; 00029 00030 public: 00031 static CLASS *oclass; 00032 static clotheswasher *defaults; 00033 00034 clotheswasher(MODULE *module); 00035 ~clotheswasher(); 00036 int create(); 00037 int init(OBJECT *parent); 00038 TIMESTAMP sync(TIMESTAMP t0, TIMESTAMP t1); 00039 00040 }; 00041 00042 #endif // _clotheswasher_H 00043