> 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/courseware/electric-courseware/renewable-energy/battery-energy-storage-system-bess/exercises.md).

# Exercises

The objective of this experiment is to study the steady-state operation of the BESS.\
Real-time simulation results are shown in the “Main Interface” and “Help Contents” tabs of the laboratory panel.

## Grid Connected Mode <a href="#grid-connected-mode" id="grid-connected-mode"></a>

1. Start with the PQ operation mode, which enables the control of active power *P* and reactive power *Q*.\
   Set the reference value *P*<sub>*ref*</sub> to 1 p.u.\
   Is the measured value for *P* equal to the desired value?
2. Set *P*<sub>*ref*</sub> to &#x30;*.*&#x38; p.u. and *Q*<sub>*ref*</sub> to &#x30;*.*&#x35; p.u.\
   Do *P* and *Q* follow the given reference values?\
   Increase *Q*<sub>*ref*</sub> and determine the maximum value for that *P* and *Q* can follow their reference values *P*<sub>*ref*</sub> and *Q*<sub>*ref*</sub>.
3. With *P*<sub>*ref*</sub> = &#x30;*.*&#x35; p.u. and *Q*<sub>*ref*</sub> = &#x30;*.*&#x35; p.u., change to the PV operation mode that enables the control of the active power *P* and the voltage *V*.\
   What are the differences to PQ Mode?

## Islanded Operation Mode <a href="#islanded-operation-mode" id="islanded-operation-mode"></a>

1. Change to PQ operation mode with *P*<sub>*ref*</sub> = &#x30;*.*&#x38; p.u. and *Q*<sub>*ref*</sub> = &#x30;*.*&#x35; p.u.\
   Then change to the islanded (grid forming) operation mode.\
   The BESS is now disconnected from the grid at switch B3 (see [**figure 2**](https://www.opal-rt.com/docs/courseware/electric-courseware/renewable-energy/battery-energy-storage-system-bess/virtual-test-bench-overview.md)).\
   Notice that once in grid forming mode, the *P* and *Q* references are no longer followed while the voltage magnitude at the PCC is now 1 p.u.\
   and the frequency is at 1 p.u. (50 Hz) as the BESS regulates both parameters to their rated values.\
   How does the islanded mode impact the power flow?\
   How does the BESS impact the grid in islanded operation mode?
2. Explain why it is not reasonable to set *P*<sub>*ref*</sub>  to a negative value in the given islanded operation mode.


---

# 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/courseware/electric-courseware/renewable-energy/battery-energy-storage-system-bess/exercises.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.
