---
url: /dyad/stable/stdlib/HVACComponents/components/Components.Sources.PrescribedTemperature.md
description: >-
  Dyad Components.Sources.PrescribedTemperature docs.  Constant-temperature
  boundary for an array of HeatPorts.
---

# `Components.Sources.PrescribedTemperature` {#Components.Sources.PrescribedTemperature}

Constant-temperature boundary for an array of HeatPorts.

Holds every port in ports\[] at the same fixed temperature T_in; the heat flow through each port is whatever the connected network demands. Input-driven T is not yet supported.

## Usage {#Usage}

`HVACComponents.Components.Sources.PrescribedTemperature(T_in)`

## Parameters: {#Parameters:}

|     Name |                         Description | Units | Default value |
| --------:| -----------------------------------:| -----:| -------------:|
| `nPorts` |        Number of heat ports exposed |     – |               |
|   `T_in` | Prescribed boundary temperature \[K] |     K |               |

## Connectors {#Connectors}

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