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

#include <FlashTank.h>

Public Member Functions

 FlashTank (double inletWaterPressure, SteamProperties::ThermodynamicQuantity quantityType, double quantityValue, double inletWaterMassFlow, double tankPressure)
 
SteamSystemModelerTool::FluidProperties const & getInletWaterProperties () const
 
SteamSystemModelerTool::FluidProperties const & getOutletGasSaturatedProperties () const
 
SteamSystemModelerTool::FluidProperties const & getOutletLiquidSaturatedProperties () const
 
double getInletWaterPressure () const
 
double getQuantityValue () const
 
double getInletWaterMassFlow () const
 
double getTankPressure () const
 
SteamProperties::ThermodynamicQuantity getQuantityType () const
 
void setInletWaterPressure (double inletWaterPressure)
 
void setQuantityValue (double quantityValue)
 
void setInletWaterMassFlow (double inletWaterMassFlow)
 
void setTankPressure (double tankPressure)
 
void setQuantityType (SteamProperties::ThermodynamicQuantity quantityType)
 
 FlashTank (double inletWaterPressure, SteamProperties::ThermodynamicQuantity quantityType, double quantityValue, double inletWaterMassFlow, double tankPressure)
 
SteamSystemModelerTool::FluidProperties const & getInletWaterProperties () const
 
SteamSystemModelerTool::FluidProperties const & getOutletGasSaturatedProperties () const
 
SteamSystemModelerTool::FluidProperties const & getOutletLiquidSaturatedProperties () const
 
double getInletWaterPressure () const
 
double getQuantityValue () const
 
double getInletWaterMassFlow () const
 
double getTankPressure () const
 
SteamProperties::ThermodynamicQuantity getQuantityType () const
 
void setInletWaterPressure (double inletWaterPressure)
 
void setQuantityValue (double quantityValue)
 
void setInletWaterMassFlow (double inletWaterMassFlow)
 
void setTankPressure (double tankPressure)
 
void setQuantityType (SteamProperties::ThermodynamicQuantity quantityType)
 
 FlashTank (double inletWaterPressure, SteamProperties::ThermodynamicQuantity quantityType, double quantityValue, double inletWaterMassFlow, double tankPressure)
 
SteamSystemModelerTool::FluidProperties const & getInletWaterProperties () const
 
SteamSystemModelerTool::FluidProperties const & getOutletGasSaturatedProperties () const
 
SteamSystemModelerTool::FluidProperties const & getOutletLiquidSaturatedProperties () const
 
double getInletWaterPressure () const
 
double getQuantityValue () const
 
double getInletWaterMassFlow () const
 
double getTankPressure () const
 
SteamProperties::ThermodynamicQuantity getQuantityType () const
 
void setInletWaterPressure (double inletWaterPressure)
 
void setQuantityValue (double quantityValue)
 
void setInletWaterMassFlow (double inletWaterMassFlow)
 
void setTankPressure (double tankPressure)
 
void setQuantityType (SteamProperties::ThermodynamicQuantity quantityType)
 

Friends

std::ostream & operator<< (std::ostream &stream, const FlashTank &flashTank)
 
std::ostream & operator<< (std::ostream &stream, const std::shared_ptr< FlashTank > &flashTank)
 
std::ostream & operator<< (std::ostream &stream, const FlashTank &flashTank)
 
std::ostream & operator<< (std::ostream &stream, const std::shared_ptr< FlashTank > &flashTank)
 
std::ostream & operator<< (std::ostream &stream, const FlashTank &flashTank)
 
std::ostream & operator<< (std::ostream &stream, const std::shared_ptr< FlashTank > &flashTank)
 

Detailed Description

Heat Loss calculator class Used to calculate the heat energy loss and outlet steam properties

Definition at line 23 of file FlashTank.h.

Constructor & Destructor Documentation

◆ FlashTank() [1/3]

FlashTank::FlashTank ( double  inletWaterPressure,
SteamProperties::ThermodynamicQuantity  quantityType,
double  quantityValue,
double  inletWaterMassFlow,
double  tankPressure 
)

Constructor for the flash tank calculator

Parameters
inletWaterPressuredouble, inlet water 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)
inletWaterMassFlowdouble, inlet water mass flow in kg/hr
tankPressuredouble, pressure of the tank in MPa

Definition at line 12 of file FlashTank.cpp.

◆ FlashTank() [2/3]

FlashTank::FlashTank ( double  inletWaterPressure,
SteamProperties::ThermodynamicQuantity  quantityType,
double  quantityValue,
double  inletWaterMassFlow,
double  tankPressure 
)

Constructor for the flash tank calculator

Parameters
inletWaterPressuredouble, inlet water 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)
inletWaterMassFlowdouble, inlet water mass flow in kg/hr
tankPressuredouble, pressure of the tank in MPa

◆ FlashTank() [3/3]

FlashTank::FlashTank ( double  inletWaterPressure,
SteamProperties::ThermodynamicQuantity  quantityType,
double  quantityValue,
double  inletWaterMassFlow,
double  tankPressure 
)

Constructor for the flash tank calculator

Parameters
inletWaterPressuredouble, inlet water 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)
inletWaterMassFlowdouble, inlet water mass flow in kg/hr
tankPressuredouble, pressure of the tank in MPa

Member Function Documentation

◆ getInletWaterMassFlow() [1/3]

double FlashTank::getInletWaterMassFlow ( ) const

Gets the inlet water mass flow

Returns
double, mass flow of the inlet water in kg/hr

Definition at line 98 of file FlashTank.cpp.

◆ getInletWaterMassFlow() [2/3]

double FlashTank::getInletWaterMassFlow ( ) const

Gets the inlet water mass flow

Returns
double, mass flow of the inlet water in kg/hr

◆ getInletWaterMassFlow() [3/3]

double FlashTank::getInletWaterMassFlow ( ) const

Gets the inlet water mass flow

Returns
double, mass flow of the inlet water in kg/hr

◆ getInletWaterPressure() [1/3]

double FlashTank::getInletWaterPressure ( ) const

Gets the inlet water pressure

Returns
double, pressure of the inlet water in MPa

◆ getInletWaterPressure() [2/3]

double FlashTank::getInletWaterPressure ( ) const

Gets the inlet water pressure

Returns
double, pressure of the inlet water in MPa

Definition at line 94 of file FlashTank.cpp.

◆ getInletWaterPressure() [3/3]

double FlashTank::getInletWaterPressure ( ) const

Gets the inlet water pressure

Returns
double, pressure of the inlet water in MPa

◆ getInletWaterProperties() [1/3]

SteamSystemModelerTool::FluidProperties const& FlashTank::getInletWaterProperties ( ) const
inline

Gets all of the properties of the inlet water

Returns
SteamSystemModelerTool::FluidProperties, inlet water properties

Definition at line 45 of file FlashTank.h.

◆ getInletWaterProperties() [2/3]

SteamSystemModelerTool::FluidProperties const& FlashTank::getInletWaterProperties ( ) const
inline

Gets all of the properties of the inlet water

Returns
SteamSystemModelerTool::FluidProperties, inlet water properties

Definition at line 45 of file FlashTank.h.

◆ getInletWaterProperties() [3/3]

SteamSystemModelerTool::FluidProperties const& FlashTank::getInletWaterProperties ( ) const
inline

Gets all of the properties of the inlet water

Returns
SteamSystemModelerTool::FluidProperties, inlet water properties

Definition at line 45 of file FlashTank.h.

◆ getOutletGasSaturatedProperties() [1/3]

SteamSystemModelerTool::FluidProperties const& FlashTank::getOutletGasSaturatedProperties ( ) const
inline

Gets all of the saturated properties of the outlet gas and liquid

Returns
SteamSystemModelerTool::FluidProperties, outlet gas and liquid saturated properties

Definition at line 51 of file FlashTank.h.

◆ getOutletGasSaturatedProperties() [2/3]

SteamSystemModelerTool::FluidProperties const& FlashTank::getOutletGasSaturatedProperties ( ) const
inline

Gets all of the saturated properties of the outlet gas and liquid

Returns
SteamSystemModelerTool::FluidProperties, outlet gas and liquid saturated properties

Definition at line 51 of file FlashTank.h.

◆ getOutletGasSaturatedProperties() [3/3]

SteamSystemModelerTool::FluidProperties const& FlashTank::getOutletGasSaturatedProperties ( ) const
inline

Gets all of the saturated properties of the outlet gas and liquid

Returns
SteamSystemModelerTool::FluidProperties, outlet gas and liquid saturated properties

Definition at line 51 of file FlashTank.h.

◆ getQuantityType() [1/3]

SteamProperties::ThermodynamicQuantity FlashTank::getQuantityType ( ) const

Gets the quantity type

Returns
SteamProperties::ThermodynamicQuantity, type of quantity (either temperature in K, enthalpy in kJ/kg, entropy in kJ/kg/K, or quality - unitless)

Definition at line 102 of file FlashTank.cpp.

◆ getQuantityType() [2/3]

SteamProperties::ThermodynamicQuantity FlashTank::getQuantityType ( ) const

Gets the quantity type

Returns
SteamProperties::ThermodynamicQuantity, type of quantity (either temperature in K, enthalpy in kJ/kg, entropy in kJ/kg/K, or quality - unitless)

◆ getQuantityType() [3/3]

SteamProperties::ThermodynamicQuantity FlashTank::getQuantityType ( ) const

Gets the quantity type

Returns
SteamProperties::ThermodynamicQuantity, type of quantity (either temperature in K, enthalpy in kJ/kg, entropy in kJ/kg/K, or quality - unitless)

◆ getQuantityValue() [1/3]

double FlashTank::getQuantityValue ( ) const

Gets the quantity value

Returns
double, value of quantity (either temperature in K, enthalpy in kJ/kg, entropy in kJ/kg/K, or quality - unitless)

◆ getQuantityValue() [2/3]

double FlashTank::getQuantityValue ( ) const

Gets the quantity value

Returns
double, value of quantity (either temperature in K, enthalpy in kJ/kg, entropy in kJ/kg/K, or quality - unitless)

Definition at line 96 of file FlashTank.cpp.

◆ getQuantityValue() [3/3]

double FlashTank::getQuantityValue ( ) const

Gets the quantity value

Returns
double, value of quantity (either temperature in K, enthalpy in kJ/kg, entropy in kJ/kg/K, or quality - unitless)

◆ getTankPressure() [1/3]

double FlashTank::getTankPressure ( ) const

Gets the pressure of the tank

Returns
double, tank pressure in MPa

◆ getTankPressure() [2/3]

double FlashTank::getTankPressure ( ) const

Gets the pressure of the tank

Returns
double, tank pressure in MPa

◆ getTankPressure() [3/3]

double FlashTank::getTankPressure ( ) const

Gets the pressure of the tank

Returns
double, tank pressure in MPa

Definition at line 100 of file FlashTank.cpp.

◆ setInletWaterMassFlow() [1/3]

void FlashTank::setInletWaterMassFlow ( double  inletWaterMassFlow)

Sets the inlet water mass flow

Parameters
inletWaterMassFlowdouble, mass flow of the inlet water in kg/hr

◆ setInletWaterMassFlow() [2/3]

void FlashTank::setInletWaterMassFlow ( double  inletWaterMassFlow)

Sets the inlet water mass flow

Parameters
inletWaterMassFlowdouble, mass flow of the inlet water in kg/hr

Definition at line 116 of file FlashTank.cpp.

◆ setInletWaterMassFlow() [3/3]

void FlashTank::setInletWaterMassFlow ( double  inletWaterMassFlow)

Sets the inlet water mass flow

Parameters
inletWaterMassFlowdouble, mass flow of the inlet water in kg/hr

◆ setInletWaterPressure() [1/3]

void FlashTank::setInletWaterPressure ( double  inletWaterPressure)

Sets the inlet water pressure

Parameters
inletWaterPressuredouble, pressure of the inlet water in MPa

◆ setInletWaterPressure() [2/3]

void FlashTank::setInletWaterPressure ( double  inletWaterPressure)

Sets the inlet water pressure

Parameters
inletWaterPressuredouble, pressure of the inlet water in MPa

Definition at line 104 of file FlashTank.cpp.

◆ setInletWaterPressure() [3/3]

void FlashTank::setInletWaterPressure ( double  inletWaterPressure)

Sets the inlet water pressure

Parameters
inletWaterPressuredouble, pressure of the inlet water in MPa

◆ setQuantityType() [1/3]

void FlashTank::setQuantityType ( SteamProperties::ThermodynamicQuantity  quantityType)

Sets the quantity type

Parameters
quantityTypeSteamProperties::ThermodynamicQuantity, type of quantity (either temperature in K, enthalpy in kJ/kg, entropy in kJ/kg/K, or quality - unitless)

◆ setQuantityType() [2/3]

void FlashTank::setQuantityType ( SteamProperties::ThermodynamicQuantity  quantityType)

Sets the quantity type

Parameters
quantityTypeSteamProperties::ThermodynamicQuantity, type of quantity (either temperature in K, enthalpy in kJ/kg, entropy in kJ/kg/K, or quality - unitless)

Definition at line 128 of file FlashTank.cpp.

◆ setQuantityType() [3/3]

void FlashTank::setQuantityType ( SteamProperties::ThermodynamicQuantity  quantityType)

Sets the quantity type

Parameters
quantityTypeSteamProperties::ThermodynamicQuantity, type of quantity (either temperature in K, enthalpy in kJ/kg, entropy in kJ/kg/K, or quality - unitless)

◆ setQuantityValue() [1/3]

void FlashTank::setQuantityValue ( double  quantityValue)

Sets the quantity value

Parameters
quantityValuedouble, value of quantity (either temperature in K, enthalpy in kJ/kg, entropy in kJ/kg/K, or quality - unitless)

Definition at line 110 of file FlashTank.cpp.

◆ setQuantityValue() [2/3]

void FlashTank::setQuantityValue ( double  quantityValue)

Sets the quantity value

Parameters
quantityValuedouble, value of quantity (either temperature in K, enthalpy in kJ/kg, entropy in kJ/kg/K, or quality - unitless)

◆ setQuantityValue() [3/3]

void FlashTank::setQuantityValue ( double  quantityValue)

Sets the quantity value

Parameters
quantityValuedouble, value of quantity (either temperature in K, enthalpy in kJ/kg, entropy in kJ/kg/K, or quality - unitless)

◆ setTankPressure() [1/3]

void FlashTank::setTankPressure ( double  tankPressure)

Sets the pressure of the tank

Parameters
tankPressuredouble, tank pressure in MPa

◆ setTankPressure() [2/3]

void FlashTank::setTankPressure ( double  tankPressure)

Sets the pressure of the tank

Parameters
tankPressuredouble, tank pressure in MPa

◆ setTankPressure() [3/3]

void FlashTank::setTankPressure ( double  tankPressure)

Sets the pressure of the tank

Parameters
tankPressuredouble, tank pressure in MPa

Definition at line 122 of file FlashTank.cpp.


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