LBL logo

Buildings.HeatTransfer.Convection.BaseClasses

Package with base classes for Buildings.HeatTransfer.Convection

Information

This package contains base classes that are used to construct the models in Buildings.HeatTransfer.Convection.

Extends from Modelica.Icons.BasesPackage (Icon for packages containing base classes).

Package Content

Name Description
Buildings.HeatTransfer.Convection.BaseClasses.PartialConvection PartialConvection Partial model for heat convection

Buildings.HeatTransfer.Convection.BaseClasses.PartialConvection Buildings.HeatTransfer.Convection.BaseClasses.PartialConvection

Partial model for heat convection

Buildings.HeatTransfer.Convection.BaseClasses.PartialConvection

Information

Partial model for a convective heat transfer model.

Extends from Buildings.BaseClasses.BaseIcon (Base icon).

Parameters

TypeNameDefaultDescription
AreaA Heat transfer area [m2]
CoefficientOfHeatTransferhFixed3Constant convection coefficient [W/(m2.K)]
Angletil Surface tilt [rad]

Connectors

TypeNameDescription
HeatPort_asolid 
HeatPort_bfluid 

Modelica definition

partial model PartialConvection "Partial model for heat convection" extends Buildings.BaseClasses.BaseIcon; parameter Modelica.SIunits.Area A "Heat transfer area"; parameter Modelica.SIunits.CoefficientOfHeatTransfer hFixed=3 "Constant convection coefficient"; Modelica.SIunits.HeatFlowRate Q_flow "Heat flow rate from solid -> fluid"; Modelica.SIunits.HeatFlux q_flow "Convective heat flux from solid -> fluid"; Modelica.SIunits.TemperatureDifference dT(start=0) "= solid.T - fluid.T"; Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a solid; Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_b fluid; parameter Modelica.SIunits.Angle til(displayUnit="deg") "Surface tilt"; protected final parameter Real cosTil=Modelica.Math.cos(til) "Cosine of window tilt"; final parameter Real sinTil=Modelica.Math.sin(til) "Sine of window tilt"; final parameter Boolean isCeiling = abs(sinTil) < 10E-10 and cosTil > 0 "Flag, true if the surface is a ceiling"; final parameter Boolean isFloor = abs(sinTil) < 10E-10 and cosTil < 0 "Flag, true if the surface is a floor"; equation dT = solid.T - fluid.T; solid.Q_flow = Q_flow; fluid.Q_flow = -Q_flow; Q_flow = A*q_flow; end PartialConvection;

http://simulationresearch.lbl.gov/modelica