Heat capacitor
Stores heat: C·dT/dt = Q_flow.
- thermal
- Modelica Standard Library
- 1 port
- 2 parameters
heatCapacitorLibraryThermalDescription
A lumped mass at one uniform temperature that stores heat. Its temperature rises with the net heat flowing into its port.
Example
Cooling a hot part A 10 W part cools through a thermal resistance into a heatsink that convects and radiates to 20 °C.
Also in this example:ConstantStepThermal conductorThermal resistorConvectionRadiationFixed temperatureTemperature sourceFixed heat flowHeat flow sourceTemperature sensorHeat flow sensorTemperature difference sensor
Ports
Conserving terminals 1
-
T
portHeat port at the body temperature T, in kelvin. Heat flow into the port is positive and heats the body.
Parameters
-
Heat capacity
C1000 J/K≥ 0
Heat capacity, in J/K: specific heat times mass (cp · m). Use a positive value.
-
Initial temperature
T0293.15 K≥ 0
Temperature at the start of the run, in kelvin (293.15 K is 20 °C). It is the initial value of the body temperature; when the port is tied to a fixed temperature, that wins.
Equations
C · dT/dt = port.Q_flow, with T = port.T T = T0 at time 0
Implementation
Modelica.Thermal.HeatTransfer.Components.HeatCapacitorAssumptions and limitations
- One lumped temperature: no gradients inside the body.
Tips
- Connect it to Fixed temperature through a Thermal conductor for a first-order heat-up with time constant C / G.
Used in
These larger examples use it too. Open them from Examples in the app.
- Data center cooling control
See also
Select a block in Gradara and press F1 to open its page offline.