From 137ee3a1ee6c07011187069f27af532832202dd0 Mon Sep 17 00:00:00 2001 From: Michael Wetter Date: Mon, 18 Mar 2024 02:57:09 -0700 Subject: [PATCH 1/3] Added missing causality For #1853 --- IBPSA/Fluid/FMI/Adaptors/Inlet.mo | 11 ++++++++--- IBPSA/Fluid/FMI/Adaptors/Outlet.mo | 11 ++++++++--- IBPSA/Fluid/FMI/FlowSplitter_u.mo | 9 +++++++-- IBPSA/Fluid/FMI/Sink_T.mo | 7 ++++++- IBPSA/Fluid/FMI/Source_T.mo | 7 ++++++- 5 files changed, 35 insertions(+), 10 deletions(-) diff --git a/IBPSA/Fluid/FMI/Adaptors/Inlet.mo b/IBPSA/Fluid/FMI/Adaptors/Inlet.mo index 8a62ad8866..33c4546da5 100644 --- a/IBPSA/Fluid/FMI/Adaptors/Inlet.mo +++ b/IBPSA/Fluid/FMI/Adaptors/Inlet.mo @@ -35,14 +35,14 @@ model Inlet "Adaptor for connecting a fluid inlet to the FMI interface" rotation=270, origin={0,-110}))); protected - IBPSA.Fluid.FMI.Interfaces.FluidProperties bacPro_internal( + input IBPSA.Fluid.FMI.Interfaces.FluidProperties bacPro_internal( redeclare final package Medium = Medium) "Internal connector for fluid properties for back flow"; IBPSA.Fluid.FMI.Interfaces.PressureOutput p_in_internal "Internal connector for pressure"; - IBPSA.Fluid.FMI.Interfaces.MassFractionConnector X_w_in_internal + output IBPSA.Fluid.FMI.Interfaces.MassFractionConnector X_w_in_internal "Internal connector for mass fraction of forward flow properties"; - IBPSA.Fluid.FMI.Interfaces.MassFractionConnector X_w_out_internal + output IBPSA.Fluid.FMI.Interfaces.MassFractionConnector X_w_out_internal "Internal connector for mass fraction of backward flow properties"; initial equation assert(Medium.nXi < 2, @@ -170,6 +170,11 @@ for how to use this model. ", revisions="