MEASUR-Tools-Suite v1.0.11
The MEASUR Tools Suite is a collection of industrial efficiency calculations written in C++ and with bindings for compilation to WebAssembly.
Loading...
Searching...
No Matches
OptimalMotorPower.h
1
12#ifndef TOOLS_SUITE_OPTIMALMOTORPOWER_H
13#define TOOLS_SUITE_OPTIMALMOTORPOWER_H
14
15#include "MotorData.h"
16
18 public:
19 struct Output {
26 Output(const double power, const double efficiency, const double current, const double powerFactor,
27 const double loadFactor)
28 : power(power), efficiency(efficiency), current(current), powerFactor(powerFactor), loadFactor(loadFactor) {
29 }
30
31 const double power, efficiency, current, powerFactor, loadFactor;
32 };
33
46 OptimalMotorPower(double motorRatedPower, double motorRPM, Motor::LineFrequency lineFrequency,
47 Motor::EfficiencyClass efficiencyClass, double specifiedEfficiency, double ratedVoltage,
48 double fieldVoltage, double optimalMotorShaftPower)
49 : optimalMotorShaftPower(optimalMotorShaftPower), motorRatedPower(motorRatedPower), motorRPM(motorRPM),
50 lineFrequency(lineFrequency), ratedVoltage(ratedVoltage), fieldVoltage(fieldVoltage),
51 efficiencyClass(efficiencyClass), specifiedEfficiency(specifiedEfficiency) {};
52
57
62 double getOptimalMotorShaftPower() const { return optimalMotorShaftPower; }
63
68 void setMotorShaftPower(double optimalMotorShaftPower) { this->optimalMotorShaftPower = optimalMotorShaftPower; }
69
70 private:
71 double optimalMotorShaftPower, motorRatedPower, motorRPM;
72 Motor::LineFrequency lineFrequency;
73 double ratedVoltage, fieldVoltage;
74 Motor::EfficiencyClass efficiencyClass;
75 double specifiedEfficiency;
76};
77
78#endif // TOOLS_SUITE_OPTIMALMOTORPOWER_H
Header file for OptimalMotorPower class.
OptimalMotorPower(double motorRatedPower, double motorRPM, Motor::LineFrequency lineFrequency, Motor::EfficiencyClass efficiencyClass, double specifiedEfficiency, double ratedVoltage, double fieldVoltage, double optimalMotorShaftPower)
double getOptimalMotorShaftPower() const
void setMotorShaftPower(double optimalMotorShaftPower)
Output(const double power, const double efficiency, const double current, const double powerFactor, const double loadFactor)