summaryrefslogtreecommitdiffstats
path: root/Project/Electromechanical.cpp
diff options
context:
space:
mode:
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;
}