Skip to content

Commit

Permalink
fluids with NBP reference state can just use 0 as start value for s a…
Browse files Browse the repository at this point in the history
…nd h
  • Loading branch information
thorade committed May 2, 2013
1 parent 720bdd5 commit 835acec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions HelmholtzFluids/HMDS/package.mo
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
4 changes: 2 additions & 2 deletions HelmholtzFluids/Helium/package.mo
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 835acec

Please sign in to comment.