diff options
author | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2016-11-02 23:11:44 -0200 |
---|---|---|
committer | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2016-11-02 23:11:44 -0200 |
commit | 004257e2abebbf448ba8d1fba32daae216b2c88e (patch) | |
tree | 592ff32b18911e32ece4a7008d119627e856bd68 /Project/IndMotor.h | |
parent | b306118b2683cf6f264b5f1617c3e0e62a6c9042 (diff) | |
download | PSP.git-004257e2abebbf448ba8d1fba32daae216b2c88e.tar.gz PSP.git-004257e2abebbf448ba8d1fba32daae216b2c88e.tar.xz PSP.git-004257e2abebbf448ba8d1fba32daae216b2c88e.zip |
Gauss-Seidel implemented
Diffstat (limited to 'Project/IndMotor.h')
-rw-r--r-- | Project/IndMotor.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Project/IndMotor.h b/Project/IndMotor.h index 7624e71..491c714 100644 --- a/Project/IndMotor.h +++ b/Project/IndMotor.h @@ -5,7 +5,8 @@ class IndMotorForm; -struct IndMotorElectricalData { +struct IndMotorElectricalData +{ wxString name; double activePower = 100.0; ElectricalUnit activePowerUnit = UNIT_MW; @@ -24,6 +25,7 @@ class IndMotor : public Machines virtual bool GetContextMenu(wxMenu& menu); virtual bool ShowForm(wxWindow* parent, Element* element); virtual IndMotorElectricalData GetElectricalData() { return m_electricalData; } + virtual IndMotorElectricalData GetPUElectricalData(double systemPowerBase); virtual void SetElectricalData(IndMotorElectricalData electricalData) { m_electricalData = electricalData; } protected: IndMotorElectricalData m_electricalData; |