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} connect_type;
00018 enum {POLETOP=1, PADMOUNT, VAULT} install_type;
00019 double V_primary;
00020 double V_secondary;
00021 double kVA_rating;
00022 double phaseA_kVA_rating;
00023 double phaseB_kVA_rating;
00024 double phaseC_kVA_rating;
00025 complex impedance;
00026 complex impedance1;
00027 complex impedance2;
00028 complex shunt_impedance;
00029 double no_load_loss;
00030 double full_load_loss;
00031
00032 transformer_configuration(MODULE *mod);
00033 inline transformer_configuration(CLASS *cl=oclass):powerflow_library(cl){};
00034 int create(void);
00035 int init(OBJECT *parent);
00036 int isa(char *classname);
00037 };
00038
00039 #endif // _TRANSFORMERCONFIGURATION_H