> 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/hypersim/examples/renewable-energy/distribution-fuel-cell-average-converter.md).

# Distribution Connected Fuel Cell Generation System with Average Converter

## Description

The **Fuel Cell Generation System (FCGS)** example, located in **File > Open an Example File > Renewable Energy**, models a 45 kW fuel cell generation system connected to a distribution network. The objective is to demonstrate grid-following control that tracks active and reactive power references using an average converter model.

<figure><img src="https://3623212549-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLxgTpoh7kyPmQ5vuyqD7%2Fuploads%2Fgit-blob-7418e186a800dad5ca557919535967fb98a6caf3%2Fimage%20(1519).png?alt=media" alt=""><figcaption></figcaption></figure>

## Requirements

This example model does not require any additional hardware or licenses.

## Detailed explanation

A 45 kW FCGS is connected via a feeder to a simplified three-bus, 22.9 kV, 50 Hz distribution system. The feeders are modeled with equivalent direct-sequence and zero-sequence impedances. Bus3 includes two loads of 0.5244 MW and 0.1669 MVAr.

The FCGS connects to Bus4 through a 22.9 kV/480 V, 60 kVA star–delta distribution transformer. The transformer secondary feeds a voltage source converter through a 1.5 mH choke filter. The choke value is selected to limit the total harmonic distortion of the current injected into the grid to 5% for a switching frequency of 1350 Hz (noting that the average model does not simulate switching harmonics).

The inverter controls active and reactive power at the point of common coupling (PCC). The FCGS operates in grid-following mode and tracks active and reactive power references.

For more details about the FCGS model, see [Fuel Cell Generation System (FCGS)](https://www.opal-rt.com/docs/hypersim/examples/renewable-energy/distribution-fuel-cell-average-converter/fuel-cell-generation-system-fcgs.md).

## Simulation and results

The following scenarios demonstrate the modes of operation of the FCGS described in Fuel Cell Generation System (FCGS). The sequence of mode changes is shown below.

| Operating points | From | To   | Pref (pu) | Qref (pu) |
| ---------------- | ---- | ---- | --------- | --------- |
| 1                | 0 s  | 2 s  | 0         | 0         |
| 2                | 2 s  | 5 s  | 1         | 0         |
| 3                | 5 s  | 6 s  | 1         | -0.3      |
| 4                | 6 s  | 10 s | 0.75      | -0.3      |
| 5                | 10 s | 12 s | 0.5       | -0.3      |
| 6                | 12 s | 14 s | 0.5       | 0.3       |
| 7                | 14 s | 18 s | 0.25      | 0.3       |
| 8                | 18 s | 22 s | 1         | 0.3       |

The power references are selected to demonstrate the FCGS tracking capability. The DC link voltage is regulated by the grid-connected inverter. After 5 seconds, the reactive power decreases to zero despite a non-zero reference because the control loop prioritizes active power while respecting the converter power ratings. A similar behavior occurs at 18 seconds when the active power reference is restored to 1 pu.

<figure><img src="https://3623212549-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLxgTpoh7kyPmQ5vuyqD7%2Fuploads%2Fgit-blob-1b564b8d9a5f81ed9c5ec2e3f0b821644108b48c%2Fimage%20(1520).png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3623212549-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLxgTpoh7kyPmQ5vuyqD7%2Fuploads%2Fgit-blob-ef7ff0c9163ac93fba1dce6c6b8096108aeac534%2Fimage%20(1521).png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3623212549-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLxgTpoh7kyPmQ5vuyqD7%2Fuploads%2Fgit-blob-a01c2619593374d65569babf53aff16d07d36653%2Fimage%20(1522).png?alt=media" alt=""><figcaption></figcaption></figure>

## References

\[1] Fuel Cell Markets (2017). NedStack PS50 PEM Fuel Cell System.

\[2] N. M., O. Tremblay and L. A. Dessaint, "A generic fuel cell model for the simulation of fuel cell vehicles," 2009 IEEE Vehicle Power and Propulsion Conference, Dearborn, MI, 2009, pp. 1722-1729


---

# 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/hypersim/examples/renewable-energy/distribution-fuel-cell-average-converter.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.
