From 734476bea0a2b85b131f5a4d2c9e2b219af7be41 Mon Sep 17 00:00:00 2001 From: Thales Lima Oliveira Date: Fri, 26 May 2017 02:21:15 -0300 Subject: Sync generator plot implemented Electromechanical calc not working --- Project/Electromechanical.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Project/Electromechanical.h') diff --git a/Project/Electromechanical.h b/Project/Electromechanical.h index 21c747c..694dbca 100644 --- a/Project/Electromechanical.h +++ b/Project/Electromechanical.h @@ -21,13 +21,15 @@ class Electromechanical : public ElectricCalculation bool HasEvent(double currentTime); void SetEvent(double currentTime); inline bool EventTrigger(double eventTime, double currentTime); + + double GetPowerValue(double value, ElectricalUnit unit); void InsertSyncMachinesOnYBus(); std::complex GetSyncMachineAdmittance(SyncGenerator* generator); bool InitializeDynamicElements(); void CalculateMachinesCurrents(); void CalculateIntegrationConstants(SyncGenerator* syncGenerator, double id, double iq); - bool SolveSynchronousMachines(); + bool SolveSynchronousMachines(bool saveValues = false); wxWindow* m_parent = NULL; wxString m_errorMsg = _("Unknown error"); -- cgit