Skip to main content

A library for measurement and verification of energy efficiency projects.

Project description

The eensight tool for measurement and verification of energy efficiency improvements

The eensight Python package implements the measurement and verification (M&V) methodology that has been developed by the H2020 project SENSEI - Smart Energy Services to Improve the Energy Efficiency of the European Building Stock.

The online book Rethinking Measurement and Verification of Energy Savings (accessible here) explains in detail both the methodology and its implementation.

Installation

eensight can be installed by pip:

pip install eensight

Usage

1. Through the command line

All the functionality in eensight is organized around data pipelines. Each pipeline consumes data and other artifacts (such as models) produced by a previous pipeline, and produces new data and artifacts for its successor pipelines.

There are four (4) pipelines in eensight. The names of the pipelines and the associations between pipelines and namespaces are summarized below:

train test apply
preprocess
predict
evaluate
adjust

The primary way of using eensight is through the command line. The first argument is always the name of the pipeline to run, such as:

eensight run predict --namespace train

The command

eensight run --help

prints the documentation for all the options that can be passed to the command line.

2. As a library

The pipelines of eensight are separate from the methods that implement them, so that the latter can be used directly:

import pandas as pd

from eensight.methods.prediction.baseline import UsagePredictor
from eensight.methods.prediction.activity import estimate_activity

non_occ_features = ["temperature", "dew point temperature"]

activity = estimate_activity(
    X, 
    y, 
    non_occ_features=non_occ_features, 
    exog="temperature",
    assume_hurdle=False,

)

X_act = pd.concat([X, activity.to_frame("activity")], axis=1)
model = UsagePredictor(skip_calendar=True).fit(X_act, y)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

eensight-1.0.2.tar.gz (67.0 kB view details)

Uploaded Source

Built Distribution

eensight-1.0.2-py3-none-any.whl (62.3 kB view details)

Uploaded Python 3

File details

Details for the file eensight-1.0.2.tar.gz.

File metadata

  • Download URL: eensight-1.0.2.tar.gz
  • Upload date:
  • Size: 67.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.0

File hashes

Hashes for eensight-1.0.2.tar.gz
Algorithm Hash digest
SHA256 a05cf13d73de2ab70608d889ca1e6a73d3dfca019aec9c9f95b1624f2c1a2cbd
MD5 26a49ddbe651885f4c2bbc8ed5781d60
BLAKE2b-256 cd44f9702664f3f4bc35b4e8c25d92fadb2da09fafb336f1434b81fa974127c0

See more details on using hashes here.

File details

Details for the file eensight-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: eensight-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 62.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.0

File hashes

Hashes for eensight-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 32b9b77e1a992b36514d1cbe2dd5d64e4a4634409da4990964a173fc24f59239
MD5 8c7fd97f1fd3260acaa51a9f92353fd1
BLAKE2b-256 6b0c76e30a1e585da56df6f1946d95d211af13ddbdcf90dcdddded0e535009a0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page