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.

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.0b1.tar.gz (415.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.0b1-py3-none-any.whl (416.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: citylearn-2.6.0b1.tar.gz
  • Upload date:
  • Size: 415.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.0b1.tar.gz
Algorithm Hash digest
SHA256 8022cdbdd2516ecf02d5afec76198cd8133a8682289f180c9301331691bf2631
MD5 0a8f540a4a839ba54cd0f940515ec35d
BLAKE2b-256 a4c85c321a029e17275799b1e4d35a5319b22ad19ee8bc0f545e84f03c6d0fed

See more details on using hashes here.

File details

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

File metadata

  • Download URL: citylearn-2.6.0b1-py3-none-any.whl
  • Upload date:
  • Size: 416.1 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.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 6cf110cfbfcd8ddcbab4b8d57418366bc0fada0168b113f1f3a9d7b1c9b66e2b
MD5 7729a0d990075f9368e263698ac0251c
BLAKE2b-256 c83205e17022baa99ce0bf6de07e2a75f9398b46de1ec280c4603bd82f9e3aed

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