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
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | Nnodes | 20 | Number of nodes |
| Modelica.SIunits.Length | Lhex | 10 | Total length |
| Modelica.SIunits.Diameter | Dihex | 0.02 | Internal diameter |
| Modelica.SIunits.Radius | rhex | Dihex/2 | Internal radius |
| Modelica.SIunits.Length | omegahex | Modelica.Constants.pi*Dihex | Internal perimeter |
| Modelica.SIunits.Area | Ahex | Modelica.Constants.pi*rhex^2 | Internal cross section |
| Real | Cfhex | 0.005 | Friction coefficient |
| Modelica.SIunits.MassFlowRate | whex | 0.31 | Nominal mass flow rate |
| Modelica.SIunits.Pressure | phex | 2e5 | Initial pressure |
| Modelica.SIunits.SpecificEnthalpy | hinhex | 1e5 | Initial inlet specific enthalpy |
| Modelica.SIunits.SpecificEnthalpy | houthex | 1e5 | Initial outlet specific enthalpy |
| Modelica.SIunits.SpecificEnthalpy | deltah | 41800 | Height of enthalpy step |
| Modelica.SIunits.EnergyFlowRate | W | 41800*whex | Height of power step |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Time | tau | Transport time delay | |
| ThermoPower.Water.SourceMassFlow | fluidSource | ||
| ThermoPower.Water.SinkPressure | fluidSink | ||
| ThermoPower.Water.ValveLin | valve | ||
| Water.Flow1DFV | hex | ||
| ThermoPower.Water.SensT | T_in | ||
| Thermal.HeatSource1DFV | heatSource | ||
| Modelica.Blocks.Sources.Step | MassFlowRate | ||
| Modelica.Blocks.Sources.Constant | Constant1 | ||
| Modelica.Blocks.Sources.Step | InSpecEnthalpy | ||
| Modelica.Blocks.Sources.Step | ExtPower | ||
| ThermoPower.Water.SensT | T_out | ||
| System | system |
Contents
| Name | Description |
|---|---|
Revisions
- 12 Sep 2013 by Francesco Casella:
Updated to new FV structure. Updated parameters. - 1 Oct 2003 by Francesco Schiavo:
First release.