---
url: /dyad/dev/stdlib/Dyad/connectors/HeatPort.md
description: >-
  Dyad HeatPort docs.  This connector represents a thermal port with temperature
  and heat flow as the potential and flow variables, respectively.
---

# `HeatPort` {#HeatPort}

This connector represents a thermal port with temperature and heat flow as the potential and flow variables, respectively.

## Usage {#Usage}

`Dyad.HeatPort()`

## Source {#Source}

```dyad
"This connector represents a thermal port with temperature and heat flow as the potential and flow variables, respectively."
connector HeatPort
  potential T::Temperature
  flow Q_flow::HeatFlowRate
metadata {
  "Dyad": {
    "labels": [{"label": "$(instance)", "x": 500, "y": 1100, "layer": "icon"}],
    "icons": {
      "default": "dyad://Dyad/HeatPortB.svg",
      "heat_port_a": "dyad://Dyad/HeatPortA.svg",
      "heat_port_b": "dyad://Dyad/HeatPortB.svg"
    },
    "path": {"stroke": "rgb(255,0,0)"}
  }
}
end
```

## Related {#Related}

* Examples

* Experiments

* Analyses

* Tests
