diff options
Diffstat (limited to 'Project/Electromechanical.h')
-rw-r--r-- | Project/Electromechanical.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/Project/Electromechanical.h b/Project/Electromechanical.h new file mode 100644 index 0000000..c8555b7 --- /dev/null +++ b/Project/Electromechanical.h @@ -0,0 +1,32 @@ +#ifndef ELECTROMECHANICAL_H +#define ELECTROMECHANICAL_H + +#include "ElectricCalculation.h" + +class Electromechanical : public ElectricCalculation +{ +public: + Electromechanical(std::vector<Element*> elementList); + ~Electromechanical(); + + bool RunStabilityCalculation(); + wxString GetErrorMessage() const { return m_errorMsg; } + +protected: + void SetEventTimeList(); + bool HasEvent(double currentTime); + void SetEvent(double currentTime); + + void Insert + + wxString m_errorMsg = _("Unknown error"); + + std::vector<std::vector<std::complex<double> > > m_yBus; + + double m_timeStep = 1e-3; + + std::vector<double> m_eventTimeList; + std::vector<bool> m_eventOccurrenceList; +}; + +#endif // ELECTROMECHANICAL_H |