summaryrefslogtreecommitdiffstats
path: root/Project/ElectricCalculation.h
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2019-07-18 09:22:27 -0300
committerGitHub <noreply@github.com>2019-07-18 09:22:27 -0300
commit8357c081eb75147bb8f94d8b6e367d88ea3898ed (patch)
tree9d9726fdcefb917475d6b33344d2b832d4e78ef8 /Project/ElectricCalculation.h
parent295b775ad53eb1e128b705e6028f9690dc6fa640 (diff)
parent7f46d390b8cc1d5f37560f52b222198dbc5e1225 (diff)
downloadPSP.git-8357c081eb75147bb8f94d8b6e367d88ea3898ed.tar.gz
PSP.git-8357c081eb75147bb8f94d8b6e367d88ea3898ed.tar.xz
PSP.git-8357c081eb75147bb8f94d8b6e367d88ea3898ed.zip
Merge pull request #50 from Thales1330/wip/induction-motor
Wip/induction motor
Diffstat (limited to 'Project/ElectricCalculation.h')
-rw-r--r--Project/ElectricCalculation.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Project/ElectricCalculation.h b/Project/ElectricCalculation.h
index 855f02f..0f2049b 100644
--- a/Project/ElectricCalculation.h
+++ b/Project/ElectricCalculation.h
@@ -32,6 +32,7 @@
#include "SyncGenerator.h"
#include "SyncMotor.h"
#include "Transformer.h"
+#include "HarmCurrent.h"
#include "PropertiesData.h"
@@ -184,6 +185,11 @@ class ElectricCalculation
* @return A list of transformer elements.
*/
const std::vector<Transformer*> GetTransformerList() const { return m_transformerList; }
+ /**
+ * @brief Get the harmonic current source of the system (use GetElementsFromList first).
+ * @return A list of harmonic current sources elements.
+ */
+ const std::vector<HarmCurrent*> GetHarmCurrentList() const { return m_harmCurrentList; }
protected:
std::vector<PowerElement*> m_powerElementList;
std::vector<Bus*> m_busList;
@@ -195,6 +201,7 @@ class ElectricCalculation
std::vector<SyncGenerator*> m_syncGeneratorList;
std::vector<SyncMotor*> m_syncMotorList;
std::vector<Transformer*> m_transformerList;
+ std::vector<HarmCurrent*> m_harmCurrentList;
};
#endif // ELECTRICCALCULATION_H