diff options
author | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2017-10-08 22:49:52 -0300 |
---|---|---|
committer | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2017-10-08 22:49:52 -0300 |
commit | aa2378020ee0bbfd041681cfdbe62a8d028687f3 (patch) | |
tree | 9e3afcb7c696142757da9e26f9b37e86cea774ea /Project/ControlElementSolver.h | |
parent | 2552edfb5608ae15600aac38622354fe46701002 (diff) | |
download | PSP.git-aa2378020ee0bbfd041681cfdbe62a8d028687f3.tar.gz PSP.git-aa2378020ee0bbfd041681cfdbe62a8d028687f3.tar.xz PSP.git-aa2378020ee0bbfd041681cfdbe62a8d028687f3.zip |
Velocity variaton input implemented
For PSS control on AVR
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 786ae78..fd27ad6 100644 --- a/Project/ControlElementSolver.h +++ b/Project/ControlElementSolver.h @@ -65,8 +65,10 @@ class ControlElementSolver void SetInitialTerminalVoltage(double value) { m_initTerminalVoltage = value; } void SetInitialMecPower(double value) { m_initMecPower = value; } void SetInitialVelocity(double value) { m_initVelocity = value; } + void SetDeltaVelocity(double value) { m_deltaVelocity = value; } double GetFieldVoltage() { return m_fieldVoltage; } double GetMechanicalPower() { return m_mecPower; } + double GetVelocity() { return m_velocity; } protected: void Initialize(wxWindow* parent, double timeStep, double integrationError); void FillAllConnectedChildren(ConnectionLine* parent); @@ -89,6 +91,7 @@ class ControlElementSolver double m_initTerminalVoltage = 0.0; double m_initMecPower = 0.0; double m_initVelocity = 0.0; + double m_deltaVelocity = 0.0; // Outputs double m_fieldVoltage = 0.0; double m_mecPower = 0.0; |