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

TypeNameDefaultDescription
Modelica.Units.SI.TemperatureDifferencedTSmall0.01Small temperature difference
Buildings.Fluid.Storage.Ice.Data.Tank.GenericperPerformance data
Modelica.Units.SI.EnergyE_nominalper.Hf*per.mIce_maxStorage capacity
Modelica.Units.SI.SpecificHeatCapacitycpSpecific heat capacity of working fluid
Initialization
RealSOC_startStart value for state of charge

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputTInInlet temperature
Modelica.Blocks.Interfaces.RealInputTOutOutlet temperature
Modelica.Blocks.Interfaces.RealOutputQ_flowActual heat flow rate, taking into account 0 ≤ SOC ≤ 1
Modelica.Blocks.Interfaces.RealOutputSOCstate of charge
Modelica.Blocks.Interfaces.RealOutputmIceMass of remaining ice
Modelica.Blocks.Interfaces.RealInputQLim_flowLimit on heat flow rate due to temperatures and mass flow rate

Components

TypeNameDefaultDescription
Buildings.Fluid.Storage.Ice.BaseClasses.StateOfChargeSOCCalcState of charge calculation
Controls.OBC.CDL.Reals.LessThresholdcanFreezeOutputs true if temperatures allow ice to be produced
Controls.OBC.CDL.Reals.GreaterThresholdcanMeltOutputs 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.