summaryrefslogtreecommitdiffstats
path: root/Project/Electromechanical.h
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-05-24 17:50:36 -0300
committerThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-05-24 17:50:36 -0300
commitc91e58bb903adeff1e8c0fff1868e80783010e58 (patch)
treed9eaa3ff5b186cddb8bd658a8386e58591fd8174 /Project/Electromechanical.h
parent2c60c7c13ecc8e45e072346193a820f697fb6fdf (diff)
downloadPSP.git-c91e58bb903adeff1e8c0fff1868e80783010e58.tar.gz
PSP.git-c91e58bb903adeff1e8c0fff1868e80783010e58.tar.xz
PSP.git-c91e58bb903adeff1e8c0fff1868e80783010e58.zip
Dynamic elements initialization implemented
Diffstat (limited to 'Project/Electromechanical.h')
-rw-r--r--Project/Electromechanical.h6
1 files changed, 5 insertions, 1 deletions
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<Element*> elementList);
+ Electromechanical(wxWindow* parent, std::vector<Element*> elementList);
~Electromechanical();
bool RunStabilityCalculation();
@@ -20,7 +22,9 @@ protected:
void InsertSyncMachinesOnYBus();
std::complex<double> GetSyncMachineAdmittance(SyncGenerator* generator);
+ bool InitializeDynamicElements();
+ wxWindow* m_parent = NULL;
wxString m_errorMsg = _("Unknown error");
std::vector<std::vector<std::complex<double> > > m_yBus;