diff options
author | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2017-09-25 19:56:07 -0300 |
---|---|---|
committer | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2017-09-25 19:56:07 -0300 |
commit | 4f2e475b8de0f19c0cda560c3213809cb9c8cfca (patch) | |
tree | 337e1ed1595b6fe9060076d8c2f93ef62a37d30e /Project/Electromechanical.h | |
parent | 5e99db91624cea9308cb296544d81ce1fa4951e5 (diff) | |
download | PSP.git-4f2e475b8de0f19c0cda560c3213809cb9c8cfca.tar.gz PSP.git-4f2e475b8de0f19c0cda560c3213809cb9c8cfca.tar.xz PSP.git-4f2e475b8de0f19c0cda560c3213809cb9c8cfca.zip |
Saturation calculated by Newton raphson implmeneted
Not working yet
Diffstat (limited to 'Project/Electromechanical.h')
-rw-r--r-- | Project/Electromechanical.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Project/Electromechanical.h b/Project/Electromechanical.h index 9de4171..4259c0b6 100644 --- a/Project/Electromechanical.h +++ b/Project/Electromechanical.h @@ -70,7 +70,7 @@ class Electromechanical : public ElectricCalculation double sq, double pe, double k = 1.0); - void CalculateSyncMachineNonIntVariables(SyncGenerator* syncGenerator, + bool CalculateSyncMachineNonIntVariables(SyncGenerator* syncGenerator, double& id, double& iq, double& sd, @@ -78,7 +78,7 @@ class Electromechanical : public ElectricCalculation double& pe, double k = 1.0); void CalculateReferenceSpeed(); - bool CalculateSyncMachineSaturation(SyncGenerator* syncMachine, double k = 1.0); + bool CalculateSyncMachineSaturation(SyncGenerator* syncMachine, bool updateCurrents = true, double k = 1.0); void SaveData(); |