Heat capacitor

Stores heat: C·dT/dt = Q_flow.

  • thermal
  • Modelica Standard Library
  • 1 port
  • 2 parameters
BlockHeat capacitorKindheatCapacitorLibraryThermal

Description

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.

10 WPart 100 J/KHeat flowR 2 K/WHeatsink 500 J/Kh·A 5 W/KConvectionAir 20 °CRadiationRoom 20 °CPart temperatureAcross R350 KHeld at 350 KG 1 W/KBody 100 J/K20 W at 1500 sHeaterBody temperature
In Gradara, select a Heat capacitor block and press F1, then choose Open example. It opens as a new model in My models, ready to run.

Also in this example:ConstantStepThermal conductorThermal resistorConvectionRadiationFixed temperatureTemperature sourceFixed heat flowHeat flow sourceTemperature sensorHeat flow sensorTemperature difference sensor

Ports

Conserving terminals 1

  • Tport

    Heat port at the body temperature T, in kelvin. Heat flow into the port is positive and heats the body.

Parameters

  • Heat capacityC1000 J/K

    ≥ 0

    Heat capacity, in J/K: specific heat times mass (cp · m). Use a positive value.

  • Initial temperatureT0293.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

Modelica
C · dT/dt = port.Q_flow, with T = port.T
T = T0 at time 0

Implementation

Modelica Standard Library 4.1.0Modelica.Thermal.HeatTransfer.Components.HeatCapacitor
MSL documentation

Assumptions 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.