diff options
author | Thales1330 <thaleslima.ufu@gmail.com> | 2016-11-01 19:36:24 -0200 |
---|---|---|
committer | Thales1330 <thaleslima.ufu@gmail.com> | 2016-11-01 19:36:24 -0200 |
commit | b306118b2683cf6f264b5f1617c3e0e62a6c9042 (patch) | |
tree | 2059f3a6647d5021a0eaa7f1b08635cbcd83def0 /Project/ElectricCalculation.h | |
parent | 7d4df7195202eaea0e84f227e96f19dec4144081 (diff) | |
download | PSP.git-b306118b2683cf6f264b5f1617c3e0e62a6c9042.tar.gz PSP.git-b306118b2683cf6f264b5f1617c3e0e62a6c9042.tar.xz PSP.git-b306118b2683cf6f264b5f1617c3e0e62a6c9042.zip |
Power flow (gs) under implementation
Diffstat (limited to 'Project/ElectricCalculation.h')
-rw-r--r-- | Project/ElectricCalculation.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/Project/ElectricCalculation.h b/Project/ElectricCalculation.h new file mode 100644 index 0000000..5339199 --- /dev/null +++ b/Project/ElectricCalculation.h @@ -0,0 +1,38 @@ +#ifndef ELECTRICCALCULATION_H +#define ELECTRICCALCULATION_H + +#include <vector> +#include <complex> + +class Element; +class Bus; +class Capacitor; +class IndMotor; +class Inductor; +class Line; +class Load; +class SyncGenerator; +class SyncMotor; +class Transformer; + +class ElectricCalculation +{ + public: + ElectricCalculation(); + ~ElectricCalculation(); + virtual void GetElementsFromList(std::vector<Element*> elementList); + virtual bool GetYBus(std::vector<std::vector<std::complex<double> > >& yBus, double systemPowerBase); + + protected: + std::vector<Bus*> m_busList; + std::vector<Capacitor*> m_capacitorList; + std::vector<IndMotor*> m_indMotorList; + std::vector<Inductor*> m_inductorList; + std::vector<Line*> m_lineList; + std::vector<Load*> m_loadList; + std::vector<SyncGenerator*> m_syncGeneratorList; + std::vector<SyncMotor*> m_syncMotorList; + std::vector<Transformer*> m_transformerList; +}; + +#endif // ELECTRICCALCULATION_H |