From 38b4798432328a56fd6c6d1e316a7842badb394a Mon Sep 17 00:00:00 2001 From: Filip Jorissen Date: Wed, 14 Aug 2019 19:16:01 +0200 Subject: [PATCH 01/17] removed checkBoundary for #1 --- .../Sources/BaseClasses/PartialSource_Xi_C.mo | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/IbpsaMpc/Fluid/Sources/BaseClasses/PartialSource_Xi_C.mo b/IbpsaMpc/Fluid/Sources/BaseClasses/PartialSource_Xi_C.mo index 289d7c7..1a73d81 100644 --- a/IbpsaMpc/Fluid/Sources/BaseClasses/PartialSource_Xi_C.mo +++ b/IbpsaMpc/Fluid/Sources/BaseClasses/PartialSource_Xi_C.mo @@ -39,16 +39,7 @@ initial equation assert(not use_X_in or not use_Xi_in, "Cannot use both X and Xi inputs, choose either use_X_in or use_Xi_in."); - if not use_X_in and not use_Xi_in then - Modelica.Fluid.Utilities.checkBoundary(Medium.mediumName, Medium.substanceNames, - Medium.singleState, true, X_in_internal, "Boundary_pT"); - end if; - equation - if use_X_in or use_Xi_in then - Modelica.Fluid.Utilities.checkBoundary(Medium.mediumName, Medium.substanceNames, - Medium.singleState, true, X_in_internal, "Boundary_pT"); - end if; connect(X_in[1:Medium.nXi], Xi_in_internal); connect(X_in,X_in_internal); connect(Xi_in, Xi_in_internal); @@ -107,6 +98,12 @@ Otherwise the parameter value is used. ", revisions="