summaryrefslogtreecommitdiffstats
path: root/Project/Workspace.h
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-09-09 19:13:03 -0300
committerGitHub <noreply@github.com>2017-09-09 19:13:03 -0300
commitdcb1934ec64c928efdfa561519d2e46a3c3cb0db (patch)
treec1bf65c2bd297d44e258067155292d9798f4c8c9 /Project/Workspace.h
parent926af7f34aaf5aebdbac0cbc550ed75647874258 (diff)
parent91b9c3f9909955443e74dedb248fc48fa984709b (diff)
downloadPSP.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.h8
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;
};