Buildings.Fluid.HeatExchangers.ThermalWheels.Sensible.BaseClasses.Validation

Collection of models that validate the module in the base classes

Information

This package contains validation models for the classes in Buildings.Fluid.HeatExchangers.ThermalWheels.Sensible.BaseClasses.

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

Package Content

Name Description
Buildings.Fluid.HeatExchangers.ThermalWheels.Sensible.BaseClasses.Validation.Effectiveness Effectiveness Test model for calculating the input effectiveness of a sensible heat exchanger
Buildings.Fluid.HeatExchangers.ThermalWheels.Sensible.BaseClasses.Validation.HeatExchangerWithInputEffectiveness HeatExchangerWithInputEffectiveness Test model for the heat exchanger with input effectiveness

Buildings.Fluid.HeatExchangers.ThermalWheels.Sensible.BaseClasses.Validation.Effectiveness Buildings.Fluid.HeatExchangers.ThermalWheels.Sensible.BaseClasses.Validation.Effectiveness

Test model for calculating the input effectiveness of a sensible heat exchanger

Buildings.Fluid.HeatExchangers.ThermalWheels.Sensible.BaseClasses.Validation.Effectiveness

Information

Validation test for the block Buildings.Fluid.HeatExchangers.ThermalWheels.Sensible.BaseClasses.Effectiveness.

The input signals are configured as follows:

The expected outputs are:

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

Modelica definition

model Effectiveness "Test model for calculating the input effectiveness of a sensible heat exchanger" extends Modelica.Icons.Example; Buildings.Fluid.HeatExchangers.ThermalWheels.Sensible.BaseClasses.Effectiveness epsCal( eps_nominal=0.8, epsPL=0.75, mSup_flow_nominal=1) "Effectiveness calculator"; Modelica.Blocks.Sources.Ramp VSup( height=0.4, duration=120, offset=0.6, startTime=0) "Supply air flow rate"; Modelica.Blocks.Sources.Ramp VExh( height=0.2, duration=120, offset=0.8, startTime=0) "Exhaust air flow rate"; equation connect(VSup.y,epsCal.mSup_flow); connect(VExh.y,epsCal.mExh_flow); end Effectiveness;

Buildings.Fluid.HeatExchangers.ThermalWheels.Sensible.BaseClasses.Validation.HeatExchangerWithInputEffectiveness Buildings.Fluid.HeatExchangers.ThermalWheels.Sensible.BaseClasses.Validation.HeatExchangerWithInputEffectiveness

Test model for the heat exchanger with input effectiveness

Buildings.Fluid.HeatExchangers.ThermalWheels.Sensible.BaseClasses.Validation.HeatExchangerWithInputEffectiveness

Information

Validation test for the block Buildings.Fluid.HeatExchangers.ThermalWheels.Sensible.BaseClasses.HeatExchangerWithInputEffectiveness.

The input signals are configured as follows:

The expected outputs are: during the period from 120 seconds to 180 seconds, the difference between the entering exhaust exhaust air temperature and the leaving exhaust air temperature decreases.

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

Modelica definition

model HeatExchangerWithInputEffectiveness "Test model for the heat exchanger with input effectiveness" extends Modelica.Icons.Example; package Medium1 = Buildings.Media.Air "Supply air"; package Medium2 = Buildings.Media.Air "Exhaust air"; Buildings.Fluid.Sources.Boundary_pT sin_2( redeclare package Medium = Medium2, p(displayUnit="Pa") = 101325, T=273.15 + 10, nPorts=1) "Ambient"; Buildings.Fluid.Sources.Boundary_pT sou_2( redeclare package Medium = Medium2, p(displayUnit="Pa") = 101325 + 100, nPorts=1) "Exhaust air source"; Modelica.Blocks.Sources.Ramp TSup( height=10, duration=60, offset=273.15 + 30, startTime=120) "Supply air temperature"; Buildings.Fluid.Sources.Boundary_pT sin_1( redeclare package Medium = Medium1, T(displayUnit="K") = 273.15 + 30, X={0.012,1 - 0.012}, p(displayUnit="Pa") = 1E5 - 110, nPorts=1) "Supply air sink"; Buildings.Fluid.Sources.Boundary_pT sou_1( redeclare package Medium = Medium1, T=273.15 + 50, X={0.012,1 - 0.012}, use_T_in=true, p(displayUnit="Pa") = 100000, nPorts=1) "Supply air source"; Buildings.Fluid.HeatExchangers.ThermalWheels.Sensible.BaseClasses.HeatExchangerWithInputEffectiveness hex( redeclare package Medium1 = Medium1, redeclare package Medium2 = Medium2, m1_flow_nominal=5, m2_flow_nominal=5, dp1_nominal=100, dp2_nominal=100) "Heat exchanger"; Modelica.Blocks.Sources.Ramp eps( height=0.1, duration=60, offset=0.7, startTime=120) "Sensible heat exchanger effectiveness"; Buildings.Fluid.Sensors.TemperatureTwoPort senExhTemOut( redeclare package Medium = Medium2, m_flow_nominal=5) "Temperature sensor for exhuast air outlet"; Buildings.Fluid.Sensors.TemperatureTwoPort senExhTemIn( redeclare package Medium = Medium2, m_flow_nominal=5) "Temperature sensor for exhuast air inlet"; equation connect(TSup.y, sou_1.T_in); connect(sou_1.ports[1], hex.port_a1); connect(hex.port_b1, sin_1.ports[1]); connect(eps.y, hex.eps); connect(senExhTemOut.port_a, hex.port_b2); connect(senExhTemOut.port_b, sin_2.ports[1]); connect(hex.port_a2, senExhTemIn.port_b); connect(senExhTemIn.port_a, sou_2.ports[1]); end HeatExchangerWithInputEffectiveness;