summaryrefslogtreecommitdiffstats
path: root/Project/ElectricCalculation.h
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2019-04-25 01:25:41 -0300
committerThales Lima Oliveira <thaleslima.ufu@gmail.com>2019-04-25 01:25:41 -0300
commit2771fff79ac9c3c09b70f4668e7142b2e944d1f2 (patch)
treec55b0780b0da2ac270df16c5b92d7fc243ea0756 /Project/ElectricCalculation.h
parentfdb50c49b323edf16ce72c7ee2c678aa1ac99777 (diff)
downloadPSP.git-2771fff79ac9c3c09b70f4668e7142b2e944d1f2.tar.gz
PSP.git-2771fff79ac9c3c09b70f4668e7142b2e944d1f2.tar.xz
PSP.git-2771fff79ac9c3c09b70f4668e7142b2e944d1f2.zip
Matpower Importer and power quality calculation
Power quality in implementation
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