summaryrefslogtreecommitdiffstats
path: root/Project/IndMotor.h
diff options
context:
space:
mode:
Diffstat (limited to 'Project/IndMotor.h')
-rw-r--r--Project/IndMotor.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Project/IndMotor.h b/Project/IndMotor.h
index 7e20a2f..f79dcb8 100644
--- a/Project/IndMotor.h
+++ b/Project/IndMotor.h
@@ -25,11 +25,11 @@ class IndMotorForm;
struct IndMotorElectricalData {
wxString name;
double ratedPower = 100.0;
- ElectricalUnit ratedPowerUnit = UNIT_MVA;
+ ElectricalUnit ratedPowerUnit = ElectricalUnit::UNIT_MVA;
double activePower = 100.0;
- ElectricalUnit activePowerUnit = UNIT_MW;
+ ElectricalUnit activePowerUnit = ElectricalUnit::UNIT_MW;
double reactivePower = 0.0;
- ElectricalUnit reactivePowerUnit = UNIT_MVAr;
+ ElectricalUnit reactivePowerUnit = ElectricalUnit::UNIT_Mvar;
bool useMachinePowerAsBase = true;
bool calcQInPowerFlow = true;
@@ -134,7 +134,7 @@ class IndMotor : public Machines
virtual void InitPowerFlowMotor(double systemPowerBase, int busNumber);
virtual bool CalculateReactivePower(double voltage);
- virtual bool GetPlotData(ElementPlotData& plotData, PlotStudy study = STABILITY);
+ virtual bool GetPlotData(ElementPlotData& plotData, PlotStudy study = PlotStudy::STABILITY);
virtual rapidxml::xml_node<>* SaveElement(rapidxml::xml_document<>& doc, rapidxml::xml_node<>* elementListNode);
virtual bool OpenElement(rapidxml::xml_node<>* elementNode, std::vector<Element*> parentList);