27 double ratedPower = 100.0;
28 ElectricalUnit ratedPowerUnit = ElectricalUnit::UNIT_MVA;
29 double activePower = 100.0;
30 ElectricalUnit activePowerUnit = ElectricalUnit::UNIT_MW;
31 double reactivePower = 0.0;
32 ElectricalUnit reactivePowerUnit = ElectricalUnit::UNIT_Mvar;
34 bool useMachinePowerAsBase =
true;
35 bool calcQInPowerFlow =
true;
48 bool plotIndMachine =
false;
98 std::complex<double> terminalVoltage;
99 std::vector<double> terminalVoltageVector;
101 std::vector<double> slipVector;
103 std::vector<double> electricalTorqueVector;
104 std::vector<double> mechanicalTorqueVector;
105 std::vector<double> velocityVector;
106 std::vector<double> currentVector;
107 std::vector<double> activePowerVector;
108 std::vector<double> reactivePowerVector;
127 virtual void DrawDCSymbol(wxGraphicsContext* gc)
const;
128 virtual void DrawDCSymbol(wxDC& dc)
const;
131 virtual bool ShowForm(wxWindow* parent,
Element* element, wxWindow* workspace =
nullptr);
135 virtual void SetElectricalData(
IndMotorElectricalData electricalData) { m_electricalData = electricalData; }
136 virtual void InitPowerFlowMotor(
double systemPowerBase,
int busNumber);
137 virtual bool CalculateReactivePower(
double voltage);
141 virtual rapidxml::xml_node<>* SaveElement(rapidxml::xml_document<>& doc, rapidxml::xml_node<>* elementListNode);
142 virtual bool OpenElement(rapidxml::xml_node<>* elementNode, std::vector<Element*> parentList);