Energy Calculations

Thermal and energy performance calculations for Buildings. Determines heat demand, transmission losses, U-values, and energy class for current state and renovation Scenarios.

Architecture

LayerLocation
Calculation parameters routebackend/src/routes/building-calculation-parameters.ts
U-value calculatorbackend/src/lib/u-value-calculator.ts
Typology U-values routebackend/src/routes/typology-u-values.ts
Frontend cardsBuildingCalculationParametersCards
Frontend tableBuildingCalculationParametersTable
U-value hookfrontend/src/hooks/useUValueCalculation.ts
Data hookfrontend/src/hooks/useCalculationParametersData.ts
Constantsshared/constants.ts (thermal bridge methods)

Database

TablePurpose
buildingCalculationParametersPer-building calculation inputs and results

Calculation Types

CalculationDescription
U-valueThermal transmittance of Building Components (walls, roof, windows, floor)
Heat demandAnnual heating energy requirement (kWh/m2a)
Transmission lossesHeat loss through building envelope
Energy classGerman energy efficiency rating (A+ through H)

U-Value Calculator

backend/src/lib/u-value-calculator.ts computes U-values based on:

  • Component layer composition (material, thickness, conductivity)
  • Surface resistance values (interior/exterior)
  • Thermal bridge correction factors

Typology Reference Data

backend/src/routes/typology-u-values.ts provides reference U-values based on building type and construction year. The reference database (sourced from German building typology standards) now lives at backend/src/db/mocks/typology-u-values.ts — seeding was retired in favour of the mock/config split, and the typology data loads with AUTO_MOCK=true. An admin page (TypologyUValuesAdmin) manages the data via the Admin Dashboard.

Thermal Bridge Methods

Defined in shared/constants.ts (THERMAL_BRIDGE_METHOD_VALUES):

  • detailed — per-bridge analysis
  • simplified — flat surcharge on U-values
  • equivalence — equivalent length method

Energy Class Flow

[[Building Components]] with layer data
  --> U-value calculation per component
  --> Transmission heat loss coefficient
  --> Heat demand calculation
  --> Energy class determination (A+ to H)
  --> Compare before/after [[Measures]] applied