modelStratifiedLoadingUnloading
Test model for stratified tank
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
This test model compares two tank models. The only difference between the two tank models is that one uses the third order upwind discretization scheme that reduces numerical diffusion that is induced when connecting volumes in series.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 |
|---|---|---|---|
| IBPSA.Fluid.Sources.Boundary_pT | sou_1 | ||
| IBPSA.Fluid.Sources.MassFlowSource_T | sin_1 | ||
| IBPSA.Fluid.Storage.StratifiedEnhanced | tanEnh | Tank | |
| IBPSA.Fluid.Sources.MassFlowSource_T | sin_2 | ||
| IBPSA.Fluid.Storage.Stratified | tan | Tank | |
| Modelica.Blocks.Sources.Pulse | pulse | ||
| IBPSA.Fluid.Sensors.EnthalpyFlowRate | HIn_flow | Enthalpy flow rate | |
| IBPSA.Fluid.Sensors.EnthalpyFlowRate | HOut_flow | Enthalpy flow rate | |
| IBPSA.Fluid.Sensors.EnthalpyFlowRate | HInEnh_flow | Enthalpy flow rate | |
| IBPSA.Fluid.Sensors.EnthalpyFlowRate | HOutEnh_flow | Enthalpy flow rate | |
| Modelica.Blocks.Math.Add | add | ||
| Modelica.Blocks.Continuous.Integrator | dHTanEnh | Difference in enthalpy (should be zero at steady-state) | |
| Modelica.Blocks.Math.Add | add1 | ||
| Modelica.Blocks.Continuous.Integrator | dHTan | Difference in enthalpy (should be zero at steady-state) |
Contents
| Name | Description |
|---|---|
| Medium model |
Revisions
-
June 7, 2018 by Filip Jorissen:
Copied model from Buildings and update the model accordingly. This is for #314.