summaryrefslogtreecommitdiffstats
path: root/Project/PowerFlow.h
diff options
context:
space:
mode:
Diffstat (limited to 'Project/PowerFlow.h')
-rw-r--r--Project/PowerFlow.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/Project/PowerFlow.h b/Project/PowerFlow.h
new file mode 100644
index 0000000..76b17e4
--- /dev/null
+++ b/Project/PowerFlow.h
@@ -0,0 +1,20 @@
+#ifndef POWERFLOW_H
+#define POWERFLOW_H
+
+#include "ElectricCalculation.h"
+
+#include <wx/string.h>//temp
+#include <wx/log.h>//temp
+
+class PowerFlow : public ElectricCalculation
+{
+ public:
+ PowerFlow(std::vector<Element*> elementList);
+ ~PowerFlow();
+ virtual bool RunGaussSeidel();
+
+ protected:
+ std::vector<std::vector<std::complex<double> > > m_yBus;
+};
+
+#endif // POWERFLOW_H