From 835acecb3ac562331586af5abaf485ae8ee9a99b Mon Sep 17 00:00:00 2001 From: thorade Date: Thu, 2 May 2013 19:20:35 +0200 Subject: [PATCH] fluids with NBP reference state can just use 0 as start value for s and h --- HelmholtzFluids/HMDS/package.mo | 4 ++-- HelmholtzFluids/Helium/package.mo | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/HelmholtzFluids/HMDS/package.mo b/HelmholtzFluids/HMDS/package.mo index 323a07f..244f82a 100644 --- a/HelmholtzFluids/HMDS/package.mo +++ b/HelmholtzFluids/HMDS/package.mo @@ -11,8 +11,8 @@ extends Interfaces.PartialHelmholtzMedium( Density(min=fluidLimitsHMDS.DMIN, max=fluidLimitsHMDS.DMAX, start=fluidConstantsHMDS.molarMass/fluidConstantsHMDS.criticalMolarVolume), Temperature(min=fluidLimitsHMDS.TMIN, max=fluidLimitsHMDS.TMAX, start=298.15), AbsolutePressure(min=0, max=200e6, start=101325), - SpecificEnthalpy(min=fluidLimitsHMDS.HMIN, max=fluidLimitsHMDS.HMAX, start=(fluidLimitsHMDS.HMIN+fluidLimitsHMDS.HMAX)/2), - SpecificEntropy(min=fluidLimitsHMDS.SMIN, max=fluidLimitsHMDS.SMAX, start=(fluidLimitsHMDS.SMIN+fluidLimitsHMDS.SMAX)/2)); + SpecificEnthalpy(min=fluidLimitsHMDS.HMIN, max=fluidLimitsHMDS.HMAX, start=0), + SpecificEntropy(min=fluidLimitsHMDS.SMIN, max=fluidLimitsHMDS.SMAX, start=0)); final constant Interfaces.PartialHelmholtzMedium.FluidConstants fluidConstantsHMDS( diff --git a/HelmholtzFluids/Helium/package.mo b/HelmholtzFluids/Helium/package.mo index 8f1db65..746f3c8 100644 --- a/HelmholtzFluids/Helium/package.mo +++ b/HelmholtzFluids/Helium/package.mo @@ -11,8 +11,8 @@ extends Interfaces.PartialHelmholtzMedium( Density(min=fluidLimitsHelium.DMIN, max=fluidLimitsHelium.DMAX, start=fluidConstantsHelium.molarMass/fluidConstantsHelium.criticalMolarVolume), Temperature(min=fluidLimitsHelium.TMIN, max=fluidLimitsHelium.TMAX, start=298.15), AbsolutePressure(min=0, max=1000e6, start=101325), - SpecificEnthalpy(min=fluidLimitsHelium.HMIN, max=fluidLimitsHelium.HMAX, start=(fluidLimitsHelium.HMIN+fluidLimitsHelium.HMAX)/2), - SpecificEntropy(min=fluidLimitsHelium.SMIN, max=fluidLimitsHelium.SMAX, start=(fluidLimitsHelium.SMIN+fluidLimitsHelium.SMAX)/2)); + SpecificEnthalpy(min=fluidLimitsHelium.HMIN, max=fluidLimitsHelium.HMAX, start=0), + SpecificEntropy(min=fluidLimitsHelium.SMIN, max=fluidLimitsHelium.SMAX, start=0)); final constant Interfaces.PartialHelmholtzMedium.FluidConstants fluidConstantsHelium(