University of Idaho
Integrated Design Lab · CODEX

Integrated Energy Analysis

Schematic-design energy · one workbook, interlinked — strategies through to annual energy & carbon

Project setup

Set the site and floor area once — every module reads from here.

SF

No weather loaded — design conditions use ASHRAE defaults below. Pick a city to derive them from TMYx data.

Portable .codex.json — saves every input plus the site. Nothing leaves your browser. (Uploaded EPWs are re-attached on load.)
you enter auto-calculates

Building heat gain

Btu/hr·SF · total Btu/hr
1 Roof & walls — conduction

Opaque envelope conduction, each surface separately.

q = U × A × DETD

Climate (design conditions)

Design dry-bulb (cooling)°F
Mean daily temperature range°F

Surfaces

SurfaceArea (SF)U-valueDETD (°F)q (Btu/hr)
Total
2 Glass — solar gain

Transmitted solar by orientation, using design cooling load factors (Reference Fig 2).

q = A × DCLF
OrientationArea (SF)DCLFq (Btu/hr)
Total
3 Outdoor air

Commercial buildings gain through ventilation; residential through infiltration.

q = V × Q
Occupant density (per 1000 SF)people
Occupants = density × area/1000people
Ventilation rateCFM/person
Outdoor air volume = rate × occupantsCFM
Ventilation factorBtu/hr·CFM
Outdoor-air gainBtu/hr
4 People

Sensible metabolic gain. Occupants carry over from Step 3 (editable).

q = O × SHGO
Occupantspeople
Sensible heat gain / occupantBtu/hr
5 Lights

Electric lighting gain — standard density, or a daylight-reduced rate.

q = LPD × SF × 3.412 × ballast
Lighting power densityW/SF
Ballast factor×
6 Equipment

Plug & process loads — by inventory or by power density.

q = watts × 3.412
Total connected loadW
7 Latent gains

Moisture load, as a fraction of the sensible gains from Steps 1–6.

q = sensible(1–6) × latent %
Sensible gains, Steps 1–6Btu/hr
Latent fraction(decimal)
you enter auto-calculates from Heat Gain

Balance point temperature

°F — below this outdoor temp, the building needs heating
Interior winter setpoint, Ti °F Gain rate, Qi Btu/hr·SF
Envelope loss, UAenv Outdoor-air loss, UAoa
Total loss rate, UAtotal Btu/hr·°F·SF Tb = Ti − Qi/UA °F
1 Indoor temperatures

The balance-point equation works off the indoor–outdoor temperature difference.

Average winter interior setpoint (Ti, 24-hr)°F
Warmest summer interior temp (for ventilation)°F
Hours of operation per dayhrs
2 Internal gains

People, lights, and equipment. These are the same internal loads computed in the Heat Gain module.

SourceBtu/hrBtu/hr·SF
People
Lights
Equipment
3 Solar gain — south glazing

Daily solar gain through south glass, averaged over 24 hours.

Qs = (VS × A) / 24
South glass area (building south glazing)SF
Daily vertical-south insolation, VS (MEEB C.15 by city)Btu/hr·SF
4 Envelope heat loss

Conductive loss per degree, each surface. Areas seed from the building geometry; enter winter U-values.

UA = Σ (A × U)
SurfaceArea (SF)U (Btu/hr·°F·SF)UA
Total envelope UA
5 Outdoor-air heat loss

Loss from ventilation (commercial) or infiltration (residential).

Floor-to-floor heightft
Ventilation per personCFM
Ventilation per areaCFM/SF
Air changes / hr (natural)ACH
you enter auto-calculates from Heat Gain / weather

Cross-ventilation cooling capacity

Btu/hr·SF of sensible cooling from wind
Capacity vs. indoor–outdoor ΔT
1 Airflow rate

Wind-driven flow through the inlet opening.

V = Cv × A × v

Opening

Inlet (windward) openable glass areaSF
Operable fraction (share of glass that opens)×
Operable opening area = glass × fractionSF
Wind effectiveness factor, Cv (angle: ~0.5–0.6 perpendicular, ~0.25–0.35 oblique)×

Wind speed

Preliminary wind speed (summer mean from weather)mph
Reduction factor (terrain & height)×
Adjusted wind speed = preliminary × reductionmph
Wind speed in fpm (× 88)ft/min
Airflow, VCFM
2 Cooling capacity

Convert airflow to sensible cooling at the design indoor–outdoor difference.

qv = V × 1.08 × ΔT
Indoor–outdoor ΔT for ventilation°F
Sensible cooling rate, qvBtu/hr
Floor area (project setup)SF
you enter auto-calculates from Heat Gain / Cross Vent / weather

Stack-ventilation cooling capacity

Btu/hr·SF of sensible cooling from buoyancy
Airflow vs. indoor–outdoor ΔT
1 Airflow rate

Buoyancy drives warm air out high openings, drawing cool air in low ones.

V = 60 · K · A · √(2g · h · ΔT/Ti)
Smallest opening (inlet / outlet / throat)SF
Stack height (inlet-to-outlet rise)ft
Discharge coefficient, K×
Indoor temperature, Ti°F
Outdoor temperature, To (summer-night mean from weather)°F
Stack ΔT = Ti − To°F

Airflow, VCFM
2 Cooling capacity
qv = V × 1.08 × ΔT
ΔT for cooling conversion°F
Sensible cooling rate, qvBtu/hr
Floor area (project setup)SF
3 Combined stack + cross optional

When a building uses both, the driving forces combine in quadrature.

V = √(Vcross² + Vstack²)
Cross-ventilation airflow (from Cross Vent module)CFM
Stack airflow (Step 1)CFM
Combined airflowCFM
Combined cooling capacityBtu/hr·SF
you enter auto-calculates from Heat Gain / weather

Night-flush cooling capacity

Btu/hr·SF — heat the cooled mass absorbs the next day
Mass vs. outdoor temperature over the day
1 Building & thermal mass

Define the mass that stores nighttime coolth.

Building volumeCF
Mass surface area (ideal mass:floor ≈ 2:1)SF
Mass:floor ratio×
Mass volumeCF
Mass densitylb/CF
Specific heatBtu/lb·°F
Mass heat capacity = density × sp.heat × volumeBtu/°F
Mass surface conductanceBtu/hr·SF·°F
Starting mass temperature°F
2 Hourly mass simulation

Hour by hour, the mass exchanges heat with outdoor air. The 24-hour outdoor profile comes from the warmest month of the loaded weather file.

Night-flush window — start:00
Night-flush window — end:00
Total mass cooling stored (night)Btu
Sensible cooling rate = storage / 24Btu/hr
3 Ventilation rate needed

The airflow needed during the peak cooling hour to charge the mass.

CFH = Qpeak / (0.018 × ΔT)
Peak hourly storageBtu
Outdoor / mass temp at peak hour°F
Air changes per hourACH
you enter auto-calculates from Balance Point / weather

Solar savings fraction

% of annual heating offset by passive solar
Load collector ratio (LCR) Mass system
Pre-passive heating kBtu/yr Post-passive heating kBtu/yr
Energy saved kBtu/yr EUI saved kBtu/SF·yr
SSF vs. LCR — your system curve & operating point
1 Annual heating energy

The pre-passive heating load — building loss coefficient times heating degree-days at the balance point.

E = BLC × HDD(Tbalance) / AFUE
BLCBtu/DD
Balance-point temp (degree-day base)°F
Heating degree-days at Tb (from weather)°F·day
AFUE / system efficiency×
Pre-passive heating energykBtu/yr
2 Thermal mass system

Direct-gain configuration — sets the LCR→SSF correlation (Balcomb curves).

A = low mass · B = medium · C = high mass; 1 = single, 2/3 = double/triple glazing.

3 Solar aperture & LCR
LCR = BLC / Ap
South vertical glazing (seeds from building; raise to add collector)SF
45° inclined south glazingSF
Solar aperture Ap = vertical + inclined × 0.707SF
Load collector ratioBtu/DD·SF
Compare mass systems

SSF each system would deliver at your LCR. Higher-mass / better-glazed systems capture more.

you enter auto-calculates from Heat Gain / weather

Earth-tube pre-conditioning

Btu/hr·SF peak cooling — air tempered by the ground before it enters
Summer: outdoor → outlet Precool °F
Winter: outdoor → outlet Preheat °F
Heat-exchanger NTU Offsets cooling load
Outlet temperature vs. tube length
1 Tube & soil

Air drawn through buried tubes exchanges heat with the ground.

Tube

Tube lengthft
Tube diameterin
Pipe material
Ventilation airflow (building outdoor-air rate)CFM

Soil

Burial depthft
Distance to undisturbed soilft
Soil conductivityW/m·K
Summer soil temp at depth (weather estimate)°F
Winter soil temp at depth (weather estimate)°F
2 Performance
Toutlet = Tsoil + (Tair − Tsoil) · e−NTU
Cooling design temp (weather, 1%)°F
Heating design temp (weather, 99%)°F
Summer outlet temperature°F
Winter outlet temperature°F
Peak cooling rate = CFM × ΔT × 1.08Btu/hr
you enter auto-calculates from Balance Point / Heat Gain / Passive Solar / weather

Annual heating & cooling energy

kBtu/ft²·yr site energy for space conditioning
ConventionalAfter passiveSite energyEUI
Heating
Cooling
Annual load by temperature bin heating / cooling
1 Annual loads — bin method

Hours in each temperature bin (from the weather file) times the load at that temperature. Internal gains shift the effective balance point.

load = (Tbin − base) · UA + internal, per 5°F bin × hours
Heating base temp (deadband lower)°F
Cooling base temp (deadband upper)°F
Heating UA (skin; from Balance Point)Btu/hr·°F
Cooling UA (skin + solar)Btu/hr·°F
Internal gains (from Heat Gain)Btu/hr
2 Passive savings

Passive solar offsets heating; a passive cooling strategy carries the building up to its effective outdoor temperature.

Solar savings fraction (from Passive Solar)%
3 Equipment efficiency

Seasonal efficiency or COP converts the load into delivered site energy. Reference: electric resistance 1.0; heat pump 2.0–4.0; A/C SEER ÷ 3.412 = COP (code-min SEER 14 ≈ 4.1).

Heating seasonal efficiency / COP×
Cooling seasonal COP (SEER ÷ 3.412)×
you enter auto-calculates from Annual Energy

EUI & carbon

kBtu/ft²·yr site EUI (all end uses)
Site EUI kBtu/ft²·yr Source EUI kBtu/ft²·yr
Carbon intensity lb CO₂e/ft²·yr Annual emissions t CO₂e/yr
Site EUI vs. Architecture 2030 targets met / not yet
End-use energy (site kBtu/yr)
1 Energy by end use

Space conditioning carries over from Annual Energy. Add the non-conditioning loads.

Space heating (from Annual Energy)kWh/yr
Heating fuel
Space cooling (from Annual Energy)kWh/yr
Other loads (plug, lighting, DHW)kWh/yr
2 Conversion factors

Source-energy multipliers and grid emission factors. Defaults follow SWL3; adjust for your grid.

Electricity source multiplier×
Natural-gas source multiplier×
Electricity emissionslb CO₂e/kWh
Natural-gas emissionslb CO₂e/kWh
3 Architecture 2030 baseline

Regional average EUI for the building type — the baseline the 2030 reduction targets are measured against.

Baseline average EUIkBtu/ft²·yr
you enter auto-calculates from EUI & Carbon / weather

Net-zero & PV sizing

% of annual electricity offset by your PV
PV for net zero kWp ·  ft² Your PV kWp ·  ft²
Annual demand kWh/yr Annual generation kWh/yr
Annual balance — demand vs PV generation
1 Annual electricity demand

Total site electricity carries over from EUI & Carbon (space conditioning plus other loads).

Total annual electricity (from EUI & Carbon)kWh/yr
2 PV sizing

Required capacity = annual load ÷ specific yield. Array area = capacity ÷ module power density.

kWp = load ÷ yield · ft² = kWp · 1000 ÷ power density
Specific yield (PVWatts; ~1,400–1,600 for Idaho)kWh/kWp·yr
Module power density (~190 W/m²)W/ft²
Required capacity for net zerokWp
Required array area for net zeroft²
Your PV array areaft²
University of Idaho Integrated Design Lab · idlboise.com · CODEX
Method: UI-IDL Climate Design Resources (Idaho Power–funded) after Brown & DeKay, Sun, Wind & Light, 3rd ed. · Self-contained, no external dependencies.