summaryrefslogtreecommitdiffstats
path: root/Project/Fault.cpp
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2018-07-14 13:08:48 -0300
committerThales Lima Oliveira <thaleslima.ufu@gmail.com>2018-07-14 13:08:48 -0300
commit2458c9d8a5763a10388550650d8b571a659b0094 (patch)
treed2874fe7e0f15f0b5181f9159cd3b6a0a48af56f /Project/Fault.cpp
parentf4de628c999810808d961899299686a9f0c50b5b (diff)
parent73e934c17098281ffccd214f7517cd0f6ce03ab6 (diff)
downloadPSP.git-2458c9d8a5763a10388550650d8b571a659b0094.tar.gz
PSP.git-2458c9d8a5763a10388550650d8b571a659b0094.tar.xz
PSP.git-2458c9d8a5763a10388550650d8b571a659b0094.zip
Merge branch 'wip/induction-motor' of https://github.com/Thales1330/PSP into wip/induction-motor
Diffstat (limited to 'Project/Fault.cpp')
-rw-r--r--Project/Fault.cpp6
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)) {