modelHeatStorage

Simple model of a heat storage

Extends from AixLib.Obsolete.BaseClasses.ObsoleteModel (Icon for classes that are obsolete and will be removed in later versions).

Information

Overview

Buffer storage model with support for heating rod and two heating coils.

Concept

It represents a buffer storage stratified into n layers where 1 represents the bottom layer and n represents the top layer. The layers are connected to each other allowing heat and fluid transfer. The conductance, buoyancy and enthalpy flow represent the heat transfer between the layers.

The geometrical data for the storage is read by records in the DataBase package.

The model also includes heat losses over the storage walls (wall, top and bottom).

Parameters

TypeNameDefaultDescription
Realtau1000Time constant for mixing
Integern3Model assumptions Number of Layers
Modelica.Units.SI.CoefficientOfHeatTransferhConIn1500Heat transfer coefficient at the inner wall
Modelica.Units.SI.CoefficientOfHeatTransferhConOut15Heat transfer coefficient at the outer wall
AixLib.DataBase.Storage.BufferStorageBaseDataDefinitiondataAixLib.DataBase.Storage.Generic_New_2000l()Storage data
Integern_HC1_upinteger(AixLib.Utilities.Math.Functions.round(data.hHC1Up/(data.hTank/n) + 0.5, 0))
Integern_HC1_lowinteger(AixLib.Utilities.Math.Functions.round(data.hHC1Low/(data.hTank/n) + 0.5, 0))
Integerdis_HC1n_HC1_up - n_HC1_low + 1
Integern_HRinteger(AixLib.Utilities.Math.Functions.round(data.hHR/(data.hTank/n) + 0.5, 0))
Integern_HC2_upinteger(AixLib.Utilities.Math.Functions.round(data.hHC2Up/(data.hTank/n) + 0.5, 0))
Integern_HC2_lowinteger(AixLib.Utilities.Math.Functions.round(data.hHC2Low/(data.hTank/n) + 0.5, 0))
Integerdis_HC2n_HC2_up - n_HC2_low + 1
Integern_TS1integer(AixLib.Utilities.Math.Functions.round(data.hTS1/(data.hTank/n) + 0.5, 0))
Integern_TS2integer(AixLib.Utilities.Math.Functions.round(data.hTS2/(data.hTank/n) + 0.5, 0))
Medium
AixLib.Obsolete.YearIndependent.FastHVAC.Media.BaseClasses.MediumSimplemediumAixLib.Obsolete.YearIndependent.FastHVAC.Media.WaterSimple()Mediums charastics (heat capacity, density, thermal conductivity)
AixLib.Obsolete.YearIndependent.FastHVAC.Media.BaseClasses.MediumSimplemediumHC1AixLib.Obsolete.YearIndependent.FastHVAC.Media.WaterSimple()Mediums charastics for HC1 (heat capacity, density, thermal conductivity)
AixLib.Obsolete.YearIndependent.FastHVAC.Media.BaseClasses.MediumSimplemediumHC2AixLib.Obsolete.YearIndependent.FastHVAC.Media.WaterSimple()Mediums charastics for HC2 (heat capacity, density, thermal conductivity)
Initialisation
Modelica.Units.SI.TemperatureT_start323.15Start temperature of medium
Modelica.Units.SI.TemperatureT_start_wall293.15Starting Temperature of wall in K
Modelica.Units.SI.TemperatureT_start_ins293.15Starting Temperature of insulation in K
Heating Coils and Rod
Booleanuse_heatingCoil1trueUse Heating Coil1?
Booleanuse_heatingCoil2trueUse Heating Coil2?
Booleanuse_heatingRodtrueUse Heating Rod?
Modelica.Units.SI.CoefficientOfHeatTransferhConHC120Model assumptions heat transfer coefficient HC1 <-> Heating Water
Modelica.Units.SI.CoefficientOfHeatTransferhConHC2400Model assumptions heat transfer coefficient HC2 <-> Heating Water
BooleanUp_to_down_HC1trueHeating Coil 1 orientation from up to down?
BooleanUp_to_down_HC2trueHeating Coil 2 orientation from up to down?
BooleancalcHContrueUse calculated value for inside heat transfer coefficient
Modelica.Units.SI.CoefficientOfHeatTransferhConIn_const30Fix value for heat transfer coefficient inside pipe

Connectors

TypeNameDefaultDescription
AixLib.Obsolete.YearIndependent.FastHVAC.Interfaces.EnthalpyPort_aLoadingCycle_In
AixLib.Obsolete.YearIndependent.FastHVAC.Interfaces.EnthalpyPort_bLoadingCycle_Out
AixLib.Obsolete.YearIndependent.FastHVAC.Interfaces.EnthalpyPort_bUnloadingCycle_Out
AixLib.Obsolete.YearIndependent.FastHVAC.Interfaces.EnthalpyPort_aUnloadingCycle_In
AixLib.Obsolete.YearIndependent.FastHVAC.Interfaces.EnthalpyPort_aport_HC1_inFluid connector a (positive design flow direction is from port_a to port_b)
AixLib.Obsolete.YearIndependent.FastHVAC.Interfaces.EnthalpyPort_bport_HC1_outFluid connector b (positive design flow direction is from port_a to port_b)
AixLib.Obsolete.YearIndependent.FastHVAC.Interfaces.EnthalpyPort_aport_HC2_inFluid connector a (positive design flow direction is from port_a to port_b)
AixLib.Obsolete.YearIndependent.FastHVAC.Interfaces.EnthalpyPort_bport_HC2_outFluid connector b (positive design flow direction is from port_a to port_b)
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_aheatingRod
Modelica.Blocks.Interfaces.RealOutput[n]T_layers
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_aout

Components

TypeNameDefaultDescription
Modelica.Units.SI.EnergyHeat_loss
Modelica.Thermal.HeatTransfer.Components.HeatCapacitor[n]layer
AixLib.Obsolete.YearIndependent.FastHVAC.BaseClasses.EnergyBalance[n]energyBalance_load
AixLib.Obsolete.YearIndependent.FastHVAC.BaseClasses.EnergyBalance[n]energyBalance_unload
Modelica.Thermal.HeatTransfer.Sources.PrescribedTemperature[2]varTemp_load
Modelica.Thermal.HeatTransfer.Sources.FixedHeatFlow[2]dummy_load
Modelica.Thermal.HeatTransfer.Sources.PrescribedTemperature[2]varTemp_unload
Modelica.Thermal.HeatTransfer.Sources.FixedHeatFlow[2]dummy_unload
AixLib.Obsolete.YearIndependent.FastHVAC.Components.Storage.BaseClasses.HeatingCoilheatingCoil1
AixLib.Obsolete.YearIndependent.FastHVAC.Components.Storage.BaseClasses.HeatingCoilheatingCoil2
Fluid.Storage.BaseClasses.StorageCovertop_cover
Fluid.Storage.BaseClasses.StorageMantle[n]storage_mantle
Fluid.Storage.BaseClasses.StorageCoverbottom_cover
HeatTransferheatTransfer

Contents

NameDescription
HeatTransfer

Revisions

  • December 20, 2016  Tobias Blacha:
    Moved into AixLib
  • January 27, 2015  by Konstantin Finkbeiner:
    Added documentation.
  • December 16, 2014 by Sebastian Stinner:
    Implemented.