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

Classes

struct  Input
 
struct  Output
 

Public Types

enum  MotorControlType { OnOff , TwoSpeed , VSD , None }
 
enum  FlowMode { Percent , Volume }
 

Public Member Functions

 FanAffinityLaws (const Input &input)
 
 FanAffinityLaws (const double electricityCost, const double driveEfficiency, const double motorEfficiency, const double flowPercentBaseline, const double operatingHours, const double motorPower, const double ratedFlow, const MotorControlType motorControlTypeCurrent, const MotorControlType motorControlTypeNew, const FlowMode flowMode, const double desiredFlowRate)
 
Output calculate () const
 Compute annual baseline and changed energy based on current and changed state of motor Control at a desired flow rate by percent or by volume.
 
Output changeFanSize (const double fanDiameterCurrent, const double fanDiameter) const
 Compute annual baseline and changed energy based on current and changed state of motor Control at a desired flow rate by percent or by volume with changing fan size.
 

Private Member Functions

Output compute (const double fanDiameterRatio) const
 

Static Private Member Functions

static double get50PercentTimeFactor (const double flowPercent)
 

Private Attributes

const double electricityCost
 
const double driveEfficiency
 
const double motorEfficiency
 
const double flowPercentBaseline
 
const double operatingHours
 
const double motorPower
 
const double ratedFlow
 
const MotorControlType motorControlTypeCurrent
 
const MotorControlType motorControlTypeNew
 
double desiredFlowPercent = 0
 
double desiredFlowVolume = 0
 

Detailed Description

Definition at line 23 of file fan_affinity_laws.h.

Member Enumeration Documentation

◆ FlowMode

enum FanAffinityLaws::FlowMode

Definition at line 32 of file fan_affinity_laws.h.

◆ MotorControlType

enum FanAffinityLaws::MotorControlType

Definition at line 25 of file fan_affinity_laws.h.

Constructor & Destructor Documentation

◆ FanAffinityLaws() [1/2]

FanAffinityLaws::FanAffinityLaws ( const Input input)
inline

Constructor for FanAffinityLaws. Use this constructor with input object.

Parameters
inputInput struct containing all necessary input parameters for FanAffinityLaws

Definition at line 80 of file fan_affinity_laws.h.

◆ FanAffinityLaws() [2/2]

FanAffinityLaws::FanAffinityLaws ( const double  electricityCost,
const double  driveEfficiency,
const double  motorEfficiency,
const double  flowPercentBaseline,
const double  operatingHours,
const double  motorPower,
const double  ratedFlow,
const MotorControlType  motorControlTypeCurrent,
const MotorControlType  motorControlTypeNew,
const FlowMode  flowMode,
const double  desiredFlowRate 
)
inline

Constructor for FanAffinityLaws - Use this constructor when fan size is not changing.

Parameters
electricityCostdouble, electric usage rate in $/kWh
driveEfficiencydouble, Efficiency of the drive percentage (1 - 100)
motorEfficiencydouble, Efficiency of the motor percentage (1 - 100)
flowPercentBaselinedouble, Flow rate change by percent (0 - 100)
operatingHoursdouble, Hours for which the fan system operates per year - hours (1 - 8760 hours)
motorPowerdouble, Motor Power in kW
ratedFlowdouble, Flow Rate in CFM
motorControlTypeCurrentMotorControlType enum, current motor control for the fan system
motorControlTypeNewMotorControlType enum, changed motor control for the fan system
flowModeFlowMode enum, mode for flow change - by percent or by volume
desiredFlowRatedouble, Desired flow rate based on flow mode If flow mode is volume desired flow rate is flow volume in CFM If flow mode is percentage desired flow rate is flow percentage (0 - 100)

Definition at line 101 of file fan_affinity_laws.h.

Member Function Documentation

◆ calculate()

Output FanAffinityLaws::calculate ( ) const
inline
Returns
Output struct containing annual energy baseline and changed annual energy in kWh

Definition at line 151 of file fan_affinity_laws.h.

◆ changeFanSize()

Output FanAffinityLaws::changeFanSize ( const double  fanDiameterCurrent,
const double  fanDiameter 
) const
inline
Parameters
fanDiameterCurrentdouble, Current fan diameter in inches
fanDiameterdouble, Changed fan diameter in inches
Returns
Output struct containing annual energy baseline and changed annual energy in kWh

Definition at line 160 of file fan_affinity_laws.h.

◆ compute()

Output FanAffinityLaws::compute ( const double  fanDiameterRatio) const
inlineprivate

Definition at line 175 of file fan_affinity_laws.h.

◆ get50PercentTimeFactor()

static double FanAffinityLaws::get50PercentTimeFactor ( const double  flowPercent)
inlinestaticprivate

Definition at line 212 of file fan_affinity_laws.h.

Member Data Documentation

◆ desiredFlowPercent

double FanAffinityLaws::desiredFlowPercent = 0
private

Definition at line 173 of file fan_affinity_laws.h.

◆ desiredFlowVolume

double FanAffinityLaws::desiredFlowVolume = 0
private

Definition at line 173 of file fan_affinity_laws.h.

◆ driveEfficiency

const double FanAffinityLaws::driveEfficiency
private

Definition at line 170 of file fan_affinity_laws.h.

◆ electricityCost

const double FanAffinityLaws::electricityCost
private

Definition at line 169 of file fan_affinity_laws.h.

◆ flowPercentBaseline

const double FanAffinityLaws::flowPercentBaseline
private

Definition at line 170 of file fan_affinity_laws.h.

◆ motorControlTypeCurrent

const MotorControlType FanAffinityLaws::motorControlTypeCurrent
private

Definition at line 172 of file fan_affinity_laws.h.

◆ motorControlTypeNew

const MotorControlType FanAffinityLaws::motorControlTypeNew
private

Definition at line 172 of file fan_affinity_laws.h.

◆ motorEfficiency

const double FanAffinityLaws::motorEfficiency
private

Definition at line 170 of file fan_affinity_laws.h.

◆ motorPower

const double FanAffinityLaws::motorPower
private

Definition at line 171 of file fan_affinity_laws.h.

◆ operatingHours

const double FanAffinityLaws::operatingHours
private

Definition at line 171 of file fan_affinity_laws.h.

◆ ratedFlow

const double FanAffinityLaws::ratedFlow
private

Definition at line 171 of file fan_affinity_laws.h.


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