diff options
author | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2017-05-22 20:17:41 -0300 |
---|---|---|
committer | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2017-05-22 20:17:41 -0300 |
commit | f995850b38916b38718b84f4b82948479a81855a (patch) | |
tree | db1f4f79f2d47383451869ce214dc416b0174dac /Project/Inductor.cpp | |
parent | 30181ca0ae73f5f7f1856ac289db8fcf849c9a84 (diff) | |
download | PSP.git-f995850b38916b38718b84f4b82948479a81855a.tar.gz PSP.git-f995850b38916b38718b84f4b82948479a81855a.tar.xz PSP.git-f995850b38916b38718b84f4b82948479a81855a.zip |
Events implemented
Effects on adimittance matrix and elements:
->Fault on bus;
->Generation/Load switching;
->Branch switching.
Diffstat (limited to 'Project/Inductor.cpp')
-rw-r--r-- | Project/Inductor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Project/Inductor.cpp b/Project/Inductor.cpp index b9a3da6..b169f8a 100644 --- a/Project/Inductor.cpp +++ b/Project/Inductor.cpp @@ -174,7 +174,7 @@ wxString Inductor::GetTipText() const if(!m_online) reactivePower = 0.0; else { - std::complex<double> v = static_cast<Bus*>(m_parentList[0])->GetEletricalData().voltage; + std::complex<double> v = static_cast<Bus*>(m_parentList[0])->GetElectricalData().voltage; reactivePower *= std::pow(std::abs(v), 2); } tipText += "\n"; |