OpenStudio:airflow
 All Classes Namespaces Functions Typedefs Enumerations Enumerator
List of all members
openstudio::contam::FanDataPoint Class Reference

#include <PrjSubobjects.hpp>

Public Member Functions

Constructors
 FanDataPoint ()
 Create a new object with default values. More...
 
 FanDataPoint (double mF, int u_mF, double dP, int u_dP, double rP, int u_rP)
 Create a new object. More...
 
 FanDataPoint (std::string mF, int u_mF, std::string dP, int u_dP, std::string rP, int u_rP)
 Create a new object. More...
 
Input and Output
void read (Reader &reader)
 Read an object from a Reader. More...
 
std::string write ()
 Write the object to a string. More...
 
Getters and Setters
double mF () const
 Returns the measured flow rate [kg/s]. More...
 
bool setMF (const double mF)
 Sets the measured flow rate [kg/s]. More...
 
bool setMF (const std::string &mF)
 Sets the measured flow rate [kg/s]. More...
 
int u_mF () const
 Returns the measured flow rate display units. More...
 
void setU_mF (const int u_mF)
 Sets the measured flow rate display units. More...
 
double dP () const
 Returns the measured pressure rise [Pa]. More...
 
bool setDP (const double dP)
 Sets the measured pressure rise [Pa]. More...
 
bool setDP (const std::string &dP)
 Sets the measured pressure rise [Pa]. More...
 
int u_dP () const
 Returns the measured pressure rise display units. More...
 
void setU_dP (const int u_dP)
 Sets the measured pressure rise display units. More...
 
double rP () const
 Returns the revised pressure rise [Pa]. More...
 
bool setRP (const double rP)
 Sets the revised pressure rise [Pa]. More...
 
bool setRP (const std::string &rP)
 Sets the revised pressure rise [Pa]. More...
 
int u_rP () const
 Returns the revised pressure rise display units. More...
 
void setU_rP (const int u_rP)
 Sets the revised pressure rise display units. More...
 

Detailed Description

FanDataPoint is an object for defining fan characteristics.

It contains a single pressure and flow rate data point.

Constructor & Destructor Documentation

openstudio::contam::FanDataPoint::FanDataPoint ( )

Create a new object with default values.

openstudio::contam::FanDataPoint::FanDataPoint ( double  mF,
int  u_mF,
double  dP,
int  u_dP,
double  rP,
int  u_rP 
)

Create a new object.

openstudio::contam::FanDataPoint::FanDataPoint ( std::string  mF,
int  u_mF,
std::string  dP,
int  u_dP,
std::string  rP,
int  u_rP 
)

Create a new object.

Member Function Documentation

double openstudio::contam::FanDataPoint::dP ( ) const

Returns the measured pressure rise [Pa].

double openstudio::contam::FanDataPoint::mF ( ) const

Returns the measured flow rate [kg/s].

void openstudio::contam::FanDataPoint::read ( Reader reader)

Read an object from a Reader.

double openstudio::contam::FanDataPoint::rP ( ) const

Returns the revised pressure rise [Pa].

bool openstudio::contam::FanDataPoint::setDP ( const double  dP)

Sets the measured pressure rise [Pa].

bool openstudio::contam::FanDataPoint::setDP ( const std::string &  dP)

Sets the measured pressure rise [Pa].

bool openstudio::contam::FanDataPoint::setMF ( const double  mF)

Sets the measured flow rate [kg/s].

bool openstudio::contam::FanDataPoint::setMF ( const std::string &  mF)

Sets the measured flow rate [kg/s].

bool openstudio::contam::FanDataPoint::setRP ( const double  rP)

Sets the revised pressure rise [Pa].

bool openstudio::contam::FanDataPoint::setRP ( const std::string &  rP)

Sets the revised pressure rise [Pa].

void openstudio::contam::FanDataPoint::setU_dP ( const int  u_dP)

Sets the measured pressure rise display units.

void openstudio::contam::FanDataPoint::setU_mF ( const int  u_mF)

Sets the measured flow rate display units.

void openstudio::contam::FanDataPoint::setU_rP ( const int  u_rP)

Sets the revised pressure rise display units.

int openstudio::contam::FanDataPoint::u_dP ( ) const

Returns the measured pressure rise display units.

int openstudio::contam::FanDataPoint::u_mF ( ) const

Returns the measured flow rate display units.

int openstudio::contam::FanDataPoint::u_rP ( ) const

Returns the revised pressure rise display units.

std::string openstudio::contam::FanDataPoint::write ( )

Write the object to a string.