summaryrefslogtreecommitdiffstats
path: root/Project/Electromechanical.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/Electromechanical.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/Electromechanical.cpp')
-rw-r--r--Project/Electromechanical.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Project/Electromechanical.cpp b/Project/Electromechanical.cpp
index 5bb9a1d..4ebb3b3 100644
--- a/Project/Electromechanical.cpp
+++ b/Project/Electromechanical.cpp
@@ -74,7 +74,7 @@ bool Electromechanical::RunStabilityCalculation()
SetSyncMachinesModel();
// Calculate the admittance matrix with the synchronous machines.
- if(!GetYBus(m_yBus, m_powerSystemBase, POSITIVE_SEQ, false, true)) {
+ if(!GetYBus(m_yBus, m_powerSystemBase, POSITIVE_SEQ, false, true, true)) {
m_errorMsg = _("It was not possible to build the admittance matrix.");
return false;
}