modelHeatStorageVariablePorts

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. Model with variable connection pairs for loading and unlouding cycles which are defined by the associated storage layer number of the ports. Compared to the standard HeatStorage model, the position of the heating coils can also be defined in this model.

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. In this model the number and the position of connection pairs for loading and unlouding cycles is variable. The position for each connection pair is defined by the associated storage layer number of input and output connection (compare connections tab).

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


Example Results

BufferStorage_variablePorts

Parameters

TypeNameDefaultDescription
Integern5Model assumptions Number of Layers
Modelica.Units.SI.CoefficientOfHeatTransferhConIn1500Heat transfer coefficient at the inner wall
Modelica.Units.SI.CoefficientOfHeatTransferhConOut15Heat transder coefficient at the outer wall
AixLib.DataBase.Storage.BufferStorageBaseDataDefinitiondataAixLib.DataBase.Storage.Generic_New_2000l()Storage data
Integerdis_HC1n_HC1_up - n_HC1_low + 1
Integerdis_HC2n_HC2_up - n_HC2_low + 1
Medium
FastHVAC.Media.BaseClasses.MediumSimplemediumFastHVAC.Media.WaterSimple()Mediums charastics (heat capacity, density, thermal conductivity)
FastHVAC.Media.BaseClasses.MediumSimplemediumHC1FastHVAC.Media.WaterSimple()Mediums charastics for HC1 (heat capacity, density, thermal conductivity)
FastHVAC.Media.BaseClasses.MediumSimplemediumHC2FastHVAC.Media.WaterSimple()Mediums charastics HC2 (heat capacity, density, thermal conductivity)
Initialisation
Modelica.Units.SI.TemperatureT_startfill(293.15, n)Start 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
Connections
Integerload_cycles{{n, 1}, {n, 1}}Loading cycle connection pairs (upper position first)
Integerunload_cycles{{1, n}, {1, n}}Unloading cycle connection pairs (lower position first)
Integern_load_cycles2Number of loading cycle connection pairs
Integern_unload_cycles2Number of loading cycle connection pairs
Integern_HC1_upnHighest layer of Heating Coil 1
Integern_HC1_low1Lowest layer of Heating Coil 1
Integern_HC2_upnHighest layer of Heating Coil 2
Integern_HC2_low1Lowest layer of Heating Coil 2
Integern_HRnLayer of Heating Rod
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
FastHVAC.Interfaces.EnthalpyPort_a[n_load_cycles]LoadingCycle_In
FastHVAC.Interfaces.EnthalpyPort_b[n_load_cycles]LoadingCycle_Out
FastHVAC.Interfaces.EnthalpyPort_b[n_unload_cycles]UnloadingCycle_Out
FastHVAC.Interfaces.EnthalpyPort_a[n_unload_cycles]UnloadingCycle_In
FastHVAC.Interfaces.EnthalpyPort_aport_HC1_inFluid connector a (positive design flow direction is from port_a to port_b)
FastHVAC.Interfaces.EnthalpyPort_bport_HC1_outFluid connector b (positive design flow direction is from port_a to port_b)
FastHVAC.Interfaces.EnthalpyPort_aport_HC2_inFluid connector a (positive design flow direction is from port_a to port_b)
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
FastHVAC.BaseClasses.EnergyBalance[n,n_load_cycles]energyBalance_load
FastHVAC.BaseClasses.EnergyBalance[n,n_unload_cycles]energyBalance_unload
Modelica.Thermal.HeatTransfer.Sources.PrescribedTemperature[n_load_cycles,2]varTemp_load
Modelica.Thermal.HeatTransfer.Sources.FixedHeatFlow[n_load_cycles,2]dummy_load
Modelica.Thermal.HeatTransfer.Sources.PrescribedTemperature[n_unload_cycles,2]varTemp_unload
Modelica.Thermal.HeatTransfer.Sources.FixedHeatFlow[n_unload_cycles,2]dummy_unload
BaseClasses.HeatingCoilheatingCoil1
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.