00001 // $Id: transformer.h,v 1.12 2008/02/04 23:08:12 natet Exp $ 00002 00003 #ifndef _TRANSFORMERCONFIGURATION_H 00004 #define _TRANSFORMERCONFIGURATION_H 00005 00006 #include "powerflow.h" 00007 #include "link.h" 00008 00009 class transformer_configuration 00010 { 00011 public: 00012 static CLASS *oclass; 00013 static CLASS *pclass; 00014 static transformer_configuration *defaults; 00015 public: 00016 enum {UNKNOWN, WYE_WYE, DELTA_DELTA, DELTA_GWYE, SINGLE_PHASE, SINGLE_PHASE_CENTER_TAPPED} connect_type; // connect type enum: Wye-Wye, single-phase, etc. 00017 enum {POLETOP, PADMOUNT, VAULT} install_type; 00018 double V_primary; // primary voltage level in L-L value kV 00019 double V_secondary; // secondary voltage level kV 00020 int32 kVA_rating; // kVA rating of transformer @todo remove when everything is implemented for separate phase ratings. 00021 int32 phaseA_kVA_rating; // kVA rating of transformer 00022 int32 phaseB_kVA_rating; // kVA rating of transformer 00023 int32 phaseC_kVA_rating; // kVA rating of transformer 00024 //double R_pu; // R in pu of transformer 00025 //double X_pu; // X in pu of transformer 00026 complex impedence; 00027 00028 transformer_configuration(MODULE *mod); 00029 int create(void); 00030 int isa(char *classname); 00031 }; 00032 00033 #endif // _TRANSFORMERCONFIGURATION_H