summaryrefslogtreecommitdiffstats
path: root/Project/Electromechanical.h
diff options
context:
space:
mode:
Diffstat (limited to 'Project/Electromechanical.h')
-rw-r--r--Project/Electromechanical.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Project/Electromechanical.h b/Project/Electromechanical.h
index 694dbca..5b535a9 100644
--- a/Project/Electromechanical.h
+++ b/Project/Electromechanical.h
@@ -29,7 +29,9 @@ class Electromechanical : public ElectricCalculation
bool InitializeDynamicElements();
void CalculateMachinesCurrents();
void CalculateIntegrationConstants(SyncGenerator* syncGenerator, double id, double iq);
- bool SolveSynchronousMachines(bool saveValues = false);
+ bool SolveSynchronousMachines();
+
+ void SaveData();
wxWindow* m_parent = NULL;
wxString m_errorMsg = _("Unknown error");
@@ -46,7 +48,7 @@ class Electromechanical : public ElectricCalculation
double m_powerSystemBase = 100e6;
double m_timeStep = 1e-3;
- double m_tolerance = 1e-3;
+ double m_tolerance = 1e-5;
int m_maxIterations = 100;
std::vector<double> m_eventTimeList;