> For the complete documentation index, see [llms.txt](https://www.opal-rt.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.opal-rt.com/docs/cmde-add-on/model-and-simulation/configure-devices-within-a-ring/device-section/bq79xxx/bq79616.md).

# BQ79616

The **BQ79616** is a model supported by the BQ79XXX virtualized integrated circuit. Within the VeriStand project, it is represented as a Model item in the configuration tree and is emulated upon project deployment. It supports the monitoring of 16 battery cells, 8 GPIOs, over voltage under voltage, over temperature under temperature and cell balancing operations.

## Supported VeriStand Register Channels <a href="#supported-veristand-register-channels" id="supported-veristand-register-channels"></a>

| VeriStand Register Channel Name | Access         |
| ------------------------------- | -------------- |
| **ACTIVE\_CELL**                | Read           |
| **ADC\_CONF1**                  | Restricted     |
| **OV\_THRESH**                  | Read           |
| **UV\_THRESH**                  | Read           |
| **OTUT\_THRESH**                | Read           |
| **UV\_DISABLE1**                | Read           |
| **UV\_DISABLE2**                | Read           |
| **GPIO\_CONF1**                 | Read           |
| **GPIO\_CONF2**                 | Read           |
| **GPIO\_CONF3**                 | Read           |
| **GPIO\_CONF4**                 | Read           |
| **FAULT\_MSK2**                 | Restricted     |
| **COMM\_TIMEOUT\_CONF**         | Restricted     |
| **DIR0\_ADDR**                  | Read           |
| **COMM\_CTRL**                  | Read           |
| **CONTROL1**                    | Restricted     |
| **CONTROL2**                    | Restricted     |
| **ADC\_CTRL1**                  | Restricted     |
| **CB\_CELL16\_CTRL**            | Read           |
| **CB\_CELL15\_CTRL**            | Read           |
| **CB\_CELL14\_CTRL**            | Read           |
| **CB\_CELL13\_CTRL**            | Read           |
| **CB\_CELL12\_CTRL**            | Read           |
| **CB\_CELL11\_CTRL**            | Read           |
| **CB\_CELL10\_CTRL**            | Read           |
| **CB\_CELL9\_CTRL**             | Read           |
| **CB\_CELL8\_CTRL**             | Read           |
| **CB\_CELL7\_CTRL**             | Read           |
| **CB\_CELL6\_CTRL**             | Read           |
| **CB\_CELL5\_CTRL**             | Read           |
| **CB\_CELL4\_CTRL**             | Read           |
| **CB\_CELL3\_CTRL**             | Read           |
| **CB\_CELL2\_CTRL**             | Read           |
| **CB\_CELL1\_CTRL**             | Read           |
| **VCB\_DONE\_THRESH**           | Write          |
| **OTCB\_THRESH**                | Read           |
| **OVUV\_CTRL**                  | Read And Write |
| **OTUT\_CTRL**                  | Read And Write |
| **BAL\_CTRL1**                  | Read           |
| BAL\_CTRL2                      | Read And Write |
| **FAULT\_RST1**                 | Read           |
| **FAULT\_RST2**                 | Read           |
| **OTP\_ECC\_DATAIN1**           | Restricted     |
| **OTP\_ECC\_DATAIN2**           | Restricted     |
| **OTP\_ECC\_DATAIN3**           | Restricted     |
| **OTP\_ECC\_DATAIN4**           | Restricted     |
| **OTP\_ECC\_DATAIN5**           | Restricted     |
| **OTP\_ECC\_DATAIN6**           | Restricted     |
| **OTP\_ECC\_DATAIN7**           | Restricted     |
| **OTP\_ECC\_DATAIN8**           | Restricted     |
| **BAL\_STAT**                   | Write          |
| **DEV\_STAT**                   | Read And Write |
| **FAULT\_OV1**                  | Write          |
| **FAULT\_OV2**                  | Write          |
| **FAULT\_UV1**                  | Write          |
| **FAULT\_UV2**                  | Write          |
| **FAULT\_OT**                   | Write          |
| **FAULT\_UT**                   | Write          |
| **VCELL16\_HI**                 | Write          |
| **VCELL16\_LO**                 | Write          |
| **VCELL15\_HI**                 | Write          |
| **VCELL15\_LO**                 | Write          |
| **VCELL14\_HI**                 | Write          |
| **VCELL14\_LO**                 | Write          |
| **VCELL13\_HI**                 | Write          |
| **VCELL13\_LO**                 | Write          |
| **VCELL12\_HI**                 | Write          |
| **VCELL12\_LO**                 | Write          |
| **VCELL11\_HI**                 | Write          |
| **VCELL11\_LO**                 | Write          |
| **VCELL10\_HI**                 | Write          |
| **VCELL10\_LO**                 | Write          |
| **VCELL9\_HI**                  | Write          |
| **VCELL9\_LO**                  | Write          |
| **VCELL8\_HI**                  | Write          |
| **VCELL8\_LO**                  | Write          |
| **VCELL7\_HI**                  | Write          |
| **VCELL7\_LO**                  | Write          |
| **VCELL6\_HI**                  | Write          |
| **VCELL6\_LO**                  | Write          |
| **VCELL5\_HI**                  | Write          |
| **VCELL5\_LO**                  | Write          |
| **VCELL4\_HI**                  | Write          |
| **VCELL4\_LO**                  | Write          |
| **VCELL3\_HI**                  | Write          |
| **VCELL3\_LO**                  | Write          |
| **VCELL2\_HI**                  | Write          |
| **VCELL2\_LO**                  | Write          |
| **VCELL1\_HI**                  | Write          |
| **VCELL1\_LO**                  | Write          |
| **BUSBAR\_HI**                  | Write          |
| **BUSBAR\_LO**                  | Write          |
| **TSREF\_HI**                   | Write          |
| **TSREF\_LO**                   | Write          |
| **GPIO1\_HI**                   | Write          |
| **GPIO1\_LO**                   | Write          |
| **GPIO2\_HI**                   | Write          |
| **GPIO2\_LO**                   | Write          |
| **GPIO3\_HI**                   | Write          |
| **GPIO3\_LO**                   | Write          |
| **GPIO4\_HI**                   | Write          |
| **GPIO4\_LO**                   | Write          |
| **GPIO5\_HI**                   | Write          |
| **GPIO5\_LO**                   | Write          |
| **GPIO6\_HI**                   | Write          |
| **GPIO6\_LO**                   | Write          |
| **GPIO7\_HI**                   | Write          |
| **GPIO7\_LO**                   | Write          |
| **GPIO8\_HI**                   | Write          |
| **GPIO8\_LO**                   | Write          |

## Simulation Models

In the **System Explorer** window configuration tree, expand **Targets >> Controller >> Simulation Models** and select the **Models** section to display this page. The Models section is populated with one or more subsections named **Device X**, depending on the amount and type of devices enabled on the [**Ring Configuration**](https://www.opal-rt.com/docs/cmde-add-on/model-and-simulation/configure-devices-within-a-ring/ring-configuration-page.md) page. The naming of the model matches the enabled device (*e.g. if Device 1 is enabled, a Device 1 model will be added*).

These section channels are model inputs that can be dynamically modified during execution. After selecting the BQ79616 device type, expand the **Models** section in the configuration tree to display the following VeriStand channels.

<table><thead><tr><th width="149.888916015625">Channel Name</th><th width="79.66668701171875">Type</th><th width="90.22216796875">Format</th><th width="70.00006103515625">Units</th><th>Description</th></tr></thead><tbody><tr><td><strong>Bus Bar</strong></td><td>Input</td><td>Decimal</td><td>V</td><td>Emulates the Bus Bar of a real device.</td></tr><tr><td><strong>Cell Voltage </strong><em><strong>x</strong></em></td><td>Input</td><td>Decimal</td><td>V</td><td>Emulates the cell voltage measurement of Cell <em>x</em>. This measurement is taken between pin C<em>x</em> and pin C(<em>x</em>-1) on a real device.</td></tr><tr><td><strong>GPIO </strong><em><strong>x</strong></em></td><td>Input</td><td>Decimal</td><td>V</td><td>Emulates pins GPIO1 through GPIO8 of a real device.</td></tr><tr><td><strong>TSREF</strong></td><td>Input</td><td>Decimal</td><td>V</td><td>Emulates TSREF of a real device.</td></tr><tr><td><strong>Cell </strong><em><strong>x</strong></em><strong> Discharge</strong></td><td>Output</td><td>Boolean</td><td>-</td><td>Shows the discharge state of a given cell during cell balancing, where <em>1</em> indicates ongoing discharge and <em>0</em> indicates the has been discharged.</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://www.opal-rt.com/docs/cmde-add-on/model-and-simulation/configure-devices-within-a-ring/device-section/bq79xxx/bq79616.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
