00001 // $Id: regulator.h,v 1.7 2008/02/04 23:08:12 natet Exp $ 00002 00003 #ifndef _REGULATORCONFIGURATION_H 00004 #define _REGULATORCONFIGURATION_H 00005 00006 class regulator_configuration { 00007 public: 00008 int16 connect_type; 00009 double band_center; // band center setting of regulator control 00010 double band_width; // band width setting of regulator control 00011 double time_delay; // time delay setting of regulator control 00012 int16 raise_taps; // number of regulator raise taps 00013 int16 lower_taps; // number of regulator lower taps 00014 double CT_ratio; // primary rating of current transformer (x:5) 00015 double PT_ratio; // potential transformer rating (x:1) 00016 double ldc_R_V; // Line Drop Compensation R setting of regulator control (in volts) 00017 double ldc_X_V; // Line Drop Compensation X setting of regulator control (in volts) 00018 set CT_phase; // phase(s) monitored by CT 00019 set PT_phase; // phase(s) monitored by PT 00020 double regulation; // regulation of voltage regulator in % 00021 double V_high; 00022 int16 tap_pos[3]; 00023 00024 public: 00025 static CLASS *oclass; 00026 static CLASS *pclass; 00027 static regulator_configuration *defaults; 00028 regulator_configuration(MODULE *mod); 00029 int create(void); 00030 int isa(char *classname); 00031 }; 00032 00033 00034 #endif // _REGULATORCONFIGURATION_H