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
auxiliary_power.h
Go to the documentation of this file.
1
12#ifndef TOOLS_SUITE_AUXILIARYPOWER_H
13#define TOOLS_SUITE_AUXILIARYPOWER_H
14
15#include <cmath>
16
22 public:
33 AuxiliaryPower(const double motorPhase, const double supplyVoltage, const double avgCurrent,
34 const double powerFactor, const double operatingTime)
35 : motorPhase(motorPhase), supplyVoltage(supplyVoltage), avgCurrent(avgCurrent), powerFactor(powerFactor),
36 operatingTime(operatingTime / 100.0) {}
37
43 double getPowerUsed() const;
44
45 private:
46 const double motorPhase, supplyVoltage, avgCurrent, powerFactor, operatingTime;
47};
48
49#endif // TOOLS_SUITE_AUXILIARYPOWER_H
double getPowerUsed() const
AuxiliaryPower(const double motorPhase, const double supplyVoltage, const double avgCurrent, const double powerFactor, const double operatingTime)