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 Attributes | List of all members
DryerOperatingCost Class Reference

Classes

struct  Input
 
struct  Output
 

Public Types

enum  DryerType {
  Heatless , HeatedExternally , BlowerPurgeWithSweep , BlowerPurgeWithoutSweep ,
  HeatOfCompressionHC , HeatOfCompressionSP , Refrigerated
}
 

Public Member Functions

 DryerOperatingCost (const Input &input)
 
 DryerOperatingCost (const double flowRate, const double pressure, const double temperature, const double operatingHoursPerDay, const double operatingDaysPerWeek, const double operatingWeeksPerYear, const double costOfElectricity, const double costOfCompressedAir, const double costOfCoolingWater)
 
 DryerOperatingCost (const double flowRate, const double pressure, const double temperature, const double operatingHoursPerDay, const double operatingDaysPerWeek, const double operatingWeeksPerYear, const double costOfElectricity, const double costOfCompressedAir, const double costOfCoolingWater, const double heaterPower, const double heatingHoursPerDay, const double purgeRate, const double designDDCPercentage)
 
Output calculate (const DryerType dryerType) const
 

Private Attributes

const double flowRate
 
const double pressure
 
const double temperature
 
const double operatingHoursPerDay
 
const double operatingDaysPerWeek
 
const double operatingWeeksPerYear
 
const double costOfElectricity
 
const double costOfCompressedAir
 
const double costOfCoolingWater
 
const double heaterPower
 
const double heatingHoursPerDay
 
const double purgeRate
 
double designDDCPercent = 0.1633
 
const std::map< int, double > lookupTemp
 

Detailed Description

Definition at line 28 of file dryer_operating_cost.h.

Member Enumeration Documentation

◆ DryerType

enum DryerOperatingCost::DryerType

Definition at line 30 of file dryer_operating_cost.h.

Constructor & Destructor Documentation

◆ DryerOperatingCost() [1/3]

DryerOperatingCost::DryerOperatingCost ( const Input input)
inlineexplicit

Constructor for DryerOperatingCost - Use this constructor when all input parameters are available.

Parameters
inputInput struct, input parameters for calculation of dryer operating cost including optional parameters that can be calculated within the class if not provided.

Definition at line 99 of file dryer_operating_cost.h.

◆ DryerOperatingCost() [2/3]

DryerOperatingCost::DryerOperatingCost ( const double  flowRate,
const double  pressure,
const double  temperature,
const double  operatingHoursPerDay,
const double  operatingDaysPerWeek,
const double  operatingWeeksPerYear,
const double  costOfElectricity,
const double  costOfCompressedAir,
const double  costOfCoolingWater 
)
inline

Constructor for DryerOperatingCost - Use this constructor when heater power rating, heating hours per day, purge rate and design DDC percentage is not known or needs to be computed.

Parameters
flowRatedouble, Flow Rate in SCFM (1 - 50,000 SCFM)
pressuredouble, Pressure in psig (25 - 150 psig)
temperaturedouble, Temperature F (50 - 120 F)
operatingHoursPerDaydouble, Hours for which the dryer operates per day - hours (1 - 24 hours)
operatingDaysPerWeekdouble, Days for which the dryer operates per week - days ( 1 - 7 days)
operatingWeeksPerYeardouble, Weeks for which the dryer operates per year - weeks (1 - 52 weeks)
costOfElectricitydouble, Cost of electricity per kWh - $ ($0.01 - $0.20 per kWh)
costOfCompressedAirdouble, Cost of compressed air per 1000 SCF - $ ($0.20 - $0.50 per 1000 SCF)
costOfCoolingWaterdouble, Cost of cooling water per 1000 gallons - $ ($0.25 - $10.00 per 1000 gallons)

Definition at line 116 of file dryer_operating_cost.h.

◆ DryerOperatingCost() [3/3]

DryerOperatingCost::DryerOperatingCost ( const double  flowRate,
const double  pressure,
const double  temperature,
const double  operatingHoursPerDay,
const double  operatingDaysPerWeek,
const double  operatingWeeksPerYear,
const double  costOfElectricity,
const double  costOfCompressedAir,
const double  costOfCoolingWater,
const double  heaterPower,
const double  heatingHoursPerDay,
const double  purgeRate,
const double  designDDCPercentage 
)
inline

Constructor for DryerOperatingCost - Use this constructor when heater power rating, heating hours per day, purge rate and design DDC percentage is known.

Parameters
flowRatedouble, Flow Rate in SCFM (1 - 50,000 SCFM)
pressuredouble, Pressure in psig (25 - 150 psig)
temperaturedouble, Temperature F (50 - 120 F)
operatingHoursPerDaydouble, Hours for which the dryer operates per day - hours (1 - 24 hours)
operatingDaysPerWeekdouble, Days for which the dryer operates per week - days ( 1 - 7 days)
operatingWeeksPerYeardouble, Weeks for which the dryer operates per year - weeks (1 - 52 weeks)
costOfElectricitydouble, Cost of electricity per kWh - $ ($0.01 - $0.20 per kWh)
costOfCompressedAirdouble, Cost of compressed air per 1000 SCF - $ ($0.20 - $0.50 per 1000 SCF)
costOfCoolingWaterdouble, Cost of cooling water per 1000 gallons - $ ($0.25 - $10.00 per 1000 gallons)
heaterPowerdouble, Heater power rating in kW (0 - 1000 kW). If heater power is not known or needs to be computed set it to 0.
heatingHoursPerDaydouble, Hours for which the dryer heater operates per day - hours (0 - 24 hours) If heating hours per day is not known or needs to be calculated default set it to 0. Calculator default for heating hours per day is 18 hours for Heated Externally, Blower Purge With Sweep and Blower Purge Without Sweep dryers, and 3 hours for Heat of Compression - HC dryer.
purgeRatedouble, Purge rate for the dryer - percentage (0 - 100%) If purge rate is not known or needs to be calculated default set it to 0. Calculator default for purge rate is 15% for Heatless dryer, 7% for Heated Externally, Blower Purge With Sweep and Blower Purge Without Sweep dryers, and 2% for Heat of Compression - HC dryer.
designDDCPercentagedouble, Design DDC percentage for the dryer - percentage (0 - 100%) If design DDC percentage is not known or needs to be calculated default set it to 0. Calculator default for design DDC percentage is 16.33% for desiccant dryers.

Definition at line 153 of file dryer_operating_cost.h.

Member Function Documentation

◆ calculate()

Output DryerOperatingCost::calculate ( const DryerType  dryerType) const
inline
Parameters
dryerTypeDryerType enum, type of dryer for which operating cost is to be calculated
Returns
Output

Definition at line 213 of file dryer_operating_cost.h.

Member Data Documentation

◆ costOfCompressedAir

const double DryerOperatingCost::costOfCompressedAir
private

Definition at line 316 of file dryer_operating_cost.h.

◆ costOfCoolingWater

const double DryerOperatingCost::costOfCoolingWater
private

Definition at line 316 of file dryer_operating_cost.h.

◆ costOfElectricity

const double DryerOperatingCost::costOfElectricity
private

Definition at line 316 of file dryer_operating_cost.h.

◆ designDDCPercent

double DryerOperatingCost::designDDCPercent = 0.1633
private

Definition at line 318 of file dryer_operating_cost.h.

◆ flowRate

const double DryerOperatingCost::flowRate
private

Definition at line 314 of file dryer_operating_cost.h.

◆ heaterPower

const double DryerOperatingCost::heaterPower
private

Definition at line 317 of file dryer_operating_cost.h.

◆ heatingHoursPerDay

const double DryerOperatingCost::heatingHoursPerDay
private

Definition at line 317 of file dryer_operating_cost.h.

◆ lookupTemp

const std::map<int, double> DryerOperatingCost::lookupTemp
private
Initial value:
= {
{36, 0.10396}, {37, 0.10815}, {38, 0.11249}, {39, 0.11699}, {40, 0.12164},
{41, 0.12646}, {42, 0.13145}, {43, 0.1366}, {44, 0.14194}, {45, 0.14746},
{46, 0.15317}, {47, 0.15907}, {48, 0.16517}, {49, 0.17148}, {50, 0.17799},
{51, 0.18473}, {52, 0.19169}, {53, 0.19888}, {54, 0.2063}, {55, 0.21397},
{56, 0.22188}, {57, 0.23006}, {58, 0.23849}, {59, 0.2472}, {60, 0.25618},
{61, 0.26545}, {62, 0.27502}, {63, 0.28488}, {64, 0.29505}, {65, 0.30554},
{66, 0.31636}, {67, 0.3275}, {68, 0.339}, {69, 0.35084}, {70, 0.36304},
{71, 0.37561}, {72, 0.38856}, {73, 0.4019}, {74, 0.41564}, {75, 0.42979},
{76, 0.44435}, {77, 0.45935}, {78, 0.47478}, {79, 0.49066}, {80, 0.50701},
{81, 0.52382}, {82, 0.54112}, {83, 0.55892}, {84, 0.57722}, {85, 0.59604},
{86, 0.6154}, {87, 0.6353}, {88, 0.65575}, {89, 0.67678}, {90, 0.69838},
{91, 0.72059}, {92, 0.7434}, {93, 0.76684}, {94, 0.79091}, {95, 0.81564},
{96, 0.84103}, {97, 0.86711}, {98, 0.89388}, {99, 0.92137}, {100, 0.94959},
{101, 0.97854}, {102, 1.0083}, {103, 1.0388}, {104, 1.07}, {105, 1.1021},
{106, 1.1351}, {107, 1.1688}, {108, 1.2035}, {109, 1.239}, {110, 1.2754},
{111, 1.3128}, {112, 1.351}, {113, 1.3902}, {114, 1.4305}, {115, 1.4717},
{116, 1.5139}, {117, 1.5571}, {118, 1.6014}, {119, 1.6468}, {120, 1.6933},
{121, 1.7409}, {122, 1.7897}, {123, 1.8396}, {124, 1.8907}, {125, 1.943},
{126, 1.9966}, {127, 2.0514}, {128, 2.1075}, {129, 2.1649}, {130, 2.2237}
}

Definition at line 320 of file dryer_operating_cost.h.

◆ operatingDaysPerWeek

const double DryerOperatingCost::operatingDaysPerWeek
private

Definition at line 315 of file dryer_operating_cost.h.

◆ operatingHoursPerDay

const double DryerOperatingCost::operatingHoursPerDay
private

Definition at line 315 of file dryer_operating_cost.h.

◆ operatingWeeksPerYear

const double DryerOperatingCost::operatingWeeksPerYear
private

Definition at line 315 of file dryer_operating_cost.h.

◆ pressure

const double DryerOperatingCost::pressure
private

Definition at line 314 of file dryer_operating_cost.h.

◆ purgeRate

const double DryerOperatingCost::purgeRate
private

Definition at line 317 of file dryer_operating_cost.h.

◆ temperature

const double DryerOperatingCost::temperature
private

Definition at line 314 of file dryer_operating_cost.h.


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