IEA EBC Annex 60 EBC logo

Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples

Information

This package contains examples for the use of models that can be found in Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.

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

Package Content

Name Description
Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector Convector  
Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline DerivateCubicSpline  
Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor ModificationFactor  

Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector


Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector

Information

The example tests the implementation of Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Convector. The room air temperature and the water mass flow rate are constant while the air flow rate varys with a ramp.

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

Modelica definition

model Convector extends Modelica.Icons.Example; package Medium = Annex60.Media.Water "Water model"; Annex60.Fluid.Sources.MassFlowSource_T wat( redeclare package Medium = Medium, m_flow=0.094, T=288.15, nPorts=1); Annex60.Fluid.Sources.FixedBoundary bou( redeclare package Medium = Medium, nPorts=1) "Pressure boundary condition"; Modelica.Blocks.Sources.Ramp airFlo(height=0.0792, duration=4) "Air mass flow rate"; Modelica.Blocks.Sources.Constant rooTem(k=273.15 + 25) "Room air temperature"; Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Convector con( redeclare package Medium = Medium, nBeams=1, energyDynamics=Modelica.Fluid.Types.Dynamics.FixedInitial, per( mAir_flow_nominal=0.0792, mWat_flow_nominal=0.094, dT_nominal=-10, Q_flow_nominal=1092, dpWat_nominal=10000, dpAir_nominal=100)) "Convector model"; Annex60.Fluid.Sensors.TemperatureTwoPort senTem( redeclare package Medium = Medium, m_flow_nominal=0.094) "Temperature sensor"; equation connect(airFlo.y, con.mAir_flow); connect(rooTem.y, con.TRoo); connect(con.port_b, senTem.port_a); connect(senTem.port_b, bou.ports[1]); connect(wat.ports[1], con.port_a); end Convector;

Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline


Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline

Information

The example tests the implementation of Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.DerivatesCubicSpline. Default vectors are: x=[0,0.5,1] and y=[0,0.75,1]. Input to the model is the simulation time.

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

Modelica definition

model DerivateCubicSpline extends Modelica.Icons.Example; Modelica.Blocks.Sources.Clock clock "Clock"; Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.DerivativesCubicSpline cubSpl "Derivatives of cubic spline"; equation connect(clock.y, cubSpl.u); end DerivateCubicSpline;

Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor


Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor

Information

This example tests the implementation of Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.ModificationFactor.

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

Modelica definition

model ModificationFactor extends Modelica.Icons.Example; Modelica.Blocks.Sources.Constant const1(k=20) "Constant input signal"; Modelica.Blocks.Sources.Ramp ramp(height=0.0792, duration=1) "Ramp input signal"; Modelica.Blocks.Sources.Ramp ramp1(height=0.094, duration=1) "Ramp input signal"; Modelica.Blocks.Sources.Ramp ramp2( height=27.8, duration=1, offset=20) "Ramp input signal"; Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.ModificationFactor mod( nBeams=1, per( Q_flow_nominal=0.094*2*4200, mAir_flow_nominal=0.0792, mWat_flow_nominal=0.094, dT_nominal=27.8, dpWat_nominal=10000, dpAir_nominal=100)) "Modification factor"; equation connect(ramp.y, mod.mAir_flow); connect(ramp1.y, mod.mWat_flow); connect(ramp2.y, mod.TWat); connect(const1.y, mod.TRoo); end ModificationFactor;

http://iea-annex60.org