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
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Pressure | p | Condenser operating pressure | |
| SI.Volume | V_total | 10 | Total volume (liquid + vapor) |
| Visualization | |||
| Boolean | showName (from Visualization_showName) | true | |
| Assumptions › Dynamics | |||
| Dynamics | massDynamics | system.massDynamics | Formulation of mass balance |
| Initialization | |||
| SI.Volume | V_liquid_start | 0.15*V_total | Start value of the liquid volume |
| Advanced | |||
| Boolean | set_m_flow | false | =true to set port_b.m_flow = -port_a.m_flow |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Interfaces.FluidPort_State | port_a | Steam port | |
| Interfaces.FluidPort_State | port_b | Condensed liquid port |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Fluid.System | system | System properties | |
| Medium.SaturationProperties | sat | Saturation properties | |
| Medium.SpecificEnthalpy | h_fsat | Medium.bubbleEnthalpy(sat) | Specific enthalpy of saturated liquid |
| Medium.SpecificEnthalpy | h_gsat | Medium.dewEnthalpy(sat) | Specific enthalpy of saturated vapor |
| SI.Density | rho_fsat | Medium.bubbleDensity(sat) | Density of saturated liquid |
| SI.Density | rho_gsat | Medium.dewDensity(sat) | Density of saturated steam |
| SI.Mass | m_total | Total mass, steam+liquid | |
| SI.Mass | m_liquid | Liquid mass | |
| SI.Mass | m_vapor | Steam mass | |
| SI.Volume | V_liquid | Liquid volume | |
| SI.Volume | V_vapor | Steam volume | |
| SI.Energy | E | Internal energy | |
| SI.Power | Q_total | Total thermal energy removed |
Contents
| Name | Description |
|---|---|