From 7928eca406f5000aabf202fd393908b097f27449 Mon Sep 17 00:00:00 2001 From: Thales1330 Date: Mon, 9 Jan 2017 20:19:58 -0200 Subject: Fault calculation implemented --- Project/PowerFlow.h | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'Project/PowerFlow.h') diff --git a/Project/PowerFlow.h b/Project/PowerFlow.h index 1e5c621..29e205a 100644 --- a/Project/PowerFlow.h +++ b/Project/PowerFlow.h @@ -4,24 +4,25 @@ #include "ElectricCalculation.h" #include -#include //_() -#include //temp +#include //_() class PowerFlow : public ElectricCalculation { - public: +public: + PowerFlow(); PowerFlow(std::vector elementList); ~PowerFlow(); virtual bool RunGaussSeidel(double systemPowerBase = 100e6, - int maxIteration = 5000, - double error = 1e-6, - double initAngle = 0.0, - double accFactor = 1.0); + int maxIteration = 5000, + double error = 1e-6, + double initAngle = 0.0, + double accFactor = 1.0); virtual wxString GetErrorMessage() { return m_errorMsg; } - protected: + +protected: std::vector > > m_yBus; wxString m_errorMsg = ""; }; -#endif // POWERFLOW_H +#endif // POWERFLOW_H -- cgit