modelConstantPropertyLiquidWater

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

Information

This model evaluates different AdiabaticThermodynamicModels based on an exemplary pressurization of liquid water (ConstantPropertyLiquidWater).

Simulation time represents the applied pressure difference, which increases linearly from zero to dp = 100 bar at time = 1.

The figure below shows the resulting power:

The isothermalReference (h_out_is = h(p_out, T_in)) and fullMedium (h_out_is = h(p_out, s_in)) formulations yield zero power because in the ConstantPropertyLiquidWater medium model enthalpy is defined as a function of temperature only (h = h0 + c*(T - T0)), thereby neglecting the pressure-dependent flow work term dp/rho.

Note a bug caused an additional offset for fullMedium, see https://github.com/DLR-SR/ThermofluidStream/pull/313 .

For more details regarding the underlying assumptions, 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.