#include <FlowCalculationsEnergyUse.h>
|
enum class | Gas {
AIR
, AMMONIA_DISSOCIATED
, ARGON
, BUTANE
,
ENDOTHERMIC_AMMONIA
, EXOTHERMIC_CRACKED_LEAN
, EXOTHERMIC_CRACKED_RICH
, HELIUM
,
HYDROGEN
, NATURAL_GAS
, NITROGEN
, OXYGEN
,
PROPANE
, OTHER
} |
| enum class for gas types More...
|
|
enum class | Section { SQUARE_EDGE
, SHARP_EDGE
, VENTURI
} |
| enum class for section type More...
|
|
|
| FlowCalculationsEnergyUse (Gas gasType, double specificGravity, double orificeDiameter, double insidePipeDiameter, Section sectionType, double dischargeCoefficient, double gasHeatingValue, double gasTemperature, double gasPressure, double orificePressureDrop, double operatingTime) |
|
Gas | getGasType () const |
|
void | setGasType (Gas gasType) |
|
double | getSpecificGravity () const |
|
void | setSpecificGravity (double specificGravity) |
|
double | getOrificeDiameter () const |
|
void | setOrificeDiameter (double orificeDiameter) |
|
double | getInsidePipeDiameter () const |
|
void | setInsidePipeDiameter (double insidePipeDiameter) |
|
Section | getSectionType () const |
|
void | setSectionType (Section sectionType) |
|
double | getDischargeCoefficient () const |
|
void | setDischargeCoefficient (double dischargeCoefficient) |
|
double | getGasHeatingValue () const |
|
void | setGasHeatingValue (double gasHeatingValue) |
|
double | getGasTemperature () const |
|
void | setGasTemperature (double gasTemperature) |
|
double | getGasPressure () const |
|
void | setGasPressure (double gasPressure) |
|
double | getOrificePressureDrop () const |
|
void | setOrificePressureDrop (double orificePressureDrop) |
|
double | getOperatingTime () const |
|
void | setOperatingTime (double operatingTime) |
|
double | getArea () |
|
double | getAdjustedDischargeCoefficient () |
|
double | getPressureDrop () |
|
double | getAdjustedGasTemperature () |
|
double | getAdjustedGasPressure () |
|
double | getFlow () |
|
double | getHeatInput () |
|
double | getTotalFlow () |
|
Flow Calculations Energy Use calculator class Used to find the flow and the heat input of a fuel-fired furnace.
Definition at line 18 of file FlowCalculationsEnergyUse.h.
◆ Gas
◆ Section
◆ FlowCalculationsEnergyUse()
FlowCalculationsEnergyUse::FlowCalculationsEnergyUse |
( |
Gas |
gasType, |
|
|
double |
specificGravity, |
|
|
double |
orificeDiameter, |
|
|
double |
insidePipeDiameter, |
|
|
Section |
sectionType, |
|
|
double |
dischargeCoefficient, |
|
|
double |
gasHeatingValue, |
|
|
double |
gasTemperature, |
|
|
double |
gasPressure, |
|
|
double |
orificePressureDrop, |
|
|
double |
operatingTime |
|
) |
| |
|
inline |
Constructor for the flow calculations energy use
- Parameters
-
gasType | Gas, type of gas |
specificGravity | double, specific gravity specified by the user- unitless |
orificeDiameter | double, diameter of orifice in inches |
insidePipeDiameter | double, diameter of inside pipe in inches |
sectionType | Section, type of section |
dischargeCoefficient | double, coefficient of discharge - unitless |
gasHeatingValue | double, heating value of gas in Btu/scf |
gasTemperature | double, temperature of gas in °F |
gasPressure | double, pressure of gas in Psig |
orificePressureDrop | double, orifice pressure drop in inch W.C. |
operatingTime | double, operating time in hrs |
Definition at line 59 of file FlowCalculationsEnergyUse.h.
◆ getAdjustedDischargeCoefficient()
double FlowCalculationsEnergyUse::getAdjustedDischargeCoefficient |
( |
| ) |
|
Gets the adjusted (if necessary) discharge coefficient
- Returns
- double, adjusted discharge coefficient - unitless
◆ getAdjustedGasPressure()
double FlowCalculationsEnergyUse::getAdjustedGasPressure |
( |
| ) |
|
Gets the adjusted pressure of gas used in calculating flow
- Returns
- double, adjusted pressure of gas in Psig
◆ getAdjustedGasTemperature()
double FlowCalculationsEnergyUse::getAdjustedGasTemperature |
( |
| ) |
|
Gets the adjusted temperature of gas used in calculating flow
- Returns
- double, adjusted temperature of gas in °F
◆ getArea()
double FlowCalculationsEnergyUse::getArea |
( |
| ) |
|
Gets the area
- Returns
- double, area in in in^2
◆ getDischargeCoefficient()
double FlowCalculationsEnergyUse::getDischargeCoefficient |
( |
| ) |
const |
|
inline |
◆ getFlow()
double FlowCalculationsEnergyUse::getFlow |
( |
| ) |
|
Gets the flow in scfh
- Returns
- double, flow in scfh
◆ getGasHeatingValue()
double FlowCalculationsEnergyUse::getGasHeatingValue |
( |
| ) |
const |
|
inline |
◆ getGasPressure()
double FlowCalculationsEnergyUse::getGasPressure |
( |
| ) |
const |
|
inline |
◆ getGasTemperature()
double FlowCalculationsEnergyUse::getGasTemperature |
( |
| ) |
const |
|
inline |
◆ getGasType()
Gas FlowCalculationsEnergyUse::getGasType |
( |
| ) |
const |
|
inline |
◆ getHeatInput()
double FlowCalculationsEnergyUse::getHeatInput |
( |
| ) |
|
Gets the heat input
- Returns
- double, heat input in Million Btu
◆ getInsidePipeDiameter()
double FlowCalculationsEnergyUse::getInsidePipeDiameter |
( |
| ) |
const |
|
inline |
◆ getOperatingTime()
double FlowCalculationsEnergyUse::getOperatingTime |
( |
| ) |
const |
|
inline |
◆ getOrificeDiameter()
double FlowCalculationsEnergyUse::getOrificeDiameter |
( |
| ) |
const |
|
inline |
◆ getOrificePressureDrop()
double FlowCalculationsEnergyUse::getOrificePressureDrop |
( |
| ) |
const |
|
inline |
◆ getPressureDrop()
double FlowCalculationsEnergyUse::getPressureDrop |
( |
| ) |
|
Gets the pressure drop in inch W.C.
- Returns
- double, pressure drop in inch W.C.
◆ getSectionType()
Section FlowCalculationsEnergyUse::getSectionType |
( |
| ) |
const |
|
inline |
◆ getSpecificGravity()
double FlowCalculationsEnergyUse::getSpecificGravity |
( |
| ) |
const |
|
inline |
◆ getTotalFlow()
double FlowCalculationsEnergyUse::getTotalFlow |
( |
| ) |
|
Gets the total flow in scf
- Returns
- double, total flow in scf
◆ setDischargeCoefficient()
void FlowCalculationsEnergyUse::setDischargeCoefficient |
( |
double |
dischargeCoefficient | ) |
|
|
inline |
Sets the coefficient of discharge
- Parameters
-
dischargeCoefficient | double coefficient of discharge - unitless |
Definition at line 213 of file FlowCalculationsEnergyUse.h.
◆ setGasHeatingValue()
void FlowCalculationsEnergyUse::setGasHeatingValue |
( |
double |
gasHeatingValue | ) |
|
|
inline |
◆ setGasPressure()
void FlowCalculationsEnergyUse::setGasPressure |
( |
double |
gasPressure | ) |
|
|
inline |
◆ setGasTemperature()
void FlowCalculationsEnergyUse::setGasTemperature |
( |
double |
gasTemperature | ) |
|
|
inline |
◆ setGasType()
void FlowCalculationsEnergyUse::setGasType |
( |
Gas |
gasType | ) |
|
|
inline |
◆ setInsidePipeDiameter()
void FlowCalculationsEnergyUse::setInsidePipeDiameter |
( |
double |
insidePipeDiameter | ) |
|
|
inline |
Sets the diameter of inside of pipe
- Parameters
-
insidePipeDiameter | double, diameter of inside of pipe |
Definition at line 172 of file FlowCalculationsEnergyUse.h.
◆ setOperatingTime()
void FlowCalculationsEnergyUse::setOperatingTime |
( |
double |
operatingTime | ) |
|
|
inline |
◆ setOrificeDiameter()
void FlowCalculationsEnergyUse::setOrificeDiameter |
( |
double |
orificeDiameter | ) |
|
|
inline |
◆ setOrificePressureDrop()
void FlowCalculationsEnergyUse::setOrificePressureDrop |
( |
double |
orificePressureDrop | ) |
|
|
inline |
Sets the pressure drop at orifice
- Parameters
-
orificePressureDrop | double, pressure drop at orifice in inch W.C. |
Definition at line 273 of file FlowCalculationsEnergyUse.h.
◆ setSectionType()
void FlowCalculationsEnergyUse::setSectionType |
( |
Section |
sectionType | ) |
|
|
inline |
◆ setSpecificGravity()
void FlowCalculationsEnergyUse::setSpecificGravity |
( |
double |
specificGravity | ) |
|
|
inline |
Sets the specific gravity using a value
- Parameters
-
specificGravity | double, specific gravity - unitless |
Definition at line 142 of file FlowCalculationsEnergyUse.h.
◆ adjustedDischargeCoefficient_
double FlowCalculationsEnergyUse::adjustedDischargeCoefficient_ |
|
private |
◆ adjustedGasPressure_
double FlowCalculationsEnergyUse::adjustedGasPressure_ |
|
private |
◆ adjustedGasTemperature_
double FlowCalculationsEnergyUse::adjustedGasTemperature_ |
|
private |
◆ area_
double FlowCalculationsEnergyUse::area_ |
|
private |
◆ dischargeCoefficient_
double FlowCalculationsEnergyUse::dischargeCoefficient_ = 0.0 |
|
private |
◆ flow_
double FlowCalculationsEnergyUse::flow_ |
|
private |
◆ gasHeatingValue_
double FlowCalculationsEnergyUse::gasHeatingValue_ = 0.0 |
|
private |
◆ gasPressure_
double FlowCalculationsEnergyUse::gasPressure_ = 0.0 |
|
private |
◆ gasTemperature_
double FlowCalculationsEnergyUse::gasTemperature_ = 0.0 |
|
private |
◆ gasType_
◆ heatInput_
double FlowCalculationsEnergyUse::heatInput_ |
|
private |
◆ insidePipeDiameter_
double FlowCalculationsEnergyUse::insidePipeDiameter_ = 0.0 |
|
private |
◆ operatingTime_
double FlowCalculationsEnergyUse::operatingTime_ = 0.0 |
|
private |
◆ orificeDiameter_
double FlowCalculationsEnergyUse::orificeDiameter_ = 0.0 |
|
private |
◆ orificePressureDrop_
double FlowCalculationsEnergyUse::orificePressureDrop_ = 0.0 |
|
private |
◆ pressureDrop_
double FlowCalculationsEnergyUse::pressureDrop_ |
|
private |
◆ sectionType_
◆ specificGravity_
double FlowCalculationsEnergyUse::specificGravity_ = 0.0 |
|
private |
◆ totalflow_
double FlowCalculationsEnergyUse::totalflow_ |
|
private |
The documentation for this class was generated from the following file: