Modelica.Media.UsersGuide Modelica.Media.UsersGuide


Library Modelica.Media is a free Modelica package providing a standardized interface to fluid media models and specific media models based on this interface. A fluid medium model defines algebraic equations for the intensive thermodynamic variables used in the mass and energy balance of component models. Optionally, additional medium properties can be computed such as dynamic viscosity or thermal conductivity. Medium models are defined for single and multiple substance fluids with one and multiple phases.

A large part of the library provides specific medium models that can be directly utilized. This library can be used in all types of Modelica fluid libraries that may have different connectors and design philosophies. It is particularily utilized in the Modelica_Fluid library (the Modelica_Fluid library is currently under development to provide 1D thermo-fluid flow components for single and multiple substance flow with one and multiple phases). The Modelica.Media library has the following main features:

This User's Guide has the following main parts:

Package Content

NameDescription
Modelica.Media.UsersGuide.MediumUsage MediumUsage Medium usage
Modelica.Media.UsersGuide.MediumDefinition MediumDefinition Medium definition
Modelica.Media.UsersGuide.ReleaseNotes ReleaseNotes Release notes
Modelica.Media.UsersGuide.Future Future Future
Modelica.Media.UsersGuide.Contact Contact Contact


Modelica.Media.UsersGuide.ReleaseNotes Modelica.Media.UsersGuide.ReleaseNotes


Version included in Modelica 3.0

See top-level release notes for MSL.

Version 1.0, 2005-03-01

Many improvements in the library, e.g., providing mixtures of the ideal gases, table based media, test suite for all media, improved and updated User's Guide.

Version 0.9, 2004-10-18

Version 0.792, 2003-10-28

This is the first version made available for the public for the Modelica'2003 conference (for evaluation).


Modelica.Media.UsersGuide.Future Modelica.Media.UsersGuide.Future



Planned changes for version 3.1

Several changes are planned for version 3.1 of Modelica.Media. In order to have an easy transition, the current verison is moved to the ObsoleteModelica-package and current users can continue to use ot for many years. The goal for the new version is to cover many more fluids, be easier to use for users and less for implementors that want to include their own models. A beta-version of the new media libray will be available in the first quarter of 2009.

The main user-visible changes are:

For further information on the upcoming version, please contact the Author

Forward compatibility

In order to simplify transition to the upcoming version of Modelica.Media for Modelica 3.1, a new enumeration has been introduced: IndependentVariables with the entries ph, pT, pTX, phX and dTX. Users are advised to use this enumeration to determine the independent variables of a medium. If they are going to use the function based interface of the current Modelica.Media (and not use the BaseProperties from Modelica.Media), they should not have any trouble using the next version without any need for changes in their code.


Modelica.Media.UsersGuide.Contact Modelica.Media.UsersGuide.Contact


Main author and maintainer:
Hubertus Tummescheit
Modelon AB
Ideon Science Park
SE-22730 Lund, Sweden
email: Hubertus.Tummescheit@Modelon.se

Acknowledgements:

The development of this library has been a collaborative effort and many have contributed:


HTML-documentation generated by Dymola Sun Jan 17 21:12:17 2010.