diff options
author | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2019-07-24 00:02:49 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-24 00:02:49 -0300 |
commit | 4f434e4a1cccce69e4b680e4734df52244d3a30b (patch) | |
tree | 54886abf6d62d9341377d535e52b36016b602107 /Project/IndMotor.cpp | |
parent | 8357c081eb75147bb8f94d8b6e367d88ea3898ed (diff) | |
parent | 0ca6710a7e003952e1212c8e32ebb2e7c008d508 (diff) | |
download | PSP.git-4f434e4a1cccce69e4b680e4734df52244d3a30b.tar.gz PSP.git-4f434e4a1cccce69e4b680e4734df52244d3a30b.tar.xz PSP.git-4f434e4a1cccce69e4b680e4734df52244d3a30b.zip |
Merge pull request #51 from Thales1330/wip/induction-motor
Newton bug fixed
Diffstat (limited to 'Project/IndMotor.cpp')
-rw-r--r-- | Project/IndMotor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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::vector<Elemen // Stability auto stability = electricalProp->first_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"); |