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

Public Member Functions

 Header (double headerPressure, std::vector< Inlet > inletVec)
 
double getHeaderPressure () const
 
double getSpecificEnthalpy () const
 
double getInletEnergyFlow () const
 
double getInletMassFlow () const
 
std::vector< Inlet > const & getInlets () const
 
SteamSystemModelerTool::SteamPropertiesOutput const & getHeaderProperties () const
 
void setHeaderPressure (double headerPressure)
 
void setInlets (std::vector< Inlet > &inlets)
 

Private Member Functions

void calculate ()
 

Private Attributes

double headerPressure
 
double specificEnthalpy
 
double inletEnergyFlow
 
double inletMassFlow
 
std::vector< Inletinlets
 
SteamSystemModelerTool::SteamPropertiesOutput headerProperties
 

Friends

std::ostream & operator<< (std::ostream &stream, const Header &header)
 

Detailed Description

Definition at line 47 of file Header.h.

Constructor & Destructor Documentation

◆ Header()

Header::Header ( double  headerPressure,
std::vector< Inlet inletVec 
)

Constructor for the Header class

Parameters
headerPressuredouble, inlet pressure in MPa
inletVecstd::vector<Inlet>, a vector of Inlet objects, will be std::moved into a class member variable

Member Function Documentation

◆ getHeaderPressure()

double Header::getHeaderPressure ( ) const
inline

Gets the header pressure

Returns
double, header pressure in MPa

Definition at line 61 of file Header.h.

◆ getHeaderProperties()

SteamSystemModelerTool::SteamPropertiesOutput const & Header::getHeaderProperties ( ) const
inline

Gets the Header properties

Returns
SteamSystemModelerTool::SteamPropertiesOutput const &, header properties

Definition at line 86 of file Header.h.

◆ getInletEnergyFlow()

double Header::getInletEnergyFlow ( ) const
inline

Gets total combined inlet energy flow of all inlets

Returns
double, inlet energy flow in kj / hr

Definition at line 71 of file Header.h.

◆ getInletMassFlow()

double Header::getInletMassFlow ( ) const
inline

Gets total combined inlet mass flow of all inlets

Returns
double, inlet mass flow in kg / hr

Definition at line 76 of file Header.h.

◆ getInlets()

std::vector< Inlet > const & Header::getInlets ( ) const
inline

Gets vector of inlet objects

Returns
std::vector<Inlet> const &, inlet vector

Definition at line 81 of file Header.h.

◆ getSpecificEnthalpy()

double Header::getSpecificEnthalpy ( ) const
inline

Gets specific enthalpy

Returns
double, specific enthalpy in kj / kg

Definition at line 66 of file Header.h.

◆ setHeaderPressure()

void Header::setHeaderPressure ( double  headerPressure)

Sets the Header pressure - units of MPa

◆ setInlets()

void Header::setInlets ( std::vector< Inlet > &  inlets)

Sets the Inlet object vector, inlets parameter will be std::moved into the member variable vector

Member Data Documentation

◆ headerPressure

double Header::headerPressure
private

Definition at line 100 of file Header.h.

◆ headerProperties

SteamSystemModelerTool::SteamPropertiesOutput Header::headerProperties
private

Definition at line 102 of file Header.h.

◆ inletEnergyFlow

double Header::inletEnergyFlow
private

Definition at line 100 of file Header.h.

◆ inletMassFlow

double Header::inletMassFlow
private

Definition at line 100 of file Header.h.

◆ inlets

std::vector<Inlet> Header::inlets
private

Definition at line 101 of file Header.h.

◆ specificEnthalpy

double Header::specificEnthalpy
private

Definition at line 100 of file Header.h.


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