Skip to main content

Python Bindings for the LoadProfileGenerator

Project description

PyPI Version PyPI - License

pyLPG

This package provides bindings and binaries to execute the LoadProfileGenerator (LPG) from python.

Basically it

  • converts your settings into a JSON file for the LPG that specifies what the LPG should calculate,
  • starts the binary depending on your platform (Windows/Linux),
  • waits for the results,
  • and then returns the results as pandas dataframe.

Look into the single household example for a simple example on use.

Example of a generated electricity load profile as a carpet plot:

electric load carpet plot

Note that this package downloads the full LPG binaries and the database on first use.

If you want to use a different database than the one that comes with the package, you need to replace the files.

Installation

This package can be installed via pip:

pip install pyloadprofilegenerator

License

MIT License

Copyright (C) 2022 Noah Pflugradt (FZJ IEK-3), David Neuroth (FZJ IEK-3), Peter Stenzel (FZJ IEK-3), Leander Kotzur (FZJ IEK-3), Detlef Stolten (FZJ IEK-3)

You should have received a copy of the MIT License along with this program. If not, see https://opensource.org/licenses/MIT

Citing

If you use pylpg in a published work, please cite:

Noah Pflugradt, Peter Stenzel, Leander Kotzur, and Detlef Stolten (2022). LoadProfileGenerator: An Agent-Based Behavior Simulation for Generating Residential Load Profiles. Journal of Open Source Software, 7(71), 3574, https://doi.org/10.21105/joss.03574

About Us

The package is mainted by the Institute of Energy and Climate Research – Techno-Economic Systems Analysis (IEK-3) belonging to the Forschungszentrum Jülich.

Contributing

We need your help to make pyLPG an even better tool than it is. Please raise an issue, if it is not clear how to use the package, if you find a bug, or if you have an idea how to improve. If you have implemented a solution, you are invited to contribute with a pull request.

Forschungszentrum Juelich Logo

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

pyloadprofilegenerator-0.1.1.tar.gz (102.4 kB view details)

Uploaded Source

Built Distribution

pyloadprofilegenerator-0.1.1-py3-none-any.whl (31.6 kB view details)

Uploaded Python 3

File details

Details for the file pyloadprofilegenerator-0.1.1.tar.gz.

File metadata

File hashes

Hashes for pyloadprofilegenerator-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f09a4a4d4e123b1a04f329f9e4dd517854c2d7e672514705b32dee65603f78a2
MD5 5d01016bd3c05ca4598f3657c522fccb
BLAKE2b-256 204625babba4ae4cf30618a2c9e1a37ec7f4b44630ae791a0377b2a44f12aa3f

See more details on using hashes here.

File details

Details for the file pyloadprofilegenerator-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for pyloadprofilegenerator-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 21ba81be1fc8cf9f266db5bc8fd21988bffa6bd69fafa7346bdf74b144e6ec05
MD5 c0c2c1142d18d9a9c454046a087ff6df
BLAKE2b-256 c3ac2d4a9f152f8dbd2d629113e8ecf49522dbe810e67143b0e677b84f01826c

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