Buildings.Fluid.SolarCollectors.Controls.Examples

Examples for solar thermal collector controller models

Information

This package contains examples demonstrating the use of models that can be found in Buildings.Fluid.SolarCollectors.Controls.

Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).

Package Content

Name Description
Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController SolarPumpController Example for the solar pump controller

Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController

Example for the solar pump controller

Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController

Information

This model illustrates the use of the Buildings.Fluid.SolarCollectors.Controls.SolarPumpController model. Based on weather data and inlet temperature, the controller switches the pump on and off.

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

Modelica definition

model SolarPumpController "Example for the solar pump controller" extends Modelica.Icons.Example; Buildings.Fluid.SolarCollectors.Controls.SolarPumpController pumCon(per= Buildings.Fluid.SolarCollectors.Data.GlazedFlatPlate.FP_ThermaLiteHS20()) "Model controlling the on/off status of the pump"; Buildings.BoundaryConditions.WeatherData.ReaderTMY3 weaDat( filNam="modelica://Buildings/Resources/weatherdata/USA_CA_San.Francisco.Intl.AP.724940_TMY3.mos") "Weather data input file"; Modelica.Blocks.Sources.Sine sine( amplitude=20, freqHz=0.0001, offset=273.15 + 40) "Water inlet temperature"; equation connect(weaDat.weaBus, pumCon.weaBus); connect(sine.y, pumCon.TIn); end SolarPumpController;