Buildings.HeatTransfer
package.
Extends from Modelica.Fluid.Icons.BaseClassLibrary (Icon for library).
Name | Description |
---|---|
PartialConductor | Model for heat conductor |
PartialConvection | Model for heat convection |
PartialConstruction | Partial model for constructions with and without convective heat transfer coefficient |
Extends from Buildings.BaseClasses.BaseIcon (Base icon).
Type | Name | Default | Description |
---|---|---|---|
Area | A | Heat transfer area [m2] | |
ThermalResistance | R | Thermal resistance of construction [K/W] |
Type | Name | Description |
---|---|---|
HeatPort_a | port_a | Heat port at surface a |
HeatPort_b | port_b | Heat port at surface b |
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;
Extends from Buildings.BaseClasses.BaseIcon (Base icon).
Type | Name | Default | Description |
---|---|---|---|
Area | A | Heat transfer area [m2] |
Type | Name | Description |
---|---|---|
HeatPort_a | solid | |
HeatPort_b | fluid |
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;
Extends from Buildings.BaseClasses.BaseIcon (Base icon).
Type | Name | Default | Description |
---|---|---|---|
Area | A | Heat transfer area [m2] | |
Generic | layers | redeclare parameter Building... | Construction definition from Data.OpaqueConstructions |
Initialization | |||
Boolean | steadyStateInitial | false | =true initializes dT(0)/dt=0, false initializes T(0) at fixed temperature using T_a_start and T_b_start |
Temperature | T_a_start | 293.15 | Initial temperature at port_a, used if steadyStateInitial = false [K] |
Temperature | T_b_start | 293.15 | Initial temperature at port_b, used if steadyStateInitial = false [K] |
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;