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}}, 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",