From c91e58bb903adeff1e8c0fff1868e80783010e58 Mon Sep 17 00:00:00 2001 From: Thales Lima Oliveira Date: Wed, 24 May 2017 17:50:36 -0300 Subject: Dynamic elements initialization implemented --- Project/Electromechanical.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Project/Electromechanical.h') diff --git a/Project/Electromechanical.h b/Project/Electromechanical.h index 172428f..1dadcce 100644 --- a/Project/Electromechanical.h +++ b/Project/Electromechanical.h @@ -3,10 +3,12 @@ #include "ElectricCalculation.h" +class ControlElementSolver; + class Electromechanical : public ElectricCalculation { public: - Electromechanical(std::vector elementList); + Electromechanical(wxWindow* parent, std::vector elementList); ~Electromechanical(); bool RunStabilityCalculation(); @@ -20,7 +22,9 @@ protected: void InsertSyncMachinesOnYBus(); std::complex GetSyncMachineAdmittance(SyncGenerator* generator); + bool InitializeDynamicElements(); + wxWindow* m_parent = NULL; wxString m_errorMsg = _("Unknown error"); std::vector > > m_yBus; -- cgit