diff options
author | Thales1330 <thaleslima.ufu@gmail.com> | 2016-11-09 17:38:02 -0200 |
---|---|---|
committer | Thales1330 <thaleslima.ufu@gmail.com> | 2016-11-09 17:38:02 -0200 |
commit | e49af3edd77a3494ff255c45eeee85bd8b287737 (patch) | |
tree | d2b65497b7d54d821fa684c54f5dac000f3e8dbe /Project/PowerFlow.h | |
parent | 457b0509cfcc0848faa0188820e01814ea69c0b1 (diff) | |
download | PSP.git-e49af3edd77a3494ff255c45eeee85bd8b287737.tar.gz PSP.git-e49af3edd77a3494ff255c45eeee85bd8b287737.tar.xz PSP.git-e49af3edd77a3494ff255c45eeee85bd8b287737.zip |
Fixing reactive generation limit [2]
Diffstat (limited to 'Project/PowerFlow.h')
-rw-r--r-- | Project/PowerFlow.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/Project/PowerFlow.h b/Project/PowerFlow.h index 0ead448..1e5c621 100644 --- a/Project/PowerFlow.h +++ b/Project/PowerFlow.h @@ -7,19 +7,6 @@ #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: |