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
Inlet Class Reference

Public Member Functions

 Inlet (double pressure, SteamProperties::ThermodynamicQuantity quantityType, double quantityValue, double massFlow)
 
double getPressure () const
 
double getQuantityValue () const
 
double getMassFlow () const
 
SteamProperties::ThermodynamicQuantity getQuantityType () const
 
double getInletEnergyFlow () const
 
SteamSystemModelerTool::SteamPropertiesOutput const & getInletProperties () const
 
void setPressure (double pressure)
 
void setQuantityValue (double quantityValue)
 
void setMassFlow (double massFlow)
 
void setQuantityType (SteamProperties::ThermodynamicQuantity quantityType)
 

Private Member Functions

void calculate ()
 

Private Attributes

double pressure
 
double quantityValue
 
double massFlow
 
SteamProperties::ThermodynamicQuantity quantityType
 
double inletEnergyFlow
 
SteamSystemModelerTool::SteamPropertiesOutput inletProperties
 

Friends

std::ostream & operator<< (std::ostream &stream, const Inlet &inlet)
 

Detailed Description

Definition at line 10 of file Header.h.

Constructor & Destructor Documentation

◆ Inlet()

Inlet::Inlet ( double  pressure,
SteamProperties::ThermodynamicQuantity  quantityType,
double  quantityValue,
double  massFlow 
)

Constructor for the Inlet class, to be used in combination with the Header class, shares the same units as Header

Parameters
pressuredouble, inlet pressure in MPa
quantityTypeSteamProperties::ThermodynamicQuantity, type of quantity (either temperature in K, enthalpy in kJ/kg, entropy in kJ/kg/K, or quality - unitless)
quantityValuedouble, value of the quantity (either temperature in K, enthalpy in kJ/kg, entropy in kJ/kg/K, or quality - unitless)
massFlowdouble, inlet mass flow in kg/hr

Member Function Documentation

◆ getInletEnergyFlow()

double Inlet::getInletEnergyFlow ( ) const
inline

Definition at line 28 of file Header.h.

◆ getInletProperties()

SteamSystemModelerTool::SteamPropertiesOutput const & Inlet::getInletProperties ( ) const
inline

Definition at line 29 of file Header.h.

◆ getMassFlow()

double Inlet::getMassFlow ( ) const
inline

Definition at line 26 of file Header.h.

◆ getPressure()

double Inlet::getPressure ( ) const
inline

Definition at line 24 of file Header.h.

◆ getQuantityType()

SteamProperties::ThermodynamicQuantity Inlet::getQuantityType ( ) const
inline

Definition at line 27 of file Header.h.

◆ getQuantityValue()

double Inlet::getQuantityValue ( ) const
inline

Definition at line 25 of file Header.h.

Member Data Documentation

◆ inletEnergyFlow

double Inlet::inletEnergyFlow
private

Definition at line 43 of file Header.h.

◆ inletProperties

SteamSystemModelerTool::SteamPropertiesOutput Inlet::inletProperties
private

Definition at line 44 of file Header.h.

◆ massFlow

double Inlet::massFlow
private

Definition at line 41 of file Header.h.

◆ pressure

double Inlet::pressure
private

Definition at line 41 of file Header.h.

◆ quantityType

SteamProperties::ThermodynamicQuantity Inlet::quantityType
private

Definition at line 42 of file Header.h.

◆ quantityValue

double Inlet::quantityValue
private

Definition at line 41 of file Header.h.


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