From cecda0631473838fede88992e7aacfb97ed9f603 Mon Sep 17 00:00:00 2001
From: Zizhe Wang <zizhe.wang@tu-dresden.de>
Date: Sat, 8 Jun 2024 09:16:37 +0200
Subject: [PATCH] feat configuration with json

---
 src/config.json | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 src/config.json

diff --git a/src/config.json b/src/config.json
new file mode 100644
index 0000000..e265aaa
--- /dev/null
+++ b/src/config.json
@@ -0,0 +1,25 @@
+{
+    "MODEL_NAME": "SimpleHeatingSystem",
+    "MODEL_FILE": "SimpleHeatingSystem.mo",
+    "SIMULATION_STOP_TIME": 3000,
+    "PARAMETERS": ["Q_max", "T_set"],
+    "OBJECTIVES": ["energy", "comfort"],
+    "MAXIMIZE": ["comfort"],
+    "PARAM_BOUNDS": {
+        "Q_max": [1000, 5000],
+        "T_set": [280, 310]
+    },
+    "PRECISION": 2,
+    "OPTIMIZATION_CONFIG": {
+        "USE_ADAPTIVE_INSTANCE_SELECTION": true,
+        "ALGORITHM_NAME": "NSGA2",
+        "POP_SIZE": 5,
+        "N_GEN": 5
+    },
+    "PLOT_CONFIG": {
+        "PLOT_X": "Energy Consumption",
+        "PLOT_Y": "Comfort",
+        "PLOT_TITLE": "Pareto Front of Energy Consumption vs Comfort"
+    },
+    "N_JOBS": -1
+}
\ No newline at end of file
-- 
GitLab