Modelica.Media.Examples.Tests.MediaTestModels.Water

Test models of library Modelica.Media.Water

Information



Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).

Package Content

NameDescription
Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater ConstantPropertyLiquidWater Test Modelica.Media.Water.ConstantPropertyLiquidWater
Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam IdealSteam Test Modelica.Media.Water.IdealSteam
Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph WaterIF97OnePhase_ph Test Modelica.Media.Water.WaterIF97OnePhase_ph
Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT WaterIF97_pT Test Modelica.Media.Water.WaterIF97_pT
Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph WaterIF97_ph Test Modelica.Media.Water.WaterIF97_ph


Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater

Test Modelica.Media.Water.ConstantPropertyLiquidWater

Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater

Information



Extends from Modelica.Icons.Example (Icon for runnable examples), Modelica.Media.Examples.Tests.Components.PartialTestModel (Basic test model to test a medium).

Parameters

TypeNameDefaultDescription
replaceable package MediumPartialMediumMedium model
AbsolutePressurep_startMedium.p_defaultInitial value of pressure [Pa]
TemperatureT_startMedium.T_defaultInitial value of temperature [K]
SpecificEnthalpyh_startMedium.h_defaultInitial value of specific enthalpy [J/kg]
RealX_start[Medium.nX]Medium.X_defaultInitial value of mass fractions

Connectors

TypeNameDescription
replaceable package MediumMedium model

Modelica definition

model ConstantPropertyLiquidWater 
  "Test Modelica.Media.Water.ConstantPropertyLiquidWater"
  extends Modelica.Icons.Example;
  extends Modelica.Media.Examples.Tests.Components.PartialTestModel(
     redeclare package Medium =
        Modelica.Media.Water.ConstantPropertyLiquidWater);
end ConstantPropertyLiquidWater;

Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam

Test Modelica.Media.Water.IdealSteam

Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam

Information



Extends from Modelica.Icons.Example (Icon for runnable examples), Modelica.Media.Examples.Tests.Components.PartialTestModel (Basic test model to test a medium).

Parameters

TypeNameDefaultDescription
replaceable package MediumPartialMediumMedium model
AbsolutePressurep_startMedium.p_defaultInitial value of pressure [Pa]
TemperatureT_startMedium.T_defaultInitial value of temperature [K]
SpecificEnthalpyh_startMedium.h_defaultInitial value of specific enthalpy [J/kg]
RealX_start[Medium.nX]Medium.X_defaultInitial value of mass fractions

Connectors

TypeNameDescription
replaceable package MediumMedium model

Modelica definition

model IdealSteam "Test Modelica.Media.Water.IdealSteam"
  extends Modelica.Icons.Example;
  extends Modelica.Media.Examples.Tests.Components.PartialTestModel(
     redeclare package Medium = Modelica.Media.Water.IdealSteam);
end IdealSteam;

Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph

Test Modelica.Media.Water.WaterIF97OnePhase_ph

Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph

Information



Extends from Modelica.Icons.Example (Icon for runnable examples), Modelica.Media.Examples.Tests.Components.PartialTestModel (Basic test model to test a medium).

Parameters

TypeNameDefaultDescription
replaceable package MediumPartialMediumMedium model
AbsolutePressurep_startMedium.p_defaultInitial value of pressure [Pa]
TemperatureT_startMedium.T_defaultInitial value of temperature [K]
SpecificEnthalpyh_startMedium.h_defaultInitial value of specific enthalpy [J/kg]
RealX_start[Medium.nX]Medium.X_defaultInitial value of mass fractions

Connectors

TypeNameDescription
replaceable package MediumMedium model

Modelica definition

model WaterIF97OnePhase_ph 
  "Test Modelica.Media.Water.WaterIF97OnePhase_ph"
  extends Modelica.Icons.Example;
  extends Modelica.Media.Examples.Tests.Components.PartialTestModel(
     redeclare package Medium =
        Modelica.Media.Water.WaterIF97OnePhase_ph,
    fixedMassFlowRate(use_T_ambient=false, h_ambient=363755),
    ambient(use_T_ambient=false, h_ambient=112570));
end WaterIF97OnePhase_ph;

Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT

Test Modelica.Media.Water.WaterIF97_pT

Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT

Information



Extends from Modelica.Icons.Example (Icon for runnable examples), Modelica.Media.Examples.Tests.Components.PartialTestModel (Basic test model to test a medium).

Parameters

TypeNameDefaultDescription
replaceable package MediumPartialMediumMedium model
AbsolutePressurep_startMedium.p_defaultInitial value of pressure [Pa]
TemperatureT_startMedium.T_defaultInitial value of temperature [K]
SpecificEnthalpyh_startMedium.h_defaultInitial value of specific enthalpy [J/kg]
RealX_start[Medium.nX]Medium.X_defaultInitial value of mass fractions

Connectors

TypeNameDescription
replaceable package MediumMedium model

Modelica definition

model WaterIF97_pT "Test Modelica.Media.Water.WaterIF97_pT"
  extends Modelica.Icons.Example;
  extends Modelica.Media.Examples.Tests.Components.PartialTestModel(
     redeclare package Medium = Modelica.Media.Water.WaterIF97_pT);
end WaterIF97_pT;

Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph

Test Modelica.Media.Water.WaterIF97_ph

Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph

Information



Extends from Modelica.Icons.Example (Icon for runnable examples), Modelica.Media.Examples.Tests.Components.PartialTestModel (Basic test model to test a medium).

Parameters

TypeNameDefaultDescription
replaceable package MediumPartialMediumMedium model
AbsolutePressurep_startMedium.p_defaultInitial value of pressure [Pa]
TemperatureT_startMedium.T_defaultInitial value of temperature [K]
SpecificEnthalpyh_startMedium.h_defaultInitial value of specific enthalpy [J/kg]
RealX_start[Medium.nX]Medium.X_defaultInitial value of mass fractions

Connectors

TypeNameDescription
replaceable package MediumMedium model

Modelica definition

model WaterIF97_ph "Test Modelica.Media.Water.WaterIF97_ph"
  extends Modelica.Icons.Example;
  extends Modelica.Media.Examples.Tests.Components.PartialTestModel(
     redeclare package Medium = Modelica.Media.Water.WaterIF97_ph,
    ambient(use_T_ambient=false, h_ambient=112570),
    fixedMassFlowRate(use_T_ambient=false, h_ambient=363755));
end WaterIF97_ph;

Automatically generated Fri Nov 12 16:31:28 2010.