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
Public Member Functions | Private Attributes | List of all members
WaterCoolingLosses Class Reference

#include <water_cooling_losses.h>

Public Member Functions

 WaterCoolingLosses (double flowRate, double initialTemperature, double outletTemperature, double correctionFactor)
 
double getFlowRate () const
 
void setFlowRate (double flowRate)
 
double getInitialTemperature () const
 
void setInitialTemperature (double initialTemperature)
 
double getOutletTemperature () const
 
void setOutletTemperature (double outletTemperature)
 
double getHeatLoss ()
 

Private Attributes

double flowRate
 
double initialTemperature
 
double outletTemperature
 
double correctionFactor
 
double heatLoss
 

Detailed Description

Water Cooling Losses class Contains all of the properties of a water cooling system. Used to calculateThermalResistance how much heat loss is caused by the cooling components and their cooling media (water).

Definition at line 20 of file water_cooling_losses.h.

Constructor & Destructor Documentation

◆ WaterCoolingLosses()

WaterCoolingLosses::WaterCoolingLosses ( double  flowRate,
double  initialTemperature,
double  outletTemperature,
double  correctionFactor 
)
inline

Constructor

Parameters
flowRatedouble, Rate of flow. Units are gpm
initialTemperaturedouble, Initial temperature in °F.
outletTemperaturedouble, Outlet temperature in °F.
correctionFactordouble, Correction factor - unitless

Definition at line 29 of file water_cooling_losses.h.

Member Function Documentation

◆ getFlowRate()

double WaterCoolingLosses::getFlowRate ( ) const
inline

Getter for the cooling water flow rate

Returns
double, cooling water flow rate in GPM

Definition at line 41 of file water_cooling_losses.h.

◆ getHeatLoss()

double WaterCoolingLosses::getHeatLoss ( )

Getter for the heat loss

Returns
double, heat loss in btu/cycle

◆ getInitialTemperature()

double WaterCoolingLosses::getInitialTemperature ( ) const
inline

Getter for the initial/inlet temperature

Returns
double, initial/inlet temperature in °F

Definition at line 53 of file water_cooling_losses.h.

◆ getOutletTemperature()

double WaterCoolingLosses::getOutletTemperature ( ) const
inline

Getter for the outlet temperature

Returns
double, outlet temperature in °F

Definition at line 65 of file water_cooling_losses.h.

◆ setFlowRate()

void WaterCoolingLosses::setFlowRate ( double  flowRate)
inline

Sets the cooling water flow rate

Parameters
flowRatedouble, cooling water flow rate in GPM

Definition at line 47 of file water_cooling_losses.h.

◆ setInitialTemperature()

void WaterCoolingLosses::setInitialTemperature ( double  initialTemperature)
inline

Sets the initial/inlet temperature

Parameters
initialTemperaturedouble, initial/inlet temperature in °F

Definition at line 59 of file water_cooling_losses.h.

◆ setOutletTemperature()

void WaterCoolingLosses::setOutletTemperature ( double  outletTemperature)
inline

Sets the outlet temperature

Parameters
outletTemperaturedouble, outlet temperature in °F

Definition at line 72 of file water_cooling_losses.h.

Member Data Documentation

◆ correctionFactor

double WaterCoolingLosses::correctionFactor
private

Definition at line 85 of file water_cooling_losses.h.

◆ flowRate

double WaterCoolingLosses::flowRate
private

Definition at line 82 of file water_cooling_losses.h.

◆ heatLoss

double WaterCoolingLosses::heatLoss
private

Definition at line 87 of file water_cooling_losses.h.

◆ initialTemperature

double WaterCoolingLosses::initialTemperature
private

Definition at line 83 of file water_cooling_losses.h.

◆ outletTemperature

double WaterCoolingLosses::outletTemperature
private

Definition at line 84 of file water_cooling_losses.h.


The documentation for this class was generated from the following file: