Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

immoveable/epb-js

Repository files navigation

Energy performance of buildings

This library provides helpers for energy performance of buildings computation.

Installing

npm i epb

Usage

energyClass

Get the energy class (like A++, A+, A, B...) following the regulator rules, given the energy consumption.
If the energy class cannot be calculated from the provided data, null is returned.

const consumption = 100
const ecls = await energyClass('brussels', consumption)
// ecls === "C+"

Regulators

Currently supported:

  • brussels
  • flanders (exception: energy classes are not used in Flanders)
  • france
  • wallonia

totalConsumption

Get the total consumption of a building in a year, given its energy consumption and its total area.

const consumption = 100
const area = 250
const total = totalConsumption(consumption, area)
// total === 25000

Packages

No packages published

Contributors 2

AltStyle によって変換されたページ (->オリジナル) /