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]

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"; 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; equation dT = solid.T - fluid.T; solid.Q_flow = Q_flow; fluid.Q_flow = -Q_flow; Q_flow = A*q_flow; end PartialConvection;