diff options
author | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2019-07-18 09:22:27 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-18 09:22:27 -0300 |
commit | 8357c081eb75147bb8f94d8b6e367d88ea3898ed (patch) | |
tree | 9d9726fdcefb917475d6b33344d2b832d4e78ef8 /Project/SimulationsSettingsForm.cpp | |
parent | 295b775ad53eb1e128b705e6028f9690dc6fa640 (diff) | |
parent | 7f46d390b8cc1d5f37560f52b222198dbc5e1225 (diff) | |
download | PSP.git-8357c081eb75147bb8f94d8b6e367d88ea3898ed.tar.gz PSP.git-8357c081eb75147bb8f94d8b6e367d88ea3898ed.tar.xz PSP.git-8357c081eb75147bb8f94d8b6e367d88ea3898ed.zip |
Merge pull request #50 from Thales1330/wip/induction-motor
Wip/induction motor
Diffstat (limited to 'Project/SimulationsSettingsForm.cpp')
-rw-r--r-- | Project/SimulationsSettingsForm.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Project/SimulationsSettingsForm.cpp b/Project/SimulationsSettingsForm.cpp index b7878d5..2947638 100644 --- a/Project/SimulationsSettingsForm.cpp +++ b/Project/SimulationsSettingsForm.cpp @@ -41,6 +41,7 @@ SimulationsSettingsForm::SimulationsSettingsForm(wxWindow* parent, PropertiesDat } m_checkBoxFaultAfterPF->SetValue(data.faultAfterPowerFlow); m_checkBoxSCPowerAfterPF->SetValue(data.scPowerAfterPowerFlow); + m_checkBoxTHDAfterPF->SetValue(data.harmDistortionAfterPowerFlow); switch(data.powerFlowMethod) { case GAUSS_SEIDEL: { m_choicePFMethod->SetSelection(0); @@ -107,6 +108,7 @@ bool SimulationsSettingsForm::ValidateData() } data.faultAfterPowerFlow = m_checkBoxFaultAfterPF->GetValue(); data.scPowerAfterPowerFlow = m_checkBoxSCPowerAfterPF->GetValue(); + data.harmDistortionAfterPowerFlow = m_checkBoxTHDAfterPF->GetValue(); switch(m_choicePFMethod->GetSelection()) { case 0: { data.powerFlowMethod = GAUSS_SEIDEL; |