Description: "Package containing examples demonstrating the use of Controls.BaseClasses models"

- Home > Modelica

## Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples

Package containing examples demonstrating the use of Controls.BaseClasses models

### Information

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

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

### Package Content

Name | Description
--- | ---
GCritCalc | Example showing the use of GCritCalc

## Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc

Example showing the use of GCritCalc

### Information

This model provides an example of how to use the Buildings.Fluid.SolarCollectors.Controls.BaseClasses.GCritCalc model.

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

### Modelica definition

model GCritCalc "Example showing the use of GCritCalc" extends Modelica.Icons.Example; Buildings.Fluid.SolarCollectors.Controls.BaseClasses.GCritCalc criSol(slope=-3.764, y_intercept=0.602) "Calculates the critical insolation based on collector design and current weather conditions"; Modelica.Blocks.Sources.Sine TEnv( amplitude=10, freqHz=0.1, offset=10); Modelica.Blocks.Sources.Sine TIn( amplitude=10, freqHz=0.01, offset=30); equation connect(TEnv.y, criSol.TEnv); connect(TIn.y, criSol.TIn); end GCritCalc;