diff options
author | Thales1330 <thaleslima.ufu@gmail.com> | 2016-12-08 21:49:08 -0200 |
---|---|---|
committer | Thales1330 <thaleslima.ufu@gmail.com> | 2016-12-08 21:49:08 -0200 |
commit | 416a289beb034951cbf926778e14d42900e3d78e (patch) | |
tree | 38ac234fb538c623ba03ff7b64113f4ab5b8a120 /Project/SyncGenerator.cpp | |
parent | a41af814d1339a03a7891ee5c84f49006fac58e5 (diff) | |
download | PSP.git-416a289beb034951cbf926778e14d42900e3d78e.tar.gz PSP.git-416a289beb034951cbf926778e14d42900e3d78e.tar.xz PSP.git-416a289beb034951cbf926778e14d42900e3d78e.zip |
Several bus correted
Diffstat (limited to 'Project/SyncGenerator.cpp')
-rw-r--r-- | Project/SyncGenerator.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Project/SyncGenerator.cpp b/Project/SyncGenerator.cpp index b655364..463c56d 100644 --- a/Project/SyncGenerator.cpp +++ b/Project/SyncGenerator.cpp @@ -127,3 +127,11 @@ SyncGeneratorElectricalData SyncGenerator::GetPUElectricalData(double systemPowe return data; } + +void SyncGenerator::SetNominalVoltage(std::vector<double> nominalVoltage, std::vector<ElectricalUnit> nominalVoltageUnit) +{ + if(nominalVoltage.size() > 0) { + m_electricalData.nominalVoltage = nominalVoltage[0]; + m_electricalData.nominalVoltageUnit = nominalVoltageUnit[0]; + } +} |