27 double ratedPower = 100.0;
29 double activePower = 100.0;
31 double reactivePower = 0.0;
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;
134 virtual void SetElectricalData(
IndMotorElectricalData electricalData) { m_electricalData = electricalData; }
135 virtual void InitPowerFlowMotor(
double systemPowerBase,
int busNumber);
136 virtual bool CalculateReactivePower(
double voltage);
140 virtual rapidxml::xml_node<>* SaveElement(rapidxml::xml_document<>& doc, rapidxml::xml_node<>* elementListNode);
141 virtual bool OpenElement(rapidxml::xml_node<>* elementNode, std::vector<Element*> parentList);
ElectricalUnit
Electrical units.
Base class of all elements of the program. This class is responsible for manage graphical and his dat...
Induction motor power element.
virtual bool GetContextMenu(wxMenu &menu)
Get the element contex menu.
virtual Element * GetCopy()
Get a the element copy.
virtual bool GetPlotData(ElementPlotData &plotData, PlotStudy study=PlotStudy::STABILITY)
Fill the plot data.
virtual bool ShowForm(wxWindow *parent, Element *element)
Show element data form.
virtual wxString GetTipText() const
Get the tip text.
Abstract class for rotary machines power elements.
Integration constants to calculate dynamic elements through trapezoidal integration method.