modelTestWaterFlow1DFV_D

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 is designed to the test compressibility effects. The operating fluid is superheated vapour; the heat flow entering the heat exchanger is set to zero.

At time t = 1 the inlet flow rate undergoes a step increase; the pressure follows a first order transient with time constant tau.

Simulation Interval = [0...6] sec

Integration Algorithm = DASSL

Algorithm Tolerance = 1e-6

Parameters

TypeNameDefaultDescription
IntegerNnodes5number of Nodes
IntegerNt10number of tubes in parallel
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.MassFlowRatewhex1e-2nominal mass flow rate
Modelica.SIunits.Pressurephex0.2e5initial pressure
Modelica.SIunits.SpecificEnthalpyhs2.971e6initial specific enthalpy

Components

TypeNameDefaultDescription
RealgammaMedium.specificHeatCapacityCp(hex.fluidState[1])/Medium.specificHeatCapacityCv(hex.fluidState[1])cp/cv
RealdMtot_dphex.Mtot/(hex.p*gamma)compressibility
Realdw_dpvalve.Kvsensitivity of valve flow to pressure
SI.TimetaudMtot_dp/dw_dptime constant of pressure transient
Water.Flow1DFVhex
ThermoPower.Water.SourceMassFlowMassFlowRateSource
ThermoPower.Water.SinkPressureFluidSink
ThermoPower.Water.ValveLinvalve
Modelica.Blocks.Sources.StepMassFlowRateStep
Modelica.Blocks.Sources.ConstantConstant1
Thermal.HeatSource1DFVheatSource
Modelica.Blocks.Sources.ConstantExtPower
Water.SensPsensP
Systemsystem

Contents

NameDescription
Medium

Revisions