Skip to content

About

A free Windows cooling-load calculator for ASHRAE CLTD/CLF work — validated against a 40-zone building at 1.89 % median deviation

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

CoolLoad Studio

Latest release ci Licence Platform

A free Windows cooling-load calculator for ASHRAE CLTD/CLF work — built for students who need the numbers, not a licence key.

The printed load sheet — one page, ready for a report

CoolLoad computes hourly cooling loads for a building zone by zone: walls, roof, glass (conduction and solar), people, lights, equipment, infiltration and ventilation, then reports the peak, the monthly band, and a print-ready summary sheet. It replaces the discontinued commercial calculator that many Philippine ME curricula still require, and it runs offline on a stock Windows machine with no installer.


Verification

The engine is validated zone-by-zone against a real 40-zone building (a mixed-use tower, eight floors, five zone types per floor). Every zone was rebuilt from the reference program's own printed inputs and compared at the same month and hour, so the comparison tests the physics and not the peak-selection rule. One detail of the answer key is worth stating plainly: those projects were calculated with a Nagpur, India weather station (21.10 N, 79.05 E, 1017 ft, 108/71 F summer design), which is what line 8 of the reference's own input dump says, and the station is part of what the comparison reproduces.

Two numbers per metric, because they answer different questions:

metric matched hour — does the physics agree? each tool's own peak — what you'll see comparing by hand
zones scored 39 of 40 (one corrupt row in the reference export, excluded and flagged) same
median zone error 1.89 % 4.69 %
zones within 5 % 31 / 39 20 / 39
worst zone 7.6 % 25.3 % (GF-Z4, 27.76 vs 22.15 Ton)
whole-building total 1306.76 vs 1326.40 Ton → −1.48 % 1413.26 vs 1326.40 Ton → +6.55 %
the seven windowless zones (Z1) median 0.07 % —

The gap between the two columns is the point, and the decomposition says where it comes from. Matched-hour isolates the heat-transfer terms. The own-peak column compares each program's own annual maximum, and the two disagree mostly about which month governs: across the 9 zones where the month agrees, the own-peak deviation collapses to a median of 0.04 %, while across the 30 where it does not, the median is 5.5 %. At the reference's own peak hour the agreement is tight even for the worst zone — GF-Z4 is +1.6 % there, and only becomes +25.3 % when each program is allowed to pick its own month. So the residual is the choice of critical period, not the arithmetic behind it.

Scope of the validation: one building, one climate (Manila, PH), English units. It is a case study with every input and output published, not a general accuracy guarantee — a second climate or an SI project may behave differently, and reports of either are welcome.

The full sheet, including every zone's component-by-component comparison, is in checks/atrium-verification.html. The data behind it is checks/reg/compare.json, and python tools/check_metadata.py re-derives every number in this README from that file — a stale claim fails CI. To regenerate against your own export: CLO_REFERENCE=<dir> python checks/regress.py && python checks/report_atrium.py.

Known limits, stated up front:

  • Peak month agrees on only 9 of the 39 scored zones (10 of 40 if the excluded 8F-Z1 is counted, which is why the population is stated here). Two things cause it and both are stated as they are. The reference carries a per-month station temperature table that it does not publish with its outputs. And this program, up to v1.0.1, ran one design day in every month: glass conduction, infiltration and ventilation were fed a month-invariant outdoor temperature, so every bit of annual variation it produced came from solar geometry. That is a real limitation of that release, not only of the comparison. v1.1.0 fixes both halves for the station that has a defensible published table — Manila now runs its own per-month 0.4 % conditions, and the design wet bulb is ASHRAE's 79.2 F rather than the 78.0 F this project had been using, which was 1.2 F too dry and had been understating latent load by about 3.5 %. Other stations still run one design day until a table for them is sourced; the month table on the Outside Design Conditions page lets you enter one yourself. Where a month matters, trust the tonnage: it is the design day's, and the design day is what sizing needs.
  • One zone in the reference export is internally inconsistent (a 177 Ton total against ~19 Ton of its own components). It is excluded from the median and shown flagged on the sheet, not silently dropped.
  • No duct sizing, no psychrometric plotting, no annual energy simulation, no city weather database — you enter the station's design conditions yourself.

What it is

  • Method: ASHRAE CLTD/CLF/SCL cooling-load calculation, as published in the Handbook of Fundamentals. Thermal mass is modelled as a first-order lag for walls and roof so that the conduction response lags the sol-air temperature.
  • Units: English and SI, set independently for input and output.
  • Output: peak summary, 24-hour profile for any month, monthly band, and a print/export sheet designed to be pasted into a lab report.
  • Runs on: Windows 10/11, x64. No installer, no runtime, no network access, no account. One executable.

Screens

The hourly matrix, with the design peak marked:

Hourly load table, twelve months by 24 hours

Twelve months of hourly profiles on one axis, for seeing the peak and the band around it:

Hourly cooling-load profiles, twelve months

The heating side, for completeness:

Heating load report

How it computes

The implementation note — every term, the assumptions behind it, and where the engine is known to drift — is in docs/method.md. It is written from the code, and the claims in it are covered by the test suite.

Install

  1. Download CoolLoad-Studio-1.2.0-win64.zip (about 5.4 MB) from Releases.
  2. Optionally verify it: compare sha256 against the checksum published in the release notes — it changes only when the binary does.
  3. Unzip anywhere and run cload.exe.

The executable is unsigned, so SmartScreen will interrupt the first run with "Windows protected your PC" — choose More info → Run anyway. It asks for nothing, opens no ports and makes no network calls; you can verify that with any firewall or by pulling your network cable.

There is a guided tutorial inside the app (Help → Tutorial) that walks through a first project step by step, and a sample project you can open without entering anything.

Build from source

git clone https://github.com/Xheir/CoolLoad-Studio.git
cd CoolLoad-Studio/app
cargo build --release      # Rust stable; MSVC builds it as-is
cargo test                 # expect: test result: ok. 131 passed; 0 failed

The binary lands in app/target/release/cload.exe. The x86_64-pc-windows-gnu target additionally needs MinGW windres to embed the icon and version block; without it the build still succeeds and simply ships no version block. The source has no C dependencies.

Provenance

CoolLoad Studio is an independent reimplementation of the ASHRAE CLTD/CLF/SCL cooling-load method — walls, roof, glass conduction and solar, internal gains, infiltration and ventilation — written from scratch in Rust against the published method.

It was developed by behavioural comparison: the same project inputs were run through the legacy commercial calculator our curriculum still requires, and the outputs compared zone by zone. Where that program applies a convention the plain textbook formulation does not — its opaque-surface thermal lag, its solar indexing, the tabulated factors it uses — the convention is implemented here as a documented constant with a test beside it, rather than as an opaque adjustment. That is a deliberate trade: a project that reproduces the numbers the course expects is more useful to a student than one that disagrees with the professor's answer key on principle. It is also why the verification table above has two columns instead of one.

This repository distributes no vendor material: no executable or library from any commercial program, no decompiler output or disassembly listing, no extracted icons, dialogs, help text or resource tables, no licence keys or DRM material, and no scanned or reproduced Handbook pages. The tabulated CLTD and CLF factor values the method requires are implemented as ordinary constants, which any implementation of this method must do; they are engineering data, documented and tested, not a reproduction of a document.

The reference program is discontinued and is not required to build, run or use this software. Product and company names are the trademarks of their owners and appear only for factual reference. There is no affiliation with, endorsement by, or succession from any vendor, and none is claimed. This project is not affiliated with or endorsed by ASHRAE.

Built with AI assistance for parts of the code; every line is reviewed and covered by the test suite.

Engineering disclaimer

Output is a design aid, not a stamped deliverable. It is not a substitute for the governing code, the current published standard, or a licensed engineer's judgement. Provided without warranty; see LICENSE.

Licence

GPL-3.0-only. Use it, study it, change it, share it. If you distribute a modified version, it stays open.

If you hold rights

If you believe something in this repository infringes your rights, please open an issue before filing a notice — it reaches me faster than anything else and leaves a record. I will respond promptly, and where a genuine problem exists I will remove or replace the material rather than argue about it.

About

A free Windows cooling-load calculator for ASHRAE CLTD/CLF work — validated against a 40-zone building at 1.89 % median deviation

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages