summaryrefslogtreecommitdiffstats
path: root/Project/SimulationsSettingsForm.cpp
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2019-01-16 09:38:08 -0200
committerGitHub <noreply@github.com>2019-01-16 09:38:08 -0200
commit9c7c255d7dc957241364aca0e5322da926e33fc7 (patch)
tree16dda6fad8398941c3c8e4db6d48ef98602ec06f /Project/SimulationsSettingsForm.cpp
parentaf070d92462ac5586aa6a0a80c51a8fa72710600 (diff)
parentdb3fadbcc9f396ca22c4578101bbcd0a7e81609e (diff)
downloadPSP.git-9c7c255d7dc957241364aca0e5322da926e33fc7.tar.gz
PSP.git-9c7c255d7dc957241364aca0e5322da926e33fc7.tar.xz
PSP.git-9c7c255d7dc957241364aca0e5322da926e33fc7.zip
Merge pull request #46 from Thales1330/wip/induction-motor
Wip/induction motor
Diffstat (limited to 'Project/SimulationsSettingsForm.cpp')
-rw-r--r--Project/SimulationsSettingsForm.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Project/SimulationsSettingsForm.cpp b/Project/SimulationsSettingsForm.cpp
index 1e32b1d..b7878d5 100644
--- a/Project/SimulationsSettingsForm.cpp
+++ b/Project/SimulationsSettingsForm.cpp
@@ -56,6 +56,7 @@ SimulationsSettingsForm::SimulationsSettingsForm(wxWindow* parent, PropertiesDat
m_textCtrlAccFactor->SetValue(Element::StringFromDouble(data.accFator));
m_textCtrlPFTolerance->SetValue(wxString::Format("%g", data.powerFlowTolerance));
m_textCtrlPFMaxIterations->SetValue(wxString::Format("%d", data.powerFlowMaxIterations));
+ m_textCtrlPFSlackBusAngle->SetValue(Element::StringFromDouble(data.initAngle));
m_textCtrlTimeStep->SetValue(wxString::Format("%g", data.timeStep));
m_textCtrlSimTime->SetValue(Element::StringFromDouble(data.stabilitySimulationTime));
m_textCtrlFreq->SetValue(Element::StringFromDouble(data.stabilityFrequency));