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
MoverShaftPower.h
1#pragma once
2
14#include "motorDriven/motor/MotorData.h"
15
17 public:
23 struct Output {
24 Output(const double moverShaftPower, const double driveEfficiency)
25 : moverShaftPower(moverShaftPower), driveEfficiency(driveEfficiency) {}
26
27 const double moverShaftPower, driveEfficiency;
28 };
29
35 MoverShaftPower(double motorShaftPower, Motor::Drive drive, double specifiedEfficiency)
36 : motorShaftPower(motorShaftPower), drive(drive), specifiedEfficiency(specifiedEfficiency) {}
37
43
48 double getMotorShaftPower() const { return motorShaftPower; }
49
54 void setMotorShaftPower(double motorShaftPower) { this->motorShaftPower = motorShaftPower; }
55
60 Motor::Drive getDrive() const { return drive; }
61
66 void setDrive(Motor::Drive drive) { this->drive = drive; }
67
72 double getSpecifiedEfficiency() const { return specifiedEfficiency; }
73
78 void setSpecifiedEfficiency(double specifiedEfficiency) { this->specifiedEfficiency = specifiedEfficiency; }
79
80 private:
81 double motorShaftPower;
82 Motor::Drive drive;
83 double specifiedEfficiency;
84};
85
Header file for MoverShaftPower class.
void setSpecifiedEfficiency(double specifiedEfficiency)
MoverShaftPower(double motorShaftPower, Motor::Drive drive, double specifiedEfficiency)
void setDrive(Motor::Drive drive)
Motor::Drive getDrive() const
double getSpecifiedEfficiency() const
Output calculate()
void setMotorShaftPower(double motorShaftPower)
double getMotorShaftPower() const