From 37bd41789a63ee51daa321570547cc01877c7d92 Mon Sep 17 00:00:00 2001
From: "christoph.von.oy" <christoph.von.oy@rwth-aachen.de>
Date: Thu, 15 May 2025 10:51:39 +0200
Subject: [PATCH] Fix in ConnectionEnable logic

---
 topology.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/topology.py b/topology.py
index 4c09bf5..89138f5 100644
--- a/topology.py
+++ b/topology.py
@@ -818,7 +818,7 @@ class Topology:
                         )
 
                     elif logic["type"] == "ConnectionEnable":
-                        enable = logic["enable"].resample(block.dynamic)
+                        enable = logic["enable"].resample(block.dynamic).values
 
                         connection = self._connections[key[1]]
                         flow_var = block.component_dict[connection.in_flows[0]]
-- 
GitLab