modelTestWaterFlow1DFV_A

Test case for Water.Flow1DFV

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

Information

The model is designed to test the component Water.Flow1DFV (fluid side of a heat exchanger, finite volumes).

This model represent the fluid side of a heat exchanger with an applied external heat flow. The operating fluid is liquid water.

During the simulation, the inlet specific enthalpy, heat flux and mass flow rate are changed. The outlet temperature can be predicted analytically assuming incompressible flow and constant cp.

  • t=0 s, Step variation of the specific enthalpy of the fluid entering the heat exchanger. The outlet temperature should undergo a step increase of 10 degrees 10 s later.
  • t=30 s, Step variation of the thermal flow entering the heat exchanger lateral surface. The outlet temperature should undergo a ramp increase of 10 degrees lasting 10 s
  • t=50 s, Step reduction of the mass flow rate entering the heat exchanger. The outlet temperature should undergo a ramp change of one degree lasting 10s

Simulation Interval = [0...80] sec

Integration Algorithm = DASSL

Algorithm Tolerance = 1e-6

Parameters

TypeNameDefaultDescription
IntegerNnodes20Number of nodes
Modelica.SIunits.LengthLhex10Total length
Modelica.SIunits.DiameterDihex0.02Internal diameter
Modelica.SIunits.RadiusrhexDihex/2Internal radius
Modelica.SIunits.LengthomegahexModelica.Constants.pi*DihexInternal perimeter
Modelica.SIunits.AreaAhexModelica.Constants.pi*rhex^2Internal cross section
RealCfhex0.005Friction coefficient
Modelica.SIunits.MassFlowRatewhex0.31Nominal mass flow rate
Modelica.SIunits.Pressurephex2e5Initial pressure
Modelica.SIunits.SpecificEnthalpyhinhex1e5Initial inlet specific enthalpy
Modelica.SIunits.SpecificEnthalpyhouthex1e5Initial outlet specific enthalpy
Modelica.SIunits.SpecificEnthalpydeltah41800Height of enthalpy step
Modelica.SIunits.EnergyFlowRateW41800*whexHeight of power step

Components

TypeNameDefaultDescription
SI.TimetauTransport time delay
ThermoPower.Water.SourceMassFlowfluidSource
ThermoPower.Water.SinkPressurefluidSink
ThermoPower.Water.ValveLinvalve
Water.Flow1DFVhex
ThermoPower.Water.SensTT_in
Thermal.HeatSource1DFVheatSource
Modelica.Blocks.Sources.StepMassFlowRate
Modelica.Blocks.Sources.ConstantConstant1
Modelica.Blocks.Sources.StepInSpecEnthalpy
Modelica.Blocks.Sources.StepExtPower
ThermoPower.Water.SensTT_out
Systemsystem

Contents

NameDescription
Medium

Revisions