From c5130816e0ea8fe3df27126aa17fdaa64cdd550b Mon Sep 17 00:00:00 2001 From: Lucas Verleyen Date: Mon, 11 Nov 2024 17:21:35 +0100 Subject: [PATCH] correct error with medium --- IDEAS/Buildings/Components/Interfaces/PartialZone.mo | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/IDEAS/Buildings/Components/Interfaces/PartialZone.mo b/IDEAS/Buildings/Components/Interfaces/PartialZone.mo index f4f59fb09..9008164a2 100644 --- a/IDEAS/Buildings/Components/Interfaces/PartialZone.mo +++ b/IDEAS/Buildings/Components/Interfaces/PartialZone.mo @@ -7,8 +7,8 @@ model PartialZone "Building zone model" useOccNumInput=occNum.useInput, useLigCtrInput=ligCtr.useCtrInput); - replaceable package Medium = - Modelica.Media.Interfaces.PartialMedium "Medium in the component" + replaceable package Medium = IDEAS.Media.Air constrainedby + Modelica.Media.Interfaces.PartialMedium "Medium in the component" annotation (choicesAllMatching = true); parameter Boolean use_custom_n50= sim.interZonalAirFlowType==IDEAS.BoundaryConditions.Types.InterZonalAirFlow.None @@ -513,6 +513,11 @@ end for; ", revisions="