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

#include <gas_load_charge_material.h>

Public Member Functions

 GasLoadChargeMaterial (const LoadChargeMaterial::ThermicReactionType thermicReactionType, const double specificHeatGas, const double feedRate, const double percentVapor, const double initialTemperature, const double dischargeTemperature, const double specificHeatVapor, const double percentReacted, const double reactionHeat, const double additionalHeat)
 
LoadChargeMaterial::ThermicReactionType getThermicReactionType () const
 
void setThermicReactionType (LoadChargeMaterial::ThermicReactionType thermicReactionType)
 
double getSpecificHeatGas () const
 
void setSpecificHeatGas (double specificHeatGas)
 
double getFeedRate () const
 
void setFeedRate (double feedRate)
 
double getInitialTemperature () const
 
void setInitialTemperature (double initialTemperature)
 
double getDischargeTemperature () const
 
void setDischargeTemperature (double dischargeTemperature)
 
double getSpecificHeatVapor () const
 
void setSpecificHeatVapor (double specificHeatVapor)
 
double getPercentReacted () const
 
void setPercentReacted (double percentReacted)
 
double getReactionHeat () const
 
void setReactionHeat (double reactionHeat)
 
double getAdditionalHeat () const
 
void setAdditionalHeat (double additionalHeat)
 
double getPercentVapor () const
 
void setPercentVapor (double percentVapor)
 
std::string getSubstance () const
 
void setSubstance (std::string substance)
 
int getID () const
 
void setID (const int id)
 
double getTotalHeat ()
 
bool operator== (const GasLoadChargeMaterial &rhs) const
 bool operator
 
bool operator!= (const GasLoadChargeMaterial &rhs) const
 bool operator
 

Private Member Functions

 GasLoadChargeMaterial (std::string substance, double specificHeatVapor)
 

Private Attributes

LoadChargeMaterial::ThermicReactionType thermicReactionType = LoadChargeMaterial::ThermicReactionType::NONE
 
double specificHeatGas = 0.0
 
double feedRate = 0.0
 
double percentVapor = 0.0
 
double initialTemperature = 0.0
 
double dischargeTemperature = 0.0
 
double specificHeatVapor = 0.0
 
double percentReacted = 0.0
 
double reactionHeat = 0.0
 
double additionalHeat = 0.0
 
std::string substance = "Unknown"
 
int id = 0
 
double totalHeat = 0.0
 

Friends

class DefaultData
 

Detailed Description

Gas Load Charge Material class Contains all properties of a gas load charge material Used to find the heat required for a gas load charge material to be heated from the inlet temperature to the outlet temperature

Definition at line 26 of file gas_load_charge_material.h.

Constructor & Destructor Documentation

◆ GasLoadChargeMaterial() [1/2]

GasLoadChargeMaterial::GasLoadChargeMaterial ( const LoadChargeMaterial::ThermicReactionType  thermicReactionType,
const double  specificHeatGas,
const double  feedRate,
const double  percentVapor,
const double  initialTemperature,
const double  dischargeTemperature,
const double  specificHeatVapor,
const double  percentReacted,
const double  reactionHeat,
const double  additionalHeat 
)
inline

Constructor for the gas load/charge material with all inputs specified

Parameters
thermicReactionTypeEnumerated value for either endothermic or exothermic reactions
specificHeatGasSpecific Heat of Gas in Btu/(lb*°F)
feedRateFeed Rate for Gas Mixture in lb/hr
percentVaporVapor in Gas Mixture (% of Total)
initialTemperatureInitial Temperature in °F
dischargeTemperatureDischarge Temperature in °F
specificHeatVaporSpecific Heat of Vapor in Btu/(lb*°F)
percentReactedFeed Gas Reacted (% of Total)
reactionHeatHeat of Reaction in Btu/lb
additionalHeatAdditional Heat Required in Btu/hr

Definition at line 41 of file gas_load_charge_material.h.

◆ GasLoadChargeMaterial() [2/2]

GasLoadChargeMaterial::GasLoadChargeMaterial ( std::string  substance,
double  specificHeatVapor 
)
inlineprivate

Constructor for the gas load/charge material with subset of inputs specified.

Parameters
substanceName of substance
specificHeatVaporSpecific Heat of Vapor in Btu/(lb*°F)

Definition at line 249 of file gas_load_charge_material.h.

Member Function Documentation

◆ getAdditionalHeat()

double GasLoadChargeMaterial::getAdditionalHeat ( ) const
inline

Gets the additional heat required

Returns
double, additional heat required in btu/hr

Definition at line 155 of file gas_load_charge_material.h.

◆ getDischargeTemperature()

double GasLoadChargeMaterial::getDischargeTemperature ( ) const
inline

Gets the discharge temperature

Returns
double, discharge temperature in °F

Definition at line 107 of file gas_load_charge_material.h.

◆ getFeedRate()

double GasLoadChargeMaterial::getFeedRate ( ) const
inline

Gets the feed rate for gas mixture

Returns
double, feed rate for gas mixture in lb/hr

Definition at line 83 of file gas_load_charge_material.h.

◆ getID()

int GasLoadChargeMaterial::getID ( ) const
inline

Gets the ID of material

Returns
int, ID of material

Definition at line 191 of file gas_load_charge_material.h.

◆ getInitialTemperature()

double GasLoadChargeMaterial::getInitialTemperature ( ) const
inline

Gets the initial temperature

Returns
double, initial temperature in °F

Definition at line 95 of file gas_load_charge_material.h.

◆ getPercentReacted()

double GasLoadChargeMaterial::getPercentReacted ( ) const
inline

Gets the percentage of feed gas reacted

Returns
double, charge gas reacted as % of DRY gas feed

Definition at line 131 of file gas_load_charge_material.h.

◆ getPercentVapor()

double GasLoadChargeMaterial::getPercentVapor ( ) const
inline

Gets the percentage of vapor in gas mixture

Returns
double, vapor in gas mixture as %

Definition at line 167 of file gas_load_charge_material.h.

◆ getReactionHeat()

double GasLoadChargeMaterial::getReactionHeat ( ) const
inline

Gets the heat of reaction

Returns
double, heat of reaction in btu/lb

Definition at line 143 of file gas_load_charge_material.h.

◆ getSpecificHeatGas()

double GasLoadChargeMaterial::getSpecificHeatGas ( ) const
inline

Gets the specific heat of gas

Returns
double, specific heat of gas in btu/(lb*°F)

Definition at line 71 of file gas_load_charge_material.h.

◆ getSpecificHeatVapor()

double GasLoadChargeMaterial::getSpecificHeatVapor ( ) const
inline

Gets the specific heat of vapor

Returns
double, specific heat of vapor in btu/(lb*°F)

Definition at line 119 of file gas_load_charge_material.h.

◆ getSubstance()

std::string GasLoadChargeMaterial::getSubstance ( ) const
inline

Gets the name of substance

Returns
string, name of substance

Definition at line 179 of file gas_load_charge_material.h.

◆ getThermicReactionType()

LoadChargeMaterial::ThermicReactionType GasLoadChargeMaterial::getThermicReactionType ( ) const
inline

Gets the classification of thermic reaction type

Returns
LoadChargeMaterial::ThermicReactionType, type of thermic reaction

Definition at line 57 of file gas_load_charge_material.h.

◆ getTotalHeat()

double GasLoadChargeMaterial::getTotalHeat ( )
inline

Gets the total heat required

Returns
double, total heat required in btu/hr

Definition at line 203 of file gas_load_charge_material.h.

◆ operator!=()

bool GasLoadChargeMaterial::operator!= ( const GasLoadChargeMaterial rhs) const
inline

Definition at line 224 of file gas_load_charge_material.h.

◆ operator==()

bool GasLoadChargeMaterial::operator== ( const GasLoadChargeMaterial rhs) const
inline

Definition at line 219 of file gas_load_charge_material.h.

◆ setAdditionalHeat()

void GasLoadChargeMaterial::setAdditionalHeat ( double  additionalHeat)
inline

Sets the additional heat required

Parameters
additionalHeatdouble, additional heat required in btu/hr

Definition at line 161 of file gas_load_charge_material.h.

◆ setDischargeTemperature()

void GasLoadChargeMaterial::setDischargeTemperature ( double  dischargeTemperature)
inline

Sets the discharge temperature

Parameters
dischargeTemperaturedouble, discharge temperature in °F

Definition at line 113 of file gas_load_charge_material.h.

◆ setFeedRate()

void GasLoadChargeMaterial::setFeedRate ( double  feedRate)
inline

Sets the feed rate for gas mixture

Parameters
feedRatedouble, feed rate for gas mixture in lb/hr

Definition at line 89 of file gas_load_charge_material.h.

◆ setID()

void GasLoadChargeMaterial::setID ( const int  id)
inline

Sets the ID of material

Parameters
idconst int, ID of material

Definition at line 197 of file gas_load_charge_material.h.

◆ setInitialTemperature()

void GasLoadChargeMaterial::setInitialTemperature ( double  initialTemperature)
inline

Sets the initial temperature

Parameters
initialTemperaturedouble, initial temperature in °F

Definition at line 101 of file gas_load_charge_material.h.

◆ setPercentReacted()

void GasLoadChargeMaterial::setPercentReacted ( double  percentReacted)
inline

Sets the percentage of feed gas reacted

Parameters
percentReacteddouble, charge gas reacted as % of DRY gas feed

Definition at line 137 of file gas_load_charge_material.h.

◆ setPercentVapor()

void GasLoadChargeMaterial::setPercentVapor ( double  percentVapor)
inline

Sets the percentage of vapor in gas mixture

Parameters
percentVapordouble, vapor in gas mixture as %

Definition at line 173 of file gas_load_charge_material.h.

◆ setReactionHeat()

void GasLoadChargeMaterial::setReactionHeat ( double  reactionHeat)
inline

Sets the heat of reaction

Parameters
reactionHeatdouble, heat of reaction in btu/lb

Definition at line 149 of file gas_load_charge_material.h.

◆ setSpecificHeatGas()

void GasLoadChargeMaterial::setSpecificHeatGas ( double  specificHeatGas)
inline

Sets the specific heat of gas

Parameters
specificHeatGasdouble, specific heat of gas in btu/(lb*°F)

Definition at line 77 of file gas_load_charge_material.h.

◆ setSpecificHeatVapor()

void GasLoadChargeMaterial::setSpecificHeatVapor ( double  specificHeatVapor)
inline

Sets the specific heat of vapor

Parameters
specificHeatVapordouble, specific heat of vapor in btu/(lb*°F)

Definition at line 125 of file gas_load_charge_material.h.

◆ setSubstance()

void GasLoadChargeMaterial::setSubstance ( std::string  substance)
inline

Sets the name of substance

Parameters
substancestring , name of substance

Definition at line 185 of file gas_load_charge_material.h.

◆ setThermicReactionType()

void GasLoadChargeMaterial::setThermicReactionType ( LoadChargeMaterial::ThermicReactionType  thermicReactionType)
inline

Sets the classification of thermic reaction type

Parameters
thermicReactionTypeLoadChargeMaterial::ThermicReactionType, type of thermic reaction

Definition at line 63 of file gas_load_charge_material.h.

Friends And Related Symbol Documentation

◆ DefaultData

friend class DefaultData
friend

Definition at line 242 of file gas_load_charge_material.h.

Member Data Documentation

◆ additionalHeat

double GasLoadChargeMaterial::additionalHeat = 0.0
private

Definition at line 236 of file gas_load_charge_material.h.

◆ dischargeTemperature

double GasLoadChargeMaterial::dischargeTemperature = 0.0
private

Definition at line 232 of file gas_load_charge_material.h.

◆ feedRate

double GasLoadChargeMaterial::feedRate = 0.0
private

Definition at line 229 of file gas_load_charge_material.h.

◆ id

int GasLoadChargeMaterial::id = 0
private

Definition at line 238 of file gas_load_charge_material.h.

◆ initialTemperature

double GasLoadChargeMaterial::initialTemperature = 0.0
private

Definition at line 231 of file gas_load_charge_material.h.

◆ percentReacted

double GasLoadChargeMaterial::percentReacted = 0.0
private

Definition at line 234 of file gas_load_charge_material.h.

◆ percentVapor

double GasLoadChargeMaterial::percentVapor = 0.0
private

Definition at line 230 of file gas_load_charge_material.h.

◆ reactionHeat

double GasLoadChargeMaterial::reactionHeat = 0.0
private

Definition at line 235 of file gas_load_charge_material.h.

◆ specificHeatGas

double GasLoadChargeMaterial::specificHeatGas = 0.0
private

Definition at line 228 of file gas_load_charge_material.h.

◆ specificHeatVapor

double GasLoadChargeMaterial::specificHeatVapor = 0.0
private

Definition at line 233 of file gas_load_charge_material.h.

◆ substance

std::string GasLoadChargeMaterial::substance = "Unknown"
private

Definition at line 237 of file gas_load_charge_material.h.

◆ thermicReactionType

LoadChargeMaterial::ThermicReactionType GasLoadChargeMaterial::thermicReactionType = LoadChargeMaterial::ThermicReactionType::NONE
private

Definition at line 227 of file gas_load_charge_material.h.

◆ totalHeat

double GasLoadChargeMaterial::totalHeat = 0.0
private

Definition at line 240 of file gas_load_charge_material.h.


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