Skip to main content

Simple building control environments for reinforcement learning.

Project description

Warning

Bauwerk is in a very early stage of development, not stable at the moment and not recommended for general usage at this point. Use at your own risk.

bauwerk

https://img.shields.io/pypi/v/bauwerk.svg https://img.shields.io/travis/rdnfn/bauwerk.svg Documentation Status

Super simple building control environments for reinforcement learning.

Features

  • TODO

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.3.2 (2022-12-00)

  • Improvements

    • Add information on evaluation to docs.

  • Fixes

    • Improve plotting/widget code to comply with stricter shape testing in newer matplotlib versions

0.3.1 (2022-11-03)

  • Features

    • New building distributions:

      • Building Distribution C: varies battery and solar installation size.

      • Building Distribution D: varies battery, solar installation and load consumption size/scale.

      • Building distribution E: varies same as above, and adds irreducible noise to load and solar traces.

  • Environment & distribution changes (! indicates that the change may affect experimental results)

    • ! Parameter default of grid_peak_threshold changed from 4.0kW to 2.0kW in all environments, including those of building distribution B.

    • The load and solar traces in HouseEnv now can be augmented with irreducible noise. This is set via the solar/load_noise_magnitude parameter of the EnvConfig.

  • Improvements

    • Update to docs on distributions, wrappers and more.

0.3.0 (2022-10-26)

  • Features

    • Add experiment script

    • Add extensive evaluation features

    • Add support for much slower speed in game widget

    • Add benchmarks

    • Add support for setting tasks in environment

    • Add wrappers:

      • that add task parameters to observation space.

      • that clip the reward

      • that clip the action space

      • that normalise observation space

  • Improvements

    • Add clock and day to game widget

    • Design improvements for game widget

    • Action spaces dtype can now be set in env cfg

0.2.1 (2022-09-12)

  • Features

    • Add time_of_day variable to observation space.

  • Improvements

    • The solve function is now directly imported with bauwerk, to simplify usage.

    • Additional sections added to documentation.

    • Add more grid parameters to SolarBatteryHouseEnv configuration.

  • Fixes:

    • Ensure solver outputs actions that are valid in environment (i.e. normalised)

0.2.0 (2022-09-09)

  • Features:

    • Add game widget based on SolarBatteryHouseEnv.

      • Includes browser-based version of Bauwerk game that can be played by anybody without installing anything.

    • Add support for selling to the grid in SolarBatteryHouseEnv.

  • Improvements:

    • Add explicit CVXPY-based solver in bauwerk.envs.solvers for SolarBatteryHouseEnv that was missing earlier.

    • Update SolarBatteryHouseEnv to comply with new gym step API by returning truncated value.

    • Add automatic github-actions-based testing of package.

0.1.0 (2022-08-12)

  • First release on PyPI.

  • Features:

    • SolarBatteryHouseEnv: a simple environment representing a single family home with a solar photovoltaic installations and a home battery that can be controlled.

    • Optional integration with CVXPY to compute optimal actions in Bauwerk environments.

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

bauwerk-0.3.2.tar.gz (697.9 kB view details)

Uploaded Source

Built Distribution

bauwerk-0.3.2-py2.py3-none-any.whl (220.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file bauwerk-0.3.2.tar.gz.

File metadata

  • Download URL: bauwerk-0.3.2.tar.gz
  • Upload date:
  • Size: 697.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for bauwerk-0.3.2.tar.gz
Algorithm Hash digest
SHA256 d5b2ba2946adbdaed26d95f3ae3368c79790e3c1518bacced4f1fbdebfe2b5bd
MD5 ca32932164757508f7a78cada6fa0b9f
BLAKE2b-256 f07a8e1f6b00e72f2f64c2429a4a53efeccf5404053bb8ea9439044b14ffe17d

See more details on using hashes here.

File details

Details for the file bauwerk-0.3.2-py2.py3-none-any.whl.

File metadata

  • Download URL: bauwerk-0.3.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 220.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for bauwerk-0.3.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2c10661030182d987c2865d09f8801a3704fa1800e67a84e2250d2d6477687d1
MD5 71d66f10521cd67404835e226e24d45d
BLAKE2b-256 b04da5d7f63262fb8a10208124b9151153e5a91b94415f68f04f930cdc6c5009

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