dew-point-temperature1

liedenator/dew-point-temperature/dew-point-temperature1

calculates the dew point temperature from the Temperature and rel.humidity
dew-point-temperature1
@/dew-point-temperature1
calculates the dew point temperature from the Temperature and rel.humidity
Tempnumber
RHnumber
dew-point-temperature1
Temp
RH
dew point
dew pointnumber
To use the node in your project you should have the liedenator/dew-point-temperature library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.

C++ implementation

struct State {
};

{{ GENERATED_CODE }}

void evaluate(Context ctx) {
    auto t = getValue<input_Temp>(ctx);
    auto h = getValue<input_RH>(ctx);
   float z = (17.271 * t) / (237.7 + t) + log(h / 100);
             emitValue<output_dew_point>(ctx, ( 237.7 * z) / ( 17.271 - z) );

}