modelFluidStorageChargeDischargeCycle
Example that demonstrates the controlled charging and discharing process of a thermal storage
Extends from Modelica.Icons.Example.
Information
Discharges warm storage twice into sink, while refilling cold water at the bottom.
Temperature drop at middle layer triggers reheating by bottom heat exchanger, repeatedly due to heat loss via surface.
Components
| Type | Name | Default | Description |
|---|---|---|---|
| BuildingSystems.Technologies.ThermalStorages.FluidStorage | storage | ||
| BuildingSystems.Fluid.Sources.MassFlowSource_T | heatSource | Flow source | |
| BuildingSystems.Fluid.Sources.Boundary_pT | sink_heating | Sink | |
| Modelica.Blocks.Sources.TimeTable | consumptionProfile | Mass flow rate | |
| BuildingSystems.Fluid.Sources.Boundary_pT | sink_consumption | Sink | |
| BuildingSystems.Fluid.Sources.MassFlowSource_T | source_consumption | Flow source | |
| Modelica.Thermal.HeatTransfer.Sources.FixedTemperature | boundaryCondition_FixedT | ||
| Modelica.Blocks.Logical.Switch | m_flowSignal | ||
| Modelica.Blocks.Logical.OnOffController | logicControl | ||
| Modelica.Blocks.Sources.RealExpression | setTemperature | ||
| Modelica.Blocks.Sources.RealExpression | m_flowOn | ||
| Modelica.Blocks.Sources.RealExpression | m_flowOff |
Contents
| Name | Description |
|---|---|
| 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.