engineering · home-projects-engineering · home-envelope-comfort

Window Heat Gain Loss Comparator Calculator

Compares user-entered window U-factors, solar-gain coefficients, and installed costs across heating, cooling, or combined scopes, then selects by annual energy cost, positive payback, or peak load.

Last updated
Decision Canvas

Calculator overview

Inputs and outputs

This summary comes from the calculator's published input and output contract.

Inputs

WIN Climate Scope
About this input

Evaluates heating, cooling, or combined annual load and cost for every active option.

Default Combined annual Allowed Heating only, Cooling only, Combined annual
WIN Selection Objective
About this input

Selects the active option with lowest annual energy cost, shortest positive payback not exceeding entered service life, or lowest noncoincident active-scope peak load.

Default Lowest annual energy cost Allowed Lowest annual energy cost, Shortest positive payback, Lowest peak design load
WIN Solar Treatment
About this input

Includes entered heating-season, cooling-season, and peak solar exposure or performs a conduction-only comparison.

Default Include entered seasonal solar Allowed Include entered seasonal solar, Ignore solar
WIN Window Count
About this input

Number of equal-area windows included in every baseline and option calculation.

Unit windows Default 10 Range 1 to 10000
WIN Area Per Window
About this input

Glazed area per window multiplied by entered count.

Unit ft^2/window Default 15 Range 0.1 to 10000
WIN Existing U Factor
About this input

Verified baseline assembly U-factor used for conduction and savings comparison.

Unit Btu/(h ft^2 deg F) Default 0.5 Range 0.01 to 10
WIN Existing SHGC
About this input

Verified baseline solar heat-gain coefficient used when seasonal solar is included.

Unit fraction Default 0.6 Range 0 to 1
WIN Heating Indoor Temperature
About this input

Indoor heating design temperature for active heating peak load.

Unit deg F Default 70 Range -100 to 200
WIN Heating Outdoor Temperature
About this input

Outdoor heating design temperature; it must remain below the indoor heating value when heating is active.

Unit deg F Default 10 Range -100 to 200
WIN Cooling Indoor Temperature
About this input

Indoor cooling design temperature for active cooling peak load.

Unit deg F Default 75 Range -100 to 200
WIN Cooling Outdoor Temperature
About this input

Outdoor cooling design temperature; it must exceed the indoor cooling value when cooling is active.

Unit deg F Default 95 Range -100 to 200
WIN Heating Degree Days
About this input

Project-specific annual heating exposure used in active heating calculations.

Unit deg F day/year Default 5000 Range 0 to 20000
WIN Cooling Degree Days
About this input

Project-specific annual cooling exposure used in active cooling calculations.

Unit deg F day/year Default 1200 Range 0 to 20000
WIN Heating Season Solar Conditional
About this input

Entered seasonal solar energy incident on glazing for the heating-credit screen.

Unit Btu/ft^2-year Default 25000 Range 0 to 10000000
WIN Cooling Season Solar Conditional
About this input

Entered seasonal solar energy incident on glazing for active cooling load.

Unit Btu/ft^2-year Default 35000 Range 0 to 10000000
WIN Peak Solar Irradiance Conditional
About this input

Entered peak solar irradiance used only by the lowest-peak objective and active cooling calculations.

Unit Btu/(h ft^2) Default 180 Range 0 to 10000
WIN Heating Solar Utilization Conditional
About this input

Entered share of modeled heating-season solar gain credited against conduction loss.

Unit fraction Default 0.5 Range 0 to 1
WIN Heating Energy Cost
About this input

User-converted delivered-heating cost; no tariff or fuel-price dataset is embedded.

Unit $/kBtu Default 0.03 Range 0 to 100
WIN Cooling Energy Cost
About this input

User-converted delivered-cooling cost; equipment efficiency must already be reflected.

Unit $/kBtu Default 0.06 Range 0 to 100
WIN Option Grid
About this input

Submit exactly eight complete typed rows and include at least two options. Ratings, cost, and life are user-entered; no product database is embedded.

Default 8 rows
ColumnRange or allowed values
Include Yes, No
Option label Not declared
U-factor 0.01 to 10
SHGC 0 to 1
Installed cost/window 0 to 10000000
Service life 1 to 100
Source note Not declared

Outputs

WIN Active Option Count
About this output

Number of included window options evaluated by the selected objective.

Unit options
WIN Existing Annual Load
About this output

Modeled annual heating and/or cooling load for the entered existing-window properties.

Unit kBtu/year
WIN Existing Annual Cost
About this output

Modeled annual delivered-energy cost for the entered existing-window properties.

Unit $/year
WIN Selected Option
About this output

Active option selected by the entered objective, or a clear no-within-life-payback result.

No unit declared
WIN Selected U Factor
About this output

Entered U-factor of the selected option.

Unit Btu/(h ft^2 deg F)
WIN Selected SHGC
About this output

Entered solar heat-gain coefficient of the selected option.

Unit fraction
WIN Selected Annual Load
About this output

Modeled active-scope annual load for the selected option.

Unit kBtu/year
WIN Selected Annual Cost
About this output

Modeled active-scope annual delivered-energy cost for the selected option.

Unit $/year
WIN Annual Cost Savings
About this output

Existing-window annual cost minus selected-option annual cost; negative means higher modeled cost.

Unit $/year
WIN Selected Installed Cost
About this output

Entered per-window cost times window count for the selected option.

Unit $
WIN Peak Load Reduction
About this output

Existing active-scope peak load minus selected-option peak load; combined scope compares the larger of winter and summer design loads rather than summing noncoincident peaks.

Unit Btu/hour
WIN Simple Payback
About this output

Selected installed cost divided by positive annual cost savings. Under the payback objective, only paybacks within the candidate's entered service life are eligible; zero means unavailable.

Unit years
WIN Selection Verdict
About this output

Plain-language record of the active objective or a no-within-life-payback result.

No unit declared
Model Status
About this output

OK means an option was selected and reduces modeled annual energy cost; it is not a product recommendation.

No unit declared

Methodology

Purpose and model boundary

Compares user-entered window U-factors, solar-gain coefficients, and installed costs across heating, cooling, or combined scopes, then selects by annual energy cost, positive payback, or peak load.

Do not treat this result as an energy-code determination, Manual J, HVAC or ventilation design, moisture-control guarantee, structural or concrete design, permit approval, equipment selection, cost quote, or endorsement by a cited source. Site climate, assemblies, room use, ventilation, windows, material properties, geometry, manufacturer instructions, locally adopted codes, and approval thresholds remain the user's responsibility.

Inputs and units

  • climate scope: a listed route or text value.
  • selection objective: a listed route or text value.
  • solar treatment: a listed route or text value.
  • window count: entered in windows.
  • area per window: entered in ft^2/window.
  • existing u factor: entered in Btu/(h ft^2 deg F).
  • existing shgc: entered in fraction.
  • heating indoor temperature: entered in deg F.
  • heating outdoor temperature: entered in deg F.
  • cooling indoor temperature: entered in deg F.
  • cooling outdoor temperature: entered in deg F.
  • heating degree days: entered in deg F day/year.
  • cooling degree days: entered in deg F day/year.
  • heating season solar: entered in Btu/ft^2-year.
  • cooling season solar: entered in Btu/ft^2-year.
  • peak solar irradiance: entered in Btu/(h ft^2).
  • heating solar utilization: entered in fraction.
  • heating energy cost: entered in $/kBtu.
  • cooling energy cost: entered in $/kBtu.

The option grid contains 8 fixed data rows plus one header row with these columns: Include, Option label, U-factor (Btu/(h ft^2 deg F)), SHGC (fraction), Installed cost/window (user currency/window), Service life (years), Source note. Numeric columns retain the units shown here; text, route, and include columns are intentionally unitless.

Governing relationships

Total window area is:

A = N_window A_each

Annual heating conduction, useful heating solar, and heating load are:

E_h,cond = U A 24 HDD/1000

E_h,solar = SHGC A H_solar,h f_use/1000

E_h,load = max(0,E_h,cond-E_h,solar)

Annual cooling conduction, cooling solar, and cooling load are:

E_c,cond = U A 24 CDD/1000

E_c,solar = SHGC A H_solar,c/1000

E_c,load = E_c,cond+E_c,solar

Annual energy terms are in kBtu/year. U is Btu/(h-ft^2-deg F), HDD and CDD are degree-days/year, SHGC and f_use are fractions, and seasonal solar H_solar is Btu/ft^2.

Annual cost is heating load times heating energy cost plus cooling load times cooling energy cost. Winter and summer peaks are:

Q_h,peak = U A(T_in,h-T_out,h)

Q_c,peak = U A(T_out,c-T_in,c)+SHGC A I_peak

The solar term is active only when selected. The active-scope peak is:

Q_peak = max(Q_h,peak,Q_c,peak)

so combined scope does not sum noncoincident winter and summer peaks.

For option j, installed cost is per-window cost times count, annual savings are baseline annual cost minus option annual cost, and simple payback is:

PB_j = Cost_j/Savings_j

PB_j is in years and is computed only for positive savings. The shortest-positive-payback objective treats a row as eligible only when both conditions hold:

Savings_j > 0

PB_j <= Life_j

Life_j is its entered service life (years); the other objectives rank annual cost or the noncoincident peak.

Calculation sequence

  1. Validate every active selector, scalar bound, type, and every fixed-grid entry.
  2. Apply the selected route and ignore values from inactive fields.
  3. Normalize unit-dependent inputs into the workbook's calculation basis.
  4. Evaluate every included row or candidate and aggregate the active schedule.
  5. Calculate primary and supporting outputs, populate the authored chart series, and apply derived numeric checks.
  6. Return the workbook status with the computed results; invalid input is never converted into a plausible engineering answer.

Outputs and interpretation

  • existing annual cost ($/year): Modeled annual delivered-energy cost for the entered existing-window properties.
  • selected option: Active option selected by the entered objective, or a clear no-positive-payback result.
  • selected annual load (kBtu/year): Modeled active-scope annual load for the selected option.
  • selected annual cost ($/year): Modeled active-scope annual delivered-energy cost for the selected option.
  • annual cost savings ($/year): Existing-window annual cost minus selected-option annual cost; negative means higher modeled cost.
  • simple payback (years): Selected installed cost divided by positive annual cost savings; zero means unavailable.

The chart is an explanatory view of the workbook's named chart ranges. It does not add a separate calculation or replace the numeric outputs.

Validation and status logic

The workbook evaluates Model_Status in the order shown. The first matching condition wins.

First matching workbook condition Exact returned status
WIN_Inputs_Valid is FALSE NOT VALID: correct the climate, objective, solar, scalar, or complete window-option inputs
WIN_Selected_Index_Internal = 0 CHECK: no entered option has positive modeled payback within its entered service life
WIN_Annual_Savings_Internal <= 0 CHECK: selected window option increases or does not reduce modeled annual energy cost
None of the preceding conditions applies OK

Assumptions and limitations

  • Every shipped window option, cost, rating, and exposure is synthetic and illustrative until replaced.

  • All windows use the same entered area and exposure.

  • Heating solar credit is limited by an entered utilization fraction.

  • Air leakage, installation quality, frame-edge effects, condensation, comfort asymmetry, incentives, financing, degradation, and resale are not modeled.

  • The workbook is not a product recommendation or energy audit.

Restrictions and non-computing states

Each numeric control offers a working range chosen for usable entry, which is not always the limit this calculator enforces; a value outside that limit is rejected with a message rather than quietly accepted. The calculator additionally enforces allowed choices, active-field types, complete fixed-grid rows, and conditional or cross-field rules before computing.

Unsupported route values, incomplete rows, out-of-domain inputs, relational failures, nonfinite derived arithmetic, and workbook error tokens are non-computing states. Hidden inputs remain in the values sent to the calculator but must not affect results while those fields are inactive.

Errors and warnings

A rejected entry means the submitted state failed the published input rules. Workbook NOT VALID identifies an invalid active domain or unsupported derived arithmetic. Workbook CHECK retains a finite result while flagging a planning condition that needs review. OK means only that the delivered workbook logic closed within the entered assumptions; it is not code compliance, professional approval, or a safety guarantee.

This version is checked against 124 saved test cases, covering both calculated results and entries that should be refused, run against this exact workbook.

References

Licensing conclusion: No licensed, proprietary, manufacturer, utility, product-price, code-table, climate table, material table, forecast, or external dataset is embedded. The calculator independently implements general heat-transfer, moisture, airflow, energy, geometry, and quantity arithmetic from cited public and official sources; all defaults, labels, property rows, equipment assumptions, diagrams, and test values are synthetic illustrations. No product rating, climate, incentive, cost, or manufacturer table is reproduced.

This page is provided by LogicCommons for informational purposes only. Results are analysis outputs computed from the inputs you supply and are not engineering advice, a design, or a substitute for review by a licensed professional under the codes adopted where the work is built. Verify all inputs and results independently.

LogicCommons is in beta. If a result, label, or reference looks wrong, tell us here; we read every message.