.AixLib.Fluid.SolarCollectors.Examples.FlatPlateWithTank

Information

This example shows how several different models can be combined to create an entire solar water heating system. The AixLib.Fluid.Storage.StratifiedEnhancedInternalHex (tan) model is used to represent the tank filled with hot water. A loop, powered by a pump ( AixLib.Fluid.Movers.FlowControlled_m_flow, pum), passes the water through an expansion tank ( AixLib.Fluid.Storage.ExpansionVessel, exp), a temperature sensor ( AixLib.Fluid.Sensors.TemperatureTwoPort, TIn), the solar collector ( AixLib.Fluid.SolarCollectors.ASHRAE93, solCol), and a second temperature sensor ( AixLib.Fluid.Sensors.TemperatureTwoPort, TOut) before re-entering the tank.

The solar collector is connected to the weather model ( AixLib.BoundaryConditions.WeatherData.ReaderTMY3, weaDat) which passes information for the San Francisco, CA, USA climate. This information is used to identify both the heat gain in the water from the sun and the heat loss to the ambient conditions.

The flow rate through the pump is controlled by a solar pump controller model ( AixLib.Fluid.SolarCollectors.Controls.CollectorPump, pumCon) and a gain model. The controller outputs a binary on (1) / off (0) signal. The on/off signal is passed through a boolean to real signal converter to set the pump mass flow rate.

The heat ports for the tank are connected to an ambient temperature of 20 degrees C representing the temperature of the room the tank is stored in.

bou1 ( AixLib.Fluid.Sources.MassFlowSource_T) provides a constant mass flow rate for a hot water draw while bou ( AixLib.Fluid.Sources.Boundary_pT) provides a boundary condition for the outlet of the draw.

Contents

NameDescription
 MediumFluid in the storage tank
 Medium_2Fluid flowing through the collector

Revisions


Generated at 2024-12-17T19:26:02Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos