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 Types | Public Member Functions | Friends | List of all members
Turbine Class Reference

#include <Turbine.h>

Public Types

enum  Solve {
  OutletProperties, IsentropicEfficiency, OutletProperties, IsentropicEfficiency,
  OutletProperties, IsentropicEfficiency
}
 enum class for Solve
 
enum  TurbineProperty {
  MassFlow, PowerOut, MassFlow, PowerOut,
  MassFlow, PowerOut
}
 enum class for TurbineProperty
 
enum  Solve {
  OutletProperties, IsentropicEfficiency, OutletProperties, IsentropicEfficiency,
  OutletProperties, IsentropicEfficiency
}
 enum class for Solve
 
enum  TurbineProperty {
  MassFlow, PowerOut, MassFlow, PowerOut,
  MassFlow, PowerOut
}
 enum class for TurbineProperty
 
enum  Solve {
  OutletProperties, IsentropicEfficiency, OutletProperties, IsentropicEfficiency,
  OutletProperties, IsentropicEfficiency
}
 enum class for Solve
 
enum  TurbineProperty {
  MassFlow, PowerOut, MassFlow, PowerOut,
  MassFlow, PowerOut
}
 enum class for TurbineProperty
 

Public Member Functions

 Turbine (Solve solveFor, double inletPressure, SteamProperties::ThermodynamicQuantity inletQuantity, double inletQuantityValue, TurbineProperty turbineProperty, double isentropicEfficiency, double generatorEfficiency, double massFlowOrPowerOut, double outletSteamPressure)
 
 Turbine (Solve solveFor, double inletPressure, SteamProperties::ThermodynamicQuantity inletQuantity, double inletQuantityValue, TurbineProperty turbineProperty, double generatorEfficiency, double massFlowOrPowerOut, double outletSteamPressure, SteamProperties::ThermodynamicQuantity outletQuantity, double outletQuantityValue)
 
Solve getSolveFor () const
 
double getInletPressure () const
 
double getIsentropicEfficiency () const
 
double getGeneratorEfficiency () const
 
double getMassFlowOrPowerOut () const
 
double getOutletSteamPressure () const
 
SteamProperties::ThermodynamicQuantity getInletQuantity () const
 
SteamProperties::ThermodynamicQuantity getOutletQuantity () const
 
double getInletQuantityValue () const
 
double getOutletQuantityValue () const
 
TurbineProperty getTurbineProperty () const
 
SteamSystemModelerTool::SteamPropertiesOutput const & getInletProperties () const
 
SteamSystemModelerTool::SteamPropertiesOutput const & getOutletProperties () const
 
double getInletEnergyFlow () const
 
double getOutletEnergyFlow () const
 
double getPowerOut () const
 
double getEnergyOut () const
 
double getMassFlow () const
 
void setSolveFor (Solve solveFor)
 
void setInletPressure (double inletPressure)
 
void setIsentropicEfficiency (double isentropicEfficiency)
 
void setGeneratorEfficiency (double generatorEfficiency)
 
void setMassFlowOrPowerOut (double massFlowOrPowerOut)
 Sets the Mass Flow Or Power Out. More...
 
void setOutletSteamPressure (double outletSteamPressure)
 
void setInletQuantity (SteamProperties::ThermodynamicQuantity inletQuantity)
 
void setOutletQuantity (SteamProperties::ThermodynamicQuantity outletQuantity)
 
void setInletQuantityValue (double inletQuantityValue)
 
void setOutletQuantityValue (double outletQuantityValue)
 
void setTurbineProperty (TurbineProperty turbineProperty)
 
 Turbine (Solve solveFor, double inletPressure, SteamProperties::ThermodynamicQuantity inletQuantity, double inletQuantityValue, TurbineProperty turbineProperty, double isentropicEfficiency, double generatorEfficiency, double massFlowOrPowerOut, double outletSteamPressure)
 
 Turbine (Solve solveFor, double inletPressure, SteamProperties::ThermodynamicQuantity inletQuantity, double inletQuantityValue, TurbineProperty turbineProperty, double generatorEfficiency, double massFlowOrPowerOut, double outletSteamPressure, SteamProperties::ThermodynamicQuantity outletQuantity, double outletQuantityValue)
 
Solve getSolveFor () const
 
double getInletPressure () const
 
double getIsentropicEfficiency () const
 
double getGeneratorEfficiency () const
 
double getMassFlowOrPowerOut () const
 
double getOutletSteamPressure () const
 
SteamProperties::ThermodynamicQuantity getInletQuantity () const
 
SteamProperties::ThermodynamicQuantity getOutletQuantity () const
 
double getInletQuantityValue () const
 
double getOutletQuantityValue () const
 
TurbineProperty getTurbineProperty () const
 
SteamSystemModelerTool::SteamPropertiesOutput const & getInletProperties () const
 
SteamSystemModelerTool::SteamPropertiesOutput const & getOutletProperties () const
 
double getInletEnergyFlow () const
 
double getOutletEnergyFlow () const
 
double getPowerOut () const
 
double getEnergyOut () const
 
double getMassFlow () const
 
void setSolveFor (Solve solveFor)
 
void setInletPressure (double inletPressure)
 
void setIsentropicEfficiency (double isentropicEfficiency)
 
void setGeneratorEfficiency (double generatorEfficiency)
 
void setMassFlowOrPowerOut (double massFlowOrPowerOut)
 Sets the Mass Flow Or Power Out. More...
 
void setOutletSteamPressure (double outletSteamPressure)
 
void setInletQuantity (SteamProperties::ThermodynamicQuantity inletQuantity)
 
void setOutletQuantity (SteamProperties::ThermodynamicQuantity outletQuantity)
 
void setInletQuantityValue (double inletQuantityValue)
 
void setOutletQuantityValue (double outletQuantityValue)
 
void setTurbineProperty (TurbineProperty turbineProperty)
 
 Turbine (Solve solveFor, double inletPressure, SteamProperties::ThermodynamicQuantity inletQuantity, double inletQuantityValue, TurbineProperty turbineProperty, double isentropicEfficiency, double generatorEfficiency, double massFlowOrPowerOut, double outletSteamPressure)
 
 Turbine (Solve solveFor, double inletPressure, SteamProperties::ThermodynamicQuantity inletQuantity, double inletQuantityValue, TurbineProperty turbineProperty, double generatorEfficiency, double massFlowOrPowerOut, double outletSteamPressure, SteamProperties::ThermodynamicQuantity outletQuantity, double outletQuantityValue)
 
Solve getSolveFor () const
 
double getInletPressure () const
 
double getIsentropicEfficiency () const
 
double getGeneratorEfficiency () const
 
double getMassFlowOrPowerOut () const
 
double getOutletSteamPressure () const
 
SteamProperties::ThermodynamicQuantity getInletQuantity () const
 
SteamProperties::ThermodynamicQuantity getOutletQuantity () const
 
double getInletQuantityValue () const
 
double getOutletQuantityValue () const
 
TurbineProperty getTurbineProperty () const
 
SteamSystemModelerTool::SteamPropertiesOutput const & getInletProperties () const
 
SteamSystemModelerTool::SteamPropertiesOutput const & getOutletProperties () const
 
double getInletEnergyFlow () const
 
double getOutletEnergyFlow () const
 
double getPowerOut () const
 
double getEnergyOut () const
 
double getMassFlow () const
 
void setSolveFor (Solve solveFor)
 
void setInletPressure (double inletPressure)
 
void setIsentropicEfficiency (double isentropicEfficiency)
 
void setGeneratorEfficiency (double generatorEfficiency)
 
void setMassFlowOrPowerOut (double massFlowOrPowerOut)
 Sets the Mass Flow Or Power Out. More...
 
void setOutletSteamPressure (double outletSteamPressure)
 
void setInletQuantity (SteamProperties::ThermodynamicQuantity inletQuantity)
 
void setOutletQuantity (SteamProperties::ThermodynamicQuantity outletQuantity)
 
void setInletQuantityValue (double inletQuantityValue)
 
void setOutletQuantityValue (double outletQuantityValue)
 
void setTurbineProperty (TurbineProperty turbineProperty)
 

Friends

std::ostream & operator<< (std::ostream &stream, const Turbine &turbine)
 
std::ostream & operator<< (std::ostream &stream, const std::shared_ptr< Turbine > &turbine)
 
std::ostream & operator<< (std::ostream &stream, const Turbine &turbine)
 
std::ostream & operator<< (std::ostream &stream, const std::shared_ptr< Turbine > &turbine)
 
std::ostream & operator<< (std::ostream &stream, const Turbine &turbine)
 
std::ostream & operator<< (std::ostream &stream, const std::shared_ptr< Turbine > &turbine)
 

Detailed Description

Turbine calculator class Used to calculate turbine properties

Definition at line 23 of file Turbine.h.

Constructor & Destructor Documentation

◆ Turbine() [1/6]

Turbine::Turbine ( Solve  solveFor,
double  inletPressure,
SteamProperties::ThermodynamicQuantity  inletQuantity,
double  inletQuantityValue,
TurbineProperty  turbineProperty,
double  isentropicEfficiency,
double  generatorEfficiency,
double  massFlowOrPowerOut,
double  outletSteamPressure 
)

Constructor for the turbine calculator

Parameters
solveFor,solvesfor unknown value
inletPressuredouble, 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)
inletQuantity,typeof quantity for water (either temperature in K, enthalpy in kJ/kg, entropy in kJ/kg/K, or quality - unitless)
inletQuantityValuedouble, Thermodynamic Property of the Inlet used for calculations- Temperature (K), Enthalpy (kJ/kg), Entropy (kJ/kg-K), or Quality (unitless)
TurbineProperty,knownturbine property: mass flow rate (kg/hr) or power output (kW)
turbineProperty,knownturbine property: mass flow rate (kg/hr) or power output (kW)
isentropicEfficiencydouble, Isentropic Efficiency of Turbine, fraction
generatorEfficiencydouble, Conversion Efficiency of Turbine, fraction
massFlowOrPowerOutdouble, known turbine property: mass flow rate (kg/hr) or power output (kW)
outletSteamPressuredouble, outlet pressure of the steam in MPa

Definition at line 4 of file Turbine.cpp.

◆ Turbine() [2/6]

Turbine::Turbine ( Solve  solveFor,
double  inletPressure,
SteamProperties::ThermodynamicQuantity  inletQuantity,
double  inletQuantityValue,
TurbineProperty  turbineProperty,
double  generatorEfficiency,
double  massFlowOrPowerOut,
double  outletSteamPressure,
SteamProperties::ThermodynamicQuantity  outletQuantity,
double  outletQuantityValue 
)

Constructor for the turbine calculator

Parameters
solveFor,solvesfor the unknown value
inletPressuredouble, 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)
inletQuantity,typeof quantity for water (either temperature in K, enthalpy in kJ/kg, entropy in kJ/kg/K, or quality - unitless)
inletQuantityValuedouble, Thermodynamic Property of the Inlet used for calculations- Temperature (K), Enthalpy (kJ/kg), Entropy (kJ/kg-K), or Quality (unitless)
TurbineProperty,knownturbine property: mass flow rate (kg/hr) or power output (kW)
turbineProperty,knownturbine property: mass flow rate (kg/hr) or power output (kW)
generatorEfficiencydouble, Conversion Efficiency of Turbine, fraction
massFlowOrPowerOutdouble, known turbine property: mass flow rate (kg/hr) or power output (kW)
outletSteamPressuredouble, outlet pressure of the steam in MPa
outletQuantity,typeof quantity for water (either temperature in K, enthalpy in kJ/kg, entropy in kJ/kg/K, or quality - unitless)
outletQuantityValuedouble, Thermodynamic Property of the outlet used for calculations- Temperature (K), Enthalpy (kJ/kg), Entropy (kJ/kg-K), or Quality (unitless)

Definition at line 18 of file Turbine.cpp.

◆ Turbine() [3/6]

Turbine::Turbine ( Solve  solveFor,
double  inletPressure,
SteamProperties::ThermodynamicQuantity  inletQuantity,
double  inletQuantityValue,
TurbineProperty  turbineProperty,
double  isentropicEfficiency,
double  generatorEfficiency,
double  massFlowOrPowerOut,
double  outletSteamPressure 
)

Constructor for the turbine calculator

Parameters
solveFor,solvesfor unknown value
inletPressuredouble, 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)
inletQuantity,typeof quantity for water (either temperature in K, enthalpy in kJ/kg, entropy in kJ/kg/K, or quality - unitless)
inletQuantityValuedouble, Thermodynamic Property of the Inlet used for calculations- Temperature (K), Enthalpy (kJ/kg), Entropy (kJ/kg-K), or Quality (unitless)
TurbineProperty,knownturbine property: mass flow rate (kg/hr) or power output (kW)
turbineProperty,knownturbine property: mass flow rate (kg/hr) or power output (kW)
isentropicEfficiencydouble, Isentropic Efficiency of Turbine, fraction
generatorEfficiencydouble, Conversion Efficiency of Turbine, fraction
massFlowOrPowerOutdouble, known turbine property: mass flow rate (kg/hr) or power output (kW)
outletSteamPressuredouble, outlet pressure of the steam in MPa

◆ Turbine() [4/6]

Turbine::Turbine ( Solve  solveFor,
double  inletPressure,
SteamProperties::ThermodynamicQuantity  inletQuantity,
double  inletQuantityValue,
TurbineProperty  turbineProperty,
double  generatorEfficiency,
double  massFlowOrPowerOut,
double  outletSteamPressure,
SteamProperties::ThermodynamicQuantity  outletQuantity,
double  outletQuantityValue 
)

Constructor for the turbine calculator

Parameters
solveFor,solvesfor the unknown value
inletPressuredouble, 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)
inletQuantity,typeof quantity for water (either temperature in K, enthalpy in kJ/kg, entropy in kJ/kg/K, or quality - unitless)
inletQuantityValuedouble, Thermodynamic Property of the Inlet used for calculations- Temperature (K), Enthalpy (kJ/kg), Entropy (kJ/kg-K), or Quality (unitless)
TurbineProperty,knownturbine property: mass flow rate (kg/hr) or power output (kW)
turbineProperty,knownturbine property: mass flow rate (kg/hr) or power output (kW)
generatorEfficiencydouble, Conversion Efficiency of Turbine, fraction
massFlowOrPowerOutdouble, known turbine property: mass flow rate (kg/hr) or power output (kW)
outletSteamPressuredouble, outlet pressure of the steam in MPa
outletQuantity,typeof quantity for water (either temperature in K, enthalpy in kJ/kg, entropy in kJ/kg/K, or quality - unitless)
outletQuantityValuedouble, Thermodynamic Property of the outlet used for calculations- Temperature (K), Enthalpy (kJ/kg), Entropy (kJ/kg-K), or Quality (unitless)

◆ Turbine() [5/6]

Turbine::Turbine ( Solve  solveFor,
double  inletPressure,
SteamProperties::ThermodynamicQuantity  inletQuantity,
double  inletQuantityValue,
TurbineProperty  turbineProperty,
double  isentropicEfficiency,
double  generatorEfficiency,
double  massFlowOrPowerOut,
double  outletSteamPressure 
)

Constructor for the turbine calculator

Parameters
solveFor,solvesfor unknown value
inletPressuredouble, 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)
inletQuantity,typeof quantity for water (either temperature in K, enthalpy in kJ/kg, entropy in kJ/kg/K, or quality - unitless)
inletQuantityValuedouble, Thermodynamic Property of the Inlet used for calculations- Temperature (K), Enthalpy (kJ/kg), Entropy (kJ/kg-K), or Quality (unitless)
TurbineProperty,knownturbine property: mass flow rate (kg/hr) or power output (kW)
turbineProperty,knownturbine property: mass flow rate (kg/hr) or power output (kW)
isentropicEfficiencydouble, Isentropic Efficiency of Turbine, fraction
generatorEfficiencydouble, Conversion Efficiency of Turbine, fraction
massFlowOrPowerOutdouble, known turbine property: mass flow rate (kg/hr) or power output (kW)
outletSteamPressuredouble, outlet pressure of the steam in MPa

◆ Turbine() [6/6]

Turbine::Turbine ( Solve  solveFor,
double  inletPressure,
SteamProperties::ThermodynamicQuantity  inletQuantity,
double  inletQuantityValue,
TurbineProperty  turbineProperty,
double  generatorEfficiency,
double  massFlowOrPowerOut,
double  outletSteamPressure,
SteamProperties::ThermodynamicQuantity  outletQuantity,
double  outletQuantityValue 
)

Constructor for the turbine calculator

Parameters
solveFor,solvesfor the unknown value
inletPressuredouble, 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)
inletQuantity,typeof quantity for water (either temperature in K, enthalpy in kJ/kg, entropy in kJ/kg/K, or quality - unitless)
inletQuantityValuedouble, Thermodynamic Property of the Inlet used for calculations- Temperature (K), Enthalpy (kJ/kg), Entropy (kJ/kg-K), or Quality (unitless)
TurbineProperty,knownturbine property: mass flow rate (kg/hr) or power output (kW)
turbineProperty,knownturbine property: mass flow rate (kg/hr) or power output (kW)
generatorEfficiencydouble, Conversion Efficiency of Turbine, fraction
massFlowOrPowerOutdouble, known turbine property: mass flow rate (kg/hr) or power output (kW)
outletSteamPressuredouble, outlet pressure of the steam in MPa
outletQuantity,typeof quantity for water (either temperature in K, enthalpy in kJ/kg, entropy in kJ/kg/K, or quality - unitless)
outletQuantityValuedouble, Thermodynamic Property of the outlet used for calculations- Temperature (K), Enthalpy (kJ/kg), Entropy (kJ/kg-K), or Quality (unitless)

Member Function Documentation

◆ getEnergyOut() [1/3]

double Turbine::getEnergyOut ( ) const
inline

Gets the Energy Out

Returns
double, energy output in MJ/hr

Definition at line 183 of file Turbine.h.

◆ getEnergyOut() [2/3]

double Turbine::getEnergyOut ( ) const
inline

Gets the Energy Out

Returns
double, energy output in MJ/hr

Definition at line 183 of file Turbine.h.

◆ getEnergyOut() [3/3]

double Turbine::getEnergyOut ( ) const
inline

Gets the Energy Out

Returns
double, energy output in MJ/hr

Definition at line 183 of file Turbine.h.

◆ getGeneratorEfficiency() [1/3]

double Turbine::getGeneratorEfficiency ( ) const
inline

Gets the Generator Efficiency

Returns
double, Conversion Efficiency of Turbine, fraction

Definition at line 105 of file Turbine.h.

◆ getGeneratorEfficiency() [2/3]

double Turbine::getGeneratorEfficiency ( ) const
inline

Gets the Generator Efficiency

Returns
double, Conversion Efficiency of Turbine, fraction

Definition at line 105 of file Turbine.h.

◆ getGeneratorEfficiency() [3/3]

double Turbine::getGeneratorEfficiency ( ) const
inline

Gets the Generator Efficiency

Returns
double, Conversion Efficiency of Turbine, fraction

Definition at line 105 of file Turbine.h.

◆ getInletEnergyFlow() [1/3]

double Turbine::getInletEnergyFlow ( ) const
inline

Gets the Inlet Energy Flow

Returns
double, inlet steam energy flow in MJ/hr

Definition at line 165 of file Turbine.h.

◆ getInletEnergyFlow() [2/3]

double Turbine::getInletEnergyFlow ( ) const
inline

Gets the Inlet Energy Flow

Returns
double, inlet steam energy flow in MJ/hr

Definition at line 165 of file Turbine.h.

◆ getInletEnergyFlow() [3/3]

double Turbine::getInletEnergyFlow ( ) const
inline

Gets the Inlet Energy Flow

Returns
double, inlet steam energy flow in MJ/hr

Definition at line 165 of file Turbine.h.

◆ getInletPressure() [1/3]

double Turbine::getInletPressure ( ) const
inline

Gets the inlet pressure

Returns
double, Pressure of the inlet steam in MPa

Definition at line 93 of file Turbine.h.

◆ getInletPressure() [2/3]

double Turbine::getInletPressure ( ) const
inline

Gets the inlet pressure

Returns
double, Pressure of the inlet steam in MPa

Definition at line 93 of file Turbine.h.

◆ getInletPressure() [3/3]

double Turbine::getInletPressure ( ) const
inline

Gets the inlet pressure

Returns
double, Pressure of the inlet steam in MPa

Definition at line 93 of file Turbine.h.

◆ getInletProperties() [1/3]

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

Gets the Inlet Properties

Returns
SteamSystemModelerTool::SteamPropertiesOutput, inlet steam properties

Definition at line 153 of file Turbine.h.

◆ getInletProperties() [2/3]

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

Gets the Inlet Properties

Returns
SteamSystemModelerTool::SteamPropertiesOutput, inlet steam properties

Definition at line 153 of file Turbine.h.

◆ getInletProperties() [3/3]

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

Gets the Inlet Properties

Returns
SteamSystemModelerTool::SteamPropertiesOutput, inlet steam properties

Definition at line 153 of file Turbine.h.

◆ getInletQuantity() [1/3]

SteamProperties::ThermodynamicQuantity Turbine::getInletQuantity ( ) const
inline

Gets the Inlet Quantity

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

Definition at line 123 of file Turbine.h.

◆ getInletQuantity() [2/3]

SteamProperties::ThermodynamicQuantity Turbine::getInletQuantity ( ) const
inline

Gets the Inlet Quantity

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

Definition at line 123 of file Turbine.h.

◆ getInletQuantity() [3/3]

SteamProperties::ThermodynamicQuantity Turbine::getInletQuantity ( ) const
inline

Gets the Inlet Quantity

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

Definition at line 123 of file Turbine.h.

◆ getInletQuantityValue() [1/3]

double Turbine::getInletQuantityValue ( ) const
inline

Gets the Inlet Quantity Value

Returns
double, Thermodynamic Property of the Inlet used for calculations- Temperature (K), Enthalpy (kJ/kg), Entropy (kJ/kg-K), or Quality (unitless)

Definition at line 135 of file Turbine.h.

◆ getInletQuantityValue() [2/3]

double Turbine::getInletQuantityValue ( ) const
inline

Gets the Inlet Quantity Value

Returns
double, Thermodynamic Property of the Inlet used for calculations- Temperature (K), Enthalpy (kJ/kg), Entropy (kJ/kg-K), or Quality (unitless)

Definition at line 135 of file Turbine.h.

◆ getInletQuantityValue() [3/3]

double Turbine::getInletQuantityValue ( ) const
inline

Gets the Inlet Quantity Value

Returns
double, Thermodynamic Property of the Inlet used for calculations- Temperature (K), Enthalpy (kJ/kg), Entropy (kJ/kg-K), or Quality (unitless)

Definition at line 135 of file Turbine.h.

◆ getIsentropicEfficiency() [1/3]

double Turbine::getIsentropicEfficiency ( ) const
inline

Gets the Isentropic Efficiency

Returns
double, Isentropic Efficiency of Turbine, fraction

Definition at line 99 of file Turbine.h.

◆ getIsentropicEfficiency() [2/3]

double Turbine::getIsentropicEfficiency ( ) const
inline

Gets the Isentropic Efficiency

Returns
double, Isentropic Efficiency of Turbine, fraction

Definition at line 99 of file Turbine.h.

◆ getIsentropicEfficiency() [3/3]

double Turbine::getIsentropicEfficiency ( ) const
inline

Gets the Isentropic Efficiency

Returns
double, Isentropic Efficiency of Turbine, fraction

Definition at line 99 of file Turbine.h.

◆ getMassFlow() [1/3]

double Turbine::getMassFlow ( ) const
inline

Gets the Mass Flow

Returns
double, Mass flow rate in kg/hr

Definition at line 189 of file Turbine.h.

◆ getMassFlow() [2/3]

double Turbine::getMassFlow ( ) const
inline

Gets the Mass Flow

Returns
double, Mass flow rate in kg/hr

Definition at line 189 of file Turbine.h.

◆ getMassFlow() [3/3]

double Turbine::getMassFlow ( ) const
inline

Gets the Mass Flow

Returns
double, Mass flow rate in kg/hr

Definition at line 189 of file Turbine.h.

◆ getMassFlowOrPowerOut() [1/3]

double Turbine::getMassFlowOrPowerOut ( ) const
inline

Gets the Mass Flow Or Power Out

Returns
double, known turbine property: mass flow rate (kg/hr) or power output (kW)

Definition at line 111 of file Turbine.h.

◆ getMassFlowOrPowerOut() [2/3]

double Turbine::getMassFlowOrPowerOut ( ) const
inline

Gets the Mass Flow Or Power Out

Returns
double, known turbine property: mass flow rate (kg/hr) or power output (kW)

Definition at line 111 of file Turbine.h.

◆ getMassFlowOrPowerOut() [3/3]

double Turbine::getMassFlowOrPowerOut ( ) const
inline

Gets the Mass Flow Or Power Out

Returns
double, known turbine property: mass flow rate (kg/hr) or power output (kW)

Definition at line 111 of file Turbine.h.

◆ getOutletEnergyFlow() [1/3]

double Turbine::getOutletEnergyFlow ( ) const
inline

Gets the Outlet Energy Flow note: without desuperheating, it is the same as inletMassFlow because outlet == inlet.

Returns
double, outlet steam energy flow in MJ/hr

Definition at line 171 of file Turbine.h.

◆ getOutletEnergyFlow() [2/3]

double Turbine::getOutletEnergyFlow ( ) const
inline

Gets the Outlet Energy Flow note: without desuperheating, it is the same as inletMassFlow because outlet == inlet.

Returns
double, outlet steam energy flow in MJ/hr

Definition at line 171 of file Turbine.h.

◆ getOutletEnergyFlow() [3/3]

double Turbine::getOutletEnergyFlow ( ) const
inline

Gets the Outlet Energy Flow note: without desuperheating, it is the same as inletMassFlow because outlet == inlet.

Returns
double, outlet steam energy flow in MJ/hr

Definition at line 171 of file Turbine.h.

◆ getOutletProperties() [1/3]

SteamSystemModelerTool::SteamPropertiesOutput const& Turbine::getOutletProperties ( ) const
inline

Gets the Outlet Properties

Returns
SteamSystemModelerTool::SteamPropertiesOutput, outlet steam properties

Definition at line 159 of file Turbine.h.

◆ getOutletProperties() [2/3]

SteamSystemModelerTool::SteamPropertiesOutput const& Turbine::getOutletProperties ( ) const
inline

Gets the Outlet Properties

Returns
SteamSystemModelerTool::SteamPropertiesOutput, outlet steam properties

Definition at line 159 of file Turbine.h.

◆ getOutletProperties() [3/3]

SteamSystemModelerTool::SteamPropertiesOutput const& Turbine::getOutletProperties ( ) const
inline

Gets the Outlet Properties

Returns
SteamSystemModelerTool::SteamPropertiesOutput, outlet steam properties

Definition at line 159 of file Turbine.h.

◆ getOutletQuantity() [1/3]

SteamProperties::ThermodynamicQuantity Turbine::getOutletQuantity ( ) const
inline

Gets the Outlet Quantity

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

Definition at line 129 of file Turbine.h.

◆ getOutletQuantity() [2/3]

SteamProperties::ThermodynamicQuantity Turbine::getOutletQuantity ( ) const
inline

Gets the Outlet Quantity

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

Definition at line 129 of file Turbine.h.

◆ getOutletQuantity() [3/3]

SteamProperties::ThermodynamicQuantity Turbine::getOutletQuantity ( ) const
inline

Gets the Outlet Quantity

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

Definition at line 129 of file Turbine.h.

◆ getOutletQuantityValue() [1/3]

double Turbine::getOutletQuantityValue ( ) const
inline

Gets the Outlet Quantity Value

Returns
double, Thermodynamic Property of the outlet used for calculations- Temperature (K), Enthalpy (kJ/kg), Entropy (kJ/kg-K), or Quality (unitless)

Definition at line 141 of file Turbine.h.

◆ getOutletQuantityValue() [2/3]

double Turbine::getOutletQuantityValue ( ) const
inline

Gets the Outlet Quantity Value

Returns
double, Thermodynamic Property of the outlet used for calculations- Temperature (K), Enthalpy (kJ/kg), Entropy (kJ/kg-K), or Quality (unitless)

Definition at line 141 of file Turbine.h.

◆ getOutletQuantityValue() [3/3]

double Turbine::getOutletQuantityValue ( ) const
inline

Gets the Outlet Quantity Value

Returns
double, Thermodynamic Property of the outlet used for calculations- Temperature (K), Enthalpy (kJ/kg), Entropy (kJ/kg-K), or Quality (unitless)

Definition at line 141 of file Turbine.h.

◆ getOutletSteamPressure() [1/3]

double Turbine::getOutletSteamPressure ( ) const
inline

Gets the Outlet Steam Pressure

Returns
double, outlet pressure of the steam in MPa

Definition at line 117 of file Turbine.h.

◆ getOutletSteamPressure() [2/3]

double Turbine::getOutletSteamPressure ( ) const
inline

Gets the Outlet Steam Pressure

Returns
double, outlet pressure of the steam in MPa

Definition at line 117 of file Turbine.h.

◆ getOutletSteamPressure() [3/3]

double Turbine::getOutletSteamPressure ( ) const
inline

Gets the Outlet Steam Pressure

Returns
double, outlet pressure of the steam in MPa

Definition at line 117 of file Turbine.h.

◆ getPowerOut() [1/3]

double Turbine::getPowerOut ( ) const
inline

Gets the Power Out

Returns
double, power output in kW

Definition at line 177 of file Turbine.h.

◆ getPowerOut() [2/3]

double Turbine::getPowerOut ( ) const
inline

Gets the Power Out

Returns
double, power output in kW

Definition at line 177 of file Turbine.h.

◆ getPowerOut() [3/3]

double Turbine::getPowerOut ( ) const
inline

Gets the Power Out

Returns
double, power output in kW

Definition at line 177 of file Turbine.h.

◆ getTurbineProperty() [1/3]

TurbineProperty Turbine::getTurbineProperty ( ) const
inline

Gets the Turbine Property

Returns
known turbine property: mass flow rate (kg/hr) or power output (kW)

Definition at line 147 of file Turbine.h.

◆ getTurbineProperty() [2/3]

TurbineProperty Turbine::getTurbineProperty ( ) const
inline

Gets the Turbine Property

Returns
known turbine property: mass flow rate (kg/hr) or power output (kW)

Definition at line 147 of file Turbine.h.

◆ getTurbineProperty() [3/3]

TurbineProperty Turbine::getTurbineProperty ( ) const
inline

Gets the Turbine Property

Returns
known turbine property: mass flow rate (kg/hr) or power output (kW)

Definition at line 147 of file Turbine.h.

◆ setGeneratorEfficiency() [1/3]

void Turbine::setGeneratorEfficiency ( double  generatorEfficiency)

Sets the Generator Efficiency

Parameters
generatorEfficiencydouble, Conversion Efficiency of Turbine, fraction

◆ setGeneratorEfficiency() [2/3]

void Turbine::setGeneratorEfficiency ( double  generatorEfficiency)

Sets the Generator Efficiency

Parameters
generatorEfficiencydouble, Conversion Efficiency of Turbine, fraction

Definition at line 139 of file Turbine.cpp.

◆ setGeneratorEfficiency() [3/3]

void Turbine::setGeneratorEfficiency ( double  generatorEfficiency)

Sets the Generator Efficiency

Parameters
generatorEfficiencydouble, Conversion Efficiency of Turbine, fraction

◆ setInletPressure() [1/3]

void Turbine::setInletPressure ( double  inletPressure)

Sets the inlet pressure

Parameters
inletPressuredouble, inlet pressure in MPa

Definition at line 129 of file Turbine.cpp.

◆ setInletPressure() [2/3]

void Turbine::setInletPressure ( double  inletPressure)

Sets the inlet pressure

Parameters
inletPressuredouble, inlet pressure in MPa

◆ setInletPressure() [3/3]

void Turbine::setInletPressure ( double  inletPressure)

Sets the inlet pressure

Parameters
inletPressuredouble, inlet pressure in MPa

◆ setInletQuantity() [1/3]

void Turbine::setInletQuantity ( SteamProperties::ThermodynamicQuantity  inletQuantity)

Sets the Inlet Quantity

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

Definition at line 154 of file Turbine.cpp.

◆ setInletQuantity() [2/3]

void Turbine::setInletQuantity ( SteamProperties::ThermodynamicQuantity  inletQuantity)

Sets the Inlet Quantity

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

◆ setInletQuantity() [3/3]

void Turbine::setInletQuantity ( SteamProperties::ThermodynamicQuantity  inletQuantity)

Sets the Inlet Quantity

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

◆ setInletQuantityValue() [1/3]

void Turbine::setInletQuantityValue ( double  inletQuantityValue)

Sets the Inlet Quantity Value

Parameters
inletQuantityValuedouble, Thermodynamic Property of the Inlet used for calculations- Temperature (K), Enthalpy (kJ/kg), Entropy (kJ/kg-K), or Quality (unitless)

Definition at line 164 of file Turbine.cpp.

◆ setInletQuantityValue() [2/3]

void Turbine::setInletQuantityValue ( double  inletQuantityValue)

Sets the Inlet Quantity Value

Parameters
inletQuantityValuedouble, Thermodynamic Property of the Inlet used for calculations- Temperature (K), Enthalpy (kJ/kg), Entropy (kJ/kg-K), or Quality (unitless)

◆ setInletQuantityValue() [3/3]

void Turbine::setInletQuantityValue ( double  inletQuantityValue)

Sets the Inlet Quantity Value

Parameters
inletQuantityValuedouble, Thermodynamic Property of the Inlet used for calculations- Temperature (K), Enthalpy (kJ/kg), Entropy (kJ/kg-K), or Quality (unitless)

◆ setIsentropicEfficiency() [1/3]

void Turbine::setIsentropicEfficiency ( double  isentropicEfficiency)

Sets the Isentropic Efficiency

Parameters
isentropicEfficiencydouble, Isentropic Efficiency of Turbine, fraction

◆ setIsentropicEfficiency() [2/3]

void Turbine::setIsentropicEfficiency ( double  isentropicEfficiency)

Sets the Isentropic Efficiency

Parameters
isentropicEfficiencydouble, Isentropic Efficiency of Turbine, fraction

◆ setIsentropicEfficiency() [3/3]

void Turbine::setIsentropicEfficiency ( double  isentropicEfficiency)

Sets the Isentropic Efficiency

Parameters
isentropicEfficiencydouble, Isentropic Efficiency of Turbine, fraction

Definition at line 134 of file Turbine.cpp.

◆ setMassFlowOrPowerOut() [1/3]

void Turbine::setMassFlowOrPowerOut ( double  massFlowOrPowerOut)

Sets the Mass Flow Or Power Out.

Parameters
massFlowOrPowerOutdouble, known turbine property: mass flow rate (kg/hr) or power output (kW)

◆ setMassFlowOrPowerOut() [2/3]

void Turbine::setMassFlowOrPowerOut ( double  massFlowOrPowerOut)

Sets the Mass Flow Or Power Out.

Parameters
massFlowOrPowerOutdouble, known turbine property: mass flow rate (kg/hr) or power output (kW)

Definition at line 144 of file Turbine.cpp.

◆ setMassFlowOrPowerOut() [3/3]

void Turbine::setMassFlowOrPowerOut ( double  massFlowOrPowerOut)

Sets the Mass Flow Or Power Out.

Parameters
massFlowOrPowerOutdouble, known turbine property: mass flow rate (kg/hr) or power output (kW)

◆ setOutletQuantity() [1/3]

void Turbine::setOutletQuantity ( SteamProperties::ThermodynamicQuantity  outletQuantity)

Sets the Outlet Quantity

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

Definition at line 159 of file Turbine.cpp.

◆ setOutletQuantity() [2/3]

void Turbine::setOutletQuantity ( SteamProperties::ThermodynamicQuantity  outletQuantity)

Sets the Outlet Quantity

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

◆ setOutletQuantity() [3/3]

void Turbine::setOutletQuantity ( SteamProperties::ThermodynamicQuantity  outletQuantity)

Sets the Outlet Quantity

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

◆ setOutletQuantityValue() [1/3]

void Turbine::setOutletQuantityValue ( double  outletQuantityValue)

Sets the Outlet Quantity Value

Parameters
outletQuantityValuedouble, Thermodynamic Property of the Inlet used for calculations- Temperature (K), Enthalpy (kJ/kg), Entropy (kJ/kg-K), or Quality (unitless)

◆ setOutletQuantityValue() [2/3]

void Turbine::setOutletQuantityValue ( double  outletQuantityValue)

Sets the Outlet Quantity Value

Parameters
outletQuantityValuedouble, Thermodynamic Property of the Inlet used for calculations- Temperature (K), Enthalpy (kJ/kg), Entropy (kJ/kg-K), or Quality (unitless)

◆ setOutletQuantityValue() [3/3]

void Turbine::setOutletQuantityValue ( double  outletQuantityValue)

Sets the Outlet Quantity Value

Parameters
outletQuantityValuedouble, Thermodynamic Property of the Inlet used for calculations- Temperature (K), Enthalpy (kJ/kg), Entropy (kJ/kg-K), or Quality (unitless)

Definition at line 169 of file Turbine.cpp.

◆ setOutletSteamPressure() [1/3]

void Turbine::setOutletSteamPressure ( double  outletSteamPressure)

Sets the Outlet Steam Pressure

Parameters
outletSteamPressuredouble, outlet pressure of the steam in MPa

◆ setOutletSteamPressure() [2/3]

void Turbine::setOutletSteamPressure ( double  outletSteamPressure)

Sets the Outlet Steam Pressure

Parameters
outletSteamPressuredouble, outlet pressure of the steam in MPa

Definition at line 149 of file Turbine.cpp.

◆ setOutletSteamPressure() [3/3]

void Turbine::setOutletSteamPressure ( double  outletSteamPressure)

Sets the Outlet Steam Pressure

Parameters
outletSteamPressuredouble, outlet pressure of the steam in MPa

◆ setSolveFor() [1/3]

void Turbine::setSolveFor ( Solve  solveFor)

Sets the Solve For value

Parameters
solveFor,solvesfor the unknown value

◆ setSolveFor() [2/3]

void Turbine::setSolveFor ( Solve  solveFor)

Sets the Solve For value

Parameters
solveFor,solvesfor the unknown value

◆ setSolveFor() [3/3]

void Turbine::setSolveFor ( Turbine::Solve  solveFor)

Sets the Solve For value

Parameters
solveFor,solvesfor the unknown value

Definition at line 124 of file Turbine.cpp.

◆ setTurbineProperty() [1/3]

void Turbine::setTurbineProperty ( Turbine::TurbineProperty  turbineProperty)

Sets the Turbine Property

Parameters
Turbineproperty,knownturbine property: mass flow rate (kg/hr) or power output (kW)
turbineProperty,knownturbine property: mass flow rate (kg/hr) or power output (kW)

Definition at line 174 of file Turbine.cpp.

◆ setTurbineProperty() [2/3]

void Turbine::setTurbineProperty ( TurbineProperty  turbineProperty)

Sets the Turbine Property

Parameters
Turbineproperty,knownturbine property: mass flow rate (kg/hr) or power output (kW)
turbineProperty,knownturbine property: mass flow rate (kg/hr) or power output (kW)

◆ setTurbineProperty() [3/3]

void Turbine::setTurbineProperty ( TurbineProperty  turbineProperty)

Sets the Turbine Property

Parameters
Turbineproperty,knownturbine property: mass flow rate (kg/hr) or power output (kW)
turbineProperty,knownturbine property: mass flow rate (kg/hr) or power output (kW)

Friends And Related Function Documentation

◆ operator<< [1/3]

std::ostream& operator<< ( std::ostream &  stream,
const Turbine turbine 
)
friend

Solves for the unknown value

Returns
unknown value

Definition at line 91 of file Turbine.cpp.

◆ operator<< [2/3]

std::ostream& operator<< ( std::ostream &  stream,
const Turbine turbine 
)
friend

Solves for the unknown value

Returns
unknown value

Definition at line 91 of file Turbine.cpp.

◆ operator<< [3/3]

std::ostream& operator<< ( std::ostream &  stream,
const Turbine turbine 
)
friend

Solves for the unknown value

Returns
unknown value

Definition at line 91 of file Turbine.cpp.


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