summaryrefslogtreecommitdiffstats
path: root/Project/PowerFlow.cpp
diff options
context:
space:
mode:
authorThales1330 <thaleslima.ufu@gmail.com>2016-12-29 14:07:52 -0200
committerThales1330 <thaleslima.ufu@gmail.com>2016-12-29 14:07:52 -0200
commit3750a0691f4975045647f3f70d8215fb1884e6fb (patch)
tree3d5dbd283f31004cc6ef826c2b75d5e5ed9d9f27 /Project/PowerFlow.cpp
parentd792fcf7b2a5862ac86ee69aa86021b5637ca8ee (diff)
downloadPSP.git-3750a0691f4975045647f3f70d8215fb1884e6fb.tar.gz
PSP.git-3750a0691f4975045647f3f70d8215fb1884e6fb.tar.xz
PSP.git-3750a0691f4975045647f3f70d8215fb1884e6fb.zip
Text element paste bug corrected
Diffstat (limited to 'Project/PowerFlow.cpp')
-rw-r--r--Project/PowerFlow.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/Project/PowerFlow.cpp b/Project/PowerFlow.cpp
index 023ce26..c94d8d8 100644
--- a/Project/PowerFlow.cpp
+++ b/Project/PowerFlow.cpp
@@ -278,13 +278,5 @@ bool PowerFlow::RunGaussSeidel(double systemPowerBase,
UpdateElementsPowerFlow(voltage, power, oldBusType, reactiveLimit, systemPowerBase);
- wxString str = "";
- for(auto itb = m_busList.begin(); itb != m_busList.end(); itb++) {
- Bus* bus = *itb;
- BusElectricalData data = bus->GetEletricalData();
- str += wxString::Format("%.5f/_%.2f\n", std::abs(data.voltage), wxRadToDeg(std::arg(data.voltage)));
- }
- wxLogMessage(str);
-
return true;
}