summaryrefslogtreecommitdiffstats
path: root/Project/Electromechanical.h
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-05-29 00:40:46 -0300
committerThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-05-29 00:40:46 -0300
commit41c6ab0cac47046db7b7a3faf360c60944fd39b5 (patch)
tree9e41304ab563edf0c9689c33855ce839d6a34669 /Project/Electromechanical.h
parente1a11643e0245676b04d6c9fce5eb35d68163121 (diff)
downloadPSP.git-41c6ab0cac47046db7b7a3faf360c60944fd39b5.tar.gz
PSP.git-41c6ab0cac47046db7b7a3faf360c60944fd39b5.tar.xz
PSP.git-41c6ab0cac47046db7b7a3faf360c60944fd39b5.zip
Removing sync generator is now working, bus plot implemented
Diffstat (limited to 'Project/Electromechanical.h')
-rw-r--r--Project/Electromechanical.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/Project/Electromechanical.h b/Project/Electromechanical.h
index 808b936..8dabe05 100644
--- a/Project/Electromechanical.h
+++ b/Project/Electromechanical.h
@@ -18,6 +18,12 @@ class Electromechanical : public ElectricCalculation
std::vector<double> GetTimeVector() const { return m_timeVector; }
+ std::vector<double> m_wErrorVector;
+ std::vector<double> m_deltaErrorVector;
+ std::vector<double> m_transEdErrorVector;
+ std::vector<double> m_transEqErrorVector;
+ std::vector<double> m_numItVector;
+
protected:
void SetEventTimeList();
bool HasEvent(double currentTime);
@@ -57,6 +63,13 @@ class Electromechanical : public ElectricCalculation
std::vector<bool> m_eventOccurrenceList;
std::vector<double> m_timeVector;
+
+ //tests
+ double m_wError = 0.0;
+ double m_deltaError = 0.0;
+ double m_transEdError = 0.0;
+ double m_transEqError = 0.0;
+ double m_numIt = 0;
};
#endif // ELECTROMECHANICAL_H