From b306118b2683cf6f264b5f1617c3e0e62a6c9042 Mon Sep 17 00:00:00 2001 From: Thales1330 Date: Tue, 1 Nov 2016 19:36:24 -0200 Subject: Power flow (gs) under implementation --- Project/ElectricCalculation.h | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 Project/ElectricCalculation.h (limited to 'Project/ElectricCalculation.h') 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 +#include + +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 elementList); + virtual bool GetYBus(std::vector > >& yBus, double systemPowerBase); + + protected: + std::vector m_busList; + std::vector m_capacitorList; + std::vector m_indMotorList; + std::vector m_inductorList; + std::vector m_lineList; + std::vector m_loadList; + std::vector m_syncGeneratorList; + std::vector m_syncMotorList; + std::vector m_transformerList; +}; + +#endif // ELECTRICCALCULATION_H -- cgit