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 | Static Private Member Functions | Private Attributes | List of all members
ProcessCooling Class Reference

Classes

struct  AirCooledSystemInput
 
struct  ChillerInput
 
struct  ChillerOutput
 
struct  ChillerPumpingEnergyOutput
 
struct  PumpInput
 
struct  TowerInput
 
struct  TowerOutput
 
struct  WaterCooledSystemInput
 

Public Types

enum  RefrigerantType {
  R_11 , R_123 , R_12 , R_134a ,
  R_22 , R_717
}
 
enum  ACSourceLocation { Inside , Outside }
 
enum  CoolingSystemType { Water , Air }
 
enum  CellFanType { AxialFan , CentrifugalFan }
 
enum  TowerSizedBy { Tonnage , Fan_HP }
 
enum  ChillerCompressorType { Centrifugal , Screw , Reciprocating }
 
enum  FanMotorSpeedType { One , Two , Variable }
 

Public Member Functions

 ProcessCooling (const vector< int > &systemOperationAnnualHours, const vector< double > &weatherDryBulbHourlyTemp, const vector< double > &weatherWetBulbHourlyTemp, const vector< ChillerInput > &chillerInputList, TowerInput towerInput, WaterCooledSystemInput waterCooledSystemInput)
 
 ProcessCooling (const vector< int > &systemOperationAnnualHours, const vector< double > &weatherDryBulbHourlyTemp, const vector< double > &weatherWetBulbHourlyTemp, const vector< ChillerInput > &chillerInputList, AirCooledSystemInput airCooledSystemInput)
 
TowerOutput calculateTowerEnergy ()
 
ChillerOutput calculateChillerEnergy ()
 
ChillerPumpingEnergyOutput calculatePumpEnergy (PumpInput pump)
 

Private Member Functions

 ProcessCooling (const vector< int > &systemOperationAnnualHours, const vector< double > &weatherDryBulbHourlyTemp, const vector< double > &weatherWetBulbHourlyTemp, const vector< ChillerInput > &chillerInputList, AirCooledSystemInput airCooledSystemInput, TowerInput towerInput, WaterCooledSystemInput waterCooledSystemInput)
 
void annualChillerLoadProfile ()
 
void annualChillerEfficiencyProfileARI ()
 
void annualChillerEfficiencyProfile ()
 
void annualChillerPowerProfile ()
 
double getPercentFanPower (double wetBulbTemp, double percentWaterFlow, double range, double desiredApproach, int yearHourIndex)
 
double getPercentWaterFlow (int yearHourIndex)
 
double getRange (int yearHourIndex)
 
double getApproach (double wetBulbTemp, double minToChillersTemp) const
 
double modifyPercentFanPower (double percentFanPower) const
 
double getWeightedAverageChillerLoad (int yearHourIndex)
 
double getChillerTonnageTotal ()
 

Static Private Member Functions

static double getFanHP (double tonnage, TowerSizedBy towerSizing, int fanNum, CellFanType fanType, double fanHP)
 
static double getCubeRoot (double number)
 
static double getPumpHP (double power)
 

Private Attributes

vector< int > systemOperationAnnual
 
vector< double > dryBulbHourlyTemp
 
vector< double > wetBulbHourlyTemp
 
TowerInput tower {}
 
WaterCooledSystemInput waterCooledSystem
 
AirCooledSystemInput airCooledSystem
 
CoolingSystemType coolingType
 
double FCTemp = 0
 
vector< double > CWTHourly
 
int numChillers
 
vector< ChillerInputchillers
 
vector< vector< double > > chillerHourlyLoad
 
vector< vector< double > > chillerHourlyLoadOperational
 
vector< vector< double > > chillerHourlyEfficiencyARI
 
vector< vector< double > > chillerHourlyEfficiency
 
vector< vector< double > > chillerHourlyPower
 

Detailed Description

Definition at line 37 of file ProcessCooling.h.

Member Enumeration Documentation

◆ ACSourceLocation

enum ProcessCooling::ACSourceLocation

Definition at line 41 of file ProcessCooling.h.

◆ CellFanType

enum ProcessCooling::CellFanType

Definition at line 45 of file ProcessCooling.h.

◆ ChillerCompressorType

enum ProcessCooling::ChillerCompressorType

Definition at line 49 of file ProcessCooling.h.

◆ CoolingSystemType

enum ProcessCooling::CoolingSystemType

Definition at line 43 of file ProcessCooling.h.

◆ FanMotorSpeedType

enum ProcessCooling::FanMotorSpeedType

Definition at line 51 of file ProcessCooling.h.

◆ RefrigerantType

enum ProcessCooling::RefrigerantType

Definition at line 39 of file ProcessCooling.h.

◆ TowerSizedBy

enum ProcessCooling::TowerSizedBy

Definition at line 47 of file ProcessCooling.h.

Constructor & Destructor Documentation

◆ ProcessCooling() [1/2]

ProcessCooling::ProcessCooling ( const vector< int > &  systemOperationAnnualHours,
const vector< double > &  weatherDryBulbHourlyTemp,
const vector< double > &  weatherWetBulbHourlyTemp,
const vector< ChillerInput > &  chillerInputList,
TowerInput  towerInput,
WaterCooledSystemInput  waterCooledSystemInput 
)
inline

Use this constructor for water cooling system

Parameters
systemOperationAnnualHoursinteger array of 8760 hours of the year with values as 0 or 1
weatherDryBulbHourlyTempdouble, units F, array of 8760 hours of the year with dry bulb hourly recorded temperature
weatherWetBulbHourlyTempdouble, units F, array of 8760 hours of the year with wet bulb hourly recorded temperature
chillerInputListChillerInput array
towerInputTowerInput
waterCooledSystemInputWaterCooledSystemInput

Definition at line 474 of file ProcessCooling.h.

◆ ProcessCooling() [2/2]

ProcessCooling::ProcessCooling ( const vector< int > &  systemOperationAnnualHours,
const vector< double > &  weatherDryBulbHourlyTemp,
const vector< double > &  weatherWetBulbHourlyTemp,
const vector< ChillerInput > &  chillerInputList,
AirCooledSystemInput  airCooledSystemInput 
)
inline

Use this constructor for air cooled system

Parameters
systemOperationAnnualHoursinteger array of 8760 hours of the year with values as 0 or 1
weatherDryBulbHourlyTempdouble array of 8760 hours of the year with dry bulb hourly recorded temperature
weatherWetBulbHourlyTempdouble array of 8760 hours of the year with wet bulb hourly recorded temperature
chillerInputListChillerInput array
airCooledSystemInputAirCooledSystemInput

Definition at line 491 of file ProcessCooling.h.

Member Function Documentation

◆ calculateChillerEnergy()

ChillerOutput ProcessCooling::calculateChillerEnergy ( )
Returns
ChillerOutput

◆ calculatePumpEnergy()

ChillerPumpingEnergyOutput ProcessCooling::calculatePumpEnergy ( PumpInput  pump)
Parameters
pumpPumpInput
Returns
ChillerPumpingEnergyOutput

◆ calculateTowerEnergy()

TowerOutput ProcessCooling::calculateTowerEnergy ( )
Returns
TowerOutput

Member Data Documentation

◆ airCooledSystem

AirCooledSystemInput ProcessCooling::airCooledSystem
private

Definition at line 528 of file ProcessCooling.h.

◆ chillerHourlyEfficiency

vector<vector<double> > ProcessCooling::chillerHourlyEfficiency
private

Definition at line 539 of file ProcessCooling.h.

◆ chillerHourlyEfficiencyARI

vector<vector<double> > ProcessCooling::chillerHourlyEfficiencyARI
private

Definition at line 538 of file ProcessCooling.h.

◆ chillerHourlyLoad

vector<vector<double> > ProcessCooling::chillerHourlyLoad
private

Definition at line 536 of file ProcessCooling.h.

◆ chillerHourlyLoadOperational

vector<vector<double> > ProcessCooling::chillerHourlyLoadOperational
private

Definition at line 537 of file ProcessCooling.h.

◆ chillerHourlyPower

vector<vector<double> > ProcessCooling::chillerHourlyPower
private

Definition at line 540 of file ProcessCooling.h.

◆ chillers

vector<ChillerInput> ProcessCooling::chillers
private

Definition at line 535 of file ProcessCooling.h.

◆ coolingType

CoolingSystemType ProcessCooling::coolingType
private

Definition at line 529 of file ProcessCooling.h.

◆ CWTHourly

vector<double> ProcessCooling::CWTHourly
private

Definition at line 532 of file ProcessCooling.h.

◆ dryBulbHourlyTemp

vector<double> ProcessCooling::dryBulbHourlyTemp
private

Definition at line 523 of file ProcessCooling.h.

◆ FCTemp

double ProcessCooling::FCTemp = 0
private

Definition at line 531 of file ProcessCooling.h.

◆ numChillers

int ProcessCooling::numChillers
private

Definition at line 534 of file ProcessCooling.h.

◆ systemOperationAnnual

vector<int> ProcessCooling::systemOperationAnnual
private

Definition at line 522 of file ProcessCooling.h.

◆ tower

TowerInput ProcessCooling::tower {}
private

Definition at line 526 of file ProcessCooling.h.

◆ waterCooledSystem

WaterCooledSystemInput ProcessCooling::waterCooledSystem
private

Definition at line 527 of file ProcessCooling.h.

◆ wetBulbHourlyTemp

vector<double> ProcessCooling::wetBulbHourlyTemp
private

Definition at line 524 of file ProcessCooling.h.


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