diff options
Diffstat (limited to 'Project/Electromechanical.cpp')
-rw-r--r-- | Project/Electromechanical.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Project/Electromechanical.cpp b/Project/Electromechanical.cpp index 4f416a6..3b6466a 100644 --- a/Project/Electromechanical.cpp +++ b/Project/Electromechanical.cpp @@ -98,6 +98,7 @@ bool Electromechanical::RunStabilityCalculation() if(!InitializeDynamicElements()) return false; double pbdTime = m_plotTime; + m_currentTime = 0.0; double currentPlotTime = 0.0; double currentPbdTime = 0.0; while(m_currentTime < m_simTime) { |