Skip to main content

E.ON EBC RWTH Aachen University

DOI pylint documentation coverage License build

ebcpy

This PYthon package provides generic functions and classes commonly used for the analysis and optimization of energy systems, buildings and indoor climate (EBC).

Key features are:

  • SimulationAPI's
  • Optimization wrapper
  • Useful loading of time series data and time series data accessor for DataFrames
  • Pre-/Postprocessing
  • Modelica utilities

It was developed together with AixCaliBuHA, a framework for an automated calibration of dynamic building and HVAC models. During this development, we found several interfaces relevant to further research. We thus decoupled these interfaces into ebcpy and used the framework, for instance in the design optimization of heat pump systems (link).

Installation

To install, simply run

pip install ebcpy

In order to use all optional dependencies (e.g. pymoo optimization), install via:

pip install ebcpy[full]

If you encounter an error with the installation of scikit-learn, first install scikit-learn separatly and then install ebcpy:

pip install scikit-learn
pip install ebcpy

If this still does not work, we refer to the troubleshooting section of scikit-learn: https://scikit-learn.org/stable/install.html#troubleshooting. Also check issue 23 for updates.

In order to help development, install it as an egg:

git clone https://github.com/RWTH-EBC/ebcpy
pip install -e ebcpy

How to get started?

We recommend running our jupyter-notebook to be guided through a helpful tutorial.
For this, run the following code:

# If jupyter is not already installed:
pip install jupyter
# Go into your ebcpy-folder (cd \path_to_\ebcpy) or change the path to tutorial.ipynb and run:
jupyter notebook tutorial\tutorial.ipynb

Or, clone this repo and look at the examples\README.md file. Here you will find several examples to execute.

How to cite ebcpy

Please use the following metadata to cite ebcpy in your research:

@article{Wuellhorst2022,
  doi = {10.21105/joss.03861},
  url = {https://doi.org/10.21105/joss.03861},
  year = {2022},
  publisher = {The Open Journal},
  volume = {7},
  number = {72},
  pages = {3861},
  author = {Fabian Wüllhorst and Thomas Storek and Philipp Mehrfeld and Dirk Müller},
  title = {AixCaliBuHA: Automated calibration of building and HVAC systems},
  journal = {Journal of Open Source Software}
}

Time series data

Note that we use steamline time series data based on a pd.DataFrame using a common function and the accessor tsd. The aim is to make tasks like loading different filetypes or common functions more convenient, while conserving the powerful tools of the DataFrame. Just a example intro here:

>>> from ebcpy.data_types import load_time_series_data
>>> df = load_time_series_data(r"path_to_a_supported_file")

# From Datetime to float
df.tsd.to_float_index()
# From float to datetime
df.tsd.to_datetime_index()
# To clean your data and create a common frequency:
df.tsd.clean_and_space_equally(desired_freq="1s")

Documentation

Visit our official Documentation.

Problems or questions?

Please raise an issue here.

For other inquires, please contact ebc-tools@eonerc.rwth-aachen.de.

Metadata

Release files for ebcpy 0.8.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ebcpy 0.8.0
File Size Uploaded
ebcpy-0.8.0.tar.gz 90.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ebcpy 0.8.0
File Interpreter ABI Platform
ebcpy-0.8.0-py3-none-any.whl Python 3 none any Details

Total release size: 170.6 kB

Release files / ebcpy-0.8.0.tar.gz

Download URL ebcpy-0.8.0.tar.gz
Size 90.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e436b006a03fb68d17a59c185dc2ce23a2dec3f8f62f9e094ea9bc609a2e048f
BLAKE2b-256 checksum
How to use checksums
397209e2cc4761875735dac40818c6e01e779843e5f5b0091427ba91a9952c8b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

Release files / ebcpy-0.8.0-py3-none-any.whl

Download URL ebcpy-0.8.0-py3-none-any.whl
Size 80.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3270b70c4d6737b66999af2e4652d25c62ef2812fb4a7f645d29657e76d988ae
BLAKE2b-256 checksum
How to use checksums
de2d8bdd034e6e37aa7714f43e09b662edc3558c5add1e951f135a569d1a4b7e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

Release history Release notifications | RSS feed

This release

0.8.0 This release

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.6

2 release files

0.5.5

2 release files

0.5.4

2 release files

0.5.2

2 release files

0.5.0

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.3.14

2 release files

0.3.12

2 release files

0.3.10

2 release files

0.3.8

1 release file

0.3.7

1 release file

0.3.6

1 release file

0.3.2

1 release file

0.3.0

1 release file

0.2.3

1 release file

0.2.2

1 release file

0.2.1

1 release file

0.2.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page