---
url: /dyad/stable/stdlib/HVACComponents/components/Components.OneTempWall1D.md
description: >-
  Dyad Components.OneTempWall1D docs.  Discretised one-temperature wall for
  tube-fin heat exchangers.
---

# `Components.OneTempWall1D` {#Components.OneTempWall1D}

Discretised one-temperature wall for tube-fin heat exchangers.

The wall is split into N segments. heatPort_a\[i] is the refrigerant-side port and heatPort_b\[i] is the air-side port for segment i; both see the same wall temperature T\[i]. m_wall is the total wall mass shared by all N segments. The initial wall temperature varies linearly from T_in_start to T_out_start along the discretisation.

## Usage {#Usage}

`HVACComponents.Components.OneTempWall1D(T_in_start, T_out_start, cp_wall, m_wall)`

## Parameters: {#Parameters:}

|          Name |                                            Description |    Units | Default value |
| -------------:| ------------------------------------------------------:| --------:| -------------:|
|           `N` |                          Number of axial wall segments |        – |               |
|  `T_in_start` |          Initial wall temperature at the inlet end \[K] |        K |               |
| `T_out_start` |         Initial wall temperature at the outlet end \[K] |        K |               |
|     `cp_wall` | Specific heat capacity of the wall material \[J/(kg.K)] | J/(kg.K) |               |
|      `m_wall` |          Total wall mass shared by all N segments \[kg] |       kg |               |

## Connectors {#Connectors}

* `heatPort_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))

* `heatPort_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` | Wall temperature in each segment \[K] (length N) |     K |
