diff options
author | Thales1330 <thaleslima.ufu@gmail.com> | 2016-11-07 17:23:07 -0200 |
---|---|---|
committer | Thales1330 <thaleslima.ufu@gmail.com> | 2016-11-07 17:23:07 -0200 |
commit | b6d4815859b494cc6e5e1f1718a3b410fdd6037a (patch) | |
tree | b66acbfab636dd4606d8b893c489d76b34977749 /Project/PowerFlow.h | |
parent | 9919f24692c1fe9b8e11fde5c6d5c18f169b5c10 (diff) | |
download | PSP.git-b6d4815859b494cc6e5e1f1718a3b410fdd6037a.tar.gz PSP.git-b6d4815859b494cc6e5e1f1718a3b410fdd6037a.tar.xz PSP.git-b6d4815859b494cc6e5e1f1718a3b410fdd6037a.zip |
Reactive limits under implementation
Diffstat (limited to 'Project/PowerFlow.h')
-rw-r--r-- | Project/PowerFlow.h | 13 |
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: |