The models behind the numbers

Each outcome has its own XGBoost model, a set of gradient-boosted decision trees. They were trained on EnergyPlus simulations of a medium office building in Denver, so a model learns how the simulation behaves and answers in milliseconds.

There are two families. One predicts a building with a single window layer, and it serves both the existing window and the replacement, which only differ in their glass values. The other adds the secondary window and the air gap, and it also predicts condensation with and without the cavity surfaces.

Three headline outcomes (site energy, uncomfortable hours and whole-building condensation) use settings tuned by Bayesian optimization. The rest use XGBoost defaults. Two extra models split heating into electricity and gas, which is how the cost comes out.

Wall direction goes in as a sine and a cosine, so north and northwest sit next to each other, not at opposite ends of a scale.

  1. Secondary window U-value37%
  2. Existing window U-value24%
  3. Number of stories11%
  4. Heating setpoint10%
  5. Existing window SHGC5%
  6. Window-to-wall ratio4%

Share of each model's split gain, top six inputs. It shows what the trees lean on most, not cause and effect.

2,000
simulated buildings behind each model family
27
trained models: 11 existing and replacement, 16 secondary
9
outcomes compared in the results
115
glass products in the catalog

Validation scores for these models are not published on this page yet. Until they are, treat results as estimates for comparing options, not as predictions of a bill.

What the models say as windows get bigger

These curves come straight out of the trained models. The existing window is Cardinal Single Pane Clear. The secondary window is Alpen Trip-0.75"-3mm-0.5mm-272/clear/180-K. Setup: North wall, 5 stories, 21 C heating, 24 C cooling, 30 % RH, 50 mm cavity.

0501001502000.200.250.300.350.400.450.50Window-to-wall ratioMWh/yr
  • Existing window
  • With secondary window
  • Replaced to code

Lines are stepped in places because tree models predict in steps. Read the overall trend, and use the calculator for your own building.