Float:Dewpoint(Float:RH, Float:T, [Farenheit=false])
This function calculates the dew point.
Parameter
Description
RH
Relative humidity, between 0.00 and 1.00
Temp
Temperature, degrees Celcius (or Farenheit if Farenheit parameter is true)
Farenheit (optional)
false (default) input and output is in degrees Celcius.
true input and output is in degrees Farenheit.
Example usage:
// Read temperature in F from MicroLan sensor on IN6
new Float:T = GetInputValue(6) / 8.8888 - 67.0;
// Read RH in percent from MicroLan sensor on IN7
new Float:RH = (GetInputValue(7) / 5000.0 - 0.16)/0.0062;
// Calculate Dewpoint in F
new Float:DP = Dewpoint(RH/100.0, T, 1);
// Put result in IN13
SetInputValue(13, fround(DP * 100.0));
Float:Enthalpy(Float:Alt, Float:RH, Float:Temp, [BTU=false])
This function calculates the energy content in moist air.
Parameter
Description
Alt
Altitude in meters
RH
Relative humidity, between 0 and 1
Temp
Temperature, degrees Celcius
BTU (optional)
false (default) returns value in SI units (kJ/kg dry air). true returns value in English
units (Btu/lb dry air)
Page 113 of 121
Содержание AAC
Страница 1: ...ezeio user manual Manual version 170314 ezeio models AAC AAF Page 1 of 121 ...
Страница 72: ...Page 72 of 121 ...