diff options
author | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2017-08-30 20:42:27 -0300 |
---|---|---|
committer | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2017-08-30 20:42:27 -0300 |
commit | 516cdb72d3ff99a1ee786d3ea24c9b579272fe76 (patch) | |
tree | 6017213d5e270f94c1063d11e793c196e3c969f8 /Project/Electromechanical.h | |
parent | 1fcb990bd02da945ac0204caaed6a9aa1f6a7d5f (diff) | |
download | PSP.git-516cdb72d3ff99a1ee786d3ea24c9b579272fe76.tar.gz PSP.git-516cdb72d3ff99a1ee786d3ea24c9b579272fe76.tar.xz PSP.git-516cdb72d3ff99a1ee786d3ea24c9b579272fe76.zip |
COI (center of inertia) implemented
See Milano's book p. 342
Diffstat (limited to 'Project/Electromechanical.h')
-rw-r--r-- | Project/Electromechanical.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Project/Electromechanical.h b/Project/Electromechanical.h index 7400944..f981353 100644 --- a/Project/Electromechanical.h +++ b/Project/Electromechanical.h @@ -39,6 +39,7 @@ class Electromechanical : public ElectricCalculation void SetSyncMachinesModel(); double CalculateSyncMachineIntVariables(SyncGenerator* syncGenerator, double id, double iq, double pe, double k = 1.0); void CalculateSyncMachineNonIntVariables(SyncGenerator* syncGenerator, double& id, double& iq, double& pe, double k = 1.0); + void CalculateReferenceSpeed(); void SaveData(); @@ -46,6 +47,8 @@ class Electromechanical : public ElectricCalculation wxString m_errorMsg = _("Unknown error"); double m_systemFreq = 60.0; + double m_refSpeed = 2.0 * M_PI * 60.0; + bool m_useCOI = false; std::vector<std::vector<std::complex<double> > > m_yBus; std::vector<std::vector<std::complex<double> > > m_yBusU; |