diff options
author | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2017-10-09 22:17:10 -0300 |
---|---|---|
committer | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2017-10-09 22:17:10 -0300 |
commit | eea796f53f5d9dc1444a620713b3326f04b73339 (patch) | |
tree | 2cc6cd35c3dfa718c26b7f5de9dcee913fb93028 /Project/ControlElementSolver.h | |
parent | aa2378020ee0bbfd041681cfdbe62a8d028687f3 (diff) | |
download | PSP.git-eea796f53f5d9dc1444a620713b3326f04b73339.tar.gz PSP.git-eea796f53f5d9dc1444a620713b3326f04b73339.tar.xz PSP.git-eea796f53f5d9dc1444a620713b3326f04b73339.zip |
Divider control element implemented
Abstract class math operations implemented
Divider need to be redesigned
Expor/import divider functions implemented but supressed
Diffstat (limited to 'Project/ControlElementSolver.h')
-rw-r--r-- | Project/ControlElementSolver.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Project/ControlElementSolver.h b/Project/ControlElementSolver.h index fd27ad6..9bc54f7 100644 --- a/Project/ControlElementSolver.h +++ b/Project/ControlElementSolver.h @@ -66,9 +66,11 @@ class ControlElementSolver void SetInitialMecPower(double value) { m_initMecPower = value; } void SetInitialVelocity(double value) { m_initVelocity = value; } void SetDeltaVelocity(double value) { m_deltaVelocity = value; } + void SetDeltaActivePower(double value) { m_deltaPe = value; } double GetFieldVoltage() { return m_fieldVoltage; } double GetMechanicalPower() { return m_mecPower; } double GetVelocity() { return m_velocity; } + double GetActivePower() { return m_activePower; } protected: void Initialize(wxWindow* parent, double timeStep, double integrationError); void FillAllConnectedChildren(ConnectionLine* parent); @@ -92,6 +94,7 @@ class ControlElementSolver double m_initMecPower = 0.0; double m_initVelocity = 0.0; double m_deltaVelocity = 0.0; + double m_deltaPe = 0.0; // Outputs double m_fieldVoltage = 0.0; double m_mecPower = 0.0; |