From 0ca6710a7e003952e1212c8e32ebb2e7c008d508 Mon Sep 17 00:00:00 2001 From: Thales Lima Oliveira Date: Wed, 24 Jul 2019 00:02:17 -0300 Subject: Newton bug fixed --- Project/IndMotor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Project/IndMotor.cpp') diff --git a/Project/IndMotor.cpp b/Project/IndMotor.cpp index 13e9b4d..cace164 100644 --- a/Project/IndMotor.cpp +++ b/Project/IndMotor.cpp @@ -225,8 +225,8 @@ bool IndMotor::OpenElement(rapidxml::xml_node<>* elementNode, std::vectorfirst_node("Stability"); - m_electricalData.plotIndMachine = XMLParser::GetNodeValueInt(stability, "Inertia"); - m_electricalData.inertia = XMLParser::GetNodeValueDouble(stability, "PlotIndMachine"); + m_electricalData.plotIndMachine = XMLParser::GetNodeValueInt(stability, "PlotIndMachine"); + m_electricalData.inertia = XMLParser::GetNodeValueDouble(stability, "Inertia"); m_electricalData.r1 = XMLParser::GetNodeValueDouble(stability, "StatorResistence"); m_electricalData.x1 = XMLParser::GetNodeValueDouble(stability, "StatorReactance"); m_electricalData.r2 = XMLParser::GetNodeValueDouble(stability, "RotorResistence"); -- cgit