From 41b81949a92aad043caa28b0e1144348d06921f8 Mon Sep 17 00:00:00 2001 From: Thales Lima Oliveira Date: Wed, 6 Sep 2017 20:11:37 -0300 Subject: Data report implementation start --- Project/Workspace.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Project/Workspace.h') 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 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 m_stabilityTimeVector; - + + bool m_continuousCalc = false; bool m_justOpened = false; }; -- cgit From 91b9c3f9909955443e74dedb248fc48fa984709b Mon Sep 17 00:00:00 2001 From: Thales Lima Oliveira Date: Sat, 9 Sep 2017 19:11:41 -0300 Subject: Data report fully implemented --- Project/Workspace.h | 1 + 1 file changed, 1 insertion(+) (limited to 'Project/Workspace.h') diff --git a/Project/Workspace.h b/Project/Workspace.h index 7eb82ba..5a36106 100644 --- a/Project/Workspace.h +++ b/Project/Workspace.h @@ -168,6 +168,7 @@ protected: std::vector m_stabilityTimeVector; bool m_continuousCalc = false; + bool m_disconnectedElement = false; bool m_justOpened = false; }; -- cgit