diff options
author | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2017-09-09 19:13:03 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-09 19:13:03 -0300 |
commit | dcb1934ec64c928efdfa561519d2e46a3c3cb0db (patch) | |
tree | c1bf65c2bd297d44e258067155292d9798f4c8c9 /Project/Workspace.h | |
parent | 926af7f34aaf5aebdbac0cbc550ed75647874258 (diff) | |
parent | 91b9c3f9909955443e74dedb248fc48fa984709b (diff) | |
download | PSP.git-dcb1934ec64c928efdfa561519d2e46a3c3cb0db.tar.gz PSP.git-dcb1934ec64c928efdfa561519d2e46a3c3cb0db.tar.xz PSP.git-dcb1934ec64c928efdfa561519d2e46a3c3cb0db.zip |
Merge pull request #34 from Thales1330/wip-datareport
Wip datareport
Diffstat (limited to 'Project/Workspace.h')
-rw-r--r-- | Project/Workspace.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Project/Workspace.h b/Project/Workspace.h index 2a8b9b6..5a36106 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,9 @@ protected: PropertiesData* m_properties = NULL; std::vector<double> m_stabilityTimeVector; - + + bool m_continuousCalc = false; + bool m_disconnectedElement = false; bool m_justOpened = false; }; |