From d4b4da89e5cdde3b6de8c15c98dd1191b651c941 Mon Sep 17 00:00:00 2001 From: MichaMans Date: Thu, 18 Oct 2018 08:54:43 +0200 Subject: [PATCH 1/2] #460 increased version number --- AixLib/package.mo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AixLib/package.mo b/AixLib/package.mo index bde61f8e09..6c81ca5b8c 100644 --- a/AixLib/package.mo +++ b/AixLib/package.mo @@ -16,7 +16,7 @@ package AixLib Modelica_DeviceDrivers(version="1.4.4"), Modelica_Synchronous(version="0.92.1"), NcDataReader2(version="2.4.0")), - version = "0.7.1", + version = "0.7.2", conversion(from( version="0.3.2", script="modelica://AixLib/Resources/Scripts/ConvertAixLib_from_0.3.2_to_0.4.mos", version="0.5.0", script="modelica://AixLib/Resources/Scripts/ConvertAixLib_from_0.5.0_to_0.5.1.mos", From b868957fc539aa8075cc71c1f38c1e34aa671f1e Mon Sep 17 00:00:00 2001 From: MichaMans Date: Thu, 18 Oct 2018 09:38:30 +0200 Subject: [PATCH 2/2] #460 revised errors in fasthvac package --- AixLib/FastHVAC/Components/Pipes/BaseClasses/PipeBase.mo | 2 +- AixLib/FastHVAC/Components/Storage/BaseClasses/HeatingCoil.mo | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/AixLib/FastHVAC/Components/Pipes/BaseClasses/PipeBase.mo b/AixLib/FastHVAC/Components/Pipes/BaseClasses/PipeBase.mo index 2c34b25a61..0500923ca6 100644 --- a/AixLib/FastHVAC/Components/Pipes/BaseClasses/PipeBase.mo +++ b/AixLib/FastHVAC/Components/Pipes/BaseClasses/PipeBase.mo @@ -5,7 +5,7 @@ model PipeBase /* ******************************************************************* Medium ******************************************************************* */ - parameter Integer nNodes(min=3)=3 "Number of discrete flow volumes"; + parameter Integer nNodes(min=1)=1 "Number of discrete flow volumes"; parameter FastHVAC.Media.BaseClasses.MediumSimple medium= FastHVAC.Media.WaterSimple() "Mediums charastics (heat capacity, density, thermal conductivity)" diff --git a/AixLib/FastHVAC/Components/Storage/BaseClasses/HeatingCoil.mo b/AixLib/FastHVAC/Components/Storage/BaseClasses/HeatingCoil.mo index 12186ea22b..c84205ffc4 100644 --- a/AixLib/FastHVAC/Components/Storage/BaseClasses/HeatingCoil.mo +++ b/AixLib/FastHVAC/Components/Storage/BaseClasses/HeatingCoil.mo @@ -1,7 +1,7 @@ within AixLib.FastHVAC.Components.Storage.BaseClasses; model HeatingCoil - parameter Integer dis_HC; + parameter Integer dis_HC(min=1); parameter Media.BaseClasses.MediumSimple medium_HC=Media.WaterSimple() "Mediums charastics (heat capacity, density, thermal conductivity)"; @@ -22,7 +22,7 @@ model HeatingCoil parameterPipe=pipeRecordHC, T_0=T_start, length=lengthHC, - nNodes(min=1)=dis_HC, + nNodes=dis_HC, alphaInsideFix=alphaInsideFix, calculateAlpha=true) annotation (Placement(transformation( extent={{-10,-10},{10,10}},