modelFluidStorageChargeDischargeProfile

Example that demonstrates the charging / discharging process with different number of layers in the thermal storage

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

Charges storage of 1 m³ from the top with increasing temperature for 1000 s at 1 kg/s. After 1 h, discharges the for same duration at the same rate.

Different storage discretizations show different results, e.g. HRF.

Components

TypeNameDefaultDescription
BuildingSystems.Technologies.ThermalStorages.FluidStoragestorage
Modelica.Blocks.Sources.TimeTableconsumptionProfileMass flow rate
BuildingSystems.Fluid.Sources.Boundary_pTsink_consumptionSink
BuildingSystems.Fluid.Sources.MassFlowSource_Tsource_consumptionFlow source
Modelica.Blocks.Sources.Rampramp
BuildingSystems.Fluid.Sensors.TemperaturesenTem_bottom
BuildingSystems.Fluid.Sensors.VolumeFlowRatesenVolFlo
Modelica.Units.SI.VolumeV
Modelica.Units.SI.HeatQ_incumulated amount of energy entering into the TES
Modelica.Units.SI.HeatQ_outcumulated amount of energy leaving into the TES
RealHRFnoEvent(if Q_in > 0 then Q_out/max(1, Q_in) else 0)heat recovery factor

Contents

NameDescription
Medium

Revisions

  • August 18, 2018, by Christoph Nytsch-Geusen:
    Adapted to possible different media for the storage content and the two internal heat exchangers.
  • May 21, 2016, by Carles Ribas Tugores:
    First implementation.