modelStratifiedNonUniformInitial
Test model for stratified tank with non-uniform initial temperature
Extends from Modelica.Icons.Example.
Parameters
| Type | Name | Default | Description |
| Integer | nSeg | 7 | Number of segments in tank |
| Modelica.Units.SI.MassFlowRate | m_flow_nominal | 1*1000/3600/4 | |
Components
| Type | Name | Default | Description |
| AixLib.Fluid.Sources.Boundary_pT | sou_1 | | |
| AixLib.Fluid.Sources.MassFlowSource_T | sin_1 | | Mass flow source |
| AixLib.Fluid.Storage.Stratified | heaTan | | Tank that will be heated up |
| AixLib.Fluid.Sources.MassFlowSource_T | sin_2 | | Mass flow source |
| AixLib.Fluid.Storage.Stratified | cooTan | | Tank that will be cooled down |
| AixLib.Fluid.Sensors.EnthalpyFlowRate | HIn_flow | | Enthalpy flow rate |
| AixLib.Fluid.Sensors.EnthalpyFlowRate | HOut_flow | | Enthalpy flow rate |
| AixLib.Fluid.Sensors.EnthalpyFlowRate | HInEnh_flow | | Enthalpy flow rate |
| AixLib.Fluid.Sensors.EnthalpyFlowRate | HOutEnh_flow | | Enthalpy flow rate |
| Modelica.Blocks.Math.Add | add | | Adder for enthalpy difference |
| Modelica.Blocks.Continuous.Integrator | dHTanEnh | | Difference in enthalpy (should be zero at steady-state) |
| Modelica.Blocks.Math.Add | add1 | | Adder for enthalpy difference |
| Modelica.Blocks.Continuous.Integrator | dHTan | | Difference in enthalpy (should be zero at steady-state) |
Contents
| Name | Description |
| Medium | Medium model |
Revisions
-
November 13, 2019 by Jianjun Hu:
Changed the uniform initial tank temperature to be non-uniform.
This is for
#1246.