summaryrefslogtreecommitdiffstats
path: root/Project/Electromechanical.h
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-05-26 02:21:15 -0300
committerThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-05-26 02:21:15 -0300
commit734476bea0a2b85b131f5a4d2c9e2b219af7be41 (patch)
tree745230f78d5baede413818e19563a043313d75b6 /Project/Electromechanical.h
parent993288a099a4ba08c40cfb5ff79620257193131c (diff)
downloadPSP.git-734476bea0a2b85b131f5a4d2c9e2b219af7be41.tar.gz
PSP.git-734476bea0a2b85b131f5a4d2c9e2b219af7be41.tar.xz
PSP.git-734476bea0a2b85b131f5a4d2c9e2b219af7be41.zip
Sync generator plot implemented
Electromechanical calc not working
Diffstat (limited to 'Project/Electromechanical.h')
-rw-r--r--Project/Electromechanical.h4
1 files changed, 3 insertions, 1 deletions
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<double> 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");