From b96f428a3e179bf519d629129b8785fea734eec5 Mon Sep 17 00:00:00 2001 From: otter Date: Sun, 12 May 2013 19:41:03 +0000 Subject: [PATCH] #1092 again fixed (PartialMedium changed in a non-backwards compatible way): The fix with the types was not good, because package Interfaces.Types was inherited into PartialPackages with extends and then two type definitions have been present. Removed the newly introduced "obsolete" type definitions. git-svn-id: https://svn.modelica.org/projects/Modelica/trunk@6337 7ce873d0-865f-4ce7-a662-4bb36ea78beb --- Modelica/Media/package.mo | 86 +-------------------------------------- 1 file changed, 1 insertion(+), 85 deletions(-) diff --git a/Modelica/Media/package.mo b/Modelica/Media/package.mo index 4138c386b5..0bb5c03009 100644 --- a/Modelica/Media/package.mo +++ b/Modelica/Media/package.mo @@ -4680,94 +4680,10 @@ kappa is defined as - 1/v * der(v,p), with v = 1/d at constant temperature T. max=1.e5) "Type for mass flow rate with medium specific attributes"; // Only for backwards compatibility to version 3.2 ( - // (do not use these definitions in new models, but use Modelica.Media.Interfaces.Choices/.Types instead) + // (do not use these definitions in new models, but use Modelica.Media.Interfaces.Choices instead) package Choices = Modelica.Media.Interfaces.Choices annotation(obsolete="Use Modelica.Media.Interfaces.Choices"); - type AbsolutePressure = Modelica.Media.Interfaces.Types.AbsolutePressure - annotation(obsolete="Use Modelica.Media.Interfaces.Types.AbsolutePressure"); - - type Density = Modelica.Media.Interfaces.Types.Density - annotation(obsolete="Use Modelica.Media.Interfaces.Types.Density"); - - type DynamicViscosity = Modelica.Media.Interfaces.Types.DynamicViscosity - annotation(obsolete="Use Modelica.Media.Interfaces.Types.DynamicViscosity"); - - type EnthalpyFlowRate = Modelica.Media.Interfaces.Types.EnthalpyFlowRate - annotation(obsolete="Use Modelica.Media.Interfaces.Types.EnthalpyFlowRate"); - - type MassFraction = Modelica.Media.Interfaces.Types.MassFraction - annotation(obsolete="Use Modelica.Media.Interfaces.Types.MassFraction"); - - type MoleFraction = Modelica.Media.Interfaces.Types.MoleFraction - annotation(obsolete="Use Modelica.Media.Interfaces.Types.MoleFraction"); - - type MolarMass = Modelica.Media.Interfaces.Types.MolarMass - annotation(obsolete="Use Modelica.Media.Interfaces.Types.MolarMass"); - - type MolarVolume = Modelica.Media.Interfaces.Types.MolarVolume - annotation(obsolete="Use Modelica.Media.Interfaces.Types.MolarVolume"); - - type IsentropicExponent = Modelica.Media.Interfaces.Types.IsentropicExponent - annotation(obsolete="Use Modelica.Media.Interfaces.Types.IsentropicExponent"); - - type SpecificEnergy = Modelica.Media.Interfaces.Types.SpecificEnergy - annotation(obsolete="Use Modelica.Media.Interfaces.Types.SpecificEnergy"); - - type SpecificInternalEnergy = Modelica.Media.Interfaces.Types.SpecificInternalEnergy - annotation(obsolete="Use Modelica.Media.Interfaces.Types.SpecificInternalEnergy"); - - type SpecificEnthalpy = Modelica.Media.Interfaces.Types.SpecificEnthalpy - annotation(obsolete="Use Modelica.Media.Interfaces.Types.SpecificEnthalpy"); - - type SpecificEntropy = Modelica.Media.Interfaces.Types.SpecificEntropy - annotation(obsolete="Use Modelica.Media.Interfaces.Types.SpecificEntropy"); - - type SpecificHeatCapacity = Modelica.Media.Interfaces.Types.SpecificHeatCapacity - annotation(obsolete="Use Modelica.Media.Interfaces.Types.SpecificHeatCapacity"); - - type SurfaceTension = Modelica.Media.Interfaces.Types.SurfaceTension - annotation(obsolete="Use Modelica.Media.Interfaces.Types.SurfaceTension"); - - type Temperature = Modelica.Media.Interfaces.Types.Temperature - annotation(obsolete="Use Modelica.Media.Interfaces.Types.Temperature"); - - type ThermalConductivity = Modelica.Media.Interfaces.Types.ThermalConductivity - annotation(obsolete="Use Modelica.Media.Interfaces.Types.ThermalConductivity"); - - type PrandtlNumber = Modelica.Media.Interfaces.Types.PrandtlNumber - annotation(obsolete="Use Modelica.Media.Interfaces.Types.PrandtlNumber"); - - type VelocityOfSound = Modelica.Media.Interfaces.Types.VelocityOfSound - annotation(obsolete="Use Modelica.Media.Interfaces.Types.VelocityOfSound"); - - type ExtraProperty = Modelica.Media.Interfaces.Types.ExtraProperty - annotation(obsolete="Use Modelica.Media.Interfaces.Types.ExtraProperty"); - - type CumulativeExtraProperty = Modelica.Media.Interfaces.Types.CumulativeExtraProperty - annotation(obsolete="Use Modelica.Media.Interfaces.Types.CumulativeExtraProperty"); - - type ExtraPropertyFlowRate = Modelica.Media.Interfaces.Types.ExtraPropertyFlowRate - annotation(obsolete="Use Modelica.Media.Interfaces.Types.ExtraPropertyFlowRate"); - - type IsobaricExpansionCoefficient = Modelica.Media.Interfaces.Types.IsobaricExpansionCoefficient - annotation(obsolete="Use Modelica.Media.Interfaces.Types.IsobaricExpansionCoefficient"); - - type DipoleMoment = Modelica.Media.Interfaces.Types.DipoleMoment - annotation(obsolete="Use Modelica.Media.Interfaces.Types.DipoleMoment"); - - type DerDensityByPressure = Modelica.Media.Interfaces.Types.DerDensityByPressure - annotation(obsolete="Use Modelica.Media.Interfaces.Types.DerDensityByPressure"); - - type DerDensityByEnthalpy = Modelica.Media.Interfaces.Types.DerDensityByEnthalpy - annotation(obsolete="Use Modelica.Media.Interfaces.Types.DerDensityByEnthalpy"); - - type DerEnthalpyByPressure = Modelica.Media.Interfaces.Types.DerEnthalpyByPressure - annotation(obsolete="Use Modelica.Media.Interfaces.Types.DerEnthalpyByPressure"); - - type DerDensityByTemperature = Modelica.Media.Interfaces.Types.DerDensityByTemperature - annotation(obsolete="Use Modelica.Media.Interfaces.Types.DerDensityByTemperature"); - annotation (Documentation(info="

PartialMedium is a package and contains all declarations for