00001
00002
00003
00004 #ifndef _TRANSFORMERCONFIGURATION_H
00005 #define _TRANSFORMERCONFIGURATION_H
00006
00007 #include "powerflow.h"
00008 #include "powerflow_library.h"
00009 #include "link.h"
00010
00011 class transformer_configuration : public powerflow_library
00012 {
00013 public:
00014 static CLASS *oclass;
00015 static CLASS *pclass;
00016 public:
00017 enum {WYE_WYE=1, DELTA_DELTA, DELTA_GWYE, SINGLE_PHASE, SINGLE_PHASE_CENTER_TAPPED};
00018 enumeration connect_type;
00019 enum {POLETOP=1, PADMOUNT, VAULT};
00020 enumeration install_type;
00021 double V_primary;
00022 double V_secondary;
00023 double kVA_rating;
00024 double phaseA_kVA_rating;
00025 double phaseB_kVA_rating;
00026 double phaseC_kVA_rating;
00027 complex impedance;
00028 complex impedance1;
00029 complex impedance2;
00030 complex shunt_impedance;
00031 double no_load_loss;
00032 double full_load_loss;
00033 double RX;
00034
00035 enum {MINERAL_OIL=1, DRY=2};
00036 enumeration coolant_type;
00037 enum {OA=1, FA=2, NDFOA=3, NDFOW=4, DFOA=5, DFOW=6};
00038 enumeration cooling_type;
00039 double core_coil_weight;
00040 double tank_fittings_weight;
00041 double oil_vol;
00042 double t_W;
00043 double dtheta_TO_R;
00044 double dtheta_H_AR;
00045 double installed_insulation_life;
00046
00047
00048 enum {NO_MAG=0,PRI_MAG=1,SEC_MAG=2,BOTH_MAG=3};
00049 enumeration magnetization_location;
00050 bool model_inrush_saturation;
00051 double LA_pu;
00052 double phiK_pu;
00053 double phiM_pu;
00054 double IM_pu;
00055 double TD_val;
00056
00057 transformer_configuration(MODULE *mod);
00058 inline transformer_configuration(CLASS *cl=oclass):powerflow_library(cl){};
00059 int create(void);
00060 int init(OBJECT *parent);
00061 int isa(char *classname);
00062 };
00063
00064 #endif // _TRANSFORMERCONFIGURATION_H