AMO-Tools-Suite  v.0.9.0
Set of tools for calculating energy efficiency in industrial equipment
All Classes Namespaces Files Functions Variables Enumerations Friends Macros Pages
FixtureLosses.h
Go to the documentation of this file.
1 
14 #ifndef AMO_SUITE_FIXTURELOSSES_H
15 #define AMO_SUITE_FIXTURELOSSES_H
16 
22 class FixtureLosses {
23 public:
32  FixtureLosses(const double specificHeat, const double feedRate, const double initialTemperature,
33  const double finalTemperature, const double correctionFactor)
34  : specificHeat(specificHeat),
35  feedRate(feedRate),
36  initialTemperature(initialTemperature),
37  finalTemperature(finalTemperature),
38  correctionFactor(correctionFactor)
39  {
40  heatLoss = 0.0;
41  }
42 
43  FixtureLosses() = default;
44 
49  double getSpecificHeat() const {
50  return specificHeat;
51  }
52 
57  void setSpecificHeat(const double specificHeat) {
58  this->specificHeat = specificHeat;
59  }
60 
65  double getFeedRate() const {
66  return feedRate;
67  }
68 
73  void setFeedRate(const double feedRate) {
74  this->feedRate = feedRate;
75  }
76 
81  double getInitialTemperature() const {
82  return initialTemperature;
83  }
84 
89  void setInitialTemperature(const double initialTemperature) {
90  this->initialTemperature = initialTemperature;
91  }
92 
97  double getFinalTemperature() const {
98  return finalTemperature;
99  }
100 
105  void setFinalTemperature(const double finalTemperature) {
106  this->finalTemperature = finalTemperature;
107  }
108 
113  double getCorrectionFactor() const {
114  return correctionFactor;
115  }
116 
121  void setCorrectionFactor(const double correctionFactor) {
122  this->correctionFactor = correctionFactor;
123  }
124 
129  double getHeatLoss();
130 
131 private:
132  // In values
133  double specificHeat, feedRate, initialTemperature, finalTemperature, correctionFactor;
134 
135  // Out values
136  double heatLoss;
137 };
138 
139 #endif //AMO_SUITE_FIXTURELOSSES_H
void setCorrectionFactor(const double correctionFactor)
void setSpecificHeat(const double specificHeat)
Definition: FixtureLosses.h:57
double getHeatLoss()
double getSpecificHeat() const
Definition: FixtureLosses.h:49
FixtureLosses(const double specificHeat, const double feedRate, const double initialTemperature, const double finalTemperature, const double correctionFactor)
Definition: FixtureLosses.h:32
double getCorrectionFactor() const
double getInitialTemperature() const
Definition: FixtureLosses.h:81
void setFeedRate(const double feedRate)
Definition: FixtureLosses.h:73
void setInitialTemperature(const double initialTemperature)
Definition: FixtureLosses.h:89
void setFinalTemperature(const double finalTemperature)
double getFeedRate() const
Definition: FixtureLosses.h:65
double getFinalTemperature() const
Definition: FixtureLosses.h:97