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
| Type | Name | Default | Description |
|---|---|---|---|
| Real | tau | 1000 | Time constant for mixing |
| Integer | n | 3 | Model assumptions Number of Layers |
| Modelica.Units.SI.CoefficientOfHeatTransfer | hConIn | 1500 | Heat transfer coefficient at the inner wall |
| Modelica.Units.SI.CoefficientOfHeatTransfer | hConOut | 15 | Heat transfer coefficient at the outer wall |
| AixLib.DataBase.Storage.BufferStorageBaseDataDefinition | data | AixLib.DataBase.Storage.Generic_New_2000l() | Storage data |
| Integer | n_HC1_up | integer(AixLib.Utilities.Math.Functions.round(data.hHC1Up/(data.hTank/n) + 0.5, 0)) | |
| Integer | n_HC1_low | integer(AixLib.Utilities.Math.Functions.round(data.hHC1Low/(data.hTank/n) + 0.5, 0)) | |
| Integer | dis_HC1 | n_HC1_up - n_HC1_low + 1 | |
| Integer | n_HR | integer(AixLib.Utilities.Math.Functions.round(data.hHR/(data.hTank/n) + 0.5, 0)) | |
| Integer | n_HC2_up | integer(AixLib.Utilities.Math.Functions.round(data.hHC2Up/(data.hTank/n) + 0.5, 0)) | |
| Integer | n_HC2_low | integer(AixLib.Utilities.Math.Functions.round(data.hHC2Low/(data.hTank/n) + 0.5, 0)) | |
| Integer | dis_HC2 | n_HC2_up - n_HC2_low + 1 | |
| Integer | n_TS1 | integer(AixLib.Utilities.Math.Functions.round(data.hTS1/(data.hTank/n) + 0.5, 0)) | |
| Integer | n_TS2 | integer(AixLib.Utilities.Math.Functions.round(data.hTS2/(data.hTank/n) + 0.5, 0)) | |
| Medium | |||
| AixLib.Obsolete.YearIndependent.FastHVAC.Media.BaseClasses.MediumSimple | medium | AixLib.Obsolete.YearIndependent.FastHVAC.Media.WaterSimple() | Mediums charastics (heat capacity, density, thermal conductivity) |
| AixLib.Obsolete.YearIndependent.FastHVAC.Media.BaseClasses.MediumSimple | mediumHC1 | AixLib.Obsolete.YearIndependent.FastHVAC.Media.WaterSimple() | Mediums charastics for HC1 (heat capacity, density, thermal conductivity) |
| AixLib.Obsolete.YearIndependent.FastHVAC.Media.BaseClasses.MediumSimple | mediumHC2 | AixLib.Obsolete.YearIndependent.FastHVAC.Media.WaterSimple() | Mediums charastics for HC2 (heat capacity, density, thermal conductivity) |
| Initialisation | |||
| Modelica.Units.SI.Temperature | T_start | 323.15 | Start temperature of medium |
| Modelica.Units.SI.Temperature | T_start_wall | 293.15 | Starting Temperature of wall in K |
| Modelica.Units.SI.Temperature | T_start_ins | 293.15 | Starting Temperature of insulation in K |
| Heating Coils and Rod | |||
| Boolean | use_heatingCoil1 | true | Use Heating Coil1? |
| Boolean | use_heatingCoil2 | true | Use Heating Coil2? |
| Boolean | use_heatingRod | true | Use Heating Rod? |
| Modelica.Units.SI.CoefficientOfHeatTransfer | hConHC1 | 20 | Model assumptions heat transfer coefficient HC1 <-> Heating Water |
| Modelica.Units.SI.CoefficientOfHeatTransfer | hConHC2 | 400 | Model assumptions heat transfer coefficient HC2 <-> Heating Water |
| Boolean | Up_to_down_HC1 | true | Heating Coil 1 orientation from up to down? |
| Boolean | Up_to_down_HC2 | true | Heating Coil 2 orientation from up to down? |
| Boolean | calcHCon | true | Use calculated value for inside heat transfer coefficient |
| Modelica.Units.SI.CoefficientOfHeatTransfer | hConIn_const | 30 | Fix value for heat transfer coefficient inside pipe |
Connectors
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Energy | Heat_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.HeatingCoil | heatingCoil1 | ||
| AixLib.Obsolete.YearIndependent.FastHVAC.Components.Storage.BaseClasses.HeatingCoil | heatingCoil2 | ||
| Fluid.Storage.BaseClasses.StorageCover | top_cover | ||
| Fluid.Storage.BaseClasses.StorageMantle[n] | storage_mantle | ||
| Fluid.Storage.BaseClasses.StorageCover | bottom_cover | ||
| HeatTransfer | heatTransfer |
Contents
| Name | Description |
|---|---|
Revisions
-
December 20, 2016 Tobias Blacha:
Moved into AixLib -
January 27, 2015 by Konstantin Finkbeiner:
Added documentation. -
December 16, 2014 by Sebastian Stinner:
Implemented.