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

#include <Deaerator.h>

Public Member Functions

 Deaerator (double deaeratorPressure, double ventRate, double feedwaterMassFlow, double waterPressure, SteamProperties::ThermodynamicQuantity waterQuantityType, double waterQuantityValue, double steamPressure, SteamProperties::ThermodynamicQuantity steamQuantityType, double steamQuantityValue)
 
SteamSystemModelerTool::FluidProperties const & getFeedwaterProperties () const
 
SteamSystemModelerTool::FluidProperties const & getVentedSteamProperties () const
 
SteamSystemModelerTool::FluidProperties const & getInletWaterProperties () const
 
SteamSystemModelerTool::FluidProperties const & getInletSteamProperties () const
 
double getDeaeratorPressure () const
 
double getVentRate () const
 
double getFeedwaterMassFlow () const
 
double getWaterPressure () const
 
double getWaterQuantityValue () const
 
double getSteamPressure () const
 
double getSteamQuantityValue () const
 
SteamProperties::ThermodynamicQuantity getWaterQuantityType () const
 
SteamProperties::ThermodynamicQuantity getSteamQuantityType () const
 
void setDeaeratorPressure (double deaeratorPressure)
 
void setVentRate (double ventRate)
 
void setFeedwaterMassFlow (double feedwaterMassFlow)
 
void setWaterPressure (double waterPressure)
 
void setWaterQuantityValue (double waterQuantityValue)
 
void setSteamPressure (double steamPressure)
 
void setSteamQuantityValue (double steamQuantityValue)
 
void setWaterQuantityType (SteamProperties::ThermodynamicQuantity quantity)
 
void setSteamQuantityType (SteamProperties::ThermodynamicQuantity quantity)
 

Private Member Functions

void calculateProperties ()
 

Private Attributes

double deaeratorPressure
 
double ventRate
 
double feedwaterMassFlow
 
double waterPressure
 
double waterQuantityValue
 
double steamPressure
 
double steamQuantityValue
 
SteamProperties::ThermodynamicQuantity waterQuantityType
 
SteamProperties::ThermodynamicQuantity steamQuantityType
 
SteamSystemModelerTool::FluidProperties feedwaterProperties
 
SteamSystemModelerTool::FluidProperties ventedSteamProperties
 
SteamSystemModelerTool::FluidProperties inletWaterProperties
 
SteamSystemModelerTool::FluidProperties inletSteamProperties
 

Friends

std::ostream & operator<< (std::ostream &stream, const Deaerator &deaerator)
 

Detailed Description

Deaerator calculator class Used to calculateThermalResistance the required water and steam flows for a required feedwater mass flow.

Definition at line 24 of file Deaerator.h.

Constructor & Destructor Documentation

◆ Deaerator()

Deaerator::Deaerator ( double  deaeratorPressure,
double  ventRate,
double  feedwaterMassFlow,
double  waterPressure,
SteamProperties::ThermodynamicQuantity  waterQuantityType,
double  waterQuantityValue,
double  steamPressure,
SteamProperties::ThermodynamicQuantity  steamQuantityType,
double  steamQuantityValue 
)

Constructor for the deaerator calculator

Parameters
deaeratorPressuredouble, deaerator pressure in MPa
ventRatedouble, vent rate as %
feedwaterMassFlowdouble, mass flow of the feedwater in kg/hr
waterPressuredouble, pressure of water in MPa
waterQuantityTypeSteamProperties::ThermodynamicQuantity, type of quantity (either temperature in K, enthalpy in kJ/kg, entropy in kJ/kg/K, or quality - unitless)
waterQuantityValuedouble, value of the quantity (either temperature in K, enthalpy in kJ/kg, entropy in kJ/kg/K, or quality - unitless)
steamPressuredouble, pressure of steam in MPa
steamQuantityTypeSteamProperties::ThermodynamicQuantity, type of quantity (either temperature in K, enthalpy in kJ/kg, entropy in kJ/kg/K, or quality - unitless)
steamQuantityValuedouble, value of the quantity (either temperature in K, enthalpy in kJ/kg, entropy in kJ/kg/K, or quality - unitless)

Member Function Documentation

◆ getDeaeratorPressure()

double Deaerator::getDeaeratorPressure ( ) const

Gets the deaerator pressure

Returns
double, pressure of the deaerator in MPa

◆ getFeedwaterMassFlow()

double Deaerator::getFeedwaterMassFlow ( ) const

Gets the feedwater mass flow

Returns
double, feedwater mass flow in kg/hr

◆ getFeedwaterProperties()

SteamSystemModelerTool::FluidProperties const & Deaerator::getFeedwaterProperties ( ) const
inline

Gets all of the feedwater properties

Returns
SteamSystemModelerTool::FluidProperties feedwater properties

Definition at line 56 of file Deaerator.h.

◆ getInletSteamProperties()

SteamSystemModelerTool::FluidProperties const & Deaerator::getInletSteamProperties ( ) const
inline

Gets all of the inlet steam properties

Returns
SteamSystemModelerTool::FluidProperties, inlet steam properties

Definition at line 74 of file Deaerator.h.

◆ getInletWaterProperties()

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

Gets all of the inlet water properties

Returns
SteamSystemModelerTool::FluidProperties, inlet water properties

Definition at line 68 of file Deaerator.h.

◆ getSteamPressure()

double Deaerator::getSteamPressure ( ) const

Gets the steam pressure

Returns
double, pressure of the steam in MPa

◆ getSteamQuantityType()

SteamProperties::ThermodynamicQuantity Deaerator::getSteamQuantityType ( ) const

Gets the quantity type for steam

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

◆ getSteamQuantityValue()

double Deaerator::getSteamQuantityValue ( ) const

Gets the quantity value for steam

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

◆ getVentedSteamProperties()

SteamSystemModelerTool::FluidProperties const & Deaerator::getVentedSteamProperties ( ) const
inline

Gets all of the vented steam properties

Returns
SteamSystemModelerTool::FluidProperties, vented steam properties

Definition at line 62 of file Deaerator.h.

◆ getVentRate()

double Deaerator::getVentRate ( ) const

Gets the vent rate

Returns
double, vent rate as %

◆ getWaterPressure()

double Deaerator::getWaterPressure ( ) const

Gets the water pressure

Returns
double, pressure of the water in MPa

◆ getWaterQuantityType()

SteamProperties::ThermodynamicQuantity Deaerator::getWaterQuantityType ( ) const

Gets the quantity type for water

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

◆ getWaterQuantityValue()

double Deaerator::getWaterQuantityValue ( ) const

Gets the quantity type for water

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

◆ setDeaeratorPressure()

void Deaerator::setDeaeratorPressure ( double  deaeratorPressure)

Sets the deaerator pressure

Parameters
deaeratorPressuredouble, pressure of the deaerator in MPa

◆ setFeedwaterMassFlow()

void Deaerator::setFeedwaterMassFlow ( double  feedwaterMassFlow)

Sets the feedwater mass flow

Parameters
feedwaterMassFlowdouble, feedwater mass flow in kg/hr

◆ setSteamPressure()

void Deaerator::setSteamPressure ( double  steamPressure)

Sets the pressure of the steam

Parameters
steamPressuredouble, pressure of steam in MPa

◆ setSteamQuantityType()

void Deaerator::setSteamQuantityType ( SteamProperties::ThermodynamicQuantity  quantity)

Sets the quantity type for steam

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

◆ setSteamQuantityValue()

void Deaerator::setSteamQuantityValue ( double  steamQuantityValue)

Sets the quantity value for steam

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

◆ setVentRate()

void Deaerator::setVentRate ( double  ventRate)

Sets the vent rate

Parameters
ventRatedouble, vent rate as %

◆ setWaterPressure()

void Deaerator::setWaterPressure ( double  waterPressure)

Sets the pressure of the water

Parameters
waterPressuredouble, pressure of water in MPa

◆ setWaterQuantityType()

void Deaerator::setWaterQuantityType ( SteamProperties::ThermodynamicQuantity  quantity)

Sets the quantity type for water

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

◆ setWaterQuantityValue()

void Deaerator::setWaterQuantityValue ( double  waterQuantityValue)

Sets the quantity value for water

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

Member Data Documentation

◆ deaeratorPressure

double Deaerator::deaeratorPressure
private

Definition at line 195 of file Deaerator.h.

◆ feedwaterMassFlow

double Deaerator::feedwaterMassFlow
private

Definition at line 195 of file Deaerator.h.

◆ feedwaterProperties

SteamSystemModelerTool::FluidProperties Deaerator::feedwaterProperties
private

Definition at line 199 of file Deaerator.h.

◆ inletSteamProperties

SteamSystemModelerTool::FluidProperties Deaerator::inletSteamProperties
private

Definition at line 200 of file Deaerator.h.

◆ inletWaterProperties

SteamSystemModelerTool::FluidProperties Deaerator::inletWaterProperties
private

Definition at line 199 of file Deaerator.h.

◆ steamPressure

double Deaerator::steamPressure
private

Definition at line 196 of file Deaerator.h.

◆ steamQuantityType

SteamProperties::ThermodynamicQuantity Deaerator::steamQuantityType
private

Definition at line 197 of file Deaerator.h.

◆ steamQuantityValue

double Deaerator::steamQuantityValue
private

Definition at line 196 of file Deaerator.h.

◆ ventedSteamProperties

SteamSystemModelerTool::FluidProperties Deaerator::ventedSteamProperties
private

Definition at line 199 of file Deaerator.h.

◆ ventRate

double Deaerator::ventRate
private

Definition at line 195 of file Deaerator.h.

◆ waterPressure

double Deaerator::waterPressure
private

Definition at line 195 of file Deaerator.h.

◆ waterQuantityType

SteamProperties::ThermodynamicQuantity Deaerator::waterQuantityType
private

Definition at line 197 of file Deaerator.h.

◆ waterQuantityValue

double Deaerator::waterQuantityValue
private

Definition at line 195 of file Deaerator.h.


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