diff options
author | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2018-07-14 09:04:40 -0300 |
---|---|---|
committer | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2018-07-14 09:04:40 -0300 |
commit | 73e934c17098281ffccd214f7517cd0f6ce03ab6 (patch) | |
tree | 8138eb23f888d151c475aca68c5701ce2c574282 /Project/Fault.cpp | |
parent | 7ddd1d26ad13ad23f520dff08485ef2794d5958b (diff) | |
download | PSP.git-73e934c17098281ffccd214f7517cd0f6ce03ab6.tar.gz PSP.git-73e934c17098281ffccd214f7517cd0f6ce03ab6.tar.xz PSP.git-73e934c17098281ffccd214f7517cd0f6ce03ab6.zip |
fault and control system implementation error fixed
Diffstat (limited to 'Project/Fault.cpp')
-rw-r--r-- | Project/Fault.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Project/Fault.cpp b/Project/Fault.cpp index 3d335fd..a71d2ce 100644 --- a/Project/Fault.cpp +++ b/Project/Fault.cpp @@ -34,11 +34,11 @@ bool Fault::RunFaultCalculation(double systemPowerBase) // Get adimittance matrices. std::vector<std::vector<std::complex<double> > > yBusPos; - GetYBus(yBusPos, systemPowerBase, POSITIVE_SEQ, true); + GetYBus(yBusPos, systemPowerBase, POSITIVE_SEQ, true, true); std::vector<std::vector<std::complex<double> > > yBusNeg; - GetYBus(yBusNeg, systemPowerBase, NEGATIVE_SEQ, true); + GetYBus(yBusNeg, systemPowerBase, NEGATIVE_SEQ, true, true); std::vector<std::vector<std::complex<double> > > yBusZero; - GetYBus(yBusZero, systemPowerBase, ZERO_SEQ, true); + GetYBus(yBusZero, systemPowerBase, ZERO_SEQ, true, true); // Calculate the impedance matrices. if(!InvertMatrix(yBusPos, m_zBusPos)) { |