00001
00002
00003
00004 #ifndef _INDUCTION_MOTOR_H
00005 #define _INDUCTION_MOTOR_H
00006
00007 #include "powerflow.h"
00008 #include "node.h"
00009
00010 class motor : public node
00011 {
00012 public:
00013
00014 protected:
00015
00016 private:
00017
00018 public:
00019 int create(void);
00020 TIMESTAMP presync(TIMESTAMP t0);
00021 TIMESTAMP postsync(TIMESTAMP t0);
00022 TIMESTAMP sync(TIMESTAMP t0);
00023 motor(MODULE *mod);
00024 inline motor(CLASS *cl=oclass):node(cl){};
00025 int init(OBJECT *parent);
00026 int isa(char *classname);
00027 static CLASS *pclass;
00028 static CLASS *oclass;
00029
00030 };
00031
00032 #endif