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
| Type | Name | Default | Description |
|---|---|---|---|
| Real | pi | Modelica.Constants.pi | |
| Integer | Nnodes | 10 | |
| SI.Length | Lhex | 10 | |
| SI.Diameter | Dhex | 0.06 | |
| SI.Thickness | thhex | 0 | |
| SI.Radius | rhex | Dhex/2 | |
| SI.Length | omegahex | Dhex | |
| SI.Area | Ahex | pi*rhex^2 | |
| SI.PerUnit | Cfhex | 0.005 |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Mass | Mhex | Mass in the heat exchanger | |
| SI.Mass | Mbal | Mass resulting from the mass balance | |
| SI.Mass | Merr | Mass balance error | |
| Water.Flow1DFV2ph | hex | ||
| ThermoPower.Water.ValveLin | valve | ||
| Thermal.HeatSource1DFV | heatSource | ||
| ThermoPower.Water.SinkPressure | Sink | ||
| Modelica.Blocks.Sources.Step | hIn | ||
| Modelica.Blocks.Sources.Ramp | extPower | ||
| ThermoPower.Water.SourceMassFlow | Source | ||
| Modelica.Blocks.Sources.Ramp | extPower2 | ||
| Modelica.Blocks.Math.Add | Add1 | ||
| Modelica.Blocks.Sources.Ramp | xValve | ||
| System | system |
Contents
| Name | Description |
|---|---|
Revisions
- 7 Jan 2015 by Francesco Casella:
Updated to new FEM model. - 27 Jul 2007 by Francesco Casella:
Created.