RTS Cooling Engine Validation

Generated November 12, 2026 · Engine version 2, source fingerprint f28fb227a624d4ca

The commercial cooling loads in HVAC Engineering Calc come from an ASHRAE radiant time series (RTS) cooling load engine. This page describes how that engine is tested, what the tests found, and what has not been tested yet. The suites run against the same engine code the site serves, before every deploy. The numbers below come from the most recent run: 7,940 cases, 7,877 passed, 63 confirmed findings, 0 other failures.

SuiteCasesPassedFindingsOther failuresResult
Loader and harness check7700Pass
Clear-sky irradiance74774700Pass
RTS energy conservation and coefficient tables6,8556,85500Pass
Solar geometry265204610Pass, with findings
Steady conduction, sol-air and airflow666420Pass, with findings
All suites7,9407,877630Gate passed

What is verified

Each suite compares the engine with a reference implementation written separately from public sources, or with a first-principles identity. The test code does not copy the engine's formulas into its references.

Loader and harness check

Before any comparison, the test harness reads the cooling-load engine directly out of the deployed application file, slicing it by text markers, and runs it unmodified in an isolated Node.js sandbox. A missing marker stops the run instead of skipping tests. This check confirms the engine loads, that one simple room gives finite 24-hour results for every component, and that the components add up to the engine's own total. 7 of 7 checks passed.

Solar geometry

Solar altitude, solar azimuth and the angle of incidence on the eight vertical orientations and the horizontal are compared with an independent implementation of the NOAA Solar Calculator equations, which follow Jean Meeus, Astronomical Algorithms (2nd ed.). The engine does not expose its angles, so they are recovered from its beam irradiance. The comparison covers the 21st of every month at 5 latitudes (42.747°N (Albany), 25°N, 33°N, 47°N, 60°N), every hour the engine treats as sun-up, at the same apparent solar time. Tolerance: 0.5°. 265 cases, 204 passed, 61 findings. Largest observed error: altitude 0.96° (mean 0.30°), azimuth 0.95° (mean 0.24°), incidence 1.02° (mean 0.24°). The findings are explained below.

Clear-sky irradiance

Hourly beam, sky-diffuse and ground-reflected irradiance on each surface is compared with an independent implementation of the ASHRAE clear-sky (τ) model as published in the open literature (Gueymard & Thevenard, Solar Energy 83, 2009; the model described in ASHRAE Handbook—Fundamentals, Chapter 14, Climatic Design Information), with the Kasten & Young (1989) air-mass formula, the ASHRAE vertical-surface sky-diffuse ratio and ground reflectance 0.2. Two layers are checked. First, against the ASHRAE extraterrestrial-irradiance form, each hourly value must agree within the larger of 1% or 3 W/m²; the largest difference observed is 1.45 W/m² (444 cases). Second, with the Duffie & Beckman extraterrestrial form that the engine uses, agreement must be within 10−6 W/m² at Albany and at ten more latitudes from 60°S to 80°N; the largest difference observed is 2.1×10−12 W/m² (132 cases). The engine's cutoff, which sets irradiance to zero when the sun is within about 0.6° of the horizon, is checked too. 747 cases in total, 747 passed.

RTS energy conservation and coefficient tables

These checks use first principles of the radiant time series method (Spitler, Fisher & Pedersen, “The Radiant Time Series Cooling Load Calculation Procedure”, ASHRAE Transactions 103(2), 1997) and of linear systems. Because every conduction and radiant time series sums to one, the daily total of the cooling load must equal the daily total of the heat gain. A constant gain must give the same constant load. The convective part must appear in the same hour. A one-hour pulse must reproduce the time-series shape. These are checked for every component type, zone weight, carpet and glazing setting, wall and roof type. The tolerance is 10−9 (relative); the largest error observed is 1.0×10−15, which is floating-point rounding. Each stored coefficient series is also checked, term by term, against the printed table column held in the application, divided by its own sum, so a shifted or mislabeled column would fail. 6,855 cases, 6,855 passed.

Steady conduction, sol-air and airflow

These checks use first principles. With a constant outdoor temperature, a wall, roof or window must give exactly U·A·ΔT every hour. This is checked for all wall, roof and window types in the library, including a negative ΔT. Infiltration and ventilation must follow ρ·cp·60·CFM·ΔT (1.08 Btu/h per CFM·°F for standard air). The sol-air temperature must follow its published definition, te = to + αEt/ho − εΔR/ho, with ho = 17 W/m²·K. The daily temperature-range profile is checked for its peak, its minimum and the station override. Tolerances are 0.5% for heat flows and 0.01 K for temperatures. Apart from the findings below, the largest heat-flow error observed is 7.0×10−16 (relative). 66 cases, 64 passed, 2 findings. 42 of the cases are the change-detection comparison for the reference building below.

Reference building: change-detection baseline

The reference building is a single-zone office. It is a 40 ft × 30 ft one-storey box with a 10 ft ceiling and a flat roof (Flat, R-25 Polyiso Above Deck, U = 0.039). The walls are Brick Veneer / Metal Stud R-13 + R-10 ci (U = 0.05). Glazing is 30% of every facade (U = 0.3, SHGC = 0.38). There are 6 people, lighting is 0.8 W/ft², equipment is 1 W/ft² and infiltration is 0.25 ACH. Design conditions: Albany, NY, July design day, 88 °F outdoor, 75 °F indoor, ALBANY INTL (WMO 725180) clear-sky data, medium zone weight. It is a test fixture, not an ASHRAE Handbook example building.

Change-detection baseline, not an accuracy proof. These are the values the current engine produces for this fixture. They are frozen, and every later run must reproduce them to within 10−9 of each component's peak, so any change in the engine's results is caught and has to be explained. Agreement with the frozen values shows the engine has not changed. It does not show the values are right.

Component (sensible)Peak hourPeak load, WPeak load, Btu/hAt building peak, W
Walls (N, E, S, W)20:003521,201206
Roof16:007612,597714
Glazing conduction15:004251,449425
Glazing solar15:003,98213,5873,982
Lightsconstant all day9603,276960
People (sensible)constant all day4401,501440
Equipmentconstant all day1,2004,0951,200
Infiltration (sensible)15:00206702206
Building total15:008,13327,7498,133

Hours are hour-ending, apparent solar time. Each component's peak is shown at its own hour, so the peak-load column does not add up to the building total; the last column gives each component at the building peak hour. Internal gains are flat design values for 24 hours in this fixture, so they have no peak hour. This run reproduced the frozen baseline (written November 12, 2026) exactly.

Confirmed findings

A finding is a case where the engine disagrees with the independent reference by more than the tolerance, and review has confirmed the cause is in the engine, not the test. Findings are reported as failures and never hidden, and tolerances are not widened to make them pass.

1. Solar declination near the equinoxes (61 cases)

On the 21st of Feb, Mar, Apr, May, Aug, Sep, Oct, Nov, the engine's solar altitude, azimuth or incidence angle differs from the NOAA/Meeus reference by more than the 0.5° tolerance. The largest differences are 0.96° in altitude, 0.95° in azimuth and 1.02° in incidence. The cause is the solar declination alone. The engine uses the Cooper (1969) approximation, δ = 23.45°·sin(360°(284 + n)/365), which is widely published and simple, but up to about 1° off the true declination in spring and autumn. The declination differs from the NOAA value by up to 0.94° (Oct 21); for the summer design days the differences are Jun 0.01°, Jul 0.05°, Aug 0.23°. Hour angle, latitude handling and the spherical trigonometry all agree with the reference; in June and December the error is about 0.01°.

What is being done: the engine has not been changed yet. In a review experiment on a scratch copy of the engine, a more accurate declination formula brought the altitude error back inside the tolerance. Replacing it is under evaluation. Until then, these cases stay in the suite at the same tolerance and are reported on every pre-deploy run.

2. Long-wave correction for roofs (2 cases)

For horizontal surfaces, the sol-air temperature includes a long-wave correction (εΔR/ho). The engine uses 4.0 K. The published figure is approximate: it is given as about 3.9 K (SI) or about 7 °F (IP), and the unrounded value is about 3.7 K. The engine's value is outside that range, so roof sol-air temperatures come out 0.1 to 0.3 K low every hour. In the steady test at a 20 °F temperature difference, the roof load is 1.4% below the published range (tolerance 0.5%). That direction under-predicts cooling load, but the effect is small. The relative effect grows as the indoor-outdoor temperature difference gets smaller. Walls are not affected.

What is being done: the engine has not been changed yet. Aligning the constant with the published figure is under evaluation. The cases stay in the suite at the same tolerance and are reported on every pre-deploy run.

Other observations

What is not yet verified

How to use these results

Calculation results from HVAC Engineering Calc are design estimates. Passing these tests shows the engine behaves as described above; it does not make any project's calculation correct. The engineer or contractor of record must review, verify and stamp calculations before they are used in construction documents or permit applications.

Generated 2026-11-12T10:29:05.570Z (UTC). Engine version 2; SHA-256 of the engine source as deployed: f28fb227a624d4cab696c9ba4f2b77a4f9fdd5fe12231f0d0683b364c70a303c. Test runner: Node.js v24.19.0. Questions: support@hvacengineeringcalc.com.

Open the calculator → About the load calculator

Related calculators

Room-by-room load calculator · Residential load calculator · RTS cooling load · Heat pump sizing · ASHRAE 62.1 ventilation