summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2019-01-22 15:06:15 -0200
committerThales Lima Oliveira <thaleslima.ufu@gmail.com>2019-01-22 15:06:15 -0200
commitfdb50c49b323edf16ce72c7ee2c678aa1ac99777 (patch)
tree37023e809133b94d9cab2d07feea8795ba6d8ed9
parent59c28b89bb2a4eb05a87bb28154442266c35b17d (diff)
parentd602520404c6049ccc08ad1671e9d734ccaf3b2b (diff)
downloadPSP.git-fdb50c49b323edf16ce72c7ee2c678aa1ac99777.tar.gz
PSP.git-fdb50c49b323edf16ce72c7ee2c678aa1ac99777.tar.xz
PSP.git-fdb50c49b323edf16ce72c7ee2c678aa1ac99777.zip
Merge branch 'wip/induction-motor' of https://github.com/Thales1330/PSP into wip/induction-motor
-rw-r--r--Project/Electromechanical.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/Project/Electromechanical.cpp b/Project/Electromechanical.cpp
index f74f546..72b2e84 100644
--- a/Project/Electromechanical.cpp
+++ b/Project/Electromechanical.cpp
@@ -237,7 +237,6 @@ void Electromechanical::SetEvent(double currentTime)
int n = parentBus->GetElectricalData().number;
std::complex<double> v = parentBus->GetElectricalData().voltage;
m_yBus[n][n] -= std::complex<double>(data.activePower, -data.reactivePower) / (std::abs(v) * std::abs(v));
-
}
// Insert load (only disconnected load)