Buildings.ThermalZones.Detailed.Examples.Controls.Validation

Package with validation models

Information

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

Package Content

Name Description
Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow ElectrochromicWindow Validation model for the electrochromic window model

Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow

Validation model for the electrochromic window model

Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow

Information

This example checks the correct operation of the window controller. Two days are emulated. During the days, the room temperature measurement signal increases. The first day has solar radiation, but not the second. Therefore, the window control signal switches to the dark state only during the first day when the room is warm and the solar irradiation is sufficiently large.

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

Modelica definition

model ElectrochromicWindow "Validation model for the electrochromic window model" extends Modelica.Icons.Example; Modelica.Blocks.Sources.Trapezoid TMea( amplitude=5, rising=3600, falling=3600, period=24*3600, width=12*3600, startTime=5*3600, offset=293.15) "Measured temperature"; Modelica.Blocks.Sources.Trapezoid HMea( period=24*3600, nperiod=1, rising=2*3600, width=4*3600, falling=2*3600, startTime=7*3600, amplitude=500) "Measured irradiation"; Buildings.ThermalZones.Detailed.Examples.Controls.ElectrochromicWindow conWin; equation connect(TMea.y, conWin.T); connect(HMea.y, conWin.H); end ElectrochromicWindow;