Modelica.Media.Incompressible.Examples

Examples for incompressible media

Information



This package provides a few examples of how to construct medium models for incompressible fluids. The package contains:

Package Content

NameDescription
Modelica.Media.Incompressible.Examples.Glycol47 Glycol47 1,2-Propylene glycol, 47% mixture with water
Modelica.Media.Incompressible.Examples.Essotherm650 Essotherm650 Essotherm thermal oil
Modelica.Media.Incompressible.Examples.TestGlycol TestGlycol Test Glycol47 Medium model


Modelica.Media.Incompressible.Examples.TestGlycol Modelica.Media.Incompressible.Examples.TestGlycol

Test Glycol47 Medium model

Information

Extends from Modelica.Icons.Example (Icon for an example model).

Modelica definition

model TestGlycol "Test Glycol47 Medium model"
  extends Modelica.Icons.Example;
  package Medium = Glycol47 "Medium model (Glycol47)";
  Medium.BaseProperties medium;

  Medium.DynamicViscosity eta=Medium.dynamicViscosity(medium.state);
  Medium.ThermalConductivity lambda=Medium.thermalConductivity(medium.state);
  Medium.SpecificEntropy s=Medium.specificEntropy(medium.state);
  Medium.SpecificHeatCapacity cv=Medium.specificHeatCapacityCv(medium.state);
protected 
  constant Modelica.SIunits.Time timeUnit = 1;
  constant Modelica.SIunits.Temperature Ta = 1;
equation 
  medium.p = 1e5;
  medium.T = Medium.T_min + time/timeUnit*Ta;
end TestGlycol;

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