This repository contains the code and data to reproduce the results in our work: Ventilation and Temperature Control for Energy-efficient and Healthy Buildings: A Differentiable PDE Approach, which has been accepted by Applied Energy. You can get access to it via this link.
You are required to install
- phiflow https://github.com/tum-pbs/PhiFlow
- gymnasium
- stable_baselines3 https://stable-baselines3.readthedocs.io/en/master/guide/install.html
cd learning
python learn_real.py # for real experiment
python learn_synthetic.py # for synthetic experiment
cd control
python train_diffpde.py # our approach
python train_rl.py # reinforcement learning
ODE_control.ipynb -- ODE approach
If this is useful for your work, please cite our paper.