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
fixture_losses.h
Go to the documentation of this file.
1
14#ifndef TOOLS_SUITE_FIXTURELOSSES_H
15#define TOOLS_SUITE_FIXTURELOSSES_H
16
24 public:
33 FixtureLosses(const double specificHeat, const double feedRate, const double initialTemperature,
34 const double finalTemperature, const double correctionFactor)
35 : specificHeat(specificHeat), feedRate(feedRate), initialTemperature(initialTemperature),
36 finalTemperature(finalTemperature), correctionFactor(correctionFactor) {
37 heatLoss = 0.0;
38 }
39
40 FixtureLosses() = default;
41
46 double getSpecificHeat() const { return specificHeat; }
47
52 void setSpecificHeat(const double specificHeat) { this->specificHeat = specificHeat; }
53
58 double getFeedRate() const { return feedRate; }
59
64 void setFeedRate(const double feedRate) { this->feedRate = feedRate; }
65
70 double getInitialTemperature() const { return initialTemperature; }
71
76 void setInitialTemperature(const double initialTemperature) { this->initialTemperature = initialTemperature; }
77
82 double getFinalTemperature() const { return finalTemperature; }
83
88 void setFinalTemperature(const double finalTemperature) { this->finalTemperature = finalTemperature; }
89
94 double getCorrectionFactor() const { return correctionFactor; }
95
100 void setCorrectionFactor(const double correctionFactor) { this->correctionFactor = correctionFactor; }
101
106 double getHeatLoss();
107
108 private:
109 // In values
110 double specificHeat, feedRate, initialTemperature, finalTemperature, correctionFactor;
111
112 // Out values
113 double heatLoss;
114};
115
116#endif // TOOLS_SUITE_FIXTURELOSSES_H
double getFeedRate() const
void setCorrectionFactor(const double correctionFactor)
void setFinalTemperature(const double finalTemperature)
double getFinalTemperature() const
void setFeedRate(const double feedRate)
double getHeatLoss()
void setSpecificHeat(const double specificHeat)
FixtureLosses(const double specificHeat, const double feedRate, const double initialTemperature, const double finalTemperature, const double correctionFactor)
double getInitialTemperature() const
void setInitialTemperature(const double initialTemperature)
double getSpecificHeat() const
double getCorrectionFactor() const