Workshop on modelling a house with a heat pump for distribution grid congestion management. Control the heat pump with a simple forcing signal and watch the trade-off between grid load and comfort.
For the first part of the workshop we'll need to compete the first time setup:
- Download OpenModelica and the Buildings Library. Download OpenModelica here: https://openmodelica.org
- Once setup, launch "OpenNodelica Connection Editor", and download the Buildings library inside it. To do so, navigate to File
-> Manage Libraries -> Install Library. Browse at Name to
Buildingsand press OK. - Next, download the
Workshop_Modelica.mopackage from this github repository. Press the file and press theDownload raw filefile button (top right). Remember the file location, we'll need to navigate to it to open it. - Finally, download the weather file from github
ITA_Napoli-Capodichino.162890_IGDG.mos.
After the setup you can now open the Workshop_Modelica.mo package by pressing File -> Open Model/Library File(s).
To run Distribution_grid, double click the weather model (cloud + sun logo), and change the path for the file location to your downloaded ITA_Napoli-Capodichino.162890_IGDG.mos file. Afterwards press the green arrow in the top bar
Click the badge, wait for the environment to build, and workshop.ipynb opens.
Edit the forcing_signal function, run the cells, and see the result.