modelLiquidWater

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

This model compares various AdiabaticThermodynamicModels using an exemplary pressurization of liquid water (TwoPhaseWater).

Simulation time serves as a proxy for the pressure difference, which increases linearly from zero to dp = 100 bar at time = 1.

The following figure displays the resulting power:

The fullMedium model serves as the reference. Among the approximations: incompressibleFluid (h_out_is = dp/rho + h_in) performs better than the isothermalReference (h_out_is = h(p_out, T_in)).
Note that for fullMedium, the power does not vanish as the pressure difference approaches zero. In this specific limit, both incompressibleFluid and isothermalReference demonstrate superior numerical behavior.

For further information regarding the underlying assumptions, please refer to:
ThermofluidStream.Idealized.UsersGuide.AdiabaticThermodynamicModels.

Parameters

TypeNameDefaultDescription
SI.Efficiencyeta0.8Isentropic efficiency

Components

TypeNameDefaultDescription
ThermofluidStream.Boundaries.Sourcesource
.ThermofluidStream.Boundaries.Sink_msink
ThermofluidStream.DropOfCommonsdropOfCommons
ThermofluidStream.Idealized.Processes.AdiabaticfullMedium
Modelica.Blocks.Sources.RamppressureDifference
ThermofluidStream.Boundaries.Sourcesource1
.ThermofluidStream.Boundaries.Sink_msink1
ThermofluidStream.Idealized.Processes.AdiabaticincompressibleFluid
ThermofluidStream.Boundaries.Sourcesource2
.ThermofluidStream.Boundaries.Sink_msink2
ThermofluidStream.Idealized.Processes.AdiabaticisothermalReference

Contents

NameDescription
Medium

Revisions

  • 2026, by Raphael Gebhart (raphael.gebhart@dlr.de):
    Initial version.