summaryrefslogtreecommitdiffstats
path: root/Project/IndMotor.cpp
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2019-07-24 00:02:17 -0300
committerThales Lima Oliveira <thaleslima.ufu@gmail.com>2019-07-24 00:02:17 -0300
commit0ca6710a7e003952e1212c8e32ebb2e7c008d508 (patch)
tree54886abf6d62d9341377d535e52b36016b602107 /Project/IndMotor.cpp
parent7f46d390b8cc1d5f37560f52b222198dbc5e1225 (diff)
downloadPSP.git-0ca6710a7e003952e1212c8e32ebb2e7c008d508.tar.gz
PSP.git-0ca6710a7e003952e1212c8e32ebb2e7c008d508.tar.xz
PSP.git-0ca6710a7e003952e1212c8e32ebb2e7c008d508.zip
Newton bug fixed
Diffstat (limited to 'Project/IndMotor.cpp')
-rw-r--r--Project/IndMotor.cpp4
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");