> 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/scopeview/use-functions/miscellaneous-functions.md).

# Miscellaneous Functions

<table data-header-hidden><thead><tr><th width="208.81817626953125">Function</th><th>Description</th></tr></thead><tbody><tr><td><strong>Misc. | AMOD</strong></td><td>This functions output modal analysis of a single input signal.</td></tr><tr><td><strong>Misc. | CIRCLE</strong></td><td>Outputs a circle</td></tr><tr><td><strong>Misc. | CLEARINGTIME</strong></td><td>Outputs the clearing time by computing the difference between a network signal and a state signal related to their respective threshold.</td></tr><tr><td><strong>Misc. | CROSSING TIME</strong></td><td>Output the time at which the signal cross the threshold, depending on direction and slope parameter.</td></tr><tr><td><strong>Misc. | ENV</strong></td><td>Outputs the upper, lower or absolute envelope of a set of three input signals</td></tr><tr><td><strong>Misc. | ENV PEAK</strong></td><td>Outputs the peak value of the input (peak of envelope). The function displays output only if the next sample of the input is greater than or equal to previous peak identified.</td></tr><tr><td><strong>Misc. | ENV PP</strong></td><td>Outputs the envelope of the phase-to-phase differences of a 3-phase signal</td></tr><tr><td><strong>Misc. | I 2 T</strong></td><td>Outputs the product of the simulation time step and square of the input signal.</td></tr><tr><td><strong>Misc. | LENGTH</strong></td><td>Outputs the number of samples of the input signal</td></tr><tr><td><strong>Misc. | LIM</strong></td><td>Outputs the input signal over a given range</td></tr><tr><td><strong>Misc. | MAXF</strong></td><td>Outputs the maximum finite value of the input signal</td></tr><tr><td><strong>Misc. | MINF</strong></td><td>Outputs the minimum finite value of the input signal</td></tr><tr><td><strong>Misc. | OPTIME</strong></td><td>Returns up to 6 time values crossing the threshold in function of the direction selection.</td></tr><tr><td><strong>Misc. | PERIOD</strong></td><td>Outputs sample period used for data acquisition.</td></tr><tr><td><strong>Misc. | POWER</strong></td><td>Outputs the instantaneous power of an input voltage and current</td></tr><tr><td><strong>Misc. | POWER3PH</strong></td><td>Computes the active and reactive power of a three-phase element by using voltages and currents.</td></tr><tr><td><strong>Misc. | RAMP</strong></td><td>Outputs a ramp function</td></tr><tr><td><strong>Misc. | RATE</strong></td><td>Outputs the acquisition sampling rate.</td></tr><tr><td><strong>Misc. | THRESHOLDTIME</strong></td><td>Outputs the time when the input signal value pass a given threshold</td></tr><tr><td><strong>Misc. | VERSUS</strong></td><td>Outputs one signal vs another signal</td></tr><tr><td><strong>Misc. | XFIRST</strong></td><td>Outputs the sampling time of the first data in the acquisition buffer.</td></tr><tr><td><strong>Misc. | XLAST</strong></td><td>Outputs the sampling time of the last data in the acquisition buffer.</td></tr><tr><td><strong>Misc. | XSHIFT</strong></td><td>Outputs the input signal with a time shift.</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/scopeview/use-functions/miscellaneous-functions.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.
