Buildings.HeatTransfer.Windows.BaseClasses.Validation

Collection of models that validate the window base class models

Information

This package contains models that validate the window base class models. The examples plot various outputs, which have been verified against analytical solutions. These model outputs are stored as reference data to allow continuous validation whenever models in the library change.

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

Package Content

Name Description
Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade HeatCapacityConstantShade Validation model for heat capacity with constant shade signal
Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade HeatCapacityVariableShade Validation model for heat capacity with variable shade signal
Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT HeatCapacityVariableShadeDT Validation model for heat capacity with variable shade signal and different room temperature

Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade

Validation model for heat capacity with constant shade signal

Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade

Information

This model validates the heat capacitor model for the window glass, with and without a shade. For the case with shade, different constant shade control signals are used to test the correct energy storage of the system. All temperatures need to decay at the same rates because the area of heat transfer, and the heat capacity to which the glass is connected, are scaled proportionally to the control signal.

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

Parameters

TypeNameDefaultDescription
AreaAGla2Glass area [m2]
GlassdatGladatGla( ...Thermal properties for glass

Modelica definition

model HeatCapacityConstantShade "Validation model for heat capacity with constant shade signal" extends Modelica.Icons.Example; parameter Modelica.SIunits.Area AGla = 2 "Glass area"; parameter Data.Solids.Glass datGla(x=0.005) "Thermal properties for glass"; HeatCapacity heaCapGla( haveShade=true, TUns(fixed=true), TSha(fixed=true), C=AGla*datGla.x*datGla.d*datGla.c) "Heat Capacity of glass"; Modelica.Thermal.HeatTransfer.Components.HeatCapacitor heaCapSha1( C=0.5*1000, T(start=283.15, fixed=true)) "Thermal capacity connected to shaded part of window"; Modelica.Thermal.HeatTransfer.Components.HeatCapacitor heaCapUns1( C=0.5*1000, T(start=283.15, fixed=true)) "Thermal capacity connected to unshaded part of window"; Modelica.Blocks.Sources.Constant y05(k=0.5) "Shade control signal"; Modelica.Thermal.HeatTransfer.Components.ThermalConductor theConUns1( G=0.5*AGla*10) "Thermal conductor"; Modelica.Thermal.HeatTransfer.Components.ThermalConductor theConSha1( G=0.5*AGla*10) "Thermal conductor"; HeatCapacity heaCapGla01( haveShade=true, TUns(fixed=true), TSha(fixed=true), C=AGla*datGla.x*datGla.d*datGla.c) "Heat Capacity of glass"; Modelica.Thermal.HeatTransfer.Components.HeatCapacitor heaCapSha2( C=0.1*1000, T(start=283.15, fixed=true)) "Thermal capacity connected to shaded part of window"; Modelica.Thermal.HeatTransfer.Components.HeatCapacitor heaCapUns2( C=0.9*1000, T(start=283.15, fixed=true)) "Thermal capacity connected to unshaded part of window"; Modelica.Blocks.Sources.Constant y1(k=0.1) "Shade control signal"; Modelica.Thermal.HeatTransfer.Components.ThermalConductor theConUns2( G=0.9*AGla*10) "Thermal conductor"; Modelica.Thermal.HeatTransfer.Components.ThermalConductor theConSha2( G=0.1*AGla*10) "Thermal conductor"; Modelica.Blocks.Sources.Constant y2(k=0.9) "Shade control signal"; HeatCapacity heaCapGlaNoSha( TUns(fixed=true), haveShade=false, C=AGla*datGla.x*datGla.d*datGla.c) "Heat Capacity of glass"; Modelica.Thermal.HeatTransfer.Components.ThermalConductor theConUns3(G=AGla*10) "Thermal conductor"; Modelica.Thermal.HeatTransfer.Components.HeatCapacitor heaCapUns3(C=1000, T( start=283.15, fixed=true)) "Thermal capacity connected to unshaded part of window"; equation connect(y05.y, heaCapGla.ySha); connect(y05.y, heaCapGla.yCom); connect(heaCapUns1.port, theConUns1.port_b); connect(theConUns1.port_a, heaCapGla.portUns); connect(heaCapGla.portSha, theConSha1.port_a); connect(theConSha1.port_b, heaCapSha1.port); connect(y1.y, heaCapGla01.ySha); connect(heaCapUns2.port,theConUns2. port_b); connect(theConUns2.port_a, heaCapGla01.portUns); connect(heaCapGla01.portSha, theConSha2.port_a); connect(theConSha2.port_b,heaCapSha2. port); connect(y2.y, heaCapGla01.yCom); connect(theConUns3.port_b,heaCapUns3. port); connect(heaCapGlaNoSha.portUns, theConUns3.port_a); end HeatCapacityConstantShade;

Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade

Validation model for heat capacity with variable shade signal

Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade

Information

This model validates the heat capacitor model for the window glass, with varying control signal and heat conduction to a thermal capacity that is a surrogate for the room model. As the thermal capacity is at the same temperature, no heat is exchanged.

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

Parameters

TypeNameDefaultDescription
AreaAGla2Glass area [m2]
GlassdatGladatGla( ...Thermal properties for glass

Modelica definition

model HeatCapacityVariableShade "Validation model for heat capacity with variable shade signal" extends Modelica.Icons.Example; parameter Modelica.SIunits.Area AGla = 2 "Glass area"; parameter Buildings.HeatTransfer.Data.Solids.Glass datGla(x=0.005) "Thermal properties for glass"; HeatCapacity heaCapGla( haveShade=true, TUns(fixed=true), TSha(fixed=true), C=AGla*datGla.x*datGla.d*datGla.c) "Heat Capacity of glass"; Modelica.Thermal.HeatTransfer.Components.HeatCapacitor heaCapSha( C=1000, T(start=293.15, fixed=true)) "Thermal capacity connected to shaded part of window"; Modelica.Blocks.Sources.Ramp yRamp( height=0.5, offset=0.25, duration=300, startTime=150) "Shade control signal"; Modelica.Thermal.HeatTransfer.Components.Convection theConSha "Thermal conductor"; Modelica.Thermal.HeatTransfer.Components.Convection theConUns "Thermal conductor"; Modelica.Blocks.Sources.RealExpression yCom(y=1 - yRamp.y) "Complementary control signal"; Modelica.Blocks.Math.Gain hASha(k=AGla*10) "hA value of shaded part of window"; Modelica.Blocks.Math.Gain hAUns(k=AGla*10) "hA value of unshaded part of window"; equation connect(yRamp.y, heaCapGla.ySha); connect(heaCapGla.portSha, theConSha.solid); connect(theConSha.fluid, heaCapSha.port); connect(theConUns.fluid, heaCapSha.port); connect(heaCapGla.portUns, theConUns.solid); connect(yCom.y, heaCapGla.yCom); connect(yRamp.y, hASha.u); connect(hASha.y, theConSha.Gc); connect(hAUns.y, theConUns.Gc); connect(yCom.y, hAUns.u); end HeatCapacityVariableShade;

Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT

Validation model for heat capacity with variable shade signal and different room temperature

Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT

Information

This model validates the heat capacitor model for the window glass, with varying control signal and heat conduction to a thermal capacity that is a surrogate for the room model. As the thermal capacity is at a different temperature, heat is exchanged. The window area with the small control signal is smaller, and hence a smaller amount of heat is exchanged.

Extends from HeatCapacityVariableShade (Validation model for heat capacity with variable shade signal).

Parameters

TypeNameDefaultDescription
AreaAGla2Glass area [m2]
GlassdatGla Thermal properties for glass

Modelica definition

model HeatCapacityVariableShadeDT "Validation model for heat capacity with variable shade signal and different room temperature" extends HeatCapacityVariableShade(heaCapSha(T(start=298.15))); end HeatCapacityVariableShadeDT;