Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

You can find the hardcoded coefficients in the source code.

See DesiccantDehumidifiers.cc#L2154:L2169

You'll notice that the hardcoded coefficients are 0-indexed while the engineering reference is 1-indexed, so offset it by 1...

You can find the hardcoded coefficients in the source code.

See DesiccantDehumidifiers.cc#L2154:L2169

You'll notice that the hardcoded coefficients are 0-indexed while the engineering reference is 1-indexed, so offset it by 1...

// Calculate leaving conditions
TC0 = -38.7782841989449;
TC1 = 2.0127655837628;
TC2 = 5212.49360216097;
TC3 = 15.2362536782665;
TC4 = -80.4910419759181;
TC5 = -0.105014122001509;
TC6 = -229.668673645144;
TC7 = -0.015424703743461;
TC8 = -69440.0689831847;
TC9 = -1.6686064694322;
TC10 = 38.5855718977592;
TC11 = 0.000196395381206009;
TC12 = 386.179386548324;
TC13 = -0.801959614172614;
TC14 = -3.33080986818745;
TC15 = -15.2034386065714;

ProcAirOutTemp = TC0 + TC1 * ProcAirInTemp + TC2 * ProcAirInHumRat + TC3 * ProcAirVel + TC4 * ProcAirInTemp * ProcAirInHumRat +
                 TC5 * ProcAirInTemp * ProcAirVel + TC6 * ProcAirInHumRat * ProcAirVel + TC7 * ProcAirInTemp * ProcAirInTemp +
                 TC8 * ProcAirInHumRat * ProcAirInHumRat + TC9 * ProcAirVel * ProcAirVel +
                 TC10 * ProcAirInTemp * ProcAirInTemp * ProcAirInHumRat * ProcAirInHumRat +
                 TC11 * ProcAirInTemp * ProcAirInTemp * ProcAirVel * ProcAirVel +
                 TC12 * ProcAirInHumRat * ProcAirInHumRat * ProcAirVel * ProcAirVel + TC13 * std::log(ProcAirInTemp) +
TC14 * std::log(ProcAirInHumRat) + TC15 * std::log(ProcAirVel);