> 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/smart-power-simulation-software-sps/blocks-functions-tools/simulation-and-analysis/report-generator.md).

# Report Generator

## Description

The **Report Generator app** generates reports of steady state variables, initial states, netlist representation, and machine load flow for a model.

<figure><img src="https://799605156-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdlNg8IbOdahCpFCyzxSN%2Fuploads%2Fgit-blob-7fcc56f936a935f258d5887a2b8a431a3e735613%2Freport_generator_app_dialogbox.png?alt=media" alt=""><figcaption></figcaption></figure>

## Open the Report Generator App

* MATLAB® command prompt:

{% code lineNumbers="true" %}

```matlab
power_report
```

{% endcode %}

* Powergui block: Click **Report Generator**

## Parameters

<table data-header-hidden><thead><tr><th width="250.33343505859375"></th><th></th></tr></thead><tbody><tr><td><strong>Model</strong> — Name of model<br>no default</td><td>Name of the model for which you want to create the reports.</td></tr><tr><td><strong>Generate report</strong> — Measurements and States Analyzer report<br>on (default) | off</td><td>Select to generate a Measurements and States Analyzer report when you click <strong>Create</strong>.</td></tr><tr><td><strong>Frequencies</strong> — Model frequencies<br>no default</td><td>Frequency to use in the Measurements and States Analyzer report.</td></tr><tr><td><strong>Units</strong> — Define displayed units<br>Peak values (default) | RMS values</td><td>Set this parameter to Peak values to display the peak values of the selected values. Set this parameter to RMS values to display the root mean square (RMS) values of the selected values.</td></tr><tr><td><strong>Format</strong> — Value formatting<br>12.3 (best of) (default) | 4.503e+004 (floating point) | 2590571.12</td><td>Format in which you want your measurements displayed in the Measurements and States Analyzer report. 4.503e+004 (floating point) displays values in mantissa-exponent form with five significant figures. 12.3 (best of) displays values with four significant figures and uses mantissa-exponent form only for numbers larger than 9999. 2590571.12 displays values in plain numbers with two figures to the right of the decimal point.</td></tr><tr><td><strong>Load Flow Analyzer report</strong> — Generate Load Flow Analyzer report<br>off (default) | on</td><td>Select to generate the Load Flow Analyzer App report for the model.</td></tr><tr><td><strong>power_analyze Netlist report</strong> — Generate power_analyze function report<br>off (default) | on</td><td>Select to generate a netlist of the model. The report contains the node numbers automatically generated for the model, as well as the parameter values of all linear elements. See the formats described in the power_statespace reference page.</td></tr><tr><td><strong>Open the reports in the Editor</strong> — Open selected reports<br>off (default) | on</td><td>Select to open the reports in the editor after you create the report.</td></tr></tbody></table>

#### **Buttons**

<table data-header-hidden><thead><tr><th width="250.22222900390625"></th><th></th></tr></thead><tbody><tr><td><strong>Create</strong> — Create specified reports<br>button</td><td>Create specified reports.</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/smart-power-simulation-software-sps/blocks-functions-tools/simulation-and-analysis/report-generator.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.
