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
slag_other_material_losses.h
Go to the documentation of this file.
1
18#ifndef TOOLS_SUITE_SLAGOTHERMATERIAL_H
19#define TOOLS_SUITE_SLAGOTHERMATERIAL_H
20
30 public:
39 SlagOtherMaterialLosses(double weight, double inletTemperature, double outletTemperature, double specificHeat,
40 double correctionFactor)
41 : weight(weight), inletTemperature(inletTemperature), outletTemperature(outletTemperature),
42 specificHeat(specificHeat), correctionFactor(correctionFactor) {
43 totalHeat = 0.0;
44 }
45
46 SlagOtherMaterialLosses() = default;
47
52 double getWeight() const { return weight; }
53
58 void setWeight(double weight) { this->weight = weight; }
59
64 double getInletTemperature() const { return inletTemperature; }
65
70 void setInletTemperature(double inletTemperature) { this->inletTemperature = inletTemperature; }
71
76 double getOutletTemperature() const { return outletTemperature; }
77
82 void setOutletTemperature(double outletTemperature) { this->outletTemperature = outletTemperature; }
83
88 double getCorrectionFactor() const { return correctionFactor; }
89
94 void setCorrectionFactor(double correctionFactor) { this->correctionFactor = correctionFactor; }
95
100 double getSpecificHeat() const { return specificHeat; }
101
106 void setSpecificHeat(double specificHeat) { this->specificHeat = specificHeat; }
107
112 void setHeatLoss(double totalHeat) { this->totalHeat = totalHeat; }
113
118 double getHeatLoss();
119
120 private:
121 // In values
122 double weight;
123 double inletTemperature;
124 double outletTemperature;
125 double specificHeat;
126 double correctionFactor = 1.0;
127 // Out value
128 double totalHeat;
129};
130
131#endif // TOOLS_SUITE_SLAGOTHERMATERIAL_H
void setSpecificHeat(double specificHeat)
void setCorrectionFactor(double correctionFactor)
void setInletTemperature(double inletTemperature)
SlagOtherMaterialLosses(double weight, double inletTemperature, double outletTemperature, double specificHeat, double correctionFactor)
void setOutletTemperature(double outletTemperature)