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
Diff: VaporCondition.h
- Revision:
- 0:11570780a596
diff -r 000000000000 -r 11570780a596 VaporCondition.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/VaporCondition.h Thu Apr 30 16:47:28 2015 +0000 @@ -0,0 +1,39 @@ +/** + * 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 + + \ No newline at end of file