Buildings.Templates.Components.Tanks
Tank models
Information
This package contains models for storage and buffer tanks.
Extends from Modelica.Icons.VariantsPackage (Icon for package containing variants).
Package Content
Name | Description |
---|---|
![]() |
Buffer tank |
Buildings.Templates.Components.Tanks.Buffer
Buffer tank
Information
Model of a buffer tank based on the instantaneously mixed volume model Buildings.Fluid.MixingVolumes.MixingVolume. Manufacturers recommend tank designs that promote mixing (e.g., with inside baffle plates) because a fully mixed tank yields an effective buffer time greater than a stratified tank. The validation model Buildings.Templates.Components.Validation.Tanks shows that achieving the supply temperature at the tank outlet requires circulating a fluid volume several times greater than the tank's actual volume.
Extends from Buildings.Fluid.Interfaces.PartialTwoPortInterface (Partial model with two ports and declaration of quantities that are used by many models).
Parameters
Type | Name | Default | Description |
---|---|---|---|
replaceable package Medium | PartialMedium | Medium in the component | |
Volume | V | Volume [m3] | |
Nominal condition | |||
MassFlowRate | m_flow_nominal | Nominal mass flow rate [kg/s] | |
Configuration | |||
Boolean | have_tan | true | Set to true for tank, false for direct pass through |
Assumptions | |||
Boolean | allowFlowReversal | true | = false to simplify equations, assuming, but not enforcing, no flow reversal |
Advanced | |||
MassFlowRate | m_flow_small | 1E-4*abs(m_flow_nominal) | Small mass flow rate for regularization of zero flow [kg/s] |
Diagnostics | |||
Boolean | show_T | false | = true, if actual temperature at port is computed |
Dynamics | |||
Conservation equations | |||
Dynamics | energyDynamics | Modelica.Fluid.Types.Dynamic... | Type of energy balance: dynamic (3 initialization options) or steady state |
Graphics | |||
IntegrationPoint | icon_pipe | Buildings.Templates.Componen... | Pipe symbol |
Connectors
Type | Name | Description |
---|---|---|
FluidPort_a | port_a | Fluid connector a (positive design flow direction is from port_a to port_b) |
FluidPort_b | port_b | Fluid connector b (positive design flow direction is from port_a to port_b) |