summaryrefslogtreecommitdiffstats
path: root/Project/Electromechanical.h
diff options
context:
space:
mode:
Diffstat (limited to 'Project/Electromechanical.h')
-rw-r--r--Project/Electromechanical.h4
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();