From f995850b38916b38718b84f4b82948479a81855a Mon Sep 17 00:00:00 2001 From: Thales Lima Oliveira Date: Mon, 22 May 2017 20:17:41 -0300 Subject: Events implemented Effects on adimittance matrix and elements: ->Fault on bus; ->Generation/Load switching; ->Branch switching. --- Project/Inductor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Project/Inductor.cpp') 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 v = static_cast(m_parentList[0])->GetEletricalData().voltage; + std::complex v = static_cast(m_parentList[0])->GetElectricalData().voltage; reactivePower *= std::pow(std::abs(v), 2); } tipText += "\n"; -- cgit