Skip to main content

An open source Farama Foundation Gymnasium environment for benchmarking distributed energy resource control algorithms to provide energy flexibility in a district of buildings.

Project description

CityLearn

CityLearn is an open source Farama Foundation Gymnasium environment for the implementation of Multi-Agent Reinforcement Learning (RL) for building energy coordination and demand response in cities. A major challenge for RL in demand response is the ability to compare algorithm performance. Thus, CityLearn facilitates and standardizes the evaluation of RL agents such that different algorithms can be easily compared with each other.

Demand-response

Environment Overview

CityLearn includes energy models of buildings and distributed energy resources (DER) including air-to-water heat pumps, electric heaters and batteries. A collection of building energy models makes up a virtual district (a.k.a neighborhood or community). In each building, space cooling, space heating and domestic hot water end-use loads may be independently satisfied through air-to-water heat pumps. Alternatively, space heating and domestic hot water loads can be satisfied through electric heaters.

Citylearn

Installation

Install latest release in PyPi with pip:

pip install CityLearn

Optional dependency for PV autosizing (PySAM):

pip install "CityLearn[pysam]"

Documentation

Refer to the docs.

CityLearn UI

CityLearn UI is a visual dashboard for exploring simulation data generated by the CityLearn framework. It was developed to simplify the analysis of results from smart energy communities, district energy coordination, demand response (among other applications), allowing users to visually inspect building-level components, compare simulation KPIs, and create simulation schemas with ease.

The interface is available in two options:

You can check a tutorial at the official CityLearn website, in the CityLearn UI repository README, or at the help tooltip of the oficial webapp.

Compatibility: This version of the UI currently supports CityLearn v2.5.0 simulation data.

The KPI export consumed by the UI is generated from evaluate_v2() by default, and evaluate() remains available only for legacy workflows.

Developed by: José, a member of the SoftCPS, Software for Cyber-Physical Systems research group (ISEP, Portugal) in collaboration with the Intelligent Environments Lab, University of Texas at Austin.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

citylearn-2.6.0b2.tar.gz (424.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

citylearn-2.6.0b2-py3-none-any.whl (423.6 kB view details)

Uploaded Python 3

File details

Details for the file citylearn-2.6.0b2.tar.gz.

File metadata

  • Download URL: citylearn-2.6.0b2.tar.gz
  • Upload date:
  • Size: 424.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for citylearn-2.6.0b2.tar.gz
Algorithm Hash digest
SHA256 e7c6624ac1bbb36d886f8f929ee05c6eafc1ddc1903a69a78b62d7f1d6521342
MD5 ecf97b58f4a41beb01c2e1858efbf93a
BLAKE2b-256 e458ed377e82a4ab19c6296e5a1b9949045d02482e32786905a53537628cbef8

See more details on using hashes here.

File details

Details for the file citylearn-2.6.0b2-py3-none-any.whl.

File metadata

  • Download URL: citylearn-2.6.0b2-py3-none-any.whl
  • Upload date:
  • Size: 423.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for citylearn-2.6.0b2-py3-none-any.whl
Algorithm Hash digest
SHA256 bed0b206f43cf75b324354d7d702b90e4e4426112b7aad90ffbcb63fb31b4e0f
MD5 b715be687ea293f4913a9115bb2a41c9
BLAKE2b-256 14ae4598dfa3c8714f1a6f5abfd507d031888e4666592824f4717eeb7dcfcd2d

See more details on using hashes here.

Supported by

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