diff options
author | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2017-09-06 20:11:37 -0300 |
---|---|---|
committer | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2017-09-06 20:11:37 -0300 |
commit | 41b81949a92aad043caa28b0e1144348d06921f8 (patch) | |
tree | 9336697587beafbcca1ad8bcf90e750db550b927 /Project/Workspace.h | |
parent | 926af7f34aaf5aebdbac0cbc550ed75647874258 (diff) | |
download | PSP.git-41b81949a92aad043caa28b0e1144348d06921f8.tar.gz PSP.git-41b81949a92aad043caa28b0e1144348d06921f8.tar.xz PSP.git-41b81949a92aad043caa28b0e1144348d06921f8.zip |
Data report implementation start
Diffstat (limited to 'Project/Workspace.h')
-rw-r--r-- | Project/Workspace.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Project/Workspace.h b/Project/Workspace.h index 2a8b9b6..7eb82ba 100644 --- a/Project/Workspace.h +++ b/Project/Workspace.h @@ -116,10 +116,14 @@ public: PropertiesData* GetProperties() const { return m_properties; } std::vector<double> GetStabilityTimeVector() const { return m_stabilityTimeVector; } + + bool IsContinuousCalculationActive() const { return m_continuousCalc; } + void SetContinuousCalculationActive(bool value = true) { m_continuousCalc = value; } bool RunPowerFlow(); bool RunFault(); bool RunSCPower(); + bool RunStaticStudies(); bool RunStability(); protected: @@ -162,7 +166,8 @@ protected: PropertiesData* m_properties = NULL; std::vector<double> m_stabilityTimeVector; - + + bool m_continuousCalc = false; bool m_justOpened = false; }; |