modelTank
Block to compute the tank heat transfer
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Information
Model that implements the heat transfer rate between the working fluid and the ice, and that computes the state of charge of the tank.
See Buildings.Fluid.Storage.Ice.Tank for the implemented equations.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.TemperatureDifference | dTSmall | 0.01 | Small temperature difference |
| Buildings.Fluid.Storage.Ice.Data.Tank.Generic | per | Performance data | |
| Modelica.Units.SI.Energy | E_nominal | per.Hf*per.mIce_max | Storage capacity |
| Modelica.Units.SI.SpecificHeatCapacity | cp | Specific heat capacity of working fluid | |
| Initialization | |||
| Real | SOC_start | Start value for state of charge | |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | TIn | Inlet temperature | |
| Modelica.Blocks.Interfaces.RealInput | TOut | Outlet temperature | |
| Modelica.Blocks.Interfaces.RealOutput | Q_flow | Actual heat flow rate, taking into account 0 ≤ SOC ≤ 1 | |
| Modelica.Blocks.Interfaces.RealOutput | SOC | state of charge | |
| Modelica.Blocks.Interfaces.RealOutput | mIce | Mass of remaining ice | |
| Modelica.Blocks.Interfaces.RealInput | QLim_flow | Limit on heat flow rate due to temperatures and mass flow rate |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Fluid.Storage.Ice.BaseClasses.StateOfCharge | SOCCalc | State of charge calculation | |
| Controls.OBC.CDL.Reals.LessThreshold | canFreeze | Outputs true if temperatures allow ice to be produced | |
| Controls.OBC.CDL.Reals.GreaterThreshold | canMelt | Outputs true if temperature allows tank to be melted |
Revisions
-
January 26, 2022, by Michael Wetter:
First implementation based on original model, but refactored to simplify model architecture.