Buildings.HeatTransfer.BaseClasses

Package with base classes for HeatTransfer package

Information


This package contains base classes that are used by various models
in the Buildings.HeatTransfer package.

Extends from Modelica.Fluid.Icons.BaseClassLibrary (Icon for library).

Package Content

NameDescription
Buildings.HeatTransfer.BaseClasses.PartialConductor PartialConductor Model for heat conductor
Buildings.HeatTransfer.BaseClasses.PartialConvection PartialConvection Model for heat convection
Buildings.HeatTransfer.BaseClasses.PartialConstruction PartialConstruction Partial model for constructions with and without convective heat transfer coefficient


Buildings.HeatTransfer.BaseClasses.PartialConductor Buildings.HeatTransfer.BaseClasses.PartialConductor

Model for heat conductor

Buildings.HeatTransfer.BaseClasses.PartialConductor

Information


Partial model for single layer and multi layer heat conductors.
The heat conductor can be steady-state or transient.

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

Parameters

TypeNameDefaultDescription
AreaA Heat transfer area [m2]
ThermalResistanceR Thermal resistance of construction [K/W]

Connectors

TypeNameDescription
HeatPort_aport_aHeat port at surface a
HeatPort_bport_bHeat port at surface b

Modelica definition

partial model PartialConductor "Model for heat conductor"
  extends Buildings.BaseClasses.BaseIcon;
  parameter Modelica.SIunits.Area A "Heat transfer area";
  final parameter Modelica.SIunits.CoefficientOfHeatTransfer U = UA/A 
    "U-value (without surface heat transfer coefficients)";
  final parameter Modelica.SIunits.ThermalConductance UA = 1/R 
    "Thermal conductance of construction (without surface heat transfer coefficients)";
  parameter Modelica.SIunits.ThermalResistance R 
    "Thermal resistance of construction";
  Modelica.SIunits.TemperatureDifference dT "port_a.T - port_b.T";
public 
  Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a port_a 
    "Heat port at surface a";
  Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_b port_b 
    "Heat port at surface b";
equation 
  dT = port_a.T - port_b.T;
end PartialConductor;

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

Model for heat convection

Buildings.HeatTransfer.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 "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.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;
  // Even if hCon is a step function with a step at zero,
  // the product hCon*dT is differentiable at zero with
  // a continuous first derivative
  Q_flow = A*qCon_flow();
end PartialConvection;

Buildings.HeatTransfer.BaseClasses.PartialConstruction Buildings.HeatTransfer.BaseClasses.PartialConstruction

Partial model for constructions with and without convective heat transfer coefficient

Buildings.HeatTransfer.BaseClasses.PartialConstruction

Information


Partial model for constructions and multi-layer heat conductors.

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

Parameters

TypeNameDefaultDescription
AreaA Heat transfer area [m2]
Genericlayersredeclare parameter Building...Construction definition from Data.OpaqueConstructions
Initialization
BooleansteadyStateInitialfalse=true initializes dT(0)/dt=0, false initializes T(0) at fixed temperature using T_a_start and T_b_start
TemperatureT_a_start293.15Initial temperature at port_a, used if steadyStateInitial = false [K]
TemperatureT_b_start293.15Initial temperature at port_b, used if steadyStateInitial = false [K]

Modelica definition

model PartialConstruction 
  "Partial model for constructions with and without convective heat transfer coefficient"
  extends Buildings.BaseClasses.BaseIcon;
  parameter Modelica.SIunits.Area A "Heat transfer area";

  replaceable parameter Buildings.HeatTransfer.Data.OpaqueConstructions.Generic
    layers "Construction definition from Data.OpaqueConstructions";

  final parameter Integer nLay(min=1, fixed=true) = layers.nLay 
    "Number of layers";
  final parameter Integer nSta[nLay](min=1)={layers.material[i].nSta for i in 1:nLay} 
    "Number of states";
  parameter Boolean steadyStateInitial=false 
    "=true initializes dT(0)/dt=0, false initializes T(0) at fixed temperature using T_a_start and T_b_start";
  parameter Modelica.SIunits.Temperature T_a_start=293.15 
    "Initial temperature at port_a, used if steadyStateInitial = false";
  parameter Modelica.SIunits.Temperature T_b_start=293.15 
    "Initial temperature at port_b, used if steadyStateInitial = false";

end PartialConstruction;

HTML-documentation generated by Dymola Thu Mar 17 10:16:14 2011.