summaryrefslogtreecommitdiffstats
path: root/Project/PowerFlow.h
diff options
context:
space:
mode:
Diffstat (limited to 'Project/PowerFlow.h')
-rw-r--r--Project/PowerFlow.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/Project/PowerFlow.h b/Project/PowerFlow.h
index 1e5c621..0ead448 100644
--- a/Project/PowerFlow.h
+++ b/Project/PowerFlow.h
@@ -7,6 +7,19 @@
#include <wx/intl.h> //_()
#include <wx/log.h> //temp
+enum ReactiveLimitsType {
+ RL_UNLIMITED = 0, // The bus can generate any ammount of reactive power.
+ RL_LIMITED, // The bus reactive power generation is limited.
+ RL_UNLIMITED_SOURCE, // The bus have at least one source of infinite reative power.
+};
+
+struct ReactiveLimits {
+ double maxLimit = 0.0;
+ double minLimit = 0.0;
+ ReactiveLimitsType maxLimitType = RL_UNLIMITED;
+ ReactiveLimitsType minLimitType = RL_UNLIMITED;
+};
+
class PowerFlow : public ElectricCalculation
{
public: