VaporConditions : Vepor related calculation library / 水蒸気関係の各種計算用ライブラリ Library for Calculate some vapor related values from Temperature, Relative Humidity and Air Pressure 温度、相対湿度、大気圧から水蒸気関係のいくつかの値を計算します。 The formulas are based on 計算式は以下を参考にしています。 http://www.mistral.co.jp/kestrel-japan/MistralHumiRatio.pdf http://www.kanomax.co.jp/img_data/file_731_1417598330.pdf

Dependents:   Condensation_Monitor BLE_Condensation_Monitor

VaporCondition.h

Committer:
takafuminaka
Date:
2015-04-30
Revision:
0:11570780a596

File content as of revision 0:11570780a596:

/**
 *  VaporConditions Vepor related calculation library 
 *
 *  @author  Takafumi Naka
 *  @version 1.0
 *  @date    30-Apr-2015
 *
 *  Library for Calculate some vapor related values from Temperature, Relative Humidity and Air Pressure
 *  The formulas are based on 
 *  http://www.mistral.co.jp/kestrel-japan/MistralHumiRatio.pdf
 *  http://www.kanomax.co.jp/img_data/file_731_1417598330.pdf
 */
 
#ifndef Vapor_Condition_H
#define Vapor_Condition_H

#include "mbed.h"
#include "math.h"

class VaporCondition
{
public:
    float t; // Temperature (degC) // 
    float h; // Relative Humidity (%) //
    float p; // Air Pressure (hPa) //

    /* Saturated vapor pressure */ 
    float Pvsat(void); 
    float Pv(void);
    float Rh(void);
    float Tdp(void);

private:
};


#endif // Vapor_Condition_H