OpenStudio:utilities
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | Static Public Member Functions | List of all members
openstudio::AirState Class Reference

#include <EpwFile.hpp>

Public Member Functions

 AirState ()
 Create a air state object at 25C, 101325 Pa, 50% RH. More...
 
double density () const
 Returns the density in kg/m3. More...
 
double dewpoint () const
 Returns the dew point temperature in C. More...
 
double drybulb () const
 Returns the dry bulb temperature in C. More...
 
double enthalpy () const
 Returns the enthalpy kJ/kg. More...
 
double humidityRatio () const
 Returns the humidity ratio. More...
 
double pressure () const
 Returns the pressure in Pa. More...
 
double relativeHumidity () const
 Returns the relative humidity in percent. More...
 
double saturationPressure () const
 Returns the saturation pressure in Pa. More...
 
double specificVolume () const
 Returns the specific volume m3/kg. More...
 
double wetbulb () const
 Returns the wet bulb temperature in C. More...
 

Static Public Member Functions

static boost::optional< AirStatefromDryBulbDewPointPressure (double drybulb, double dewpoint, double pressure)
 Attempt to create a moist air state for dry bulb temperature, dew point temperature, and pressure. More...
 
static boost::optional< AirStatefromDryBulbRelativeHumidityPressure (double drybulb, double RH, double pressure)
 Attempt to create a moist air state for dry bulb temperature, relative, and pressure. More...
 
static double R ()
 Returns the air gas constant. More...
 

Detailed Description

The AirState object represents a moist air state.

Constructor & Destructor Documentation

openstudio::AirState::AirState ( )

Create a air state object at 25C, 101325 Pa, 50% RH.

Member Function Documentation

double openstudio::AirState::density ( ) const

Returns the density in kg/m3.

double openstudio::AirState::dewpoint ( ) const

Returns the dew point temperature in C.

double openstudio::AirState::drybulb ( ) const

Returns the dry bulb temperature in C.

double openstudio::AirState::enthalpy ( ) const

Returns the enthalpy kJ/kg.

static boost::optional<AirState> openstudio::AirState::fromDryBulbDewPointPressure ( double  drybulb,
double  dewpoint,
double  pressure 
)
static

Attempt to create a moist air state for dry bulb temperature, dew point temperature, and pressure.

static boost::optional<AirState> openstudio::AirState::fromDryBulbRelativeHumidityPressure ( double  drybulb,
double  RH,
double  pressure 
)
static

Attempt to create a moist air state for dry bulb temperature, relative, and pressure.

double openstudio::AirState::humidityRatio ( ) const

Returns the humidity ratio.

double openstudio::AirState::pressure ( ) const

Returns the pressure in Pa.

static double openstudio::AirState::R ( )
static

Returns the air gas constant.

double openstudio::AirState::relativeHumidity ( ) const

Returns the relative humidity in percent.

double openstudio::AirState::saturationPressure ( ) const

Returns the saturation pressure in Pa.

double openstudio::AirState::specificVolume ( ) const

Returns the specific volume m3/kg.

double openstudio::AirState::wetbulb ( ) const

Returns the wet bulb temperature in C.