modelHeatCapacitor

Diagram of HeatCapacitor

Information

HeatCapacitor

This components, refleting the first principe of thermodynamic (energy conservation), computes the variation of the temperature (the potential variable) from a heat flow balance and its thermal inertia.

The basic constitutive equation for convection is :

First principe of thermodynamic

Where :

  • port.Q_flow: The Heat flow balance at the heat port
  • m: The Mass of the inertial component
  • cp: The specific heat capacity at constant pressure

If energyDynamics parameter is SteadyStateInitial, the modelica solver will determine which value of the temperature ,at the initilisation, that satisfies a zero time derivative and will ignore the Tstart parameter.

If energyDynamics parameter is FixedInitial, the initial temperature is equal to the value of the T_start parameter.

If energyDynamics parameter is SteadyState, the heat capacitor becomes non inertial and behaves like a temperature sensor. The heat flow through the port port.Q_flow is set to 0.

Parameters

TypeNameDefaultDescription
Modelica.SIunits.Massm0Mass of element
DynamicsenergyDynamicsDynamics.SteadyStateInitialFormulation of energy balance
Modelica.SIunits.TemperatureT_start293.15Start value for temperature, if not steady state
Thermal properties
Modelica.SIunits.SpecificHeatCapacitycp0Specific heat capacity of element

Connectors

TypeNameDefaultDescription
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_aport

Components

TypeNameDefaultDescription
Modelica.SIunits.TemperatureTTemperature of element
Modelica.SIunits.EnergyEEnergy storage