Modelica.Media.Incompressible

Medium model for T-dependent properties, defined by tables or polynomials

Information

Incompressible media package

This package provides a structure and examples of how to create simple medium models of incompressible fluids, meaning fluids with very little pressure influence on density. The medium properties is typically described in terms of tables, functions or polynomial coefficients.

Definitions

The common meaning of incompressible is that properties like density and enthalpy are independent of pressure. Thus properties are conveniently described as functions of temperature, e.g., as polynomials density(T) and cp(T). However, enthalpy and inner energy can not both be independent of pressure since h = u + p/d. (Normally when T is held constant dh/dp≥0 and du/dp≤0.) For liquids it is anyway common to neglect this dependence for both of them since for constant density the neglected term is (p - p0)/d, which in comparison with cp is very small for most liquids. For water, the equivalent change of temperature to increasing pressure 1 bar is 0.025 Kelvin.

Two Boolean flags are used to choose how enthalpy and inner energy is calculated:

The default setting for both these flags is true, which enables the simulation tool to choose temperature as the only medium state and avoids non-linear equation systems, see the section about Static state selection in the Modelica.Media User's Guide.

Contents

Currently, the package contains the following parts:

  1. Table based medium models
  2. Example medium models

A few examples are given in the Examples package. The model Examples.Glycol47 shows how the medium models can be used. For more realistic examples of how to implement volume models with medium properties look in the Medium usage section of the User's Guide.

Extends from Modelica.Icons.VariantsPackage (Icon for package containing variants).

Package Content

Name Description
Modelica.Media.Incompressible.Examples Examples Examples for incompressible media
Modelica.Media.Incompressible.Common Common Common data structures
Modelica.Media.Incompressible.TableBased TableBased Incompressible medium properties based on tables
Automatically generated Thu Oct 1 16:08:10 2020.