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

Classes

struct  Output
 

Public Member Functions

 HeatExchanger (const SteamSystemModelerTool::FluidProperties hotInlet, const SteamSystemModelerTool::FluidProperties coldInlet, const double approachTemp=20)
 
Output calculate ()
 

Private Attributes

SteamSystemModelerTool::FluidProperties hotInlet
 
SteamSystemModelerTool::FluidProperties coldInlet
 
const double approachTemp
 

Friends

std::ostream & operator<< (std::ostream &stream, const HeatExchanger::Output &output)
 
std::ostream & operator<< (std::ostream &stream, const std::shared_ptr< HeatExchanger::Output > &turbine)
 

Detailed Description

Definition at line 9 of file HeatExchanger.h.

Constructor & Destructor Documentation

◆ HeatExchanger()

HeatExchanger::HeatExchanger ( const SteamSystemModelerTool::FluidProperties  hotInlet,
const SteamSystemModelerTool::FluidProperties  coldInlet,
const double  approachTemp = 20 
)
inline

Constructor for the HeatExchanger calculator

Parameters
hotInletconst Inlet, must be thermodynamic quantity of temperature or else exception will be thrown
coldInletconst Inlet, must be thermodynamic quantity of temperature or else exception will be thrown
approachTempdouble, default of 20 K

Definition at line 39 of file HeatExchanger.h.

Member Function Documentation

◆ calculate()

Output HeatExchanger::calculate ( )
inline

Definition at line 43 of file HeatExchanger.h.

Friends And Related Symbol Documentation

◆ operator<< [1/2]

std::ostream & operator<< ( std::ostream &  stream,
const HeatExchanger::Output output 
)
friend

Definition at line 17 of file HeatExchanger.h.

◆ operator<< [2/2]

std::ostream & operator<< ( std::ostream &  stream,
const std::shared_ptr< HeatExchanger::Output > &  turbine 
)
friend

Definition at line 23 of file HeatExchanger.h.

Member Data Documentation

◆ approachTemp

const double HeatExchanger::approachTemp
private

Definition at line 81 of file HeatExchanger.h.

◆ coldInlet

SteamSystemModelerTool::FluidProperties HeatExchanger::coldInlet
private

Definition at line 80 of file HeatExchanger.h.

◆ hotInlet

SteamSystemModelerTool::FluidProperties HeatExchanger::hotInlet
private

Definition at line 80 of file HeatExchanger.h.


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