Skip to content

Commit 3966a53

Browse files
committed
merged main
2 parents fbc80b7 + 0c2b6c9 commit 3966a53

117 files changed

Lines changed: 333337 additions & 5942 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

MILPResources/README.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
This directory contains scripts to send data to the MILP platform (Sympheny) and to post-process the results.
2+
3+
## Sending data to the MILP platform
4+
5+
The script `sympheny_connect.py` connects to the MILP platform, duplicates and populates the single hub models (gas, a2w, w2w, ets), created manually on the platform, providing for each hub:
6+
- The hourly electricity consumption for non HVAC purposes
7+
- The hourly space heating consumption
8+
- The hourly domestic hot water consumption
9+
- The hourly cooling consumption
10+
- The hourly cost of electricity (`electricity_price.xlsx`)
11+
12+
The PV production (`pv_unit.xlsx`) is manually uploaded to the MILP platform.
13+
14+
## Running optimization on the MILP platform
15+
16+
Optimization is currently triggered manually via the MILP platform interface.
17+
The result files (in `xlsx` format) are downloaded locally.
18+
19+
## Post Processing
20+
21+
The ipython notebook (`post_processing.ipynb`) reads the result files and writes all figures to the directory `img` as pdf files. Those files are used in the report.
22+
23+
This workflow was developed and tested on Windows 11 Pro (24H2) and Python 3.12.7. The following packages were used:
24+
```
25+
json 2.0.9
26+
matplotlib 3.9.2
27+
numpy 1.26.4
28+
pandas 2.2.3
29+
requests 2.32.3
30+
seaborn 0.13.2
31+
xlsxwriter 3.1.9
32+
```
10.9 KB
Binary file not shown.
102 KB
Binary file not shown.
15.1 KB
Binary file not shown.
14.8 KB
Binary file not shown.
26.1 KB
Binary file not shown.
23.6 KB
Binary file not shown.

MILPResources/img/alcc_hub.pdf

25.4 KB
Binary file not shown.
21.1 KB
Binary file not shown.

MILPResources/img/combi_energy.pdf

17.5 KB
Binary file not shown.

0 commit comments

Comments
 (0)