OpenStudio:airflow
Loading...
Searching...
No Matches
openstudio::contam::FanDataPoint Class Reference

#include <PrjSubobjects.hpp>

Public Member Functions

Constructors
 FanDataPoint ()
 Create a new object with default values.
 
 FanDataPoint (double mF, int u_mF, double dP, int u_dP, double rP, int u_rP)
 Create a new object.
 
 FanDataPoint (std::string mF, int u_mF, std::string dP, int u_dP, std::string rP, int u_rP)
 Create a new object.
 
Input and Output
void read (Reader &reader)
 Read an object from a Reader.
 
std::string write ()
 Write the object to a string.
 

Getters and Setters

double mF () const
 Returns the measured flow rate [kg/s].
 
bool setMF (const double mF)
 Sets the measured flow rate [kg/s].
 
bool setMF (const std::string &mF)
 Sets the measured flow rate [kg/s].
 
int u_mF () const
 Returns the measured flow rate display units.
 
void setU_mF (const int u_mF)
 Sets the measured flow rate display units.
 
double dP () const
 Returns the measured pressure rise [Pa].
 
bool setDP (const double dP)
 Sets the measured pressure rise [Pa].
 
bool setDP (const std::string &dP)
 Sets the measured pressure rise [Pa].
 
int u_dP () const
 Returns the measured pressure rise display units.
 
void setU_dP (const int u_dP)
 Sets the measured pressure rise display units.
 
double rP () const
 Returns the revised pressure rise [Pa].
 
bool setRP (const double rP)
 Sets the revised pressure rise [Pa].
 
bool setRP (const std::string &rP)
 Sets the revised pressure rise [Pa].
 
int u_rP () const
 Returns the revised pressure rise display units.
 
void setU_rP (const int u_rP)
 Sets the revised pressure rise display units.
 

Detailed Description

FanDataPoint is an object for defining fan characteristics.

It contains a single pressure and flow rate data point.

Constructor & Destructor Documentation

◆ FanDataPoint() [1/3]

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

Create a new object with default values.

◆ FanDataPoint() [2/3]

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

Create a new object.

◆ FanDataPoint() [3/3]

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

◆ dP()

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

Returns the measured pressure rise [Pa].

◆ mF()

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

Returns the measured flow rate [kg/s].

◆ read()

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

Read an object from a Reader.

◆ rP()

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

Returns the revised pressure rise [Pa].

◆ setDP() [1/2]

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

Sets the measured pressure rise [Pa].

◆ setDP() [2/2]

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

Sets the measured pressure rise [Pa].

◆ setMF() [1/2]

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

Sets the measured flow rate [kg/s].

◆ setMF() [2/2]

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

Sets the measured flow rate [kg/s].

◆ setRP() [1/2]

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

Sets the revised pressure rise [Pa].

◆ setRP() [2/2]

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

Sets the revised pressure rise [Pa].

◆ setU_dP()

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

Sets the measured pressure rise display units.

◆ setU_mF()

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

Sets the measured flow rate display units.

◆ setU_rP()

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

Sets the revised pressure rise display units.

◆ u_dP()

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

Returns the measured pressure rise display units.

◆ u_mF()

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

Returns the measured flow rate display units.

◆ u_rP()

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

Returns the revised pressure rise display units.

◆ write()

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

Write the object to a string.