powerflow/regulator.h

00001 // $Id: regulator.h,v 1.7 2008/02/04 23:08:12 natet Exp $
00002 
00003 #ifndef _REGULATOR_H
00004 #define _REGULATOR_H
00005 
00006 #include "powerflow.h"
00007 #include "link.h"
00008 #include "regulator_configuration.h"
00009 
00010 enum connect_type {
00011     UNKNOWN,
00012     WYE_WYE,
00013     OPEN_DELTA_ABBC,
00014     OPEN_DELTA_BCAC,
00015     OPEN_DELTA_CABA,
00016     CLOSED_DELTA,
00017     CONNECT_TYPE_MAX
00018 };
00019 
00020 class regulator : public link
00021 {
00022 public:
00023     static CLASS *oclass;
00024     static CLASS *pclass;
00025     static regulator *defaults;
00026     
00027 public:
00028     OBJECT *configuration;
00029     regulator(MODULE *mod);
00030     int create(void);
00031     int init(void);
00032     int isa(char *classname);
00033 };
00034 
00035 #endif // _REGULATOR_H

GridLAB-DTM Version 1.0
An open-source project initiated by the US Department of Energy