Heat Capacitor
Lumped thermal element storing heat
Description
Equations
Variables
Connections
Parameters
Parameters for Visualization (Optional)
See Also
The Heat Capacitor component models a generic ideal heat capacity. The heat capacity is set with property of Material and Volume.
If the parameter T0 is not set, this component assumes the default temperature of 293.15 K at the start of the simulation.
C = Material.cp⋅ V ⋅ Material.rho
C⋅dTdt=port.Qflow
T = port
Symbol
Units
Modelica ID
T
K
Temperature
C
JK
Heat Capacity
port.Qflow
W
Heat flow rate from port
port.Q_flow
Name
Condition
port
Heat Port
Default
Material
SolidPropertyData1
−
Solid material property data
Wm⋅K
Material.k is the thermal conductivity of the material
Material.k
Jkg⋅K
Material.cp is the specific heat capacity of the material
Material.cp
kgm3
Material.rho is the density of the material
Material.rho
V
1
m3
Volume of the node
T__start
293.15
Initial condition of temperature
T_start
fixed
true
True enforces the T_start initial condition
Note: If you enable Show Visualization option, you can visualize temperature change as colored geometry in 3-D Playback Window. To make this function available, you have to enable 3-D Animation option in Multibody Settings. The quality of the visualization is affected if any open plot windows are behind the 3-D Playback Window. If you are experiencing playback issues, try moving the 3-D Playback Window so that it does not overlap a plot window. Alternatively, minimize or close any open plot windows. (For more details about the relation between color and temperature, see Color Blend help).
Show Visualization
false
If true, you can visualize temperature of Heat Capacitor as colored sphere in 3-D Playback Window. And the following visualization parameters are available.
VisOn
pos
0,0,0
m
Position of the node in visualization [X, Y, Z].
pos[3]
R__sphere
0.2
Radius of visualized heat capacitor sphere.
Sradius
Transparent
If true, heat capacitor sphere is displayed as transparent.
transparent
T__max
373.15
Upper limit of temperature in the color blend.
Tmax
Color of T__max
RGB255,0,0
Color when temperature is over T__max. Temperature between T__max and T__min are automatically interpolated to a color.
color_Tmax
T__min
273.15
Lower limit of temperature in the color blend.
Tmin
Color of T__min
RGB0,0,255
Color when temperature is under T__min. Temperature between T__max and T__min are automatically interpolated to a color.
color_Tmin
Heat Transfer Library Overview
Basic Overview
Download Help Document