AMO-Tools-Suite  v.0.9.0
Set of tools for calculating energy efficiency in industrial equipment
All Classes Namespaces Files Functions Variables Enumerations Friends Macros Pages
Public Member Functions | 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)
 
 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)
 
 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)
 

Friends

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

Detailed Description

Definition at line 9 of file Header.h.

Constructor & Destructor Documentation

◆ Inlet() [1/3]

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

Definition at line 3 of file Header.cpp.

◆ Inlet() [2/3]

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

◆ Inlet() [3/3]

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

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