|
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.
|
#include <opening_losses.h>
Public Types | |
| enum class | OpeningShape { CIRCULAR , RECTANGULAR } |
Public Member Functions | |
| double | calculateViewFactor (double thickness, double diameter) |
| double | calculateViewFactor (double thickness, double length, double height) |
| OpeningLosses (double emissivity, double length, double width, double thickness, double ratio, double ambientTemperature, double insideTemperature, double percentTimeOpen, double viewFactor) | |
| OpeningLosses (double emissivity, double diameter, double thickness, double ratio, double ambientTemperature, double insideTemperature, double percentTimeOpen, double viewFactor) | |
| double | getEmissivity () const |
| void | setEmissivity (double emissivity) |
| double | getDiameter () const |
| void | setDiameter (double diameter) |
| double | getWidth () const |
| void | setWidth (double width) |
| double | getThickness () const |
| void | setThickness (double thickness) |
| double | getRatio () const |
| void | setRatio (double ratio) |
| double | getAmbientTemperature () const |
| void | setAmbientTemperature (double ambientTemperature) |
| double | getInsideTemperature () const |
| void | setInsideTemperature (double insideTemperature) |
| double | getPercentTimeOpen () const |
| void | setPercentTimeOpen (double percentTimeOpen) |
| double | getViewFactor () const |
| void | setViewFactor (double viewFactor) |
| OpeningShape | getOpeningShape () const |
| void | setOpeningShape (OpeningShape const openingShape, const double length, const double width) |
| void | setOpeningShape (OpeningShape const openingShape, const double diameter) |
| double | getHeatLoss () |
Private Attributes | |
| double | emissivity = 0.95 |
| double | diameter = 0 |
| double | length = 0 |
| double | width = 0 |
| double | thickness |
| double | ratio |
| double | ambientTemperature |
| double | insideTemperature |
| double | percentTimeOpen |
| double | viewFactor |
| OpeningShape | openingShape |
| double | heatLoss = 0 |
| const std::array< const std::function< double(const double thicknessRatio)>, 8 > | viewFactorEquations |
Opening Losses class Contains all the properties of an opening loss. Used to calculateThermalResistance the heat loss caused by heat transfer from the openings on equipment to the surrounding. Only considers thermal radiation losses due to exposure of furnace to the surroundings.
Definition at line 24 of file opening_losses.h.
|
strong |
OpeningShape - Enum class consisting of CIRCULAR and RECTANGULAR entries. Set automatically by the constructor depending on which constructor is chosen, the one with length + width or the one with diameter. The shape of the opening can later be changed via the setOpeningShape methods.
Definition at line 31 of file opening_losses.h.
|
inline |
Constructor for a rectangular opening
| emissivity | double, emissivity - unitless |
| length | double, length of openings in inches |
| width | double, height of openings in inches |
| thickness | double, furnace wall thickness in inches |
| ratio | double, ratio |
| ambientTemperature | double, ambient temperature in °F |
| insideTemperature | double, inside temperature in °F |
| percentTimeOpen | double, amount of time open as a % |
| viewFactor | double, view factor - unitless |
Definition at line 62 of file opening_losses.h.
|
inline |
Constructor for a circular opening
| emissivity | double, emissivity - unitless |
| diameter | double, diameter of opening in inches |
| thickness | double, furnace wall thickness in inches |
| ratio | double, ratio |
| ambientTemperature | double, ambient temperature in °F |
| insideTemperature | double, inside temperature in °F |
| percentTimeOpen | double, amount of time open as % |
| viewFactor | double, view factor - unitless |
Definition at line 79 of file opening_losses.h.
| double OpeningLosses::calculateViewFactor | ( | double | thickness, |
| double | diameter | ||
| ) |
Method to calculateThermalResistance viewFactor for circular openings only
| double,thickness | - furnace wall thickness in inches |
| double,diameter | of opening in inches |
| double OpeningLosses::calculateViewFactor | ( | double | thickness, |
| double | length, | ||
| double | height | ||
| ) |
Method to calculateThermalResistance viewFactor for rectangular openings only
| double,thickness | - furnace wall thickness in inches |
| double,length | - length of opening in inches |
| double,height | - height of opening in inches |
|
inline |
Gets the ambient temperature
Definition at line 152 of file opening_losses.h.
|
inline |
Gets the diameter of opening
Definition at line 103 of file opening_losses.h.
|
inline |
Gets the emissivity
Definition at line 91 of file opening_losses.h.
| double OpeningLosses::getHeatLoss | ( | ) |
Gets the heat loss
|
inline |
Gets the inside temperature
Definition at line 164 of file opening_losses.h.
|
inline |
Gets the opening shape
Definition at line 200 of file opening_losses.h.
|
inline |
Gets the percentage of time open
Definition at line 176 of file opening_losses.h.
|
inline |
|
inline |
Gets the furnace wall thickness
Definition at line 127 of file opening_losses.h.
|
inline |
Gets the view factor
Definition at line 188 of file opening_losses.h.
|
inline |
Gets the width of the opening
Definition at line 115 of file opening_losses.h.
|
inline |
Sets the ambient temperature
| ambientTemperature | double, ambient temperature in °F |
Definition at line 158 of file opening_losses.h.
|
inline |
Sets the diameter of the circular opening
| diameter | double, diameter of opening in inches |
Definition at line 109 of file opening_losses.h.
|
inline |
Sets the emissivity
| emissivity | double, emissivity - unitless |
Definition at line 97 of file opening_losses.h.
|
inline |
Sets the inside temperature
| insideTemperature | double, inside temperature in °F |
Definition at line 170 of file opening_losses.h.
|
inline |
Sets the opening shape - you better be calling this to set shape to CIRCULAR
| openingShape | OpeningShape, classification of shape of opening |
| double,diameter | - diameter of circular opening in inches |
Definition at line 223 of file opening_losses.h.
|
inline |
Sets the opening shape - you better be calling this to set shape to RECTANGULAR
| openingShape | OpeningShape, classification of shape of opening |
| double,length | - length of opening in inches |
| double,width | - width / height of rectangular opening in inches |
Definition at line 208 of file opening_losses.h.
|
inline |
Sets the percentage of time open
| percentTimeOpen | double, amount of time open as a % |
Definition at line 182 of file opening_losses.h.
|
inline |
Sets the ratio
| ratio | double, ratio - unitless |
Definition at line 146 of file opening_losses.h.
|
inline |
Sets the furnace wall thickness
| thickness | double, furnace wall thickness in inches |
Definition at line 133 of file opening_losses.h.
|
inline |
Sets the view factor manually, can also be calculated via one of the calculateViewFactor methods
| viewFactor | double, view factor - unitless |
Definition at line 194 of file opening_losses.h.
|
inline |
Sets the width of opening
| width | double, width of opening in inches |
Definition at line 121 of file opening_losses.h.
|
private |
Definition at line 245 of file opening_losses.h.
|
private |
Definition at line 241 of file opening_losses.h.
|
private |
Definition at line 240 of file opening_losses.h.
|
private |
Definition at line 251 of file opening_losses.h.
|
private |
Definition at line 246 of file opening_losses.h.
|
private |
Definition at line 242 of file opening_losses.h.
|
private |
Definition at line 249 of file opening_losses.h.
|
private |
Definition at line 247 of file opening_losses.h.
|
private |
Definition at line 244 of file opening_losses.h.
|
private |
Definition at line 243 of file opening_losses.h.
|
private |
Definition at line 248 of file opening_losses.h.
|
private |
Definition at line 253 of file opening_losses.h.
|
private |
Definition at line 242 of file opening_losses.h.