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#pragma once
2
14#include <cmath>
15
21 public:
32 AuxiliaryPower(const double motorPhase, const double supplyVoltage, const double avgCurrent,
33 const double powerFactor, const double operatingTime)
34 : motorPhase(motorPhase), supplyVoltage(supplyVoltage), avgCurrent(avgCurrent), powerFactor(powerFactor),
35 operatingTime(operatingTime / 100.0) {}
36
42 double getPowerUsed() const;
43
44 private:
45 const double motorPhase, supplyVoltage, avgCurrent, powerFactor, operatingTime;
46};
47
double getPowerUsed() const
AuxiliaryPower(const double motorPhase, const double supplyVoltage, const double avgCurrent, const double powerFactor, const double operatingTime)