modelHeatCapacitor
Information
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 :
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
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.Mass | m | 0 | Mass of element |
| Dynamics | energyDynamics | Dynamics.SteadyStateInitial | Formulation of energy balance |
| Modelica.SIunits.Temperature | T_start | 293.15 | Start value for temperature, if not steady state |
| Thermal properties | |||
| Modelica.SIunits.SpecificHeatCapacity | cp | 0 | Specific heat capacity of element |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a | port |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.Temperature | T | Temperature of element | |
| Modelica.SIunits.Energy | E | Energy storage |