> 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/impedance-measurement-tool.md).

# Impedance Measurement Tool

## Description

The **Impedance Measurement Tool app** computes impedance versus frequency of Impedance Measurement blocks in model. It uses the [power\_zmeter ](https://www.opal-rt.com/docs/smart-power-simulation-software-sps/blocks-functions-tools/control-and-measurements/power_zmeter.md)function to compute the impedance versus frequency of the Impedance Measurement blocks in your model.

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

## Open the Impedance Measurement Tool App

* MATLAB® command prompt where sys is a string scalar or character vector that is the name of a model.

{% code lineNumbers="true" %}

```matlab
powerImpedance(sys), 
```

{% endcode %}

* powergui block: Under **Tools**, click **Impedance Measurement**.

## Parameters

<table data-header-hidden><thead><tr><th width="249.88885498046875"></th><th></th></tr></thead><tbody><tr><td><strong>Model</strong> — Name of model<br>no default</td><td>Name of the model under analysis. Enter the name of a model to analyze, then click <strong>Update</strong>.</td></tr><tr><td><strong>Update</strong> — Display or update<br>button</td><td><p>Display or update the impedance versus frequency measurement for the model specified in the <strong>Model</strong> parameter.</p><p>Click this button when you want the app to take into account any change made to the model.</p><p>Any previously selected block and displayed frequency response are cleared from the app.</p></td></tr><tr><td><strong>Impedance Measurement blocks</strong> — Lists Impedance Measurement blocks<br>no default</td><td><p>Lists the Impedance Measurement blocks in the model. Select the blocks for which you want to obtain the frequency response.</p><p>Press <strong>Ctrl</strong> to select several impedances to display on the same plot.</p></td></tr><tr><td><strong>Impedance Axis</strong> — Choose logarithmic or linear scale<br>Logarithmic (default) | Linear</td><td>Choose logarithmic or linear scale for the vertical impedance scale.</td></tr><tr><td><strong>Frequency Axis</strong> — Choose logarithmic or linear scale<br>Logarithmic (default) | Linear</td><td>Choose logarithmic or linear scale for the horizontal frequency scales.</td></tr><tr><td><strong>Range</strong> — Frequency vector<br>[1:2:500] (default) | vector</td><td>Frequency vector, in hertz. You can specify any valid MATLAB expression that defines a vector of frequencies; for example, 0:2:1000 or linspace(0,1000,500).</td></tr><tr><td><strong>Save selected Impedance Measurement block data to workspace</strong> — Save data in variable<br>off (default) | on</td><td><p>Select to save the data in a variable in the workspace. The name of the variable is defined by the <strong>Variable name</strong> parameter.</p><p>The data is saved in the workspace every time you select the Impedance Measurement block in the list.</p></td></tr><tr><td><strong>Variable name</strong> — Name of variable<br>Zdata (default) | string</td><td><p>Name of the variable to save in the workspace.</p><p><strong>Dependencies</strong> To enable this parameter, select <strong>Save selected Impedance Measurement block data to workspace</strong>.</p></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/impedance-measurement-tool.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.
