#ifndef ELECTRICCALCULATION_H #define ELECTRICCALCULATION_H #include #include #include "Element.h" #include "Bus.h" #include "Capacitor.h" #include "IndMotor.h" #include "Inductor.h" #include "Line.h" #include "Load.h" #include "SyncGenerator.h" #include "SyncMotor.h" #include "Transformer.h" class ElectricCalculation { public: ElectricCalculation(); ~ElectricCalculation(); virtual void GetElementsFromList(std::vector elementList); virtual bool GetYBus(std::vector > >& yBus, double systemPowerBase); virtual void ValidateElementsPowerFlow(std::vector > voltage, std::vector > power, 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