Package with base classes for Buildings.HeatTransfer.Conduction
This package contains base classes that are used to construct the models in Buildings.HeatTransfer.Conduction.
Extends from Modelica.Icons.BasesPackage (Icon for packages containing base classes).
Name | Description |
---|---|
PartialConductor | Partial model for heat conductor |
PartialConstruction | Partial model for multi-layer constructions |
der_temperature_u | Computes the derivative of the temperature of a phase change material with respect to specific internal energy |
temperature_u | Computes the temperature of a phase change material for a given specific internal energy |
Examples | Collection of models that illustrate model use and test models |
Partial model for heat conductor
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 for multi-layer constructions
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] |
Computes the derivative of the temperature of a phase change material with respect to specific internal energy
This function computes at the support points Td the derivatives dT/du of the cubic hermite spline approximation to the temperature vs. specific internal energy relation. These derivatives are then used by the function Buildings.HeatTransfer.Conduction.BaseClasses.temperature_u to compute for a given specific internal energy the temperature.
Type | Name | Default | Description |
---|---|---|---|
SpecificHeatCapacity | c | Specific heat capacity [J/(kg.K)] | |
Temperature | TSol | Solidus temperature, used only for PCM. [K] | |
Temperature | TLiq | Liquidus temperature, used only for PCM [K] | |
SpecificInternalEnergy | LHea | Latent heat of phase change [J/kg] | |
Boolean | ensureMonotonicity | false | Set to true to force derivatives dT/du to be monotone |
Type | Name | Description |
---|---|---|
SpecificInternalEnergy | ud[Buildings.HeatTransfer.Conduction.nSupPCM] | Support points for derivatives [J/kg] |
Temperature | Td[Buildings.HeatTransfer.Conduction.nSupPCM] | Support points for derivatives [K] |
Real | dT_du[Buildings.HeatTransfer.Conduction.nSupPCM] | Derivatives dT/du at the support points [kg.K2/J] |
Computes the temperature of a phase change material for a given specific internal energy
This function computes for a given specific internal energy u the temperature T(u), using a cubic hermite spline approximation to the temperature vs. specific internal energy relation. Input to the function are the derivatives dT/du at the support points. These derivatives can be computed using Buildings.HeatTransfer.Conduction.BaseClasses.der_temperature_u.
The derivatives dT/du are an input to this function because they typically only need to be computed once, whereas T(u) must be evaluated at each time step.
Type | Name | Default | Description |
---|---|---|---|
SpecificInternalEnergy | ud[Buildings.HeatTransfer.Conduction.nSupPCM] | Support points for derivatives [J/kg] | |
Temperature | Td[Buildings.HeatTransfer.Conduction.nSupPCM] | Support points for derivatives [K] | |
Real | dT_du[:] | Derivatives dT/du at the support points [kg.K2/J] | |
SpecificInternalEnergy | u | Specific internal energy [J/kg] |
Type | Name | Description |
---|---|---|
Temperature | T | Resulting temperature [K] |