Simulations of hourly energy demand, capacity, storage, and CO2 for different expansion scenarios of District Heating (DH) network using EnergyPlus building energy demand .csv files and PVT generation input .csv file.
It is recommended to use a python environment manager such as venv or conda. Make sure you have python 3.3+, pandas, numpy, and matplotlib. You should be able to import them without errors.
python3
import pandas
import numpy
import matplotlib
Run the script from terminal:
python Hourly_Balance_Model_v3.py
Capacity characteristics graph:
System Heat-to-Power ratio comparison graph:
Thermal exports comparison graph:
Thermal recovery and use graph:
To generate the sankey diagrams use this online tool: http://sankeymatic.com/build/
Copy and paste the sankey.txt files directly into the input box and hit "preview".