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