1.2.0 • Published 4 years ago

epb v1.2.0

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

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
1.2.0

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago