From eea796f53f5d9dc1444a620713b3326f04b73339 Mon Sep 17 00:00:00 2001 From: Thales Lima Oliveira Date: Mon, 9 Oct 2017 22:17:10 -0300 Subject: Divider control element implemented Abstract class math operations implemented Divider need to be redesigned Expor/import divider functions implemented but supressed --- Project/ControlElementSolver.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Project/ControlElementSolver.h') 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; -- cgit