modelCFDAirHeatMassBalance

Heat and mass balance of the air based on computational fluid dynamics

Extends from Buildings.ThermalZones.Detailed.BaseClasses.PartialAirHeatMassBalance.

Information

This model computes the heat and mass balance of the air using Computational Fluid Dynamics program.

For a documentation of the exchange parameters and variables, see Buildings.ThermalZones.Detailed.UsersGuide.CFD.

Parameters

TypeNameDefaultDescription
StringcfdFilNamCFD input file name
BooleanuseCFDtrueSet to false to deactivate the CFD interface and use instead yFixed as output
BooleanhaveSensorFlag, true if the model has at least one sensor
IntegernSenNumber of sensors that are connected to CFD output
String[nSen]sensorNameNames of sensors as declared in the CFD input file
String[nPorts]portNameNames of fluid ports as declared in the CFD input file
Real[nConExtWin]uSha_fixedConstant control signal for the shading device (0: unshaded; 1: fully shaded)
Dynamics › Conservation equations
Modelica.Fluid.Types.DynamicsmassDynamicsFormulation of mass balance
Initialization
Medium.AbsolutePressurep_startStart value of pressure
Sampling
Modelica.Units.SI.TimesamplePeriodSample period of component

Components

TypeNameDefaultDescription
CFDExchangecfdBlock that exchanges data with the CFD simulation
Modelica.Blocks.Interfaces.RealOutput[nSen]yCFDSensor for output from CFD
Modelica.Blocks.Math.AddQTotCon_flowTotal sensible convective heat flow rate added to the room
Modelica.Thermal.HeatTransfer.Sensors.HeatFlowSensorsenHeaFloSensor for heat flow added through the port heaPorAir
to_WQTotCon_flow_W

Contents

NameDescription
MediumMedium in the component
assignSurfaceIdentifierprotected

Revisions

  • November 17, 2016, by Michael Wetter:
    Removed protected parameter uStart, which is not needed.
    This is for issue 579.
  • December 31, 2013, by Wangda Zuo:
    • Corrected the connections. cfd.u should always be connected to Q_flow_out and cfd.y to T_in.
    • Added unit [W] for total convective sensible heat before it is input into component cfd.
    • Enabled transfer of C and X information.
    • Added initial value of shade.
  • July 17, 2013, by Michael Wetter:
    First implementation.