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/Load.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Project/Load.cpp') diff --git a/Project/Load.cpp b/Project/Load.cpp index 3cce7a1..d9574d9 100644 --- a/Project/Load.cpp +++ b/Project/Load.cpp @@ -194,7 +194,7 @@ wxString Load::GetTipText() const reactivePower = 0.0; } if(m_online && m_electricalData.loadType == CONST_IMPEDANCE) { - 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); activePower *= std::pow(std::abs(v), 2); } -- cgit