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
Classes | Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
SteamLeakSurvey Class Reference

Classes

struct  SteamLeakSurveyResults
 

Public Types

enum class  UtilityType { steam , electric , natural_gas }
 

Public Member Functions

 SteamLeakSurvey (const double operatingTime, const double steamTemp, const double steamPressure, const double costOfElectricity, const double leakPressure, const double leakTemp, const double feedwaterTemp, const double steamCost)
 
 SteamLeakSurvey (const double operatingTime, const double steamTemp, const double steamPressure, const double costOfElectricity, const double leakPressure, const double leakTemp, const double feedwaterTemp, const double boilerEfficiency, const double systemEfficiency)
 
 SteamLeakSurvey (const double operatingTime, const double steamTemp, const double steamPressure, const double costOfElectricity, const double leakPressure, const double leakTemp, const double feedwaterTemp, const double boilerEfficiency, const double systemEfficiency, const double fuelCost, const double fuelEnergyFactor=1)
 
 SteamLeakSurvey (const double operatingTime, const double steamTemp, const double steamPressure, const double costOfElectricity, const double leakPressure, const double leakTemp, const double feedwaterTemp, const double boilerEfficiency, const double systemEfficiency, const UtilityType utilityType, const double fuelCost=0, const double fuelEnergyFactor=1, const double steamCost=0)
 
SteamLeakSurveyResults estimateMethodPRVCalc (const double leakRate) const
 
SteamLeakSurveyResults estimateMethodTurbineCalc (const double turbineEfficiency, const double leakRate) const
 
SteamLeakSurveyResults orificeMethodCalc (const double turbineEfficiency, const double holeSize, const double dischargeCoef, const double atmPressure) const
 
SteamLeakSurveyResults plumeMethodCalc (const double turbineEfficiency, const double plumeLength, const double ambTemp) const
 
double costOfSteam (const double turbineEfficiency) const
 
double costOfSteam () const
 

Private Member Functions

SteamLeakSurveyResults calculate (const double leakRate, const double turbineEfficiency=0) const
 

Private Attributes

double operatingTime = 0
 
double steamPressure = 0
 
double leakPressure = 0
 
double costOfElectricity = 0
 
double steamCost = 0
 
double steamSpecificEnthalpy = 1256.12
 
double isentropicEnthalpy = 1220.35
 
double feedwaterEnthalpy = 38.16
 
double leakEnthalpy = 1208.07
 
double leakDensity = 0
 
double specificHeatRatio = 1.3
 

Detailed Description

Definition at line 25 of file steam_leak_survey.h.

Member Enumeration Documentation

◆ UtilityType

enum class SteamLeakSurvey::UtilityType
strong

Definition at line 27 of file steam_leak_survey.h.

Constructor & Destructor Documentation

◆ SteamLeakSurvey() [1/4]

SteamLeakSurvey::SteamLeakSurvey ( const double  operatingTime,
const double  steamTemp,
const double  steamPressure,
const double  costOfElectricity,
const double  leakPressure,
const double  leakTemp,
const double  feedwaterTemp,
const double  steamCost 
)
inline

Constructor for SteamLeakSurvey, when utility type is steam

Parameters
operatingTimedouble, operating time of the system hours per year
steamTempdouble, steam temperature F (must be greater than 212F)
steamPressuredouble, steam pressure in psig
costOfElectricitydouble, $/kWh, default 0
leakPressuredouble, leak pressure in psig
leakTempdouble, leak temperature F
feedwaterTempdouble, feedwater temperature in F (must be below boiling point of water, max 212F)
steamCostdouble, $/lb

Definition at line 47 of file steam_leak_survey.h.

◆ SteamLeakSurvey() [2/4]

SteamLeakSurvey::SteamLeakSurvey ( const double  operatingTime,
const double  steamTemp,
const double  steamPressure,
const double  costOfElectricity,
const double  leakPressure,
const double  leakTemp,
const double  feedwaterTemp,
const double  boilerEfficiency,
const double  systemEfficiency 
)
inline

Constructor for SteamLeakSurvey, when utility type is electric

Parameters
operatingTimedouble, operating time of the system hours per year
steamTempdouble, steam temperature F (must be greater than 212F)
steamPressuredouble, steam pressure in psig
costOfElectricitydouble, $/kWh, default 0
leakPressuredouble, leak pressure in psig
leakTempdouble, leak temperature F
feedwaterTempdouble, feedwater temperature in F (must be below boiling point of water, max 212F)
boilerEfficiencydouble, boiler efficiency percentage (0 - 100 %)
systemEfficiencydouble, system efficiency percentage (0 - 100 %)

Definition at line 66 of file steam_leak_survey.h.

◆ SteamLeakSurvey() [3/4]

SteamLeakSurvey::SteamLeakSurvey ( const double  operatingTime,
const double  steamTemp,
const double  steamPressure,
const double  costOfElectricity,
const double  leakPressure,
const double  leakTemp,
const double  feedwaterTemp,
const double  boilerEfficiency,
const double  systemEfficiency,
const double  fuelCost,
const double  fuelEnergyFactor = 1 
)
inline

Constructor for SteamLeakSurvey, when utility type is natural gas

Parameters
operatingTimedouble, operating time of the system hours per year
steamTempdouble, steam temperature F (must be greater than 212F)
steamPressuredouble, steam pressure in psig
costOfElectricitydouble, $/kWh, default 0
leakPressuredouble, leak pressure in psig
leakTempdouble, leak temperature F
feedwaterTempdouble, feedwater temperature in F (must be below boiling point of water, max 212F)
boilerEfficiencydouble, boiler efficiency percentage (1 - 100 %)
systemEfficiencydouble, system efficiency percentage (1 - 100 %)
fuelCostdouble, per MCF (unit cost of fuel for the boiler system), when utility type Natural Gas
fuelEnergyFactordouble, MMBtu/MCF (energy content for a given volume of fuel, when unit is in $/volume)

Definition at line 87 of file steam_leak_survey.h.

◆ SteamLeakSurvey() [4/4]

SteamLeakSurvey::SteamLeakSurvey ( const double  operatingTime,
const double  steamTemp,
const double  steamPressure,
const double  costOfElectricity,
const double  leakPressure,
const double  leakTemp,
const double  feedwaterTemp,
const double  boilerEfficiency,
const double  systemEfficiency,
const UtilityType  utilityType,
const double  fuelCost = 0,
const double  fuelEnergyFactor = 1,
const double  steamCost = 0 
)
inline

Constructor for SteamLeakSurvey, generic

Parameters
operatingTimedouble, operating time of the system hours per year
steamTempdouble, steam temperature F (must be greater than 212F)
steamPressuredouble, steam pressure in psig
costOfElectricitydouble, $/kWh, default 0
leakPressuredouble, leak pressure in psig
leakTempdouble, leak temperature F
feedwaterTempdouble, feedwater temperature in F (must be below boiling point of water, max 212F)
boilerEfficiencydouble, boiler efficiency percentage (0 - 100 %)
systemEfficiencydouble, system efficiency percentage (0 - 100 %)
utilityTypeutility type enumeration
fuelCostdouble, per MCF (unit cost of fuel for the boiler system), when utility type Natural Gas
fuelEnergyFactordouble, MMBtu/MCF (energy content for a given volume of fuel, when unit is in $/volume)
steamCostdouble, $/lb

Definition at line 111 of file steam_leak_survey.h.

Member Function Documentation

◆ calculate()

SteamLeakSurveyResults SteamLeakSurvey::calculate ( const double  leakRate,
const double  turbineEfficiency = 0 
) const
inlineprivate

Definition at line 229 of file steam_leak_survey.h.

◆ costOfSteam() [1/2]

double SteamLeakSurvey::costOfSteam ( ) const
inline
Returns
steamCost computed based on fuel type steam or electric or natural gas

Definition at line 224 of file steam_leak_survey.h.

◆ costOfSteam() [2/2]

double SteamLeakSurvey::costOfSteam ( const double  turbineEfficiency) const
inline
Returns
steamCost computed based on fuel type steam or electric or natural gas and turbine (efficiency, energy is recovered from dropping the pressure)

Definition at line 213 of file steam_leak_survey.h.

◆ estimateMethodPRVCalc()

SteamLeakSurveyResults SteamLeakSurvey::estimateMethodPRVCalc ( const double  leakRate) const
inline
Parameters
leakRatedouble, lb/hr
Returns
SteamLeakSurvey::Output, leakRate lb/hr, steamLoss klb/yr, energyLoss MMBtu/yr, leakCost MMBtu/lb-MCF

Definition at line 158 of file steam_leak_survey.h.

◆ estimateMethodTurbineCalc()

SteamLeakSurveyResults SteamLeakSurvey::estimateMethodTurbineCalc ( const double  turbineEfficiency,
const double  leakRate 
) const
inline
Parameters
turbineEfficiencydouble, system efficiency percentage (0 - 100 %)
leakRatedouble, lb/hr
Returns
SteamLeakSurvey::Output, leakRate lb/hr, leakEnthalpy btu/lb, steamLoss klb/yr, energyLoss MMBtu/yr, leakCost MMBtu/lb-MCF

Definition at line 168 of file steam_leak_survey.h.

◆ orificeMethodCalc()

SteamLeakSurveyResults SteamLeakSurvey::orificeMethodCalc ( const double  turbineEfficiency,
const double  holeSize,
const double  dischargeCoef,
const double  atmPressure 
) const
inline
Parameters
turbineEfficiencydouble, system efficiency percentage (0 - 100 %)
holeSizedouble, estimated diameter of orifice through which steam is leaking in inches
dischargeCoefdouble, discharge coefficient used to capture the effect of the shape of the leak rate as fraction (0 - 1)
atmPressuredouble, atmospheric pressure (standard pressure is 14.7 psia, range 0 - 20)
Returns
SteamLeakSurvey::Output, leakRate lb/hr, leakEnthalpy btu/lb, steamLoss klb/yr, energyLoss MMBtu/yr, leakCost MMBtu/lb-MCF

Definition at line 180 of file steam_leak_survey.h.

◆ plumeMethodCalc()

SteamLeakSurveyResults SteamLeakSurvey::plumeMethodCalc ( const double  turbineEfficiency,
const double  plumeLength,
const double  ambTemp 
) const
inline
Parameters
turbineEfficiencydouble, system efficiency percentage (0 - 100 %)
plumeLengthdouble, feet (range 3 - 12 feet)
ambTempdouble, ambient temperature (usually between 45 and 90 degrees F)
Returns
SteamLeakSurvey::Output, leakRate lb/hr, leakEnthalpy btu/lb, steamLoss klb/yr, energyLoss MMBtu/yr, leakCost MMBtu/lb-MCF

Definition at line 204 of file steam_leak_survey.h.

Member Data Documentation

◆ costOfElectricity

double SteamLeakSurvey::costOfElectricity = 0
private

Definition at line 239 of file steam_leak_survey.h.

◆ feedwaterEnthalpy

double SteamLeakSurvey::feedwaterEnthalpy = 38.16
private

Definition at line 242 of file steam_leak_survey.h.

◆ isentropicEnthalpy

double SteamLeakSurvey::isentropicEnthalpy = 1220.35
private

Definition at line 241 of file steam_leak_survey.h.

◆ leakDensity

double SteamLeakSurvey::leakDensity = 0
private

Definition at line 244 of file steam_leak_survey.h.

◆ leakEnthalpy

double SteamLeakSurvey::leakEnthalpy = 1208.07
private

Definition at line 243 of file steam_leak_survey.h.

◆ leakPressure

double SteamLeakSurvey::leakPressure = 0
private

Definition at line 239 of file steam_leak_survey.h.

◆ operatingTime

double SteamLeakSurvey::operatingTime = 0
private

Definition at line 239 of file steam_leak_survey.h.

◆ specificHeatRatio

double SteamLeakSurvey::specificHeatRatio = 1.3
private

Definition at line 245 of file steam_leak_survey.h.

◆ steamCost

double SteamLeakSurvey::steamCost = 0
private

Definition at line 239 of file steam_leak_survey.h.

◆ steamPressure

double SteamLeakSurvey::steamPressure = 0
private

Definition at line 239 of file steam_leak_survey.h.

◆ steamSpecificEnthalpy

double SteamLeakSurvey::steamSpecificEnthalpy = 1256.12
private

Definition at line 240 of file steam_leak_survey.h.


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