modelTestWaterFlow1DFV2ph_B

Test case for Flow1DFV2ph

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

Information

Same as TestFlow1D2phA, but in this case the enthalpy at the inlet changes stepwise. The avodInletEnthalpyDerivative flag is set to true, in order to avoid problems with the derivative of h[1].

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

Parameters

TypeNameDefaultDescription
RealpiModelica.Constants.pi
IntegerNnodes10
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
ThermoPower.Water.ValveLinvalve
Thermal.HeatSource1DFVheatSource
ThermoPower.Water.SinkPressureSink
Modelica.Blocks.Sources.StephIn
Modelica.Blocks.Sources.RampextPower
ThermoPower.Water.SourceMassFlowSource
Modelica.Blocks.Sources.RampextPower2
Modelica.Blocks.Math.AddAdd1
Modelica.Blocks.Sources.RampxValve
Systemsystem

Contents

NameDescription
Medium

Revisions