modelTestWaterFlow1DFV2ph_C

Test case for Flow1D2ph

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

Information

The model is designed to test the component Flow1D2ph when used as an evaporator.
This model represent the fluid side of a once-through boiler with an applied external heat flow. The operating fluid is water. The outlet pressure is kept constant, emulating perfect pressure control.
During the simulation, the inlet specific enthalpy and heat flux are changed, while maintaining the inlet flowrate constant:

  • t=0 s. The initial state of the water is subcooled liquid.
  • t=10 s. Ramp increase of the applied heat flow. The water starts boiling and is blown out of the outlet, whose flowrate undergo a transient increase. At the end of the transient the outlet fluid is in superheated vapour state.
  • t=100 s. Step increase of the inlet enthalpy
  • t=150 s. The heat flow is brought back to zero. The vapour collapses, causing a suddend decrease in the outlet flowrate, until the liquid fills again the entire boiler. At that instant, the flowrate rises again rapidly to the inlet values.

Simulation Interval = [0...250] sec
Integration Algorithm = DASSL
Algorithm Tolerance = 1e-9

Parameters

TypeNameDefaultDescription
RealpiModelica.Constants.pi
IntegerNnodes20
SI.LengthLhex10
SI.DiameterDhex0.06
SI.Thicknessthhex0
SI.RadiusrhexDhex/2
SI.LengthomegahexDhex
SI.AreaAhexpi*rhex^2
SI.PerUnitCfhex0.005

Components

TypeNameDefaultDescription
SI.MassMhexMass in the heat exchanger
SI.MassMbalMass resulting from the mass balance
SI.MassMerrMass balance error
Water.Flow1DFV2phhex
Thermal.HeatSource1DFVheatSource
ThermoPower.Water.SinkPressureSink
Modelica.Blocks.Sources.RamphIn
Modelica.Blocks.Sources.RampextPower
ThermoPower.Water.SourceMassFlowSource
Modelica.Blocks.Sources.RampextPower2
Modelica.Blocks.Math.AddAdd1
Systemsystem

Contents

NameDescription
Medium

Revisions