Coder Social home page Coder Social logo

uludo / drl-building-energy-ctr Goto Github PK

View Code? Open in Web Editor NEW
13.0 1.0 1.0 9.66 MB

Harness the power of deep reinforcement learning to optimize your Home Energy Management System (HEMS). Our tailored agent, trained on the CoSES ProHMo Modelica framework, efficiently controls a building's heat pump and thermal storage valve.

License: GNU General Public License v3.0

Python 100.00%
deep-reinforcement-learning energy-management soft-actor-critic

drl-building-energy-ctr's Introduction

DRL-Building-Energy-Ctr

This repository "Deep Reinforcement Learning Building Energy Control" hosts the source code for a recurrent reinforcement learning agent, specifically tailored for Home Energy Management Systems (HEMS). The agent is trained using a Gym environment based on the CoSES ProHMo Modelica framework. The primary focus of this agent is to efficiently control a building's heat pump and a three-way valve of a thermal storage. The objective is twofold: to adhere to predefined thermal constraints and to optimize the process with a focus on minimizing electricity costs.

Getting started

Install libraries:

pip install torch numpy pandas gymnasium pyfmi tensorflow

Start policy training:

python ./src/train_rsac.py

Acknowledgments

Citation

Link to the IEEE Xplore publication

If you use this code or find it helpful for your research, please consider citing our publication:

@INPROCEEDINGS{10202844,
  author={Ludolfinger, Ulrich and Zinsmeister, Daniel and Perić, Vedran S. and Hamacher, Thomas and Hauke, Sascha and Martens, Maren},
  booktitle={2023 IEEE Belgrade PowerTech}, 
  title={Recurrent Soft Actor Critic Reinforcement Learning for Demand Response Problems}, 
  year={2023},
  pages={1-6},
  doi={10.1109/PowerTech55446.2023.10202844}
}

drl-building-energy-ctr's People

Contributors

uludo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

lmd123123

drl-building-energy-ctr's Issues

About code

ModuleNotFoundError: No module named 'pyfmi'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.