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
include
processHeat
losses
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
21
class
AuxiliaryPower
{
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
AuxiliaryPower
Definition
auxiliary_power.h:21
AuxiliaryPower::getPowerUsed
double getPowerUsed() const
AuxiliaryPower::AuxiliaryPower
AuxiliaryPower(const double motorPhase, const double supplyVoltage, const double avgCurrent, const double powerFactor, const double operatingTime)
Definition
auxiliary_power.h:33
Generated by
1.9.8