modelIdealCondenser

Ideal condenser with fixed pressure

Extends from BaseClasses.Icon_TwoVolume.

Information

The steam enters through port a and saturated water leaves port b.

The total heat removed to bring the inlet steam to saturated liquid conditions at the set pressure is Q_total.

Parameters

TypeNameDefaultDescription
SI.PressurepCondenser operating pressure
SI.VolumeV_total10Total volume (liquid + vapor)
Visualization
BooleanshowName (from Visualization_showName)true
Assumptions › Dynamics
DynamicsmassDynamicssystem.massDynamicsFormulation of mass balance
Initialization
SI.VolumeV_liquid_start0.15*V_totalStart value of the liquid volume
Advanced
Booleanset_m_flowfalse=true to set port_b.m_flow = -port_a.m_flow

Connectors

TypeNameDefaultDescription
Interfaces.FluidPort_Stateport_aSteam port
Interfaces.FluidPort_Stateport_bCondensed liquid port

Components

TypeNameDefaultDescription
Modelica.Fluid.SystemsystemSystem properties
Medium.SaturationPropertiessatSaturation properties
Medium.SpecificEnthalpyh_fsatMedium.bubbleEnthalpy(sat)Specific enthalpy of saturated liquid
Medium.SpecificEnthalpyh_gsatMedium.dewEnthalpy(sat)Specific enthalpy of saturated vapor
SI.Densityrho_fsatMedium.bubbleDensity(sat)Density of saturated liquid
SI.Densityrho_gsatMedium.dewDensity(sat)Density of saturated steam
SI.Massm_totalTotal mass, steam+liquid
SI.Massm_liquidLiquid mass
SI.Massm_vaporSteam mass
SI.VolumeV_liquidLiquid volume
SI.VolumeV_vaporSteam volume
SI.EnergyEInternal energy
SI.PowerQ_totalTotal thermal energy removed

Contents

NameDescription
Medium

Revisions