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
| Type | Name | Default | Description |
|---|---|---|---|
| String | cfdFilNam | CFD input file name | |
| Boolean | useCFD | true | Set to false to deactivate the CFD interface and use instead yFixed as output |
| Boolean | haveSensor | Flag, true if the model has at least one sensor | |
| Integer | nSen | Number of sensors that are connected to CFD output | |
| String[nSen] | sensorName | Names of sensors as declared in the CFD input file | |
| String[nPorts] | portName | Names of fluid ports as declared in the CFD input file | |
| Real[nConExtWin] | uSha_fixed | Constant control signal for the shading device (0: unshaded; 1: fully shaded) | |
| Dynamics › Conservation equations | |||
| Modelica.Fluid.Types.Dynamics | massDynamics | Formulation of mass balance | |
| Initialization | |||
| Medium.AbsolutePressure | p_start | Start value of pressure | |
| Sampling | |||
| Modelica.Units.SI.Time | samplePeriod | Sample period of component | |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| CFDExchange | cfd | Block that exchanges data with the CFD simulation | |
| Modelica.Blocks.Interfaces.RealOutput[nSen] | yCFD | Sensor for output from CFD | |
| Modelica.Blocks.Math.Add | QTotCon_flow | Total sensible convective heat flow rate added to the room | |
| Modelica.Thermal.HeatTransfer.Sensors.HeatFlowSensor | senHeaFlo | Sensor for heat flow added through the port heaPorAir | |
| to_W | QTotCon_flow_W |
Contents
| Name | Description |
|---|---|
| Medium | Medium in the component |
| assignSurfaceIdentifierprotected |
Revisions
-
November 17, 2016, by Michael Wetter:
Removed protected parameteruStart, 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.