---
url: /dyad/stable/stdlib/ThermalComponents/components/Components.ThermalConductor.md
description: >-
  Dyad Components.ThermalConductor docs.  Lumped thermal element for heat
  conduction without thermal energy storage.
---

# `Components.ThermalConductor` {#Components.ThermalConductor}

Lumped thermal element for heat conduction without thermal energy storage.

This component models a purely conductive thermal element. Heat flows through the conductor from the port with higher temperature to the port with lower temperature. The rate of heat flow `Q_flow` is linearly proportional to the temperature difference `ΔT` across the element. The constant of proportionality is the thermal conductance `G`. The relationship is given by Fourier's law for conduction in its lumped form:

$$Q\_{flow} = G \cdot \Delta T$$

This component extends from [`ThermalComponents.Interfaces.Element1D`](../types/Interfaces.Element1D.md)

## Usage {#Usage}

`ThermalComponents.Components.ThermalConductor(G)`

## Parameters: {#Parameters:}

| Name |                                  Description | Units | Default value |
| ----:| --------------------------------------------:| -----:| -------------:|
|  `G` | Constant thermal conductance of the material |   W/K |               |

## Connectors {#Connectors}

* `port_a` - This connector represents a thermal port with temperature and heat flow as the potential and flow variables, respectively. ([`HeatPort`](/stdlib/Dyad/connectors/HeatPort#HeatPort))

* `port_b` - This connector represents a thermal port with temperature and heat flow as the potential and flow variables, respectively. ([`HeatPort`](/stdlib/Dyad/connectors/HeatPort#HeatPort))

## Variables {#Variables}

|     Name |                                                                  Description | Units |
| --------:| ----------------------------------------------------------------------------:| -----:|
|     `ΔT` | Temperature difference across the element, calculated as port_a.T - port_b.T |     K |
| `Q_flow` |           Heat flow rate through the element, positive from port_a to port_b |     W |

## Behavior {#Behavior}

$$ \begin{align}
\mathtt{{\Delta}T}\left( t \right) &= \mathtt{port_a.T}\left( t \right) - \mathtt{port_b.T}\left( t \right) \\
\mathtt{port_a.Q_flow}\left( t \right) &= \mathtt{Q_flow}\left( t \right) \\
\mathtt{port_a.Q_flow}\left( t \right) + \mathtt{port_b.Q_flow}\left( t \right) &= 0 \\
\mathtt{Q_flow}\left( t \right) &= G ~ \mathtt{{\Delta}T}\left( t \right)
\end{align}
$$

## Source {#Source}

````dyad
"""
Lumped thermal element for heat conduction without thermal energy storage.

This component models a purely conductive thermal element. Heat flows through the
conductor from the port with higher temperature to the port with lower temperature.
The rate of heat flow `Q_flow` is linearly proportional to the temperature difference
`ΔT` across the element. The constant of proportionality is the thermal
conductance `G`. The relationship is given by Fourier's law for conduction in
its lumped form:
```math
Q_{flow} = G \cdot \Delta T
```
"""
component ThermalConductor
  extends ThermalComponents.Interfaces.Element1D
  "Constant thermal conductance of the material"
  parameter G::ThermalConductance
relations
  Q_flow = G * ΔT
metadata {
  "Dyad": {
    "labels": [{"label": "$(instance)", "x": 500, "y": 1100, "rot": 0}],
    "icons": {"default": "dyad://ThermalComponents/ThermalConductor.svg"}
  }
}
end
````

````dyad
"""
Lumped thermal element for heat conduction without thermal energy storage.

This component models a purely conductive thermal element. Heat flows through the
conductor from the port with higher temperature to the port with lower temperature.
The rate of heat flow `Q_flow` is linearly proportional to the temperature difference
`ΔT` across the element. The constant of proportionality is the thermal
conductance `G`. The relationship is given by Fourier's law for conduction in
its lumped form:
```math
Q_{flow} = G \cdot \Delta T
```
"""
component ThermalConductor
  "Port 'a' for thermal connection"
  port_a = HeatPort() {
    "Dyad": {
      "placement": {"icon": {"iconName": "port_a", "x1": -50, "y1": 450, "x2": 50, "y2": 550}}
    }
  }
  "Port 'b' for thermal connection"
  port_b = HeatPort() {
    "Dyad": {
      "placement": {"icon": {"iconName": "port_b", "x1": 950, "y1": 450, "x2": 1050, "y2": 550}}
    }
  }
  "Temperature difference across the element, calculated as port_a.T - port_b.T"
  variable ΔT::Temperature
  "Heat flow rate through the element, positive from port_a to port_b"
  variable Q_flow::HeatFlowRate
  "Constant thermal conductance of the material"
  parameter G::ThermalConductance
relations
  ΔT = port_a.T - port_b.T
  port_a.Q_flow = Q_flow
  port_a.Q_flow + port_b.Q_flow = 0
  Q_flow = G * ΔT
metadata {
  "Dyad": {
    "labels": [{"label": "$(instance)", "x": 500, "y": 1100, "rot": 0}],
    "icons": {"default": "dyad://ThermalComponents/ThermalConductor.svg"}
  }
}
end
````

## Test Cases {#Test-Cases}

No test cases defined.

## Related {#Related}

* Examples

* Experiments

* Analyses
